Abstract
Emotions are mental states associated with changes that influence people’s behavior, thinking, and health. Emotional changes can also appear in the organs and tissues of the human body as electrical potential differences gathered as biosignals in datasets. This work proposes the classification of emotions in electroencephalographical signals, transforming these discrete signals into a time-scale representation by spectral analysis. Our approach uses the wavelet transform to obtain scalogram images of electroencephalographic signals, treating these images as the scaled distribution of energy associated with a sign. Feature extraction from the scalograms is performed using convolutional neural networks (CNNs), leading to the proposal of two classification models. The threshold values in primitive emotions define one model of four emotions and the second of eight. The data augmentation technique increases the dataset size to compensate for the extra classes added in the second CNN model. The classification results were evaluated using different performance metrics and compared with related works in the literature.












Similar content being viewed by others
Explore related subjects
Discover the latest articles and news from researchers in related subjects, suggested using machine learning.Data availability
The dataset used in this work was acquired from https://www.eecs.qmul.ac.uk/mmv/datasets/deap/.
References
Ekman P, Friesen W (2003) Unmasking the face: a guide to recognizing emotions from facial clues. Malor Books, Katihar
Verma G, Tiwary U (2017) Affect representation and recognition in 3D continuous valence-arousal-dominance space. Multimed Tools Appl 76:2159–2183
Kantz H, Kurths J, Mayer-Kress G (2012) Nonlinear analysis of physiological data. Springer Science & Business Media, Berlin
Tarnowski P, Kołodziej M, Majkowski A, Rak R (2017) Emotion recognition using facial expressions. Procedia Comput Sci 108:1175–1184. https://doi.org/10.1016/j.procs.2017.05.025
Mehendale N (2020) Facial emotion recognition using convolutional neural networks (FERC). SN Appl Sci. https://doi.org/10.1007/s42452-020-2234-1
Madupu R, Kothapalli C, Yarra V, Harika S & Basha C (2020) Automatic human emotion recognition system using facial expressions with convolution neural network. 2020 4th international conference on electronics, communication and aerospace technology (ICECA), pp 1179–1183
Mustaqeem SK (2021) MLT-DNet: speech emotion recognition using 1D dilated CNN based on multi-learning trick approach. Expert Syst Appl 167:114117. https://doi.org/10.1016/j.eswa.2020.114177
Uddin M, Nilsson E (2020) Emotion recognition using speech and neural structured learning to facilitate edge intelligence. Eng Appl Arti Intell 94:103775
Wang K, Su G, Liu L, Wang S (2020) Wavelet packet analysis for speaker-independent emotion recognition. Neurocomputing 398:257–264
Zhang X, Yao L, Wang X, Monaghan J, McAlpine D, Zhang Y (2021) A survey on deep learning-based non-invasive brain signals: recent advances and new frontiers. J Neural Eng 18:031002
Cai S, Li H, Wu Q, Liu J, Zhang Y (2022) Motor imagery decoding in the presence of distraction using graph sequence neural networks. IEEE Trans Neural Syst Rehabil Eng 30:1716–1726
Zhang Y, Zhou T, Wu W, Xie H, Zhu H, Zhou G, Cichocki A (2022) Improving EEG decoding via clustering-based multitask feature learning. IEEE Trans Neural Netw Learn Syst 33:3587–3597
Campion J, Javed A, Sartorius N, Marmot M (2020) Addressing the public mental health challenge of COVID-19. Lancet Psychiatry 7:657–659
Winkler P, Formanek T, Mlada K, Kagstrom A, Mohrova Z, Mohr P, Csemy L (2019) Increase in prevalence of current mental disorders in the context of COVID-19: analysis of repeated nationwide cross-sectional surveys. Epidemiol Psychiatric Sci 29:1–8
Andalibi, N. & Buss, J (2020) The human in emotion recognition on social media: attitudes, outcomes, risks. InProceedings Of The 2020 CHI conference On human factors in computing systems
Zhang Y, Zhang S, Ji X (2018) EEG-based classification of emotions using empirical mode decomposition and autoregressive model. Multimed Tools Appl 77:26697–26710
Zhuang N, Zeng Y, Tong L, Zhang C, Zhang H, Yan B (2017) Emotion recognition from EEG signals using multidimensional information in EMD domain. BioMed Res Int 2017:9
Lin Y, Wang C, Jung T, Wu T, Jeng S, Duann J, Chen J (2010) EEG-based emotion Recognition in music listening. IEEE Trans Biomed Eng 57:1798–1806
Liu, Y. & Sourina, O (2014) EEG-based subject-dependent emotion recognition algorithm using fractal dimension. In2014 IEEE international conference on systems, man, and cybernetics (SMC)
Taran S, Bajaj V (2019) Emotion recognition from single-channel EEG signals using a two-stage correlation and instantaneous frequency-based filtering method. Comput Methods Progr Biomed 173:157–165
Koelstra S, Mühl C, Soleymani M, Lee J, Yazdani A, Ebrahimi T, Pun T, Nijholt A, Patras I (2012) DEAP: a database for emotion analysis; Using physiological signals. IEEE Trans Affect Comput 3:18–31
Yang K, Tong L, Shu J, Zhuang N, Yan B, Zeng Y (2020) High gamma band EEG closely related to emotion: evidence from functional network. Front Human Neurosci 14:89
Norwood M, Lakhani A, Maujean A, Zeeman H, Creux O, Kendall E (2019) Brain activity, underlying mood and the environment: a systematic review. J Environ Psychol 65:101321
Khare S, Bajaj V (2020) Time–frequency representation and convolutional neural network-based emotion recognition. IEEE Trans Neural Netw Learn Syst 32:2901–2909
Gannouni S, Aledaily A, Belwafi K, Aboalsamh H (2020) Adaptive emotion detection using the valence-arousal-dominance model and EEG brain rhythmic activity changes in relevant brain lobes. IEEE Access 8:67444–67455
Garg, A., Kapoor, A., Bedi, A. & Sunkaria, R (2019). Merged LSTM Model for emotion classification using EEG signals. In: international conference on data science and engineering, ICDSE 2019. pp 139–143
Cimtay Y, Ekmekcioglu E (2020) Investigating the use of pretrained convolutional neural network on cross-subject and cross-dataset EEG emotion recognition. Sensors (Switz) 20:1–20
Garg D, Verma G (2020) Emotion recognition in valence-arousal space from multi-channel EEG data and wavelet based deep learning framework. Procedia Comput Sci 171:857–867
Salama, E., El-Khoribi, R., Shoman, M. & Shalaby, M(2021) A 3D-convolutional neural network framework with ensemble learning techniques for multi-modal emotion recognition. Egypt Inform J 22:167–176
Zheng W, Liu W, Lu Y, Lu B, Cichocki A. EmotionMeter (2018) A Multimodal framework for recognizing human emotions. IEEE Trans Cybern 49:1110–1122
Cimtay Y, Ekmekcioglu E (2020) Loughborough University EEG based Emotion Recognition Dataset. https://www.dropbox.com/s/xlh2orv6mgweehq/LUMED_EEG.zip?dl=0
Wang X, Nie D, Lu B (2011) EEG-based emotion recognition using frequency domain features and support vector machines. Lect Notes Comput Sci (Incl Subser Lect Notes Artif Intell Lect Notes Bioinform) 7062:734–743
Alazrai R, Homoud R, Alwanni H, Daoud M (2018) EEG-based emotion recognition using quadratic time-frequency distribution. Sensors (Switz) 18:1–32
Murugappan M, Ramachandran N, Sazali Y (2010) Classification of human emotion from EEG using discrete wavelet transform. J Biomed Sci Eng 3:390–396
Yang J, Huang X, Wu H, Yang X (2020) EEG-based emotion classification based on bidirectional long short-term memory network. Procedia Comput Sci 174:491–504. https://doi.org/10.1016/j.procs.2020.06.117
Akin M (2002) Comparison of wavelet transform and FFT methods in the analysis of EEG signals. J Med Syst 26:241–247
Guo T, Wu C, Qu D (2004) Wavelet transform theory and its application progress: a review. Inf Control 33:67–71
Szegedy C, Liu W, Jia Y, Sermanet P, Reed S, Anguelov D, Erhan D, Vanhoucke V & Rabinovich A (2015) Going deeper with convolutions. InProceedings of the IEEE computer society conference on computer vision and pattern recognition
Türk Ö, Özerdem M (2019) Epilepsy detection by using scalogram based convolutional neural network from EEG signals. Brain Sci 9:115
Lilly J, Olhede S (2010) On the analytic wavelet transform. IEEE Trans Inf Theory 56:4135–4156
Sakalle A, Tomar P, Bhardwaj H, Acharya D, Bhardwaj A (2021) A LSTM based deep learning network for recognizing emotions using wireless brainwave driven system. Expert Syst Appl 173:114516
Fourati R, Ammar B, Sanchez-Medina J, Alimi A (2022) Unsupervised learning in reservoir computing for EEG-based emotion recognition. IEEE Trans Affect Comput 13:972–984
Nakisa B, Rastgoo M, Rakotonirainy A, Maire F, Chandran V (2018) Long short term memory hyperparameter optimization for a neural network based emotion recognition framework. IEEE Access 6:49325–49338
Zheng W, Zhu J, Lu B (2019) Identifying stable patterns over time for emotion recognition from EEG. IEEE Trans Affect Comput 10:417–429
Xin L, Xiao-Qi S, Xiao-Ying Q & Xiao-Feng S (2016) Relevance vector machine based EEG emotion recognition. In2016 sixth international conference on instrumentation & measurement, computer, communication and control (IMCCC)
Ali M, Mosa A, Machot F & Kyamakya, K (2016) EEG-based emotion recognition approach for e-healthcare applications. In2016 eighth international conference on Ubiquitous and future networks (ICUFN)
Funding
The research leading to these results was funded by scholarship No. CVU 1007303 granted by “Consejo Nacional de Ciencia y Tecnología (CONACyT, Mexico).” All the authors are grateful to the University of Guanajuato.
Author information
Authors and Affiliations
Contributions
All authors contributed to the study conception and design. Material preparation, data collection and analysis were performed by OA-C, MAI-M, DLA-O and JLC-H. OA-C wrote the first draft of the manuscript, and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Conflict of interest
Authors have no conflict of interest/competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Almanza-Conejo, O., Almanza-Ojeda, D.L., Contreras-Hernandez, J.L. et al. Emotion recognition in EEG signals using the continuous wavelet transform and CNNs. Neural Comput & Applic 35, 1409–1422 (2023). https://doi.org/10.1007/s00521-022-07843-9
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-022-07843-9
Keywords
Profiles
- Oscar Almanza-Conejo View author profile
- Mario Alberto Ibarra-Manzano View author profile