Visibility-Prior Guided Dual-Stream Mixture-of-Experts for Robust Facial Expression Recognition Under Complex Occlusions
Abstract
1. Introduction
2. Related Work
2.1. Deep Learning and Visual State-Space Models in Facial Expression Recognition
2.2. Research on Facial Expression Recognition Under Occlusion
3. Method
3.1. Overall Algorithm Framework
3.2. Global-Local Dual-Stream Feature Extraction Network
3.2.1. Global Stream: Long-Range Context Modeling Based on VMamba
3.2.2. Local Stream: Fine-Grained Feature Perception Based on FOPM
3.2.3. Adaptive Weighting Mixture-of-Experts Module
3.2.4. Facial Visibility Estimation Module
3.3. Dataset Construction
4. Experiments
4.1. Experimental Settings and Datasets
4.1.1. Benchmark Dataset
4.1.2. Self-Constructed Complex Occlusion Testing Benchmark
4.1.3. Implementation Details
4.2. Comparative Experiments and Result Analysis
4.2.1. Comprehensive Trade-Off Between Performance and Robustness
4.2.2. Computational Complexity and Inference Efficiency
4.2.3. Generalization on Real-World Occlusions
4.3. Ablation Experiments and Analysis
4.3.1. Contribution Analysis of Core Components
- (1)
- After introducing the random occlusion augmentation strategy, the model’s accuracy on SCOD improved from 75.30% to 79.15%. This result demonstrates that incorporating diverse occlusion patterns during training effectively mitigates the feature distribution mismatch encountered during testing. Simultaneously, the performance on the Clean Test Set exhibits slight variations, potentially attributable to the regularization effects introduced by augmentation.
- (2)
- Furthermore, after integrating the VMamba global branch, recognition performance under occlusion conditions is further improved, indicating that global structural information and local texture features have complementary characteristics within the feature space, and the global branch can provide additional contextual support when local information is compromised.
- (3)
- By substituting static fusion with a dynamic adaptive MoE weighting mechanism, the model’s accuracy on the SCOD occlusion benchmark further increases to 84.49%, accompanied by a reduction in the performance degradation rate Δ. It is further reduced compared to the previously described configuration. The result demonstrates that, compared to static fusion, the dynamic weighting strategy can adaptively adjust the contributions of different experts based on occlusion conditions, thereby improving stability in complex occlusion scenarios.
4.3.2. Dynamic Responsive Behavior Analysis of the Adaptive Weighting Mechanism
4.4. Qualitative Analysis and Failure Cases
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| CNN | Convolutional Neural Network |
| DS-AW-MoE | Dual-Stream Adaptive Weighting Mixture-of-Experts |
| SCOD | Self-Constructed Occlusion Dataset |
| FOPM | Facial Occlusion Parsing Module |
| GAN | Generative Adversarial Network |
| MAE | Mean Absolute Error |
| MLP | Multilayer Perceptron |
| MSE | Mean Squared Error |
| RAF-DB | Real-world Affective Faces Database |
| ResNet | Residual Network |
| ViT | Vision Transformer |
| VMamba | Visual Mamba |
| YOLO | You Only Look Once |
References
- Wang, Y.; Song, W.; Tao, W.; Liotta, A.; Yang, D.; Li, X.; Gao, S.; Sun, Y.; Ge, W.; Zhang, W.; et al. A systematic review on affective computing: Emotion models, databases, and recent advances. Inf. Fusion 2022, 83–84, 19–52. [Google Scholar] [CrossRef]
- Cheah, T.F.; Lee, C.P.; Lim, K.M.; Lim, J.Y. Facial expression classification with deep learning: A comparative study. In Proceedings of the 2023 IEEE 11th Conference on Systems, Process & Control (ICSPC), Malacca, Malaysia, 16 December 2023; pp. 56–59. [Google Scholar] [CrossRef]
- Wang, K.; Yu, W.; Yamauchi, T. MVT-CEAM: A lightweight MobileViT with channel expansion and attention mechanism for facial expression recognition. Signal Image Video Process. 2024, 18, 6853–6865. [Google Scholar] [CrossRef]
- Wang, K.; Peng, X.; Yang, J.; Lu, S.; Qiao, Y. Suppressing uncertainties for large-scale facial expression recognition. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; pp. 6896–6905. [Google Scholar] [CrossRef]
- Cheheb, I. An investigation into the impact of occlusion on facial emotion recognition in the wild. In Proceedings of the 17th International Conference on PErvasive Technologies Related to Assistive Environments, Crete, Greece, 26–28 June 2024; pp. 365–368. [Google Scholar] [CrossRef]
- Ryumina, E.; Dresvyanskiy, D.; Karpov, A. In search of a robust facial expressions recognition model: A large-scale visual cross-corpus study. Neurocomputing 2022, 514, 435–450. [Google Scholar] [CrossRef]
- Wang, K.; Peng, X.; Yang, J.; Meng, D.; Qiao, Y. Region attention networks for pose and occlusion robust facial expression recognition. IEEE Trans. Image Process. 2020, 29, 4057–4069. [Google Scholar] [CrossRef]
- Hou, H.; Sun, X. Joint learning for mask-aware facial expression recognition based on exposed feature analysis and occlusion feature enhancement. Appl. Sci. 2025, 15, 10433. [Google Scholar] [CrossRef]
- Zhang, L.; Verma, B.; Tjondronegoro, D.; Chandran, V. Facial expression analysis under partial occlusion: A survey. ACM Comput. Surv. 2018, 51, 1–49. [Google Scholar] [CrossRef]
- Li, S.; Deng, W.; Du, J. Reliable crowdsourcing and deep locality-preserving learning for expression recognition in the wild. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 2584–2593. [Google Scholar] [CrossRef]
- Barsoum, E.; Zhang, C.; Ferrer, C.C.; Zhang, Z. Training deep networks for facial expression recognition with crowd-sourced label distribution. In Proceedings of the 18th ACM International Conference on Multimodal Interaction, Tokyo, Japan, 12–16 November 2016; pp. 279–283. [Google Scholar] [CrossRef]
- Li, Y.; Zeng, J.; Shan, S.; Chen, X. Occlusion aware facial expression recognition using CNN with attention mechanism. IEEE Trans. Image Process. 2019, 28, 2439–2450. [Google Scholar] [CrossRef]
- Liu, G.; Reda, F.A.; Shih, K.J.; Wang, T.-C.; Tao, A.; Catanzaro, B. Image inpainting for irregular holes using partial convolutions. In Proceedings of the 15th European Conference on Computer Vision–ECCV 2018, Munich, Germany, 8–14 September 2018; pp. 89–105. [Google Scholar] [CrossRef]
- Nazeri, K.; Ng, E.; Joseph, T.; Qureshi, F.; Ebrahimi, M. EdgeConnect: Generative image inpainting with adversarial edge learning. arXiv 2019, arXiv:1901.00212. [Google Scholar] [CrossRef]
- Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16×16 words: Transformers for image recognition at scale. arXiv 2021, arXiv:2010.11929. [Google Scholar] [CrossRef]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Proceedings of the 31st International Conference on Neural Information Processing Systems (NeurIPS), Long Beach, CA, USA, 4–9 December 2017; pp. 6000–6010. [Google Scholar] [CrossRef]
- Tay, Y.; Dehghani, M.; Bahri, D.; Metzler, D. Efficient Transformers: A survey. ACM Comput. Surv. 2023, 55, 1–28. [Google Scholar] [CrossRef]
- Miao, Q.; Jia, L.; Xie, K.; Fu, K.; Yang, Z. A comprehensive survey and taxonomy of Mamba: Applications, challenges, and future directions. Inf. Fusion 2026, 130, 104094. [Google Scholar] [CrossRef]
- Jiao, J.; Liu, Y.; Liu, Y.; Tian, Y.; Wang, Y.; Xie, L.; Ye, Q.; Yu, H.; Zhao, Y. VMamba: Visual state space model. In Proceedings of the 38th Conference on Neural Information Processing Systems (NeurIPS 2024), Vancouver, BC, Canada, 10–15 December 2024; pp. 103031–103063. [Google Scholar] [CrossRef]
- Dixit, C.; Satapathy, S.M. Deep CNN with late fusion for real time multimodal emotion recognition. Expert Syst. Appl. 2024, 240, 122579. [Google Scholar] [CrossRef]
- Liu, C.; Wang, Y.; Yang, J. A transformer-encoder-based multimodal multi-attention fusion network for sentiment analysis. Appl. Intell. 2024, 54, 8415–8441. [Google Scholar] [CrossRef]
- Patel, R.; Ajoodha, R. Enhancing human expression classification using local binary patterns and support vector machines with RBF kernel in convolutional neural networks. SSRN Electron. J. 2023. [Google Scholar] [CrossRef]
- Lu, C.; Jiang, Y.; Fu, K.; Zhao, Q.; Yang, H. LSTPNet: Long short-term perception network for dynamic facial expression recognition in the wild. Image Vision Comput. 2024, 142, 104915. [Google Scholar] [CrossRef]
- Hazmoune, S.; Bougamouza, F. Using transformers for multimodal emotion recognition: Taxonomies and state of the art review. Eng. Appl. Artif. Intell. 2024, 133, 108339. [Google Scholar] [CrossRef]
- Ma, H.; Lei, S.; Li, H.; Celik, T. FER-VMamba: A robust facial expression recognition framework with global compact attention and hierarchical feature interaction. Inf. Fusion 2025, 124, 103371. [Google Scholar] [CrossRef]
- Li, L.; Sun, Q.; Zhao, L.; Sun, H.; Zhao, F.; Gu, B. Face Mamba: A facial emotion analysis network based on VMamba*. In Proceedings of the 2024 7th International Conference on Machine Learning and Natural Language Processing (MLNLP), Chengdu, China, 18–20 October 2024; pp. 1–5. [Google Scholar] [CrossRef]
- Wang, Z.; Wu, W.; Zeng, C.; Shen, J. PhysioFormer: Integrating multimodal physiological signals and symbolic regression for explainable affective state prediction. PLoS ONE 2025, 20, e0335221. [Google Scholar] [CrossRef]
- Wang, H.; Ren, C.; Yu, Z. Multimodal sentiment analysis based on multiple attention. Eng. Appl. Artif. Intell. 2025, 140, 109731. [Google Scholar] [CrossRef]
- Filho, G.P.R.; Meneguette, R.I.; Mendonça, F.L.L.d.; Enamoto, L.; Pessin, G.; Gonçalves, V.P. Toward an emotion efficient architecture based on the sound spectrum from the voice of Portuguese speakers. Neural Comput. Appl. 2024, 36, 19939–19950. [Google Scholar] [CrossRef]
- Jekauc, D.; Burkart, D.; Fritsch, J.; Hesenius, M.; Meyer, O.; Sarfraz, S.; Stiefelhagen, R. Recognizing affective states from the expressive behavior of tennis players using convolutional neural networks. Knowl.-Based Syst. 2024, 295, 111856. [Google Scholar] [CrossRef]
- Zhang, F.; Chai, L. A review of research on micro-expression recognition algorithms based on deep learning. Neural Comput. Appl. 2024, 36, 17787–17828. [Google Scholar] [CrossRef]
- Pei, E.; Hu, Z.; He, L.; Ning, H.; Berenguer, A.D. An ensemble learning-enhanced multitask learning method for continuous affect recognition from facial images. Expert Syst. Appl. 2024, 236, 121290. [Google Scholar] [CrossRef]
- Hu, Y.; Wang, J.; Wang, X.; Yu, J.; Zhang, J. Efficient virtual-to-real dataset synthesis for amodal instance segmentation of occlusion-aware rockfill material gradation detection. Expert Syst. Appl. 2024, 238, 122046. [Google Scholar] [CrossRef]
- Wang, S. Domain-adaptive faster R-CNN for non-PPE identification on construction sites from body-worn and general images. Sci. Rep. 2026, 16, 4793. [Google Scholar] [CrossRef]
- Jocher, G.; Qiu, J.; Chaurasia, A. Ultralytics YOLO. 2023. Available online: https://github.com/ultralytics/ultralytics (accessed on 6 March 2026).
- Chumachenko, K.; Iosifidis, A.; Gabbouj, M. MMA-DFER: MultiModal Adaptation of Unimodal Models for Dynamic Facial Expression Recognition In-the-wild. In Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Seattle, WA, USA, 17–18 June 2024; pp. 4673–4682. [Google Scholar]







| Methodology Paradigm | Core Mechanism | Primary Limitations |
|---|---|---|
| Local Region Focus | Isolates visible facial components via landmark guidance or attention cropping. | Fails under severe occlusion when critical keypoints are entirely obscured. |
| Global Context Modeling | Captures long-range dependencies using (ViT) and self-attention. | Incurs quadratic computational overhead and vulnerability to unstructured occlusion noise. |
| Generative Restoration | Reconstructs missing facial pixels using GANs prior to classification. | Introduces synthetic artifacts, increases inference latency, and complicates end-to-end training. |
| DS-AW-MoE (Ours) | Integrates local and global experts via visibility-prior guided dynamic weighting. | Balances local fine-grained cues and global context with linear complexity, ensuring robust adaptation. |
| Test Subset | Occlusion Type | Source | Occlusion Ratio | Difficulty |
|---|---|---|---|---|
| Original | None | RAF-DB Test Set | 0% | Easy |
| Occ-Mask | Medical Masks, Sunglasses | Synthetic Overlay | 30–50% | Medium |
| Occ-Hand | Hands, Arms | Texture Synthesis | 20–40% | Hard |
| Occ-Noise | Random Black/White Blocks | Random Erasing | 40–60% | Extreme |
| Method | Backbone | RAF-DB [10] | FER+ [11] | SCOD | Drop Rate (Δ↓) |
|---|---|---|---|---|---|
| RAN [7] | ResNet-18 | 86.90% | 88.55% | - | |
| SCN [4] | ResNet-18 | 87.03% | 88.01% | - | |
| FOPM [8] (Baseline) | ResNet-18 | 86.42% | - | 75.30% | 11.12% |
| VMamba [19] | Mamba | 78.60% | - | 71.06% | 7.54% |
| DS-AW-MoE (Ours) | Dual-Stream | 86.76% | 88.95% | 84.49% | 2.27% |
| Method | Params (M) | Computation (GFLOPs) | Inference Speed (FPS) | Accuracy | Macro Precision | Macro Recall | Macro F1-Score |
|---|---|---|---|---|---|---|---|
| FOPM [8] (Baseline) | 13.15 | 1.825 | 424.57 | 75.30% | 63.21% | 56.80% | 59.03% |
| VMamba [19] | 4.11 | 0.5764 | 31.15 | 71.06% | 70.44% | 57.16% | 61.39% |
| YOLOv8n-cls [35] | 1.44 | 3.30 | ~2500 | 78.00% | 70.57% | 67.10% | 68.57% |
| DS-AW-MoE (Ours) | 28.68 | ~2.90 * | 27.55 | 84.49% | 80.88% | 73.79% | 75.87% |
| Method | Backbone | Accuracy | Macro F1-Score |
|---|---|---|---|
| FOPM [8] (Baseline) | ResNet-18 | 57.18% | 51.92% |
| VMamba [19] | Manba | 53.26% | 48.19% |
| DS-AW-MoE (Ours) | Dual-Stream | 80.36% | 76.28% |
| Model | Setup | Defensive Aug. | VMamba Stream | Adaptive Weighting | SCOD (Occluded) | Δ (Drop) |
|---|---|---|---|---|---|---|
| A | Baseline (FOPM) | × | × | × | 75.30% | 11.12% |
| B | +Augmentation | √ | × | × | 79.15% | 6.75% |
| C | +MoE Weighting (Ours) | √ | √ | √ | 84.49% | 2.27% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Ma, S.; Liu, L.; Cheng, M.; Qin, P.; Han, Z.; Chen, C.; Yang, S.; Wang, H. Visibility-Prior Guided Dual-Stream Mixture-of-Experts for Robust Facial Expression Recognition Under Complex Occlusions. Electronics 2026, 15, 1230. https://doi.org/10.3390/electronics15061230
Ma S, Liu L, Cheng M, Qin P, Han Z, Chen C, Yang S, Wang H. Visibility-Prior Guided Dual-Stream Mixture-of-Experts for Robust Facial Expression Recognition Under Complex Occlusions. Electronics. 2026; 15(6):1230. https://doi.org/10.3390/electronics15061230
Chicago/Turabian StyleMa, Siyuan, Long Liu, Mingzhi Cheng, Peijun Qin, Zixuan Han, Cui Chen, Shizhao Yang, and Hongjuan Wang. 2026. "Visibility-Prior Guided Dual-Stream Mixture-of-Experts for Robust Facial Expression Recognition Under Complex Occlusions" Electronics 15, no. 6: 1230. https://doi.org/10.3390/electronics15061230
APA StyleMa, S., Liu, L., Cheng, M., Qin, P., Han, Z., Chen, C., Yang, S., & Wang, H. (2026). Visibility-Prior Guided Dual-Stream Mixture-of-Experts for Robust Facial Expression Recognition Under Complex Occlusions. Electronics, 15(6), 1230. https://doi.org/10.3390/electronics15061230
