Exploiting Multiple EEG Data Domains with Adversarial Learning

David Bethge, Philipp Hallgarten, Ozan Özdenizci, Ralf Mikut, Albrecht Schmidt, Tobias Grosse-Puppendahl

TL;DR

This paper proposes an adversarial learning framework to create "dataset-invariant" representations for EEG-based emotion recognition. By training a model to recognize emotions while simultaneously preventing it from identifying which specific dataset a sample came from, the researchers reduced domain-specific information leakage by 35% while maintaining stable classification performance across four heterogeneous datasets.

What Problem Does This Paper Address?

Electroencephalography (EEG) is a powerful tool for Brain-Computer Interfaces (BCIs), but it suffers from a major "domain" problem. EEG signals are highly subject-dependent and sensitive to specific hardware, electrode placement, and experimental setups.

Because of this, a model trained on one dataset (Domain A) often fails miserably when tested on another (Domain B). Most current research tries to solve this via "transfer learning" between specific subjects or sessions. However, as the number of public EEG datasets grows, there is a massive opportunity for multi-source learning—training one robust model on many different datasets at once. The challenge is that these datasets are often incompatible, using different sampling rates, channel counts, and even different emotion labeling systems (e.g., "Happy/Sad" vs. "High Arousal/Low Valence").

Methods

The authors developed a unified preprocessing pipeline and a novel adversarial neural network architecture to bridge these domain gaps.

1. The Unified Pipeline

To make different datasets "speak the same language," the authors:

  • Channel Selection: Used only the 14 electrodes common to all four datasets.
  • Downsampling: Standardized all recordings to 128 Hz.
  • Label Mapping: Converted various emotion models (discrete and dimensional) into a unified three-state model: negative, neutral, and positive.

2. Adversarial Architecture

The core of the approach is a "minimax" game between three components:

  • Encoder: A DeepConvNet backbone that extracts features ($h$) from raw EEG time-series.
  • Emotion Classifier: Predicts the emotion label ($y$) from the features.
  • Adversary Network: Tries to predict the dataset ID ($d$) from the same features.
Overview of the adversarial network architecture

The training objective uses a regularization weight ($\lambda$). The encoder is incentivized to help the Emotion Classifier but hinder the Adversary. This forces the encoder to discard "nuisance" information specific to a particular dataset and focus only on the underlying neural patterns of emotion that are universal across domains.

Datasets

The study utilized four prominent, publicly available EEG emotion recognition datasets:

  1. SEED: 15 subjects, discrete labels (Negative, Neutral, Positive).
  2. SEED-IV: 15 subjects, discrete labels (Sad, Fear, Neutral, Happy).
  3. DEAP: 32 subjects, dimensional labels (Valence, Arousal, etc.).
  4. DREAMER: 23 subjects, dimensional labels.

The researchers carefully balanced these datasets to ensure the model wasn't biased toward any specific participant or data source.

Key Insights and Ideas

  • Active Censoring: The most powerful idea here is that you can improve generalization by actively deleting information. By penalizing the model for knowing which dataset it's looking at, you force it to find features that are truly invariant.
  • The $\lambda$ Trade-off: There is a delicate balance. If $\lambda$ (the adversarial weight) is too low, the model "leaks" domain info. If it's too high, the model might delete actual emotion-relevant data, causing performance to drop.
  • Leakage Monitoring: The authors didn't just look at final accuracy; they monitored "leakage" throughout training using an independent Naïve Bayes classifier. This proved that the adversarial approach was successfully scrubbing domain-specific signatures from the latent space.

Key Results

  • Leakage Reduction: The adversarial approach suppressed dataset-relevant information leakage by 35% compared to standard training ($\lambda=0$).
  • Stable Performance: Despite discarding domain-specific info, the model achieved an emotion classification accuracy of ~40.5% for a 3-class task (chance is 33.3%) and ~58.2% for binary classification.
Comparison of accuracies for different lambda values

As shown in Figure 3, increasing $\lambda$ successfully drives the Domain Classifier's accuracy down toward chance levels (the dashed line) while the Emotion Classifier's performance remains relatively stable until $\lambda$ becomes very high.

Limitations and Future Work

  • Information Loss: The "least common denominator" approach to preprocessing (reducing channels and sampling rates) inevitably discards high-frequency EEG data that might be useful for emotion recognition.
  • Static Assumption: The model assumes emotion representations are stable over 2-second windows, which may be a simplification of how emotions actually manifest in the brain.
  • Future Directions: The authors suggest moving toward "shared-private" models where some channels are shared across datasets while others are treated as domain-specific. They also propose adding more adversarial classifiers to scrub other nuisance variables, such as individual participant IDs.

Summary updated

BibTeX
@inproceedings{bethge2022exploiting,
  author = {David Bethge and Philipp Hallgarten and Ozan Özdenizci and Ralf Mikut and Albrecht Schmidt and Tobias Grosse-Puppendahl},
  title = {{Exploiting Multiple EEG Data Domains with Adversarial Learning}},
  booktitle = {EMBC},
  year = {2022},
  doi = {10.1109/embc48229.2022.9871743},
}
Figure