Log in

Optimized recurrent neural network based brain emotion recognition technique

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

In this paper, a brain emotion recognition model is developed for EEG signal-based emotion recognition using the dataset from Kaggle implementing a Gated Recurrent Unit (GRU) type Recurrent Neural Network (RNN) along with Principal Component Analysis (PCA) feature extraction technique. PCA is a statistical method that aims to decrease the number of features in a dataset while maintaining as much data as feasible. This shortens the training period and frequently leads to improved performance. In this paper, the emotions are classified by a classifier GRU-type RNN (GRNN). Deep learning network RNN has a unique structure that consists of input, hidden, and output layers. Most neural networks assess current input, not other information's impact. RNN has "memory," which evaluates inputs at any time. The proposed model is a GRNN method which is made up of three layers: a flattened layer, a dense layer with softmax activation, and a GRU layer with 128 units. A dense layer and GRU layers classify emotions from raw EEG signals' learning characteristics. The GRNN needs less training data and is easier to adapt. GRNNs contain less code when the network needs extra inputs. The experiments were conducted using the EEG Brain Wave Database by the proposed model and compared with the existing classifiers. The accuracy achieved is 96% using the GRNN model. Positive, neutral, and negative emotions are predicted, and the performance is measured using a confusion matrix. The entire model is built on Google Collaboratory Notebook. The accuracy of the proposed model is improved by 11.9% when compared to the existing Long Short-Term Memory (LSTM) model.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (Spain)

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

Data availability

Not applicable.

References

  1. Lokannavar S, Lahane P, Gangurde A, Chidre P (2015) Emotion recognition using EEG signals. Emotion 4(5):54–56

    Google Scholar 

  2. Bird JJ, Manso LJ, Ribeiro EP, Ekart A, Faria DR (2018) A study on mental state classification using EEG-based brain-machine interface. In: 2018 International Conference on Intelligent Systems (IS). IEEE, pp 795–800

  3. Chowdary M, Anitha J, Hemanth D (2022) Emotion recognition from EEG signals using recurrent neural networks. Electronics 11(15):2387

    Article  Google Scholar 

  4. Houssein EH, Hammad A, Ali AA (2022) Human emotion recognition from EEG-based brain–computer interface using machine learning: a comprehensive review. Neural Comput Appl 34(15):12527–12557

    Article  Google Scholar 

  5. El-Amin A, Attia A, Hammad O, Nasr O, Ghozlan O, Raouf R, … Eldawlatly S (2019) Brain-in-car: a brain activity-based emotion recognition embedded system for automotive. In: 2019 IEEE International Conference on Vehicular Electronics and Safety (ICVES). IEEE, pp 1–5

  6. Bird JJ, Ekart A, Buckingham CD, Faria DR (2019) Mental emotional sentiment classification with an EEG-based brain-machine interface. In: Proceedings of the International Conference on Digital Image and Signal Processing (DISP’19), pp 1–7

  7. Kaur B, Singh D, Roy PP (2018) EEG based emotion classification mechanism in BCI. Procedia Comput Sci 132:752–758

    Article  Google Scholar 

  8. Bisong E (2019) Google colaboratory. In: Building machine learning and deep learning models on Google cloud platform. Apress, Berkeley. https://doi.org/10.1007/978-1-4842-4470-8_7

  9. Niu N (2022) Music emotion recognition model using gated recurrent unit networks and multi-feature extraction. Mobile Inf Syst 2022:5732687. https://doi.org/10.1155/2022/5732687

    Article  Google Scholar 

  10. Rana R, Epps J, Jurdak R, Li X, Goecke R, Breretonk M, Soar J (2016) Gated recurrent unit (GRU) for emotion classification from noisy speech. ar**v preprint ar**v:1612.07778

  11. Li D, **e L, Chai B, Wang Z, Yang H (2022) Spatial frequency convolutional self-attention network for eeg emotion recognition. Appl Soft Comput 122:108740

    Article  Google Scholar 

  12. Wang Z, Wang Y, Zhang J, Hu C, Yin Z, Song Y (2022) Spatial–temporal feature fusion neural network for EEG-based emotion recognition. IEEE Trans Instrum Meas 71:1–12

    Article  Google Scholar 

  13. An Y, Xu N, Qu Z (2021) Leveraging spatial–temporal convolutional features for EEG-based emotion recognition”. Biomed. Signal Process. Control 69:102743

    Article  Google Scholar 

  14. Kim S-H, Yang H-J, Nguyen NAT, Lee S-W (2021) AsEmo: Automatic approach for EEG-based multiple emotional state identification. IEEE J Biomed Health Informat 25(5):1508–1518

    Article  Google Scholar 

  15. Li Y, Zheng W, Zong Y, Cui Z, Zhang T, Zhou X (2021) A bi hemisphere domain adversarial neural network model for EEG emotion recognition. IEEE Trans Affect Comput 12(2):494–504

    Article  Google Scholar 

  16. Bajaj (2021) Time–frequency representation and convolutional neural network-based emotion recognition. IEEE Trans Neural Netw Learn Syst 32(7):2901–2909

    Article  Google Scholar 

  17. Zhang Y, Hossain MZ, Rahman S (2021) DeepVANet: A deep end-to-end network for multi-modal emotion recognition. In: Human-Computer Interaction–INTERACT 2021: 18th IFIP TC 13 International Conference, Bari, Italy, August 30–September 3, 2021, Proceedings, Part III 18. Springer International Publishing, pp 227–237

  18. Topic A, Russo M (2021) Emotion recognition based on EEG feature maps through deep learning network. Eng Sci Technol Int J 24(6):1442–1454

    Google Scholar 

  19. Cui H, Liu A, Zhang X, Chen X, Wang K, Chen X (2020) EEG based emotion recognition using an end-to-end regional-asymmetric convolutional neural network. Knowl-Based Syst 205:106243

    Article  Google Scholar 

  20. Shen L, Zhao W, Shi Y, Qin T, Liu B (2020) Parallel sequence channel projection convolutional neural network for EEG-based emotion recognition. IEEE Access 8:222966–222976

    Article  Google Scholar 

  21. Liu J, Yang Z, Sun L, Wang Z (2021) Speech emotion recognition using recurrent neural networks with directional self-attention. Expert Syst Appl 173:114683

    Article  Google Scholar 

  22. Li P et al (2019) EEG based emotion recognition by combining functional connectivity network and local activations. IEEE Trans Biomed Eng 66(10):2869–2881

    Article  Google Scholar 

  23. Liu N, Fang Y, Li L, Hou L, Yang F, Guo Y (2018) Multiple feature fusion for automatic emotion recognition using EEG signals. In: 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, pp 896–900

  24. Bazgir O, Mohammadi Z, Habibi SAH (2018) Emotion recognition with machine learning using EEG signals. In: 2018 25th National and 3rd International Iranian Conference on Biomedical Engineering (ICBME). IEEE, pp 1–5

  25. Katsigiannis S, Ramzan N (2017) DREAMER: A database for emotion recognition through EEG and ECG signals from wireless low-cost off the-shelf devices. IEEE J Biomed Health Inform 22(1):98–107

    Article  Google Scholar 

  26. Alhagry S, Aly A, Reda A (2017) Emotion Recognition based on EEG using LSTM RNN. Int J Adv Comput Sci Appl 8(2):8–11

    Google Scholar 

  27. Wan Ismail WOAS, Hanif M, Mohamed SB, Hamzah N, Rizman ZI (2016) Human emotion detection via brain waves study by using electroencephalogram (EEG). Int J Adv Sci Eng Inf Technol 6(6):1005–1011

    Article  Google Scholar 

  28. Wang T, Wu LY, Li YP et al (2019) Learning Advanced brain computer interface technology: comparing CSP algorithm and WPA algorithm for EEG feature extraction. Int J Technol Hum Interact 15(3):14–27

    Article  Google Scholar 

  29. Guo K, Yu H, Chai R, Nguyen H, Su SW (2019) A hybrid physiological approach of emotional reaction detection using combined FCM and SVM classifier. In: 2019 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC). IEEE, pp 7088–7091

  30. Masood N, Farooq H (2019) Investigating EEG patterns for dual-stimuli induced human fear emotional state. Sensors 19(3):522

    Article  Google Scholar 

  31. Yang H, Han J, Min K (2019) A multi-column CNN model for emotion recognition from EEG signals. Sensors 19(21):4736

    Article  Google Scholar 

  32. Zhang Y, Chen J, Su J, Huang X, Che W (2020) An investigation of deep learning models for EEG-based emotion recognition. Front Neurosci 14:622759

  33. Djamal EC, Putra RD (2020) Brain-computer interface of focus and motor imagery using wavelet and recurrent neural networks. Telkomnika 18(5):2748–2756

    Article  Google Scholar 

  34. Tao W, Li C, Song R, Cheng J, Liu Y, Wan F, Chen X (2020) EEG-based emotion recognition via channel-wise attention and self attention. IEEE Trans Affect Comput 14(1):382–393

    Article  Google Scholar 

  35. Liu S, Wang L, Ding X (2020) Emotional EEG recognition based on Bi-LSTM. J Shandong Univ 50(4):35–39

    Google Scholar 

  36. Lu G, Cong W, Wei J (2021) EEG based emotion recognition using CNN and LSTM. J. Nan**g Univ. Posts Telecommun 41(1):58–64

    Google Scholar 

Download references

Funding

No funding was received for this work.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to G. Ravi Kumar Reddy.

Ethics declarations

Ethical approval

There are no human subjects in this article and informed consent is not applicable.

Conflict of interest

The authors declare that they have no conflict of interest.

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 (e.g. a society or other partner) 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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Reddy, G.R.K., Bhavani, A.D. & Odugu, V.K. Optimized recurrent neural network based brain emotion recognition technique. Multimed Tools Appl (2024). https://doi.org/10.1007/s11042-024-18943-0

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11042-024-18943-0

Keywords

Navigation