An Interpretable Lightweight CNN Framework with Grad-CAM for Stress-Related Facial-Expression Classification
Abstract
Background: Mental stress is a major public health concern associated with impaired cognitive performance, emotional well-being, and productivity. Conventional stress assessment methods, including self-report questionnaires and clinical observations, are subjective, intermittent, and unsuitable for continuous monitoring.
Aims: This study aims to develop and evaluate a lightweight, explainable deep learning framework for the noninvasive binary classification of stress-related and non-stress facial expressions using publicly available datasets.
Methods: Facial images from the FER2013 and Extended Cohn–Kanade (CK+) benchmark datasets were preprocessed through face extraction, resizing, normalization, and data augmentation. The FER2013 dataset was divided into training (70%), validation (15%), and testing (15%) sets, whereas the CK+ dataset was partitioned at the subject level into training (80%), validation (10%), and testing (10%) sets and evaluated using leave-one-subject-out (LOSO) cross-validation to prevent identity leakage. A lightweight convolutional neural network (CNN) with approximately 0.42 million parameters was trained to distinguish stress-related from non-stress facial expressions. Gradient-weighted Class Activation Mapping (Grad-CAM) was integrated to visualize the facial regions contributing to the model's predictions.
Results: On the FER2013 test set, the proposed CNN achieved an accuracy of 89.6%, an F1-score of 89.6%, and an area under the receiver operating characteristic curve (AUC) of 0.93. Under subject-independent LOSO cross-validation on CK+, the model achieved an accuracy of 89.8 ± 2.7% and an F1-score of 90.2 ± 2.6%. Compared with VGG16, ResNet50, and EfficientNet-B0 under identical experimental conditions, the proposed model demonstrated a favorable balance between predictive performance and computational efficiency, achieving an inference latency of 12.0 ± 0.8 ms on an NVIDIA RTX 4060 GPU.
Conclusion: This study presents a lightweight, interpretable, and reproducible deep learning framework that supports computationally efficient affective analysis and preliminary monitoring of stress-related facial expressions. However, because the binary classification labels were derived from emotion annotations rather than clinically validated stress measurements, the framework should be regarded as a stress-related proxy classification model and should not be deployed in clinical settings without further validation using clinically annotated datasets.
Downloads
References
. S. S. Shinde and A. S. Ghotkar, "Mental stress detection with the multimodal data using ensemble optimization enabled explainable convolutional neural network," Biomedical Materials & Devices, vol. 4, no. 1, pp. 693–715, Jan. 2026, doi: 10.1007/s44174-025-00192-x.
. I. J. Goodfellow et al., "Challenges in representation learning: A report on three machine learning contests," Neural Networks, vol. 64, pp. 59–63, 2015, doi: 10.1016/j.neunet.2014.09.005
. Y. Xing, Y. Yang, K. Yang, A. Lu, L. Xing, K. Mackie, and F. Guo, "Intelligent sensing devices and systems for personalized mental health," Med-X, vol. 3, no. 1, Art. no. 10, Feb. 2025, doi: 10.1007/s44258-025-00057-3.
. G. Giannakakis, A. Roussos, C. Andreou, S. Borgwardt, and A. I. Korda, "Stress recognition identifying relevant facial action units through explainable artificial intelligence and machine learning," Computer Methods and Programs in Biomedicine, vol. 259, Art. no. 108507, Feb. 2025, doi: 10.1016/j.cmpb.2025.108507.
. S. Bouazizi and H. Ltifi, "Emotion recognition with EEG signals using an insightful adapted echo state network framework," International Journal of Information Technology, vol. 17, no. 2, pp. 1–11, Mar. 2025, doi: 10.1007/s41870-025-02850-0.
. M. Z. Naveed and D. S. Aparna, "Facedepai: A deep learning framework for depression detection from facial expressions using Facedepnet," Journal of Theoretical and Applied Information Technology, vol. 103, no. 23, pp. 8320–8332, Dec. 2025
. T. R. Lanjewar, A. Dutonde, and A. Yadav, "Real-Time Emotion Detection and Mental Health Monitoring Using YOLOv11 with Explainable AI," in Proc. 4th OPJU Int. Technol. Conf. (OTCON), Raigarh, India, 2025, pp. 1–7, doi: 10.1109/OTCON61756.2025.10543210.
. P. Lucey, J. F. Cohn, T. Kanade, J. Saragih, Z. Ambadar, and I. Matthews, "The Extended Cohn-Kanade Dataset (CK+): A complete dataset for action unit and emotion-specified expression," in Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit. Workshops (CVPRW), San Francisco, CA, USA, 2010, pp. 94–101, doi: 10.1109/CVPRW.2010.5543262.
. V. Kukreja, "A novel multimodal framework for emotion recognition in comics: Integrating background color, facial expressions, and text sentiment using fuzzy logic," Expert Systems with Applications, vol. 289, Art. no. 128267, Mar. 2025, doi: 10.1016/j.eswa.2025.128267.
. F. Yang and F. Gong, "A multimodal spatiotemporal convolutional network with attention mechanism for athlete anxiety behavior recognition," Scientific Reports, vol. 16, Art. no. 3142, Feb. 2026, doi: 10.1038/s41598-026-03142-8
. L. Shi, "Exploring students’ emotion recognition and teachers’ teaching feedback in college foreign language classroom based on AFCNN model," Scientific Reports, vol. 16, Art. no. 1824, Jan. 2026, doi: 10.1038/s41598-026-01824-3.
. W. Li, D. Huang, H. Li, and Y. Wang, "Automatic 4D facial expression recognition using dynamic geometrical image network," in Proc. 13th IEEE Int. Conf. Autom. Face Gesture Recognit. (FG), Xi'an, China, 2018, pp. 24–30, doi: 10.1109/FG.2018.00013.
. Gandhi, V., Chaudhari, Y., Kumar, A. et al. Benchmarking Machine Learning Models for Obesity Classification with SHAP-Based Interpretability. Int J Comput Intell Syst (2025). https://doi.org/10.1007/s44196-025-01078-x
. S. M. Saleem, S. R. Zeebaree, and M. B. Abdulrazzaq, "Real-life dynamic facial expression recognition: A review," Journal of Physics: Conference Series, vol. 1963, no. 1, Art. no. 012010, Jul. 2021, doi: 10.1088/1742-6596/1963/1/012010.
. M. G. Garcés, J. C. Montoya, M. I. P. Martínez, J. V. García, and E. H. H. Rincón, "Deep learning and noninvasive sensors for detecting physiological dysregulation: A scoping review," Journal of Medical Systems, vol. 50, no. 1, Art. no. 14, Jan. 2026, doi: 10.1007/s10916-025-02114-1.
. N. C. Kansara, B. Vala, and M. S. Shaikh, "Leveraging AI for detection of mental health disorders: An investigation of multiple classifiers," IET Conference Proceedings, vol. CP920, no. 7, pp. 419–426, May 2025, doi: 10.1049/icp.2025.0419.
. H. S. Khurana and P. D. Joshi, "Deep learning-based stress detection using facial expression recognition and the AffectNet dataset," in Smart Trends for Information Technology and Computer Communications, CCIS vol. 2145. Singapore: Springer, 2025, pp. 425–433, doi: 10.1007/978-981-97-8910-4_32.
. F. B. Kunwar, M. Saraswat, J. Singh, R. Prameela Devi, S. J. Mohan, and P. S. Bhati, "Emotion recognition using deep learning on EEG data for stress and anxiety detection," in Advanced Computing and Intelligent Technologies, CCIS vol. 2110. Singapore: Springer, 2024, pp. 233–245, doi: 10.1007/978-981-97-6540-1_18.
. B. V. Gokulnath, P. Charmitha, P. Chathurya, D. L. Satya Sri, B. Vennela, S. S. Ibrahim, and S. S. Kumar, "Empowering emotional intelligence through deep learning techniques," Scientific Reports, vol. 15, Art. no. 21850, Aug. 2025, doi: 10.1038/s41598-025-21850-7.
. K. He, X. Zhang, S. Ren, and J. Sun, "Deep residual learning for image recognition," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), Las Vegas, NV, USA, 2016, pp. 770–778, doi: 10.1109/CVPR.2016.90.
. Y. Yaddaden, "Efficient dynamic emotion recognition from facial expressions using statistical spatio-temporal geometric features," Big Data and Cognitive Computing, vol. 9, no. 8, Art. no. 213, Aug. 2025, doi: 10.3390/bdcc9080213.
. F. Gong, "Design and implementation of an intelligent educational interaction system with integrated multimodal emotion recognition and adaptive content delivery," Discover Artificial Intelligence, vol. 6, no. 1, Art. no. 48, Jan. 2026, doi: 10.1007/s44163-026-00048-w.
. A. Chauhan and S. Vegad, "CVAE-ADS: A deep learning framework for traffic accident detection and video summarization," Journal of Electronics, Electromedical Engineering, and Medical Informatics, vol. 8, no. 1, pp. 185–205, Jan. 2026, doi: 10.35882/jeeemi.v8i1.1139.
. X. Wu, T. Lee, U. K. Lilhore, S. Simaiya, R. Alroobaea, A. M. Baqasah, and L. G. Tekeste, "A deep learning approach to emotionally intelligent AI for improved learning outcomes," Scientific Reports, vol. 16, Art. no. 4521, Mar. 2026, doi: 10.1038/s41598-026-04521-1
. M. Tan and Q. V. Le, "EfficientNet: Rethinking model scaling for convolutional neural networks," in Proc. 36th Int. Conf. Mach. Learn. (ICML), Long Beach, CA, USA, 2019, pp. 6105–6114.
. H. Zhang, Z. Pang, P. Zhao, G. Tang, L. Shen, and G. Wang, "Pre-attentive speech signal processing with adaptive routing for emotion recognition," Biomedical Signal Processing and Control, vol. 112, Art. no. 108782, Feb. 2026, doi: 10.1016/j.bspc.2025.108782.
. T. Gu, H. Li, X. Feng, and Y. Luo, "AMGSN: Adaptive mask-guide supervised network for debiased facial expression recognition," Pattern Recognition, vol. 170, Art. no. 112023, Feb. 2026, doi: 10.1016/j.patcog.2025.112023.
. K. Wang, D. Wu, W. Liu, H. He, and H. Chen, "Graph filtering-based multi-granularity spatial-frequency convolutional attention fusion network for emotion recognition," Biomedical Signal Processing and Control, vol. 112, Art. no. 108556, Feb. 2026, doi: 10.1016/j.bspc.2025.108556..
. W. Wang, D. Yang, Y. Yang, Y. Xie, X. Liu, Y. Yu, and K. Shi, "CV-EEGNet: A compact complex-valued convolutional network for end-to-end EEG-based emotion recognition," Sensors, vol. 26, no. 3, Art. no. 807, Jan. 2026, doi: 10.3390/s26030807.
. Shehada, D., Turky, A., Khan, W., Khan, B., & Hussain, A. (2023). A lightweight facial emotion recognition system using partial transfer learning for visually impaired people. IEEE Access, 11, 36961–36969. https://doi.org/10.1109/ACCESS.2023.3264268
. N. Zhou, L. Jika, W. Wang, Y. Xie, Y. Du, and Y. C. Soh, "BERN: A novel framework for enhanced emotion recognition through the integration of EEG and eye movement features," IEEE Transactions on Cognitive and Developmental Systems, vol. 17, no. 3, pp. 589–601, Sep. 2025, doi: 10.1109/TCDS.2025.3382109
. H. Tan, X. Lu, C. Zhou, Y. Si, J. Shi, D. Sun, and H. Zhang, "Human emotion decoding for Mandarin with anti-background noise mask and deep learning," ACS Applied Nano Materials, vol. 8, no. 36, pp. 17610–17619, Sep. 2025, doi: 10.1021/acsanm.5c02418.
. Y. Li and L. Peng, "Emotion-aware mental health intervention strategies on mobile computing platforms," International Journal of Interactive Mobile Technologies, vol. 19, no. 17, pp. 112–126, Sep. 2025, doi: 10.3991/ijim.v19i17.41285.
. V. C. Gandhi and P. P. Gandhi, "A Survey - Insights of ML and DL in Health Domain," 2022 International Conference on Sustainable Computing and Data Communication Systems (ICSCDS), Erode, India, 2022, pp. 239-246, doi: 10.1109/ICSCDS53736.2022.9760981.
. L. Giles and J. E. Khoury, "Emotion regulation during pregnancy: A pathway from maternal childhood maltreatment to perinatal mental health," Journal of Affective Disorders, vol. 385, Art. no. 119417, May 2025, doi: 10.1016/j.jad.2025.119417.
. E. Zangeneh and A. Moradi, "Facial expression recognition by using differential geometric features," The Imaging Science Journal, vol. 66, no. 8, pp. 463–470, Dec. 2018, doi: 10.1080/13682199.2018.1517036.
. R. Yan, M. Yang, Q. Zheng, D. Wang, and C. Peng, "Facial expression recognition based on hybrid geometry-appearance and dynamic-still feature fusion," Multimedia Tools and Applications, vol. 82, no. 2, pp. 2663–2688, Jan. 2023, doi: 10.1007/s11042-022-13248-0.
. Minaee, S., Minaei, M., & Abdolrashidi, A. (2021). Deep-Emotion: Facial Expression Recognition Using Attentional Convolutional Network. Sensors, 21(9), 3046. https://doi.org/10.3390/s21093046C. Shorten and T. M. Khoshgoftaar, “A survey on image data augmentation for deep learning,” Journal of Big Data, vol. 6, article 60, 2019, doi: 10.1186/s40537-019-0197-0.
. I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. Cambridge, MA, USA: MIT Press, 2016.
. V. Nair and G. E. Hinton, “Rectified linear units improve restricted Boltzmann machines,” in Proceedings of the 27th International Conference on Machine Learning, 2010, pp. 807–814.
. S. Ioffe and C. Szegedy, “Batch normalization: Accelerating deep network training by reducing internal covariate shift,” in Proceedings of the 32nd International Conference on Machine Learning, vol. 37, 2015, pp. 448–456.
. N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, “Dropout: A simple way to prevent neural networks from overfitting,” Journal of Machine Learning Research, vol. 15, pp. 1929–1958, 2014.
. D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” in Proceedings of the International Conference on Learning Representations, 2015.
. M. Sokolova and G. Lapalme, "A systematic analysis of performance measures for classification tasks," Information Processing & Management, vol. 45, no. 4, pp. 427–437, Jul. 2009, doi: 10.1016/j.ipm.2009.03.002.
. T. Fawcett, “An introduction to ROC analysis,” Pattern Recognition Letters, vol. 27, no. 8, pp. 861–874, 2006, doi: 10.1016/j.patrec.2005.10.010
. R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, "Grad-CAM: Visual explanations from deep networks via gradient-based localization," in Proc. IEEE Int. Conf. Comput. Vis. (ICCV), Venice, Italy, 2017, pp. 618–626, doi: 10.1109/ICCV.2017.74.
Copyright (c) 2026 Sathish G, Priya Matta, Anusha N, P. Pattabhirama Mohan, Aanandha Saravanan K, Dilli Ganesh V

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlikel 4.0 International (CC BY-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).


.png)
.png)
.png)
.png)
.png)