Abstract
In the field of human-computer interaction (HCI), electroencephalogram (EEG) access for automatic emotion recognition is a critical component for enabling robots to perceive and respond to human behavior. This paper introduces a novel method for emotion recognition using a deep hybrid network. The approach involves decomposing EEG signals into four frequency bands and extracting multiscale sample entropy (MSE) features to form 3D feature matrices. These matrices are processed by a hybrid architecture consisting of a continuous convolutional neural network (CNN) for spatial feature extraction and hidden Markov models (HMMs) for temporal classification. Evaluated on the DEAP dataset, the method achieved average accuracies of 79.77% for arousal, 83.09% for valence, and 81.83% for dominance, significantly outperforming existing benchmarks in dominance detection.
Introduction
Developing "emotional intelligence" in robotic systems requires robust methods for perceiving human internal states. Electroencephalogram (EEG) signals are highly valued in this context as they provide a direct, non-invasive window into the central nervous system. However, EEG data presents significant challenges: it is non-linear, non-stationary, and highly dynamic.
Traditional machine learning approaches, such as Support Vector Machines (SVMs), often fail to capture the high-level abstract features necessary for nuanced emotion recognition. While deep learning models like CNNs have improved spatial feature extraction, they often ignore the temporal evolution of emotional states. Conversely, Recurrent Neural Networks (RNNs) capture temporal data but may struggle with the spatial relationships of electrode placement. This research proposes a hybrid CNN-HMM architecture to address both spatial and temporal dimensions of brain activity.
Methodology
The proposed pipeline transforms raw EEG data into a structured format suitable for deep learning through several key steps:
- Frequency Decomposition: Raw signals are split into four standard frequency bands: theta ($\theta$), alpha ($\alpha$), beta ($\beta$), and gamma ($\gamma$).
- Feature Extraction: Multiscale Sample Entropy (MSE) is used to measure the complexity of the signals, capturing non-linear dynamics more effectively than traditional power spectral density.
- 3D Feature Mapping: To preserve spatial integrity, 32 EEG channels are mapped onto a 10x10 grid based on physical scalp positions. These grids are stacked across the four frequency bands, creating a 10x10x4 3D matrix.
The CNN-HMM Hybrid Architecture
The core of the system is a hybrid network where a CNN extracts spatial features and HMMs handle the temporal classification.
The CNN component utilizes four convolutional layers to identify high-level spatial patterns within the 3D MSE matrices. Instead of a standard fully connected output layer, the system employs HMMs. Because emotions are continuous and evolve over time, the HMM models the probability of transitioning between emotional states based on the sequence of features provided by the CNN.
Experimental Results and Discussion
The model was validated using the DEAP dataset, a benchmark containing EEG recordings from 32 subjects reacting to emotional stimuli. The study focused on three dimensions: Arousal, Valence, and Dominance.
Performance Metrics
The hybrid model demonstrated superior performance compared to standalone 1D and 2D CNNs:
- Arousal: 79.77% accuracy.
- Valence: 83.09% accuracy (a 0.99% improvement over previous bests).
- Dominance: 81.83% accuracy (a 14.58% improvement over previous methods).
Decision Logic
The effectiveness of the HMM layer lies in its ability to stabilize classification by considering the temporal context of emotional transitions. Unlike "memoryless" neural networks, the HMM acknowledges that emotional states are likely to persist or transition predictably over short intervals.
By calculating the maximum probability ($Max(P)$) across different HMM models (e.g., High vs. Low Arousal), the system makes a final decision that respects the temporal flow of the user's emotional state.
Conclusion
The CNN-HMM hybrid network represents a significant step forward in EEG-based emotion recognition, particularly in the dimension of dominance. By combining spatial awareness with temporal modeling, the system achieves high accuracy on benchmark datasets. Future work will address the computational latency of the model—currently approximately 35.45 seconds per test group—to enable real-time applications in robotics and HCI. Additionally, researchers plan to explore attention mechanisms to further refine feature selection.
Summary updated