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

Aligning Semantic in Brain and Language: A Curriculum Contrastive Method for Electroencephalography-to-Text Generation

Xiachong Feng, Xiaocheng Feng, Bing Qin, Ting Liu

Abstract

Electroencephalography-to-Text generation (EEG-to-Text), which aims to directly generate natural text from EEG signals has drawn increasing attention in recent years due to the enormous potential for Brain-computer interfaces. However, the remarkable discrepancy between the subject-dependent EEG representation and the semantic-dependent text representation poses a great challenge to this task. To mitigate this, we devise a Curriculum Semantic-aware Contrastive Learning strategy (C-SCL), which effectively recalibrates the subject-dependent EEG representation to the semantic-dependent EEG representation, thereby reducing the discrepancy. Specifically, our C-SCL pulls semantically similar EEG representations together while pushing apart dissimilar ones. Besides, in order to introduce more meaningful contrastive pairs, we carefully employ curriculum learning to not only craft meaningful contrastive pairs but also make the learning progressively. We conduct extensive experiments on the ZuCo benchmark and our method combined with diverse models and architectures shows stable improvements across three types of metrics while achieving the new state-of-the-art. Further investigation proves not only its superiority in both the single-subject and low-resource settings but also its robust generalizability in the zero-shot setting.

The Challenge of Subject-Dependent Brain Signals

The primary goal of high-performance Brain-Computer Interfaces (BCIs) is to translate human thoughts directly into natural text. However, a significant hurdle remains: subject dependency.

When different individuals read the same sentence, their EEG (electroencephalography) signals often look remarkably different. Conversely, a single person’s brain patterns for two different sentences might appear more similar to each other than to another person's patterns for the same sentence. This creates a "many-to-one" problem where AI models struggle to isolate universal semantic representations from individual biological noise. Existing models frequently fail to generalize to new users (zero-shot) because they have not learned to decouple the meaning of the thought from the identity of the thinker.

EEG topological graphs illustrating subject bias: (a) shows similar patterns for one subject reading different sentences, while (b) shows distinct patterns for different subjects reading the same sentence.

Curriculum Semantic-aware Contrastive Learning (C-SCL)

To address this discrepancy, we introduce C-SCL, a strategy designed to recalibrate EEG representations to be semantic-dependent rather than subject-dependent. The framework consists of three core components:

  1. Semantic-aware Contrastive Learning (SCL): The model is trained to pull EEG signals representing the same sentence (across different subjects) closer together in the embedding space, while pushing signals from different sentences further apart.
  2. Curriculum Learning: Standard contrastive learning often plateaus because many random EEG pairs are "easy" to distinguish. We implement a curriculum that starts with these easy pairs and progressively introduces "hard" pairs—such as different sentences that produce confusingly similar EEG signals—forcing the model to learn deeper semantic features.
  3. BRAINTRANSLATOR Architecture: This backbone uses a Pre-encoder to process raw EEG and a Pre-trained Seq2Seq model (like BART or T5) to generate text. C-SCL specifically tunes the Pre-encoder to "clean" brain signals before decoding.
Overview of the EEG-to-Text generation pipeline, including EEG recording with eye-tracking fixations and the subsequent translation model.

Experimental Setup and Results

We utilized the ZuCo benchmark, which includes EEG and eye-tracking data from 30 subjects across 18,000 EEG-text pairs. Eye-tracking is crucial here as it defines word boundaries, mapping specific brain activity bursts to specific words.

Our C-SCL method achieved new State-of-the-Art (SOTA) performance on the ZuCo benchmark:

  • Accuracy: We observed a 1.58-point increase in ROUGE-L and a 2.41-point increase in BLEU-4 compared to previous best models.
  • Efficiency: In low-resource settings, C-SCL using only 25% of the training data performed comparably to standard models using 50%.
  • Generalization: The model demonstrated robust zero-shot performance on subjects not seen during training, a vital requirement for real-world medical applications.

Conclusion and Future Work

While C-SCL significantly improves the semantic alignment of brain waves and language, challenges remain in factual consistency and complex linguistic structures. Future work will focus on joint modeling of continuous EEG signals with syntactic sentence structures and expanding clinical trials to patients with speech or motor impairments, such as those with ALS, to bridge the gap between laboratory research and life-changing medical technology.

Summary updated

BibTeX
@article{feng2023aligning,
  author = {Xiachong Feng and Xiaocheng Feng and Bing Qin and Ting Liu},
  title = {{Aligning Semantic in Brain and Language: A Curriculum Contrastive Method for Electroencephalography-to-Text Generation}},
  journal = {IEEE Transactions on Neural Systems and Rehabilitation Engineering},
  year = {2023},
  doi = {10.1109/tnsre.2023.3314642},
}
Figure