Skip to main content
QUICK REVIEW

[Paper Review] Emotion Analysis on EEG Signal Using Machine Learning and Neural Network

Samiha Ahmed, Eshaan Tanzim Sabur|arXiv (Cornell University)|Jul 9, 2023
EEG and Brain-Computer InterfacesNeuroscience7 citations
TL;DR

This study proposes a hybrid machine learning and deep learning approach for EEG-based emotion recognition using the DEAP dataset, employing feature extraction via band-pass filtering and FFT, followed by classification with SVM, KNN, and an LSTM-based RNN model. The RNN model achieved the highest validation accuracy of 78.28% after 1000 epochs, demonstrating superior performance in capturing temporal dynamics of emotional states.

ABSTRACT

Emotion has a significant influence on how one thinks and interacts with others. It serves as a link between how a person feels and the actions one takes, or it could be said that it influences one's life decisions on occasion. Since the patterns of emotions and their reflections vary from person to person, their inquiry must be based on approaches that are effective over a wide range of population regions. To extract features and enhance accuracy, emotion recognition using brain waves or EEG signals requires the implementation of efficient signal processing techniques. Various approaches to human-machine interaction technologies have been ongoing for a long time, and in recent years, researchers have had great success in automatically understanding emotion using brain signals. In our research, several emotional states were classified and tested on EEG signals collected from a well-known publicly available dataset, the DEAP Dataset, using SVM (Support Vector Machine), KNN (K-Nearest Neighbor), and an advanced neural network model, RNN (Recurrent Neural Network), trained with LSTM (Long Short Term Memory). The main purpose of this study is to improve ways to improve emotion recognition performance using brain signals. Emotions, on the other hand, can change with time. As a result, the changes in emotion over time are also examined in our research.

Motivation & Objective

  • To improve emotion recognition accuracy using EEG signals by leveraging advanced signal processing and machine learning techniques.
  • To evaluate the performance of traditional machine learning models (SVM, KNN) and deep learning models (LSTM-RNN) on EEG-based emotion classification.
  • To investigate the impact of temporal dynamics in EEG signals on emotion recognition by modeling sequential changes in emotional states.
  • To enhance feature extraction using frequency band decomposition and FFT for improved representation of emotional states.
  • To validate the proposed framework on a publicly available dataset (DEAP) for generalizability across diverse populations.

Proposed method

  • EEG signals from the DEAP dataset were preprocessed using band-pass filtering to isolate relevant frequency bands (e.g., alpha, beta, gamma).
  • Feature extraction was performed using Fast Fourier Transform (FFT) to convert time-domain signals into frequency-domain representations.
  • Support Vector Machine (SVM) and K-Nearest Neighbor (KNN) were applied as traditional machine learning classifiers for valence and arousal classification.
  • A deep learning model based on Recurrent Neural Network (RNN) with Long Short-Term Memory (LSTM) units was trained to model temporal dependencies in EEG signals.
  • The LSTM model used ReLU activation in hidden layers and sigmoid in the output layer for binary classification of emotional states.
  • Training employed batch normalization, dropout (rates: 30%, 50%, 30%, 30%, 30%, 20%), RMSprop optimizer (initial learning rate: 0.001), and Mean Squared Error (MSE) as the loss function.
Figure 1: Time Domain of the EEG Signals
Figure 1: Time Domain of the EEG Signals

Experimental results

Research questions

  • RQ1Can machine learning and deep learning models effectively classify emotional states (valence and arousal) from EEG signals?
  • RQ2How does the inclusion of temporal modeling via LSTM improve emotion recognition accuracy compared to static classifiers like SVM and KNN?
  • RQ3What is the impact of FFT-based frequency domain feature extraction on the performance of emotion recognition systems?
  • RQ4How do different signal processing techniques (band-pass filtering, FFT) affect the representation of emotional states in EEG data?
  • RQ5To what extent does the deep learning model generalize across subjects when using raw EEG data without extensive manual feature engineering?

Key findings

  • The LSTM-based RNN model achieved the highest validation accuracy of 78.28% after 1000 training epochs, outperforming SVM and KNN.
  • Training accuracy increased from 9.61% to 69.21% and validation accuracy from 53.42% to 78.28% over 1000 epochs, indicating stable learning progress.
  • The validation loss decreased from 0.06851 to 0.04787 over the first 150 epochs, showing effective model convergence.
  • The use of batch normalization and dropout significantly reduced overfitting and improved generalization across training phases.
  • The Mean Squared Error (MSE) loss function effectively penalized large prediction errors, contributing to stable optimization.
  • The model’s performance improved gradually over time, with the slowest gains observed after 200 epochs, indicating diminishing returns in later training stages.
Figure 2: Power Spectral Density Across Channels
Figure 2: Power Spectral Density Across Channels

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.