Source-free Subject Adaptation for EEG-based Visual Recognition

Pilhyeon Lee, Seogkyu Jeon, Sunhee Hwang, Minjung Shin, Hyeran Byun

TL;DR

This paper introduces a "source-free" approach to adapting EEG-based visual recognition models to new users without ever needing access to the original training subjects' raw data. By using a generative model to "reconstruct" synthetic EEG features from a pre-trained classifier, the authors achieve state-of-the-art performance (74.6% accuracy) while strictly respecting data privacy.

What Problem Does This Paper Address?

Brain-Computer Interfaces (BCIs) that recognize visual stimuli from EEG signals are notoriously "subject-dependent." A model trained on Person A rarely works well for Person B because brain wave patterns vary significantly between individuals.

To fix this, researchers usually use subject adaptation, where a model is fine-tuned for a new "target" subject using a small amount of their data alongside a massive database of "source" subjects. However, EEG data is highly sensitive biological information. In the real world, privacy regulations often prevent researchers from sharing raw EEG signals. This creates a catch-22: we need source data to make models generalizable, but we can't access the source data due to privacy. The authors tackle this by proposing Source-free Subject Adaptation (SFSA), where only the pre-trained model weights—not the data—are available for adaptation.

Methods

The authors propose a three-stage framework to bypass the need for raw source data:

  1. Source Model Training: A standard temporal model (using a Gated Recurrent Unit or GRU) is trained on the original, abundant source data to recognize visual stimuli.
  2. Classifier-based Data Generation: This is the "secret sauce." Since the raw source data is now deleted or inaccessible, the authors train a Generator (G). This generator takes a random noise vector and a class label, then tries to produce synthetic EEG features that the pre-trained source classifier would "recognize" as belonging to that class. Essentially, the frozen source model acts as a teacher, guiding the generator to recreate the distribution of the missing source data.
  3. Target Subject Adaptation: Now, the researchers have a few real samples from the new target subject and a "pseudo-source" dataset from their generator. They use these to perform subject-independent feature learning. They tested two specific techniques for this:
  4. MMD-based: Minimizing the "distance" between the distributions of fake source features and real target features.
  5. IS-Con (Inter-Subject Contrastive Learning): Pushing features from the same class together and pulling different classes apart, regardless of whether the data is "fake source" or "real target."

Datasets

The study uses the EEG-ImageNet40 benchmark.

  • Content: EEG signals recorded from subjects viewing images from 40 different ImageNet categories (e.g., dogs, airplanes, etc.).
  • Scale: Data from 6 subjects, with roughly 2,000 samples per subject.
  • Setup: One subject is held out as the "target," while the others serve as the "source" (whose data is only used to train the initial model and then discarded).

Key Insights and Ideas

  • The Model is the Memory: The most striking insight is that a well-trained classifier "implicitly" contains the distribution of the data it was trained on. You don't need the raw signals if you can successfully "interrogate" the classifier to generate synthetic versions of what it expects to see.
  • Contrastive Learning Wins: The authors found that Contrastive Learning (Ours$_{con}$) significantly outperformed MMD. While MMD tries to make the entire distribution look similar, Contrastive Learning focuses on making the class-specific features distinct, which is more effective when the "source" data is synthetic.
  • Privacy doesn't have to kill performance: The "source-free" versions of their model often performed nearly as well as—and sometimes better than—traditional methods that had full access to the raw source data.

Key Results

  • Top-1 Accuracy: Under a 5-shot setting (where the model only sees 5 examples per category from the new user), the framework achieved 74.6% accuracy.
  • 1-Shot Performance: Even with just a single example per category, the model showed a massive jump over the baseline. For example, on Subject #0, accuracy jumped from a baseline of 12.2% to 28.5% using the source-free adaptation.
  • Consistency: The method provided consistent improvements across all six subjects in the dataset, proving it wasn't just "getting lucky" on one specific brain type.

Limitations and Future Work

  • Feature vs. Raw Signal Generation: For efficiency, the authors generated synthetic features rather than raw temporal EEG signals. While this works for classification, it might limit the model's use in applications that require analyzing the raw waveforms.
  • Diversity of Synthetic Data: The authors noted that in some cases (like the MMD variant), the generated samples lacked enough diversity to represent the full source distribution, leading to diminishing returns as the number of target samples ($k$) increased.
  • Future Directions: The authors suggest that their framework is "generalizable," meaning it could potentially be paired with even more advanced subject-independent learning algorithms as they are developed in the BCI field.

Summary updated

BibTeX
@inproceedings{lee2023source,
  author = {Pilhyeon Lee and Seogkyu Jeon and Sunhee Hwang and Minjung Shin and Hyeran Byun},
  title = {{Source-free Subject Adaptation for EEG-based Visual Recognition}},
  booktitle = {BCI},
  year = {2023},
  url = {https://openreview.net/forum?id=PshoR9vhFPG},
}

Loading related content...

Figure