Next Article in Journal
Resilient Communication for Software Defined Radio: Machine Reasoning and Electromagnetic Spectrum Evaluation
Previous Article in Journal
Squeeze-EnGAN: Memory Efficient and Unsupervised Low-Light Image Enhancement for Intelligent Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Enhancing EEG-Based Emotion Detection with Hybrid Models: Insights from DEAP Dataset Applications

by
Badr Mouazen
1,*,
Ayoub Benali
2,†,
Nouh Taha Chebchoub
2,†,
El Hassan Abdelwahed
2,† and
Giovanni De Marco
1,*
1
LINP2 Laboratory, Paris Nanterre University, 92000 Nanterre, France
2
LISI Laboratory, Computer Science Department, Faculty of Sciences Semlalia, Cadi Ayyad University, Marrakech 40000, Morocco
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2025, 25(6), 1827; https://doi.org/10.3390/s25061827
Submission received: 13 January 2025 / Revised: 4 March 2025 / Accepted: 6 March 2025 / Published: 14 March 2025
(This article belongs to the Section Biomedical Sensors)

Abstract

Emotion detection using electroencephalogram (EEG) signals is a rapidly evolving field with significant applications in mental health diagnostics, affective computing, and human–computer interaction. However, existing approaches often face challenges related to accuracy, interpretability, and real-time feasibility. This study leverages the DEAP dataset to explore and evaluate various machine learning and deep learning techniques for emotion recognition, aiming to address these challenges. To ensure reproducibility, we have made our code publicly available . Extensive experimentation was conducted using K-Nearest Neighbors (KNN), Support Vector Machines (SVMs), Decision Tree (DT), Random Forest (RF), Bidirectional Long Short-Term Memory (BiLSTM), Gated Recurrent Units (GRUs), Convolutional Neural Networks (CNNs), autoencoders, and transformers. Our hybrid approach achieved a peak accuracy of 85–95%, demonstrating the potential of advanced neural architectures in decoding emotional states from EEG signals. While this accuracy is slightly lower than some state-of-the-art methods, our approach offers advantages in computational efficiency and real-time applicability, making it suitable for practical deployment. Furthermore, we employed SHapley Additive exPlanations (SHAP) to enhance model interpretability, offering deeper insights into the contribution of individual features to classification decisions. A comparative analysis with existing methods highlights the novelty and advantages of our approach, particularly in terms of accuracy, interpretability, and computational efficiency. A key contribution of this study is the development of a real-time emotion detection system, which enables instantaneous classification of emotional states from EEG signals. We provide a detailed analysis of its computational efficiency and compare it with existing methods, demonstrating its feasibility for real-world applications. Our findings highlight the effectiveness of hybrid deep learning models in improving accuracy, interpretability, and real-time processing capabilities. These contributions have significant implications for applications in neurofeedback, mental health monitoring, and affective computing. Future work will focus on expanding the dataset, testing the system on a larger and more diverse participant pool, and further optimizing the system for broader clinical and industrial applications.
Keywords: electroencephalogram (EEG); emotion detection; machine learning; deep learning; autoencoders; transformers; KNN; SVM; decision tree; random forest; BiLSTM; GRU; CNN; SHAP; real-time detection electroencephalogram (EEG); emotion detection; machine learning; deep learning; autoencoders; transformers; KNN; SVM; decision tree; random forest; BiLSTM; GRU; CNN; SHAP; real-time detection

Share and Cite

MDPI and ACS Style

Mouazen, B.; Benali, A.; Chebchoub, N.T.; Abdelwahed, E.H.; De Marco, G. Enhancing EEG-Based Emotion Detection with Hybrid Models: Insights from DEAP Dataset Applications. Sensors 2025, 25, 1827. https://doi.org/10.3390/s25061827

AMA Style

Mouazen B, Benali A, Chebchoub NT, Abdelwahed EH, De Marco G. Enhancing EEG-Based Emotion Detection with Hybrid Models: Insights from DEAP Dataset Applications. Sensors. 2025; 25(6):1827. https://doi.org/10.3390/s25061827

Chicago/Turabian Style

Mouazen, Badr, Ayoub Benali, Nouh Taha Chebchoub, El Hassan Abdelwahed, and Giovanni De Marco. 2025. "Enhancing EEG-Based Emotion Detection with Hybrid Models: Insights from DEAP Dataset Applications" Sensors 25, no. 6: 1827. https://doi.org/10.3390/s25061827

APA Style

Mouazen, B., Benali, A., Chebchoub, N. T., Abdelwahed, E. H., & De Marco, G. (2025). Enhancing EEG-Based Emotion Detection with Hybrid Models: Insights from DEAP Dataset Applications. Sensors, 25(6), 1827. https://doi.org/10.3390/s25061827

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop