Emotion recognition of electroencephalogram using hybrid convolutional neural networks and vision transformer

Esmeralda Contessa Djamal, Revan Vio Endriansyah, Daswara Djajasasmita

Abstract


Electroencephalogram (EEG) signal-based emotion classification faces challenges in spatio-temporal complexity and inter-channel redundancy. This paper proposes a 2D convolutional neural network (CNN) and vision transformer (ViT) approach. Relevant emotions require signal extraction in the 4-40 Hz frequency band using the discrete wavelet transform (DWT). This study uses the SEED dataset from 15 subjects, with 62 channels reduced to 12. Every 5-second segment is decomposed using DWT into four frequency bands, which are then mapped to a 2D spatial representation for CNNs and ViTs. Experiment results show that the DWT-2D CNN-ViT achieves the best accuracy of 87% with a final loss of 0.087. In the meantime, the CNN-only model (85%), the ViT-only model (77%), and the DWT-only model (47%). Testing with several optimizers also shows that AdamW provides the highest performance with the fastest training time of 12.34 minutes. These results demonstrate that this integration can produce more efficient and stable learning. These findings indicate that the combination of DWT and the CNN-ViT hybrid architecture is effective for accurate, stable EEG-based emotion recognition and is potentially applicable to real-time emotion-monitoring systems.

Keywords


Convolutional neural network; Electroencephalogram; Emotion; Vision transformer; Wavelet

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v15.i4.pp3934-3943

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Esmeralda Contessa Djamal, Revan Vio Endriansyah, Daswara Djajasasmita

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES).

View IJAI Stats