Open Access iconOpen Access

ARTICLE

crossmark

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

Selime Tuba Pesen, Mehmet Ali Altuncu*

Department of Computer Engineering, Kocaeli University, Kocaeli, 41380, Türkiye

* Corresponding Author: Mehmet Ali Altuncu. Email: email

Computers, Materials & Continua 2025, 84(3), 5597-5611. https://doi.org/10.32604/cmc.2025.066702

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.

Keywords

Continuous wavelet transform; EEG; emotion recognition; Swin Transformer; temporal convolutional network

Cite This Article

APA Style
Pesen, S.T., Altuncu, M.A. (2025). EEG Scalogram Analysis in Emotion Recognition: A Swin Transformer and TCN-Based Approach. Computers, Materials & Continua, 84(3), 5597–5611. https://doi.org/10.32604/cmc.2025.066702
Vancouver Style
Pesen ST, Altuncu MA. EEG Scalogram Analysis in Emotion Recognition: A Swin Transformer and TCN-Based Approach. Comput Mater Contin. 2025;84(3):5597–5611. https://doi.org/10.32604/cmc.2025.066702
IEEE Style
S. T. Pesen and M. A. Altuncu, “EEG Scalogram Analysis in Emotion Recognition: A Swin Transformer and TCN-Based Approach,” Comput. Mater. Contin., vol. 84, no. 3, pp. 5597–5611, 2025. https://doi.org/10.32604/cmc.2025.066702



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 952

    View

  • 523

    Download

  • 0

    Like

Share Link