Abstract
The capability of MSGM to capture complex spatiotemporal dynamics with low computational overhead highlights its suitability for real-time monitoring and interactive interfaces. By integrating neuroanatomical priors into the selective state-space modeling, the framework effectively maintains spatial intelligence and topological consistency throughout the classification process. This approach not only improves recognition accuracy but also ensures neurophysiologically grounded interpretability. Future research will focus on multimodal integration and further optimization of hierarchical spatial modeling to address the challenges of cross-subject variability. To support research reproducibility, the source code of MSGM will be made available at https://github.com/liuguangyunjizero/MSGM.
Introduction
Decoding human emotions from electroencephalography (EEG) signals represents a significant frontier in mobile health and human-computer interaction. However, current methodologies face a persistent trade-off between modeling complexity and computational efficiency. Brain activity is inherently multi-scale, spanning transient micro-expressions to sustained emotional states, and operates across complex, non-Euclidean spatial networks.
Existing deep learning models often struggle with these dynamics due to three primary factors:
- Fixed Temporal Scales: Many models utilize static time windows, failing to capture the hierarchical nature of neural processing.
- Computational Bottlenecks: Transformer-based architectures, while powerful, suffer from quadratic computational complexity, making them unsuitable for low-power edge devices.
- Spatial Simplification: Treating EEG sensors as isolated points ignores the interconnected topology of the brain.
To address these challenges, researchers have introduced MSGM, a Multi-Scale Spatiotemporal Graph Mamba framework designed for efficient and accurate emotion recognition.
Methodology: The MSGM Framework
The MSGM architecture is structured into three distinct stages designed to mimic the brain's processing hierarchy while maintaining linear computational complexity.
1. Temporal Multi-scale Feature Extraction
The first stage involves a multi-window sliding strategy to segment raw EEG data. Instead of relying on raw signals, the model extracts relative Power Spectral Density (rPSD) across seven frequency bands (delta, theta, alpha, low-beta, high-beta, low-gamma, and high-gamma). This approach captures both rapid fluctuations and long-term trends.
2. Spatial Prior Initialization
MSGM constructs two types of graphs to model brain connectivity: Global graphs for broad interactions and Local graphs for regional scalp clusters. These graphs are refined using multi-depth Graph Convolutional Networks (GCNs), ensuring that the model respects neuroanatomical priors rather than just raw sensor proximity.
3. MSST-Mamba Module
The core of the framework is the Multi-Scale Spatiotemporal (MSST) Mamba module. By utilizing a selective State-Space Model (SSM), the Mamba architecture achieves the modeling capabilities of a Transformer but with linear scaling relative to sequence length. This allows for high-fidelity spatiotemporal modeling with significantly lower overhead.
Experimental Setup and Datasets
The model was evaluated using subject-independent protocols across three major EEG datasets:
- SEED: 62-channel EEG data from 15 subjects.
- THU-EP: 32-channel data from 80 subjects.
- FACED: An expansion of THU-EP with 123 subjects.
The use of rPSD was found to be particularly effective in these large-scale tests. Unlike absolute metrics, rPSD normalizes power, mitigating "domain shift" caused by individual physiological differences such as skull thickness or electrode impedance.
Key Results and Performance
MSGM demonstrated state-of-the-art performance across multiple metrics:
- Accuracy: On the SEED dataset, MSGM achieved 83.43% accuracy and an 85.03% F1 score, surpassing established models like DGCNN and EmT.
- Model Efficiency: The framework utilizes approximately 349k parameters, nearly half that of the Emotion Transformer (EmT) at 703k.
- Real-time Deployment: Testing on an NVIDIA Jetson Xavier NX yielded an inference time of 151 ms, confirming its readiness for mobile and wearable applications.
Conclusion
MSGM represents a significant step forward in EEG-based emotion recognition by combining multi-scale temporal analysis with hierarchical graph modeling and efficient state-space architectures. While challenges like signal non-stationarity and label noise remain, the framework's ability to maintain "spatial intelligence" with low computational cost paves the way for real-time emotional AI. Future work will explore multimodal integration, combining EEG with physiological signals like heart rate to further enhance robustness.
Summary updated