Emotion Recognition Using Electrocardiogram Trajectory Variation in Attention Networks †
Abstract
1. Introduction
2. Materials and Methods
2.1. Database
2.2. Signal Preprocessing
2.3. Phase Space Reconstruction (PSR)
2.4. Deep Learning Model
2.4.1. Visual Geometry Group Network (VGG)
2.4.2. Residual Network (ResNet)
2.4.3. A Simple CNN
2.4.4. CBAM
2.4.5. Network Parameter
2.5. Experimental Design
3. Results and Discussion
3.1. Influence of Time Delay and Line Width in Phase Space
3.2. Comparison of Different Neural Network Architectures
3.3. Comparison with Other Studies
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Shaver, P.; Schwartz, J.; Kirson, D.; O’connor, C. Emotion knowledge: Further exploration of a prototype approach. J. Pers. Soc. Psychol. 1987, 52, 1061–1086. [Google Scholar] [CrossRef] [PubMed]
- Ekman, P.; Friesen, W.V. Constants across cultures in the face and emotion. J. Pers. Soc. Psychol. 1971, 17, 124–129. [Google Scholar] [CrossRef] [PubMed]
- Osgood, C.E.; Suci, J.G.; Tannenbaum, P.H. The Measurement of Meaning; The University of Illinois Press: Urbana, IL, USA, 1957. [Google Scholar]
- Russell, J.G.; Pratt, G. A description of the affective quality attributed to environments. J. Pers. Soc. Psychol. 1980, 38, 311–322. [Google Scholar] [CrossRef]
- Katsigiannis, S.; Ramzan, N. DREAMER: A database for emotion recognition through EEG and ECG signals from wireless low-cost off-the-shelf devices. IEEE J. Biomed. Health Inform. 2018, 22, 98–107. [Google Scholar] [CrossRef] [PubMed]
- Hasnul, M.A.; Ab Aziz, N.A.; Abd Aziz, A. Evaluation of TEAP and AuBT as ECG’s Feature Extraction Toolbox for Emotion Recognition System. In Proceedings of the 2021 IEEE 9th Conference on Systems, Process and Control (ICSPC 2021), Malacca, Malaysia, 10–11 December 2021; pp. 52–57. [Google Scholar]
- Sarkar, P.; Etemad, A. Self-supervised ECG representation learning for emotion recognition. IEEE Trans. Affect. Comput. 2022, 13, 1541–1554. [Google Scholar] [CrossRef]
- Fan, T.; Qiu, S.; Wang, Z.; Zhao, H.; Jiang, J.; Wang, Y.; Xu, J.; Sun, T.; Jiang, N. A new deep convolutional neural network incorporating attentional mechanisms for ECG emotion recognition. Comput. Biol. Med. 2023, 159, 106938. [Google Scholar] [CrossRef] [PubMed]
- Chan, H.-L.; Chang, H.-W.; Hsu, W.-Y.; Huang, P.-J.; Fang, S.-C. Convolutional neural network for individual identification using phase space reconstruction of electrocardiogram. Sensors 2023, 23, 3164. [Google Scholar] [CrossRef] [PubMed]
- Makowski, D.; Pham, T.; Lau, Z.J.; Brammer, J.C.; Lespinasse, F.; Pham, H.; Schölzel, C.; Chen, S.H.A. NeuroKit2: A Python toolbox for neurophysiological signal processing. Behav. Res. Methods 2021, 53, 1689–1696. [Google Scholar] [CrossRef] [PubMed]
- Simonyan, K.; Zisserman, A. Very Deep Convolutional Networks for Large-Scale Image Recognition. In Proceedings of the 3rd International Conference on Learning Representations (ICLR 2015), San Diego, CA, USA, 7–9 May 2015; pp. 1–14. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2016), Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
- Woo, S.; Park, J.; Lee, J.-Y.; Kweon, I.S. CBAM: Convolutional Block Attention Module. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 3–19. [Google Scholar]



| Dimension | Valence | Arousal | ||
|---|---|---|---|---|
| Negative | Positive | Low | High | |
| Raw data (records) | 161 (38.9%) | 253 (61.1%) | 114 (27.5%) | 300 (72.5%) |
| Number of segments | 2576 (50.5%) | 2530 (49.5%) | 3078 (50.6%) | 3000 (49.4%) |
| Dimension | Model | Time Delay (ms) | Line Width (pt) | ||||
|---|---|---|---|---|---|---|---|
| 7.8 | 27.3 | 46.9 | 0.1 | 1 | 5 | ||
| Valence | VGG19 | 72.46% | 79.10% | 77.38% | 79.10% | 74.60% | 74.02% |
| ResNet50 | 76.95% | 74.80% | 74.53% | 74.80% | 70.70% | 71.09% | |
| Arousal | VGG19 | 86.53% | 90.48% | 91.03% | 90.48% | 88.34% | 85.05% |
| ResNet50 | 85.38% | 89.00% | 92.61% | 89.00% | 84.23% | 80.95% | |
| Model | Accuracy (%) | Precision (%) | Recall (%) | F1 Score (%) | Specificity (%) |
|---|---|---|---|---|---|
| VGG19 | 79.10 | 78.52 | 79.45 | 78.98 | 78.76 |
| VGG16 | 80.27 | 85.85 | 71.94 | 78.28 | 88.42 |
| ResNet101 | 75.98 | 77.54 | 72.33 | 74.85 | 79.54 |
| ResNet50 | 74.80 | 72.46 | 79.05 | 75.61 | 70.66 |
| CNN4 | 78.91 | 80.59 | 75.49 | 77.96 | 82.24 |
| CNN4 + CBAM | 87.89 | 90.30 | 84.58 | 87.35 | 91.12 |
| Model | Accuracy (%) | Precision (%) | Recall (%) | F1 Score (%) | Specificity (%) |
|---|---|---|---|---|---|
| VGG19 | 90.48 | 92.61 | 87.67 | 90.07 | 93.20 |
| VGG16 | 90.80 | 92.07 | 89.00 | 90.51 | 92.56 |
| ResNet101 | 89.49 | 92.45 | 85.67 | 88.93 | 93.20 |
| ResNet50 | 89.00 | 91.79 | 85.33 | 88.43 | 92.56 |
| CNN4 | 90.80 | 93.57 | 87.33 | 90.34 | 94.17 |
| CNN4 + CBAM | 91.79 | 94.96 | 88.00 | 91.35 | 95.47 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Yu, S.-N.; Cheng, C.-W.; Chang, Y.P. Emotion Recognition Using Electrocardiogram Trajectory Variation in Attention Networks. Eng. Proc. 2025, 120, 17. https://doi.org/10.3390/engproc2025120017
Yu S-N, Cheng C-W, Chang YP. Emotion Recognition Using Electrocardiogram Trajectory Variation in Attention Networks. Engineering Proceedings. 2025; 120(1):17. https://doi.org/10.3390/engproc2025120017
Chicago/Turabian StyleYu, Sung-Nien, Chia-Wei Cheng, and Yu Ping Chang. 2025. "Emotion Recognition Using Electrocardiogram Trajectory Variation in Attention Networks" Engineering Proceedings 120, no. 1: 17. https://doi.org/10.3390/engproc2025120017
APA StyleYu, S.-N., Cheng, C.-W., & Chang, Y. P. (2025). Emotion Recognition Using Electrocardiogram Trajectory Variation in Attention Networks. Engineering Proceedings, 120(1), 17. https://doi.org/10.3390/engproc2025120017

