GMSS: Graph-Based Multi-Task Self-Supervised Learning for EEG Emotion Recognition

Yang Li, Ji Chen, Fu Li, Boxun Fu, Hao Wu, Youshuo Ji, Yijin Zhou, Yi Niu, Guangming Shi, Wenming Zheng

TL;DR

The GMSS (Graph-based Multi-task Self-supervised learning) framework tackles the challenge of subject-to-subject variability and noisy labels in EEG-based emotion recognition. By training a Graph Neural Network on spatial and frequency "jigsaw puzzles" alongside contrastive learning, the model extracts robust, generalizable features that achieve state-of-the-art performance on major benchmarks like SEED and MPED.

What Problem Does This Paper Address?

Decoding emotions from electroencephalogram (EEG) signals is notoriously difficult for three main reasons:

  1. Poor Generalization: EEG signals are highly non-stationary. A model trained on one person often fails on another because brain activity patterns shift significantly between individuals.
  2. Noisy Labels: In emotion studies, a participant might be shown a "sad" movie but not actually feel sad. Training models on these "noisy" ground-truth labels leads to poor performance.
  3. Feature Representation: Standard deep learning models often treat EEG electrodes as a simple grid or a flat vector, ignoring the complex, non-Euclidean topological relationships between different brain regions.

The authors propose GMSS to move beyond simple supervised learning, using self-supervision to "pre-train" the model on the intrinsic structure of brain activity before ever looking at an emotion label.

Methods

The core of GMSS is a Graph Neural Network (GNN) backbone that treats EEG electrodes as nodes in a graph. To capture features, the authors use Chebyshev polynomials (spectral graph convolutions) with a filter size of $K=2$. This specific setup allows the model to aggregate information from immediate and second-order neighboring electrodes without falling into the "over-smoothing" trap common in deep GNNs.

The "secret sauce" lies in the three multi-task self-supervised pretext tasks:

  • Spatial Jigsaw Puzzle: The 62 electrodes are divided into 10 regional blocks (e.g., Pre-Frontal, Occipital). The model is given a scrambled version of these blocks and must predict the original arrangement. This forces the network to learn the intrinsic spatial relationships of the brain.
  • Frequency Jigsaw Puzzle: EEG data is decomposed into five standard frequency bands ($\delta, \theta, \alpha, \beta, \gamma$). The model must identify the correct order of these bands, helping it learn which frequencies are most critical for emotional expression.
  • Contrastive Learning: Using a framework similar to SimCLR, the model learns to map different "views" (augmentations) of the same EEG sample close together in a feature space while pushing different samples apart.

To balance these tasks, the authors use homoscedastic uncertainty to automatically weight the loss functions. Instead of the researcher manually tuning how much the model should care about the "jigsaw" vs. the "contrastive" task, the model learns the optimal weights during training.

Datasets

The model was evaluated on three widely recognized public datasets:

  • SEED: 15 subjects, 3 emotion categories (happy, neutral, sad).
  • SEED-IV: 15 subjects, 4 emotion categories (happy, neutral, sad, fear).
  • MPED: A larger, more complex dataset with 30 subjects and 7 emotion categories (joy, funny, neutral, sad, fear, disgust, anger).

Key Insights and Ideas

  • Domain-Specific Self-Supervision: Unlike computer vision, where jigsaw puzzles involve cutting up images, GMSS translates this to neuroscience by "cutting up" brain regions and frequency bands. This ensures the pretext tasks are biologically meaningful.
  • Regularization via Multi-tasking: By learning multiple tasks simultaneously, the model is less likely to overfit to the specific quirks of a single dataset or subject. The self-supervised tasks act as a powerful regularizer.
  • The Power of Unsupervised Mode: One of the most striking findings is that the model performs exceptionally well even in "unsupervised mode"—where the feature extractor is trained entirely without emotion labels. This suggests the model is truly learning the "language" of the brain.

Key Results

GMSS achieved State-of-the-Art (SOTA) results across the board:

  • SEED Dataset: Achieved 96.48% accuracy in subject-dependent supervised mode, outperforming the previous best (RGNN) by over 2%.
  • Cross-Subject Generalization: In subject-independent tests (where the model is tested on a person it has never seen), GMSS reached 86.52% on SEED, a significant jump over traditional domain adaptation methods.
  • Unsupervised Performance: Even without using labels for feature extraction, GMSS outperformed several fully supervised models on the MPED dataset, proving the effectiveness of the jigsaw and contrastive pretext tasks.

Limitations and Future Work

While GMSS excels at capturing spatial and frequency information, the authors acknowledge that temporal dynamics (how brain signals change over milliseconds) could be integrated more deeply. Currently, the model uses differential entropy features which aggregate time information.

Future research could explore combining this graph-based approach with recurrent architectures or transformers to capture the "flow" of emotion over time. Additionally, testing the model's resilience to physical artifacts (like eye blinks or muscle movements) in real-world, non-laboratory settings remains an open challenge.

Summary updated

BibTeX
@article{li2023gmss,
  author = {Yang Li and Ji Chen and Fu Li and Boxun Fu and Hao Wu and Youshuo Ji and Yijin Zhou and Yi Niu and Guangming Shi and Wenming Zheng},
  title = {{GMSS: Graph-Based Multi-Task Self-Supervised Learning for EEG Emotion Recognition}},
  journal = {IEEE Trans. Affect. Comput.},
  year = {2023},
  doi = {10.1109/taffc.2022.3170428},
}
Figure