Facial emotion recognition under face mask occlusion using vision transformers

Ashraf Yunis Maghari, Ameer M. Telbani

Abstract


Facial emotion recognition (FER) systems face significant challenges when individuals wear face masks, as critical facial regions are occluded. This paper addresses this limitation by employing vision transformers (ViT), which offer a promising alternative with reduced computational complexity compared to traditional deep learning methods. We propose a ViT-based FER framework that fine-tunes a pre-trained ViT architecture to enhance emotion recognition under mask-induced occlusion. The model is fine-tuned and evaluated on the AffectNet dataset, which originally represents eight emotion categories. These categories are restructured into five broader classes to mitigate the impact of occluded features. The model’s performance is assessed using standard metrics, including accuracy, precision, recall, and F1 score. Experimental results demonstrate that the proposed framework achieves an accuracy of 81%, outperforming several state-of-the-art approaches. These findings highlight the potential of vision transformers in recognizing emotions under masked conditions and support the development of more robust FER systems for real-world applications in healthcare, surveillance, and human–computer interaction. This work introduces a scalable and effective approach that integrates self-attention, synthetic mask augmentation, and emotion class restructuring to improve emotion recognition under facial occlusion.

Keywords


Deep learning; Emotion recognition; Face mask; Occlusion handling; Vision transformers

Full Text:

PDF


DOI: http://doi.org/10.11591/ijece.v16i1.pp395-403

Copyright (c) 2026 Ashraf Yunis Maghari, Ameer M. Telbani

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Electrical and Computer Engineering (IJECE)
p-ISSN 2088-8708, e-ISSN 2722-2578

This journal is published by the Institute of Advanced Engineering and Science (IAES).