Introduction
Electroencephalogram (EEG) research faces a significant hurdle: the "profound heterogeneity" of brain-signal datasets. Unlike fields like Computer Vision or Natural Language Processing, where foundation models can be fine-tuned for diverse tasks, EEG models are typically dataset-specific. This fragmentation stems from three primary mismatches: channel configurations, sampling rates, and inherent subject variability.
Existing approaches often rely on "destructive" preprocessing, such as downsampling or discarding channels to find a common subset. This leads to substantial information loss and poor generalization. The "One Model for All" framework addresses these challenges by decoupling temporal feature learning from spatial modeling and introducing a universal pre-training strategy.
Methodology: The Decoupled Learning Paradigm
The proposed framework utilizes a two-stage learning process designed to handle heterogeneous data without sacrificing information.
Stage 1: Univariate Pre-training (Self-Supervised)
In the first stage, the model learns robust temporal features from individual channels using a contrastive learning approach (similar to SimCLR). This stage focuses on "what" is happening in a single channel before considering the spatial context.
- Unified Channel Schema (UCS): Instead of finding a common intersection of channels, the authors create a "global vocabulary" from the union of all channels across datasets. Each channel is treated as a discrete symbol with a corresponding learnable embedding.
- Adaptive Resampling Transformer (ART): To manage varying sampling rates (e.g., 128Hz vs. 200Hz), the ART encoder employs 1D convolutional layers followed by an adaptive pooling layer. This ensures the Transformer receives a fixed sequence of 16 "patches" for any given 2-second window, regardless of the input frequency.
Stage 2: Multivariate Fine-tuning (Supervised)
The pre-trained ART encoder is then integrated into a larger spatio-temporal architecture for emotion classification.
- Graph Attention Network (GAT): A GAT module models the dynamic functional connectivity between brain regions. Unlike static Graph Convolutional Networks (GCNs), GAT learns data-driven weights for channel pairs, effectively filtering out noise and focusing on informative interactions.
- Differential Learning Rates: To preserve the features learned during pre-training, the encoder is fine-tuned with a significantly lower learning rate than the newly added classification head, preventing "catastrophic forgetting."
Experimental Setup and Results
The framework was validated on three major public datasets: SEED (62 channels, 200Hz), DEAP (32 channels, 128Hz), and DREAMER (14 channels, 128Hz).
The model achieved new state-of-the-art (SOTA) performance in within-subject benchmarks:
- SEED: 99.27% accuracy
- DEAP: 93.69% accuracy
- DREAMER: 93.93% accuracy
Crucially, in cross-dataset transfer tasks, a model pre-trained on SEED and DEAP achieved 94.08% accuracy on the unseen DREAMER dataset. This performance actually surpassed the within-domain benchmark, demonstrating that universal pre-training captures generalized neural markers more effectively than training on a single target domain.
Key Insights
- Decoupling is Essential: Learning temporal features independently of spatial structures avoids optimization conflicts inherent in heterogeneous datasets.
- Pre-training as a Stabilizer: Universal pre-training prevents "training collapse" and ensures reliable convergence, particularly on complex datasets like SEED.
- The Power of Union: The UCS approach demonstrates that utilizing the union of channels—rather than a restricted intersection—allows for better scaling and performance.
- GAT for Noise Reduction: Ablation studies showed a massive +22.19% gain using GAT over standard GCNs on the noisy DEAP dataset, highlighting the importance of dynamic attention in brain signal processing.
Conclusion
The "One Model for All" framework represents a significant step toward a foundation model for EEG. By overcoming dataset heterogeneity through decoupled learning and a unified channel schema, it proves that universal pre-training can outperform domain-specific models. Future work will explore extending this methodology to other EEG paradigms like BCI and sleep staging, and addressing the challenges of zero-shot cross-subject generalization.
Summary updated