journal article·2025Open access

EEG Scalogram Analysis in Emotion Recognition: A Swin Transformer and TCN-Based Approach

Selime Tuba Pesen, Mehmet Ali Altuncu

Computers, Materials & Continua· Volume 84· Issue 3

Abstract

EEG signals are widely used in emotion recognition due to their ability to reflect involuntary physiological responses. However, the high dimensionality of EEG signals and their continuous variability in the time-frequency plane make their analysis challenging. Therefore, advanced deep learning methods are needed to extract meaningful features and improve classification performance. This study proposes a hybrid model that integrates the Swin Transformer and Temporal Convolutional Network (TCN) mechanisms for EEG-based emotion recognition. EEG signals are first converted into scalogram images using Continuous Wavelet Transform (CWT), and classification is performed on these images. Swin Transformer is used to extract spatial features in scalogram images, and the TCN method is used to learn long-term dependencies. In addition, attention mechanisms are integrated to highlight the essential features extracted from both models. The effectiveness of the proposed model has been tested on the SEED dataset, widely used in the field of emotion recognition, and it has consistently achieved high performance across all emotional classes, with accuracy, precision, recall, and F1-score values of 97.53%, 97.54%, 97.53%, and 97.54%, respectively. Compared to traditional transfer learning models, the proposed approach achieved an accuracy increase of 1.43% over ResNet-101, 1.81% over DenseNet-201, and 2.44% over VGG-19. In addition, the proposed model outperformed many recent CNN, RNN, and Transformer-based methods reported in the literature.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: EEG and Brain-Computer Interfaces

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

References (36)

Show source-provided references
1. Role of machine learning and deep learning techniques in EEG-based BCI emotion recognition system: a review10.1007/s10462-023-10690-2 ↗
2. In-depth investigation of speech emotion recognition studies from past to present: the importance of emotion recognition from speech signal for AI
3. EEG emotion recognition using EEG-SWTNS neural network through EEG spectral image10.1016/j.ins.2024.121198 ↗
4. Emotion recognition based on multiple physiological signals10.1016/j.bspc.2023.104989 ↗
5. Recognition of human emotions using EEG signals: a review10.1016/j.compbiomed.2021.104696 ↗
6. Emotion recognition using continuous wavelet transform and ensemble of convolutional neural networks through transfer learning from electroencephalogram signal
7. Multi-region and multi-band electroencephalogram emotion recognition based on self-attention and capsule network10.3390/app14020702 ↗
8. Transformers in biosignal analysis: a review10.1016/j.inffus.2024.102697 ↗
9. AMDET: attention based multiple dimensions EEG Transformer for emotion recognition10.1109/TAFFC.2023.3318321 ↗
10. Attention-based temporal graph representation learning for EEG-based emotion recognition10.1109/JBHI.2024.3395622 ↗
11. Attention-based interpretable transformer framework for EEG emotion recognition10.3389/fnins.2024.1320645 ↗
12. TCT: temporal and channel transformer for EEG-based emotion recognition
13. EEG emotion recognition using attention-based convolutional transformer neural network10.1016/j.bspc.2023.104835 ↗
14. EEG-based emotion recognition using MobileNet Recurrent Neural Network with time-frequency features10.1016/j.asoc.2024.111338 ↗
15. EMD-based temporal and spectral features for the classification of EEG signals using supervised learning10.1109/TNSRE.2015.2441835 ↗
16. Video swin transformer
17. Long sequence time-series forecasting with deep learning: a survey10.1016/j.inffus.2023.101819 ↗
18. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, et al. Attention is all you need. arXiv: 1706.03762. 2017. doi:10.48550/arXiv.1706.03762.
19. Veličković P, Cucurull G, Casanova A, Romero A, Lio P, Bengio Y. Graph attention networks. arXiv:1710.10903. 2017 DOI 10.48550/arXiv.1710.10903.
20. Transformers in EEG analysis: a review of architectures and applications in motor imagery, seizure, and emotion classification10.3390/s25051293 ↗
21. Bai S, Kolter JZ, Koltun V. An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv:1803.01271. 2018. doi:10.48550/arxiv.1803.01271.
22. Investigating critical frequency bands and channels for EEG-based emotion recognition with deep neural networks10.1109/TAMD.2015.2431497 ↗
23. Differential entropy feature for EEG-based emotion classification
24. The fast continuous wavelet transformation (fCWT) for real-time, high-quality, noise-resistant time-frequency analysis10.1038/s43588-021-00183-z ↗
25. Swin Transformer: hierarchical vision Transformer using shifted windows
26. A data efficient Transformer based on Swin Transformer10.1007/s00371-023-02939-2 ↗
27. Emotion recognition from spatio-temporal representation of EEG signals via 3D-CNN with ensemble learning techniques10.3390/brainsci13040685 ↗
28. Effects of feature reduction on emotion recognition using EEG signals and machine learning10.1111/exsy.13577 ↗
29. Contrastive learning of EEG representation of brain area for emotion recognition10.1109/TIM.2025.3533618 ↗
30. Emotion recognition using VMD domain bandwidth and spectral features
31. Emotion recognition using temporally localized emotional events in EEG with naturalistic context: DENS# dataset10.1109/ACCESS.2023.3266804 ↗
32. EEG-based cross-subject emotion recognition using multi-source domain transfer learning10.1016/j.bspc.2023.104741 ↗
33. VAE-CapsNet: a common emotion information extractor for cross-subject emotion recognition10.1016/j.knosys.2025.113018 ↗
34. Multiple class transfer learning framework with source label adaptive correction for EEG emotion recognition10.1016/j.bspc.2025.107536 ↗
35. Contrastive reinforced transfer learning for EEG-based emotion recognition with consideration of individual differences10.1016/j.bspc.2025.107622 ↗
36. EEG-based emotion recognition based on 4D feature representations and multiple attention mechanisms10.1016/j.bspc.2024.107432 ↗