Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 27 January 2025

PM-ViT a Framework for the Recognition of Emotions and Proclivity toward Mental Illness Using Facial Expressions

Priti Rai Jain1, Syed Mohammad Khurshaid Quadri1 & Anuradha Khattar1,2

Journal of Computer Science, Volume 21, Issue 3, pp. 479–493 · doi.org/10.3844/jcssp.2025.479.493

7,061 accesses2,408 downloads1 citations (Crossref)Metrics
Cite Check for updates

Abstract

Automated emotion recognition is being used as a powerful technology in various fields in the present times. Facial Emotion Recognition (FER) aims to identify the emotional states of individuals based on their facial expressions. While in recent years, Convolutional Neural Networks (CNNs) have shown noteworthy performance in image classification tasks, however, the latest adoption of transformers for computer vision tasks has become really influential. This study proposes a novel ViT-based framework PM-ViT to explore the performance of Visual Transformer (ViT) based models on emotion recognition tasks and compare its performance with a CNN-based approach and other existing ViT-based models that recognize emotions from images. The proposed model PM-ViT takes facial images as input. It recognizes the expression and does a binary classification into two classes negative emotions and positive emotions. In addition to emotion recognition, in case the emotions found are negative PM-ViT does a further classification in three classes mild, moderate, and severe basis the perceived strength of negative emotion and hence the proclivity that the person may be having a mental illness. The experimental findings demonstrate that the model using CNN achieves an F1-score of 81.0% on AffectNet and 97.8% on the CK+ augmented dataset whereas the proposed PM-ViT achieves an F1-score of 84.0% on AffectNet and 99.7% on CK+ augmented dataset. The performance of PM-ViT surpasses the performance of the existing ViT-based techniques that determine emotions from images.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Jain, P. R., Quadri, S. M. K. & Khattar, A. (2025). PM-ViT a Framework for the Recognition of Emotions and Proclivity toward Mental Illness Using Facial Expressions. Journal of Computer Science, 21(3), 479–493. https://doi.org/10.3844/jcssp.2025.479.493

Licence
CC BY 4.0
Issue
Volume 21, Issue 3
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
PM-ViT a Framework for the Recognition of Emotions and Proclivity toward Mental Illness Using Facial ExpressionsJournal of Computer Science · Volume 21, Issue 3 · pp. 479–493 · CC BY 4.0Download