NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Robust Deep Visual Representations from EEG Brain Recordings

Prajwal Singh, Dwip Dalal, Gautam Vashishtha, Krishna P. Miyapuram, Shanmuganathan Raman

Abstract

Decoding visual information from non-invasive brain recordings remains a significant challenge in brain-computer interfacing (BCI). This paper presents a novel two-stage framework, EEGStyleGAN-ADA, designed to reconstruct high-quality images from electroencephalography (EEG) signals. By leveraging contrastive triplet loss for robust feature extraction and adapting state-of-the-art generative models with Adaptive Discriminator Augmentation (ADA), the proposed method achieves a 62.9% improvement in image synthesis quality over existing benchmarks. Furthermore, the introduction of EEGClip enables joint alignment of brain activity and visual features, facilitating high-accuracy zero-shot classification and image retrieval.

Introduction

The ability to reconstruct visual stimuli directly from brain activity is a long-standing goal in neuroscience and engineering. While functional MRI (fMRI) offers high spatial resolution for such tasks, its cost and lack of portability limit practical applications. Electroencephalography (EEG) provides a portable, non-invasive alternative with high temporal resolution; however, it is notoriously noisy and difficult to decode.

Existing EEG-to-image synthesis methods often produce blurry, unrecognizable results and rely heavily on class labels, which limits their ability to generalize to unseen objects. This research addresses these limitations by focusing on learning robust, subject-invariant representations that can drive photorealistic image generation and accurate classification across diverse datasets.

Methodology

The proposed framework operates in two distinct stages: feature extraction and conditional image generation.

Robust Feature Extraction

To overcome the noise inherent in EEG signals, the researchers employed Triplet Loss, a form of contrastive learning. This approach maps EEG signals into a latent space where recordings of the same object are clustered together while different objects are pushed apart. This contrastive objective allows the model to learn a manifold of brain activity that is more representative of the underlying visual stimulus than simple label-based classification. The study evaluated both Long Short-Term Memory (LSTM) and Convolutional Neural Network (CNN) architectures for this extraction task.

EEGStyleGAN-ADA and EEGClip

The second stage utilizes a modified StyleGAN-ADA architecture. Because EEG-image datasets are relatively small, the authors integrated Adaptive Discriminator Augmentation (ADA) to stabilize training and prevent overfitting. The GAN is conditioned on the robust EEG features learned in the first stage to guide the synthesis process.

Architectural overview showing (a, b) EEG feature extraction modules and (c) the conditional GAN training loop with Adaptive Discriminator Augmentation.

Additionally, the researchers introduced EEGClip, a framework inspired by OpenAI’s CLIP. By aligning EEG signals with visual features from a pre-trained ResNet50, the model creates a joint embedding space where brain waves and digital images are directly comparable.

Experimental Results

The framework was evaluated on three benchmarks: EEGCVPR40 (40 classes), ThoughtViz (10 classes), and a specialized 6-class Object Dataset.

Quantitative Performance

The model achieved a state-of-the-art Inception Score (IS) of 10.82 on the EEGCVPR40 dataset, marking a 62.9% improvement over previous GAN-based methods. In zero-shot classification tasks—where the model was tested on classes never seen during training—the EEGLSTM variant achieved a remarkable 93% accuracy. Furthermore, the EEGClip framework demonstrated a 79% top-1 accuracy in retrieving the correct image from a database based solely on brain recordings.

Qualitative Synthesis

As shown in the generated samples, the model successfully captures the core semantic and structural features of the stimuli, producing images that are significantly more recognizable than those from prior attempts.

Qualitative synthesis results across a wide variety of object categories, illustrating the high fidelity of images generated from EEG features.

Discussion and Conclusion

This work demonstrates that contrastive learning and advanced GAN architectures can effectively mitigate the challenges of noisy, low-volume EEG data. By focusing on subject-invariant features, the model achieves high performance in both synthesis and classification, even in zero-shot scenarios.

Future research will focus on improving architectural generalization across different dataset regimes and extending the framework to EEG-based video analysis. Leveraging the high temporal resolution of EEG to decode moving scenes or sequences of thoughts represents the next frontier in creating truly seamless brain-computer interfaces.

Summary updated

BibTeX
@inproceedings{singh2024learning,
  author = {Prajwal Singh and Dwip Dalal and Gautam Vashishtha and Krishna P. Miyapuram and Shanmuganathan Raman},
  title = {{Learning Robust Deep Visual Representations from EEG Brain Recordings}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00738},
}
Figure