RealMind: Advancing Visual Decoding and Language Interaction via EEG Signals

Dongyang Li, Haoyang Qin, Mingyang Wu, Jiahua Tang, Chen Wei, Quanying Liu

TL;DR

This paper introduces RealMind, a novel framework for decoding visual information from EEG signals that significantly improves upon existing methods by incorporating semantic and geometric consistency in its representation learning. RealMind enables advanced tasks like zero-shot visual captioning from EEG, a first in the field, demonstrating its potential for more intuitive and accessible brain-computer interfaces.

What Problem Does This Paper Address?

Decoding visual stimuli from brain activity is a cornerstone of brain-computer interfaces (BCIs). While technologies like fMRI offer high resolution, they are cumbersome and expensive. EEG, being portable and affordable, is a more practical alternative, but it suffers from low signal-to-noise ratio and spatial resolution, making visual decoding challenging. Existing EEG-based decoding methods, while progressing in tasks like image classification and retrieval, often struggle with unstable representation learning and a lack of interpretability. Furthermore, integrating language interaction for tasks like visual captioning from EEG has remained largely unexplored, despite its success with fMRI. This gap highlights the need for more robust EEG representation learning and effective integration with language models to enhance understanding and practical usability.

Methods

RealMind tackles these challenges by introducing a novel EEG representation learning framework. The core innovation lies in its multilevel alignment strategy, which aligns EEG representations with pre-trained vision-language models (VLMs) like CLIP. This alignment is guided by two key novel loss functions:

  • Semantic Consistency Loss: This loss ensures that EEG representations of semantically similar images maintain similar neural patterns, promoting consistent alignment across modalities.
  • Geometric Consistency Loss: This loss enforces intra-class similarity by encouraging EEG features to be geometrically close to their corresponding image features within the same class, optimizing gradient descent.

These novel losses are combined with standard contrastive and MSE losses to train a unified framework. The framework projects EEG signals into a latent space that can then be used by generative models (like diffusion models for reconstruction) and large language models (LLMs) for tasks such as retrieval and captioning.

Datasets

The primary dataset used for experiments is the THINGS-EEG dataset.

  • Training: Consists of 66,160 EEG samples from 1,654 categories, with each category containing 10 images repeated 4 times.
  • Testing: Comprises 16,000 EEG samples from 200 distinct categories (not seen during training), with each image repeated 80 times. This setup allows for zero-shot evaluation.

Key Insights and Ideas

  • Semantic and Geometric Consistency are Crucial for EEG: The paper strongly suggests that simply aligning EEG features with image features isn't enough. Enforcing semantic and geometric consistency in the latent space significantly improves the alignment between EEG and image representations, leading to better decoding performance.
  • EEG Can Support Advanced Language Tasks: RealMind demonstrates that EEG signals, despite their limitations, can be leveraged for complex language-based visual tasks like zero-shot captioning, a feat previously thought to be challenging or impossible with EEG.
  • Unified Framework for Multiple Tasks: The RealMind framework is designed to be versatile, handling retrieval, reconstruction, and captioning within a single architecture, paving the way for more integrated BCI systems.
  • Zero-Shot Captioning from EEG is Achievable: This is a significant breakthrough, showing that EEG can directly inform language generation without explicit training on EEG-caption pairs for specific categories.

Key Results

  • Retrieval: Achieved a Top-1 accuracy of 27.58% in a 200-class zero-shot retrieval task, outperforming previous methods.
  • Captioning: Achieved a BLEU-1 score of 26.59% in a 200-way zero-shot captioning task, marking the first successful demonstration of this capability with EEG.
  • Reconstruction: Showed competitive quantitative assessments for reconstruction quality, with an SSIM score of 0.813 for EEG data, comparable to fMRI and MEG methods.
  • Ablation Studies: Demonstrated that both semantic and geometric consistency losses contribute positively to retrieval performance, with the combined approach yielding the best results.

Limitations and Future Work

  • Subject-Specific Training: While the paper focuses on in-subject model training, the authors acknowledge the need for more robust cross-subject generalization in future work.
  • Integration of Multimodal Data: The authors express a desire to deepen the integration of EEG with other modalities (beyond just aligning with pre-trained models) into a truly unified multimodal framework.
  • Broader Application: The goal is to build a single, unified framework capable of handling multiple EEG-based decoding tasks, enhancing data utilization and enabling broader applications of EEG-based BCIs.

Summary updated

BibTeX
@inproceedings{li2024realmind,
  author = {Dongyang Li and Haoyang Qin and Mingyang Wu and Jiahua Tang and Chen Wei and Quanying Liu},
  title = {{RealMind: Advancing Visual Decoding and Language Interaction via EEG Signals}},
  booktitle = {ICME},
  year = {2024},
}
Figure