Rethinking Cross-Subject Data Splitting for Brain-to-Text Decoding

Congchi Yin, Qian Yu, Zhiwei Fang, Changping Peng, Piji Li

TL;DR

State-of-the-art cross-subject brain-to-text decoding models look incredibly accurate, but it is largely an illusion caused by systemic data leakage. This paper exposes how existing data-splitting methods inadvertently leak brain signals and text stimuli from the test set into the training set, and introduces a rigorous graph-based splitting method to establish a true, zero-leakage benchmark.

What Problem Does This Paper Address?

Brain-to-text decoding aims to translate non-invasive brain signals—such as functional Magnetic Resonance Imaging (fMRI) or Electroencephalography (EEG)—into natural language. To build models capable of generalizing across different individuals, researchers rely on cross-subject data splitting, where models are trained on a pool of subjects and tested on unseen ones.

However, naturalistic language comprehension datasets present a unique challenge: different subjects are often exposed to the exact same narrative stimuli (e.g., listening to the same audiobook). The authors discover that all current cross-subject splitting strategies suffer from severe data leakage. Either a test subject's brain signals or the test text stimuli end up in the training set. This causes models to overfit and simply memorize text sequences rather than actually decoding brain activity, leading to highly inflated performance metrics.

Methods

The authors formalize naturalistic language comprehension datasets using a directed 4-partite multigraph ($G_D$), mapping the intricate relationships between Subjects ($S$), Stories ($M$), Text segments ($T$), and Brain signals ($F$).

Using this graph framework, they define two distinct types of data leakage:

  1. Brain signal leakage: A test subject's brain activity appears in the training set, causing the encoder to overfit and fail to represent unseen subjects.
  2. Text stimuli leakage: The text from the test set appears in the training set, allowing the auto-regressive decoder to memorize the text.

To eliminate both issues, the authors propose a mathematically sound cross-subject data splitting criterion. They provide practical algorithms for both EEG and fMRI datasets that achieve clean separation by carefully pruning and expanding bipartite subgraphs, ensuring that neither the brain signals of test subjects nor the text stimuli of the test set ever appear during training.

Different splitting methods for cross-subject brain-to-text decoding.

Datasets

The authors evaluate data leakage and re-benchmark models using two widely adopted datasets:

  • Narratives: A large fMRI dataset containing brain scans from 345 subjects listening to 27 diverse spoken stories.
  • ZuCo (ZuCo1.0): An EEG dataset featuring 12 healthy subjects reading English text for 4 to 6 hours.

Key Insights and Ideas

  • The Decoder Illusion: When text stimuli leak into the training set, modern Transformer-based decoders (like BART) completely bypass the brain signals. They leverage teacher-forcing to memorize and regurgitate previously seen text.
  • The Shuffling Proof: To prove this memorization effect, the authors ran a "chance-level" experiment where they randomly shuffled the input brain signals. In leaked data splits, the models' decoding performance barely dropped! This confirms the models weren't actually decoding anything from the brain; they were just acting as language models predicting memorized text.
  • Encoder Overfitting: Brain signal leakage causes the validation loss of fMRI encoders to continuously decrease during training, masking the fact that the encoder's representation ability is actually degrading for entirely unseen subjects.

Key Results

The authors introduced two new metrics to quantify these issues: Brain Signal Leakage Rate (BSLR) and Text Stimuli Leakage Rate (TSLR). Standard cross-subject splitting methods showed a staggering 100% TSLR on the Narratives dataset and up to 12.8% BSLR.

When re-evaluated using the authors' correct, zero-leakage split, performance plummeted across the board:

  • On the ZuCo EEG dataset, the SOTA model UniCoRN saw its BLEU-1 score drop from an inflated 58.09% down to a realistic 23.32%.
  • Similarly, the EEG2Text model's BLEU-1 score dropped from 51.22% to 24.49%.

This massive performance drop strips away the false promise of current SOTA models and establishes a true, uninflated baseline for future cross-subject brain-to-text decoding research.

Limitations and Future Work

  • Data Sacrifice: To guarantee zero data leakage in highly interconnected naturalistic datasets, the proposed graph-splitting method inevitably requires discarding some data samples. The authors suggest that future dataset creators hire entirely new subjects with unique text stimuli for validation and test sets to avoid this data loss.
  • Signal Scope: The analysis was restricted to fMRI and EEG data. The impact of data leakage on other cognitive modalities like ECoG (Electrocorticography) or MEG (Magnetoencephalography) remains unexplored.
  • Weak Encoders: The experiments revealed that current models rely almost entirely on the power of the auto-regressive language decoder, while the brain signal encoders remain weak and prone to overfitting. Improving encoder representation without relying on decoder memorization remains an open challenge.

Summary updated

BibTeX
@misc{yin2023rethinking,
  author = {Congchi Yin and Qian Yu and Zhiwei Fang and Changping Peng and Piji Li},
  title = {{Rethinking Cross-Subject Data Splitting for Brain-to-Text Decoding}},
  year = {2023},
  eprint = {2312.10987},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.10987},
}
Figure