Hybrid CNN–Vision Transformer with Feature Fusion for Robust Facial Expression Recognition on FER2013
Facial emotion recognition (FER) on in-the-wild datasets such as FER2013 remains a challenging task due to label noise, significant class imbalance, and variations in lighting, pose, and occlusion. Convolutional neural networks (CNNs) are effective at extracting local facial features but often struggle to capture long-range dependencies across facial regions. In contrast, Vision Transformers (ViTs) model global contextual relationships well, but may lack sensitivity to fine-grained facial details. In this work, we propose a hybrid CNN–Vision Transformer architecture, referred to as Autistic Fusion, which combines a ResNet-18 backbone for local feature extraction with a Vision Transformer for global representation learning. A lightweight projection and fusion module is introduced to integrate these complementary features efficiently. The model is trained using class-weighted loss, Mixup augmentation, and cosine annealing optimization on the FER2013 dataset using standard training, validation, and test splits. Experimental results show that the proposed model achieves a test accuracy of 71.48% and a macro F1-score of 69.96%, demonstrating competitive performance on a challenging benchmark. In particular, the model shows improved performance on underrepresented classes such as disgust, indicating effective handling of class imbalance. An ablation study further confirms that the hybrid architecture provides consistent improvements over individual CNN and transformer models. The proposed approach offers a practical and robust solution for facial emotion recognition, highlighting the benefit of combining local and global feature representations in deep learning frameworks.
Authors
- Bakhita Salman (ORCID: https://orcid.org/0009-0006-0694-1065)
- Muneeb Yassin
- Jorge Madrigal
Institutions
- Texas A&M International University (US)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-9192723/v1
- Primary Topic
- Emotion and Mood Recognition
- Type
- preprint