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

Decoding EEG Brain Activity for Multi-Modal Natural Language Processing

Nora Hollenstein, Cedric Renggli, Benjamin Glaus, Maria Barrett, Marius Troendle, Nicolas Langer, Ce ZhangarXiv 2021 · DOI

TL;DR

This paper presents the first large-scale study on using EEG brain activity data to improve machine learning models for natural language processing (NLP) tasks like sentiment analysis and relation detection. By introducing a multi-modal late-fusion architecture, the authors demonstrate that incorporating human cognitive signals—specifically when filtered into distinct frequency bands—consistently boosts model performance, particularly in low-data regimes.

What Problem Does This Paper Address?

State-of-the-art NLP models still struggle with complex linguistic nuances, such as negations or mixed sentiments, which humans process effortlessly. To bridge this gap, researchers are increasingly looking toward multi-modal learning to ground AI models in human-like learning processes.

While eye-tracking and fMRI data have been used to augment NLP models before, electroencephalography (EEG) remains largely unexplored for downstream semantic tasks. EEG tracks electrical brain surface activity with incredibly high temporal resolution, making it ideal for word-level analysis. However, it suffers from a notoriously low signal-to-noise ratio and complex temporal overlaps during natural reading, making feature engineering and integration into machine learning architectures highly challenging.

Methods

The authors propose a multi-modal neural network architecture utilizing a late-fusion strategy. Instead of simply concatenating text and brain signals at the input layer (early fusion), this architecture trains independent decoders for each modality before fusing their hidden representations right before final classification. This allows the model to learn independent weights and better manage noise.

  • Text Component: Processes standard word representations (Randomly initialized, GloVe, or BERT embeddings) through a bidirectional LSTM.
  • EEG Component: The authors test both a recurrent architecture (biLSTM) and a convolutional architecture (an Inception-based CNN module designed to extract features from noisy time-series data across varying lengths).
  • EEG Feature Extraction: Rather than using raw broadband signals, the authors apply a Hilbert transform to split word-level EEG signals into four biologically motivated frequency bands: theta (4–8 Hz), alpha (8.5–13 Hz), beta (13.5–30 Hz), and gamma (30.5–49.5 Hz). They also utilize deconvolution modeling to correct for the temporal overlap caused by sequential eye fixations during natural reading.

Datasets

The study leverages the Zurich Cognitive Language Processing Corpus (ZuCo 1.0 and ZuCo 2.0), an open dataset containing simultaneous EEG and eye-tracking data from subjects reading natural English sentences at their own pace.

The dataset configurations and task types are detailed below:

ZuCo Dataset Task Details

The evaluation spans two primary NLP tasks: sentence-level Sentiment Analysis (binary and ternary) using movie reviews, and Relation Detection (multi-class, multi-label) using Wikipedia text. Examples of these tasks can be seen here:

Example Sentences and Labels

Key Insights and Ideas

  • Frequency Bands > Broadband: Splitting the EEG signal into distinct frequency bands yields significantly better results than using the raw, unfiltered broadband signal. Neurocognitive functions like semantic processing map cleanly to specific bands (e.g., theta and beta), providing a more effective inductive bias for the models.
  • CNNs Excel at Noisy Brain Data: The convolutional Inception architecture consistently outperformed the recurrent architecture when decoding EEG features. This validates that CNNs are better suited for extracting task-relevant linguistic features from noisy, non-linear time-series data.
  • Synergy with Contextual Embeddings: Brain features interact exceptionally well with state-of-the-art contextualized embeddings like BERT. The combination allows the model to align complex neural activation patterns with deep contextual text representations.
  • Boosting Low-Resource Learning: Data ablation experiments revealed that the largest performance gains from EEG occurred when training data was restricted to just 50% (as few as 105 sentences). This suggests that human cognitive features can act as powerful regularizers when training data is scarce.

Key Results

  • Sentiment Analysis: Incorporating EEG data provided a modest but consistent boost of ~3% F1-score for binary classification and ~1% for ternary classification across all embedding types.
  • Relation Detection: For this highly complex multi-label task, static embeddings struggled to leverage the cognitive data. However, the BERT-augmented model achieved an impressive improvement of up to +7% F1-score over the text-only baseline.
  • Baselines: The EEG-augmented models consistently outperformed text-only baselines, random noise-augmented baselines, and matched or exceeded strong eye-tracking (gaze-augmented) baselines.

Limitations and Future Work

  • Task Complexity Barrier: While EEG significantly improved simpler tasks, its benefits dwindled for complex, multi-label relation detection when using non-contextual embeddings. The authors note that more data or better feature selection is required for high-complexity tasks.
  • Subject Averaging: To combat high inter-subject variability, the authors averaged EEG features across all human participants. Future work could explore personalized, subject-specific decoding models or adversarial training to handle individual differences.
  • Isolating Purely Linguistic Signals: Although frequency filtering helps, it remains difficult to cleanly separate language-specific cognitive features from general cognitive load, attention shifts, or emotional responses captured by the EEG.

Summary updated

BibTeX
@misc{hollenstein2021decoding,
  author = {Nora Hollenstein and Cedric Renggli and Benjamin Glaus and Maria Barrett and Marius Troendle and Nicolas Langer and Ce Zhang},
  title = {{Decoding EEG Brain Activity for Multi-Modal Natural Language Processing}},
  year = {2021},
  eprint = {2102.08655},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.08655},
}

Loading related content...

Figure