Research Article

Face Expression Recognition via transformer-based classification models

Volume: 12 Number: 3 September 30, 2024
EN

Face Expression Recognition via transformer-based classification models

Abstract

Facial Expression Recognition (FER) tasks have widely studied in the literature since it has many applications. Fast development of technology in deep learning computer vision algorithms, especially, transformer-based classification models, makes it hard to select most appropriate models. Using complex model may increase accuracy performance but decreasing inference time which is a crucial in near real-time applications. On the other hand, small models may not give desired results. In this study, we aimed to examine performance of 5 different relatively small transformer-based image classification algorithms for FER tasks. We used vanilla ViT, PiT, Swin, DeiT, and CrossViT with considering their trainable parameter size and architectures. Each model has 20-30M trainable parameters which means relatively small. Moreover, each model has different architectures. As an illustration, CrossViT focuses on image using multi-scale patches and PiT model introduces convolution layers and pooling techniques to vanilla ViT model. We obtained all results for widely used FER datasets: CK+ and KDEF. We observed that, PiT model achieves the best accuracy scores 0.9513 and 0.9090 for CK+ and KDEF datasets, respectively

Keywords

References

  1. [1] P. Ekman, “Facial expression and emotion.” American Psychologist, vol. 48, no. 4, pp. 384–392, 1993. [Online]. Available: https: //doi.apa.org/doi/10.1037/0003-066X.48.4.384
  2. [2] L. E. Ishii, J. C. Nellis, K. D. Boahene, P. Byrne, and M. Ishii, “The importance and psychology of facial expression,” Otolaryngologic Clinics of North America, vol. 51, no. 6, pp. 1011–1017, 2018-12. [Online]. Available: https: //linkinghub.elsevier.com/retrieve/pii/S003066651830121X
  3. [3] G. S. Shergill, A. Sarrafzadeh, O. Diegel, and A. Shekar, “Computerized sales assistants: the application of computer technology to measure consumer interest-a conceptual framework,” 2008, publisher: California State University.
  4. [4] X.-Y. Tang, W.-Y. Peng, S.-R. Liu, and J.-W. Xiong, “Classroom teaching evaluation based on facial expression recognition,” in Proceedings of the 2020 9th International Conference on Educational and Information Technology, ser. ICEIT 2020. Association for Computing Machinery, 2020-04-23, pp. 62–67. [Online]. Available: https://doi.org/10.1145/3383923.3383949
  5. [5] M. Sajjad, M. Nasir, F. U. M. Ullah, K. Muhammad, A. K. Sangaiah, and S. W. Baik, “Raspberry pi assisted facial expression recognition framework for smart security in law-enforcement services,” Information Sciences, vol. 479, pp. 416–431, 2019-04. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/S0020025518305425
  6. [6] G. Fu, Y. Yu, J. Ye, Y. Zheng, W. Li, N. Cui, and Q. Wang, “A method for diagnosing depression: Facial expression mimicry is evaluated by facial expression recognition,” Journal of Affective Disorders, vol. 323, pp. 809–818, 2023-02. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/S016503272201388X
  7. [7] P. Ekman and W. V. Friesen, “Constants across cultures in the face and emotion,” Journal of Personality and Social Psychology, vol. 17, pp. 124–129, 1971, place: US Publisher: American Psychological Association.
  8. [8] N. A. Sheth and M. M. Goyani, “A comprehensive study of geometric and appearance based facial expression recognition methods,” Int J Sci Res Sci Eng Technol, vol. 4, no. 2, pp. 163–175, 2018-01-20. [Online]. Available: https://ijsrset.com/IJSRSET184229

Details

Primary Language

English

Subjects

Software Engineering (Other), Electrical Engineering (Other)

Journal Section

Research Article

Early Pub Date

October 24, 2024

Publication Date

September 30, 2024

Submission Date

May 18, 2024

Acceptance Date

August 20, 2024

Published in Issue

Year 2024 Volume: 12 Number: 3

APA
Arslanoğlu, M. C., Acar, H., & Albayrak, A. (2024). Face Expression Recognition via transformer-based classification models. Balkan Journal of Electrical and Computer Engineering, 12(3), 214-223. https://doi.org/10.17694/bajece.1486140
AMA
1.Arslanoğlu MC, Acar H, Albayrak A. Face Expression Recognition via transformer-based classification models. Balkan Journal of Electrical and Computer Engineering. 2024;12(3):214-223. doi:10.17694/bajece.1486140
Chicago
Arslanoğlu, Muhammed Cihad, Hüseyin Acar, and Abdülkadir Albayrak. 2024. “Face Expression Recognition via Transformer-Based Classification Models”. Balkan Journal of Electrical and Computer Engineering 12 (3): 214-23. https://doi.org/10.17694/bajece.1486140.
EndNote
Arslanoğlu MC, Acar H, Albayrak A (September 1, 2024) Face Expression Recognition via transformer-based classification models. Balkan Journal of Electrical and Computer Engineering 12 3 214–223.
IEEE
[1]M. C. Arslanoğlu, H. Acar, and A. Albayrak, “Face Expression Recognition via transformer-based classification models”, Balkan Journal of Electrical and Computer Engineering, vol. 12, no. 3, pp. 214–223, Sept. 2024, doi: 10.17694/bajece.1486140.
ISNAD
Arslanoğlu, Muhammed Cihad - Acar, Hüseyin - Albayrak, Abdülkadir. “Face Expression Recognition via Transformer-Based Classification Models”. Balkan Journal of Electrical and Computer Engineering 12/3 (September 1, 2024): 214-223. https://doi.org/10.17694/bajece.1486140.
JAMA
1.Arslanoğlu MC, Acar H, Albayrak A. Face Expression Recognition via transformer-based classification models. Balkan Journal of Electrical and Computer Engineering. 2024;12:214–223.
MLA
Arslanoğlu, Muhammed Cihad, et al. “Face Expression Recognition via Transformer-Based Classification Models”. Balkan Journal of Electrical and Computer Engineering, vol. 12, no. 3, Sept. 2024, pp. 214-23, doi:10.17694/bajece.1486140.
Vancouver
1.Muhammed Cihad Arslanoğlu, Hüseyin Acar, Abdülkadir Albayrak. Face Expression Recognition via transformer-based classification models. Balkan Journal of Electrical and Computer Engineering. 2024 Sep. 1;12(3):214-23. doi:10.17694/bajece.1486140

All articles published by BAJECE are licensed under the Creative Commons Attribution 4.0 International License. This permits anyone to copy, redistribute, remix, transmit and adapt the work provided the original work and source is appropriately cited.Creative Commons Lisansı