journal article·2024-07-24Open access

Facial Expression Recognition Based on Vision Transformer with Hybrid Local Attention

Yuan Tian, Jingxuan Zhu, Huang Yao, Di Chen

Applied Sciences· Volume 14· Issue 15

Abstract

Facial expression recognition has wide application prospects in many occasions. Due to the complexity and variability of facial expressions, facial expression recognition has become a very challenging research topic. This paper proposes a Vision Transformer expression recognition method based on hybrid local attention (HLA-ViT). The network adopts a dual-stream structure. One stream extracts the hybrid local features and the other stream extracts the global contextual features. These two streams constitute a global–local fusion attention. The hybrid local attention module is proposed to enhance the network’s robustness to face occlusion and head pose variations. The convolutional neural network is combined with the hybrid local attention module to obtain feature maps with local prominent information. Robust features are then captured by the ViT from the global perspective of the visual sequence context. Finally, the decision-level fusion mechanism fuses the expression features with local prominent information, adding complementary information to enhance the network’s recognition performance and robustness against interference factors such as occlusion and head posture changes in natural scenes. Extensive experiments demonstrate that our HLA-ViT network achieves an excellent performance with 90.45% on RAF-DB, 90.13% on FERPlus, and 65.07% on AffectNet.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Emotion and Mood Recognition · Face and Expression Recognition · Hand Gesture Recognition Systems

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Artificial Intelligence in Education, Central China Normal University, Wuhan 430079, China

Funding

General Project for Education of National Social Science Fund

References (35)

Show source-provided references
1. Inference of attitudes from nonverbal communication in two channels10.1037/h0024648 ↗
2. Lucey, P., Cohn, J., Kanade, T., Saragih, J., Ambadar, Z., and Matthews, I. (2010, January 13–18). The extended cohn-kanade dataset (CK+): A complete dataset for action unit and emotion-specified expression. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), San Francisco, CA, USA.10.1109/CVPRW.2010.5543262 ↗
3. Motion magnification multi-feature relation network for facial microexpression recognition10.1007/s40747-022-00680-2 ↗
4. Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv.
5. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
6. Huang, G., Liu, Z., Maaten, L., and Weinberger, K. (2017, January 21–26). Densely connected convolutional networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.243 ↗
7. Akhand, M., Roy, S., Siddique, N., Kamal, M., and Shimamura, T. (2021). Facial emotion recognition using transfer learning in the deep CNN. Electronics, 10.10.3390/electronics10091036 ↗
8. Howard, A., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., and Adam, H. (2017). MobileNets: Efficient convolutional neural networks for mobile vision applications. arXiv.
9. AutismNet: Recognition of autism spectrum disorder from facial expressions using mobilenet architecture
10. Using CNN for facial expression recognition: A study of the effects of kernel size and number of filters on accuracy10.1007/s00371-019-01630-9 ↗
11. Simonyan, K., and Zisserman, A. (2014, January 8–13). Two-stream convolutional networks for action recognition in videos. Proceedings of the 27th International Conference on Neural Information Processing Systems (NIPS), Cambridge, MA, USA.
12. Jung, H., Lee, S., Yim, J., Park, S., and Kim, J. (2015, January 7–13). Joint fine-tuning in deep neural networks for facial expression recognition. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Santiago, Chile.10.1109/ICCV.2015.341 ↗
13. Feichtenhofer, C., Pinz, A., and Zisserman, A. (2016, January 27–30). Convolutional two-stream network fusion for video action recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.213 ↗
14. Feichtenhofer, C., Pinz, A., and Wildes, R. (2017, January 21–26). Spatiotemporal multiplier networks for video action recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.787 ↗
15. A novel driver emotion recognition system based on deep ensemble classification10.1007/s40747-023-01100-9 ↗
16. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2021, January 3–7). An image is worth 16 × 16 words: Transformers for image recognition at scale. Proceedings of the International Conference on Learning Representations (ICLR), Parsa, Torabian.
17. Jaderberg, M., Simonyan, K., Zisserman, A., and Kavukcuoglu, K. (2015, January 7–12). Spatial transformer networks. Advances in neural information processing systems. Proceedings of the 28th International Conference on Neural Information Processing Systems (NIPS), Cambridge, MA, USA.
18. Hu, J., Shen, L., and Sun, G. (2018, January 18–23). Squeeze-and-excitation networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake, UT, USA.10.1109/CVPR.2018.00745 ↗
19. Woo, S., Park, J., Lee, J., and Kweon, I. (2018, January 8–14). CBAM: Convolutional block attention module. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01234-2_1 ↗
20. Global-local attention for emotion recognition10.1007/s00521-021-06778-x ↗
21. Facial expression recognition via a CBAM embedded network10.1016/j.procs.2020.06.115 ↗
22. Duta, I., Liu, L., Zhu, F., and Shao, L. (2021, January 10–15). Improved residual networks for image and video recognition. Proceedings of the 25th International Conference on Pattern Recognition (ICPR), Milan, Italy.10.1109/ICPR48806.2021.9412193 ↗
23. Wang, Q., Wu, B., Zhu, P., Li, P., Zuo, W., and Hu, Q. (2020, January 13–19). ECA-NET: Efficient channel attention for deep convolutional neural networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01155 ↗
24. Multiclass Alpha Integration of Scores from Multiple Classifiers10.1162/neco_a_01169 ↗
25. Graph regularization methods in soft detector fusion10.1109/ACCESS.2023.3344776 ↗
26. Guo, Y., Zhang, L., Hu, Y., He, X., and Gao, J. (2016, January 8–16). MS-Celeb-1M: A dataset and benchmark for large-scale face recognition. Proceedings of the European Conference on Computer Vision (ECCV), Amsterdam, The Netherlands.10.1007/978-3-319-46487-9_6 ↗
27. Wang, K., Peng, X., Yang, J., Lu, S., and Qiao, Y. (2020, January 13–19). Suppressing uncertainties for large-scale facial expression recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.00693 ↗
28. Pyramid with super resolution for in the wild facial expression recognition10.1109/ACCESS.2020.3010018 ↗
29. Region attention networks for pose and occlusion robust facial expression recognition10.1109/TIP.2019.2956143 ↗
30. She, J., Hu, Y., Shi, H., Wang, J., Shen, Q., and Mei, T. (2021, January 20–25). Dive into ambiguity: Latent distribution mining and pairwise uncertainty estimation for facial expression recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA.10.1109/CVPR46437.2021.00618 ↗
31. Ruan, D., Yan, Y., Lai, S., Chai, Z., Shen, C., and Wang, H. (2021, January 20–25). Feature decomposition and reconstruction learning for effective facial expression recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA.10.1109/CVPR46437.2021.00757 ↗
32. Facial expression recognition with grid-wise attention and visual transformer10.1016/j.ins.2021.08.043 ↗
33. Zeng, D., Lin, Z., Yan, X., Liu, Y., Wang, F., and Tang, B. (2022, January 19–24). Face2exp: Combating data biases for facial expression recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPR52688.2022.01965 ↗
34. Facial expression recognition in the wild using multi-level features and attention mechanisms10.1109/TAFFC.2020.3031602 ↗
35. Liao, J., Lin, Y., Ma, T., He, S., Liu, X., and He, G. (2023). Facial expression recognition methods in the wild based on fusion feature of attention mechanism and LBP. Sensors, 23.10.3390/s23094204 ↗