MS-MDA: Multisource Marginal Distribution Adaptation for Cross-Subject and Cross-Session EEG Emotion Recognition

Hao Chen, Ming Jin, Zhunan Li, Cunhang Fan, Jinpeng Li, Huiguang He

Abstract

As an essential element for the diagnosis and rehabilitation of psychiatric disorders, the electroencephalogram (EEG) based emotion recognition has achieved significant progress due to its high precision and reliability. However, one obstacle to practicality lies in the variability between subjects and sessions. Although several studies have adopted domain adaptation (DA) approaches to tackle this problem, most of them treat multiple EEG data from different subjects and sessions together as a single source domain for transfer, which either fails to satisfy the assumption of domain adaptation that the source has a certain marginal distribution, or increases the difficulty of adaptation. We therefore propose the multi-source marginal distribution adaptation (MS-MDA) for EEG emotion recognition, which takes both domain-invariant and domain-specific features into consideration. First, we assume that different EEG data share the same low-level features, then we construct independent branches for multiple EEG data source domains to adopt one-to-one domain adaptation and extract domain-specific features. Finally, the inference is made by multiple branches. We evaluate our method on SEED and SEED-IV for recognizing three and four emotions, respectively. Experimental results show that the MS-MDA outperforms the comparison methods and state-of-the-art models in cross-session and cross-subject transfer scenarios in our settings. Codes at https://github.com/VoiceBeer/MS-MDA.

Introduction

The development of affective brain-computer interfaces (aBCIs) relies heavily on accurate EEG-based emotion recognition. However, the practical application of these systems is hindered by the inherent non-stationarity of EEG signals, which vary significantly across different subjects and even across different sessions for the same individual. This variability creates a domain shift problem, where a model trained on one set of data (source) fails to generalize to a new user or session (target).

The Problem with Conventional Domain Adaptation

Traditional Domain Adaptation (DA) methods typically aggregate data from multiple source subjects into a single, large source domain. The authors argue that this "source-combine" approach is flawed. By merging diverse subjects, the individual marginal distributions are disrupted, resulting in a complex data distribution that is difficult for a model to align with the target domain. This increased complexity often leads to suboptimal transfer performance.

Methodology: The MS-MDA Framework

To address these limitations, the authors propose Multi-source Marginal Distribution Adaptation (MS-MDA). Unlike single-branch architectures, MS-MDA treats each source subject or session as a distinct domain, maintaining their individual characteristics during the adaptation process.

Conceptual comparison between (A) traditional single-branch source-combine DA and (B) the proposed multi-branch MS-MDA framework.

The framework consists of three primary components:

  1. Common Feature Extractor (CFE): A shared multi-layer perceptron (MLP) that extracts low-level, domain-invariant features common across all EEG data.
  2. Domain-Specific Feature Extractors (DSFE): The model employs $N$ independent branches, one for each source domain. Each branch performs one-to-one adaptation with the target data using Maximum Mean Discrepancy (MMD), effectively pulling the target features closer to the specific source's feature space.
  3. Domain-Specific Classifiers (DSC): Each branch includes its own classifier. To ensure consistency across branches, a Discrepancy Loss is introduced, forcing the different classifiers to reach a consensus on the target data's labels.

Experimental Evaluation

The MS-MDA model was evaluated on the SEED and SEED-IV datasets, which are standard benchmarks for EEG emotion recognition. Differential Entropy (DE) features from five frequency bands (delta, theta, alpha, beta, and gamma) served as the model input. The study focused on two primary scenarios: cross-subject transfer and cross-session transfer.

Results and Discussion

MS-MDA demonstrated superior performance compared to state-of-the-art models such as DAN, DCORAL, and DANN:

  • Cross-Subject Transfer: On the SEED dataset, MS-MDA achieved 89.63% accuracy. On SEED-IV, it reached 59.34%, significantly outperforming baseline models.
  • Cross-Session Transfer: The model achieved 88.56% on SEED and 61.43% on SEED-IV, proving its effectiveness in handling temporal variability within the same subject.
  • Ablation Studies: Experiments confirmed that both the MMD-based alignment and the Discrepancy Loss are critical for the model's high performance.

Conclusion

MS-MDA offers a robust solution for EEG-based emotion recognition by respecting the individuality of source domains. By utilizing a multi-branch architecture and a consensus-based classification strategy, the model effectively mitigates the challenges posed by inter-subject and inter-session variability. Future work will focus on reducing computational complexity and exploring temporal modeling through architectures like LSTMs.

Summary updated

BibTeX
@inproceedings{chen2021ms,
  author = {Hao Chen and Ming Jin and Zhunan Li and Cunhang Fan and Jinpeng Li and Huiguang He},
  title = {{MS-MDA: Multisource Marginal Distribution Adaptation for Cross-Subject and Cross-Session EEG Emotion Recognition}},
  booktitle = {Frontiers in Neuroscience},
  year = {2021},
  doi = {10.3389/fnins.2021.778488},
}
Figure