Abstract
Brain-Computer Interfaces (BCIs) have traditionally been limited by small, subject-specific datasets that hinder generalization. BENDR (BErt-inspired Neural Data Representations) addresses this bottleneck by applying self-supervised learning to massive, unlabeled clinical EEG corpora. By adapting the wav2vec 2.0 architecture, the authors developed a foundation model capable of learning general-purpose brain signal features. Pre-trained on over 1.5 TB of data, BENDR demonstrates the ability to generalize across different hardware, subjects, and tasks, achieving state-of-the-art performance in motor imagery and sleep staging with minimal fine-tuning.
Introduction
Deep learning has transformed fields like computer vision and natural language processing, yet BCIs have lagged behind. The primary obstacle is the "limited data" problem: EEG data is high-dimensional, noisy, and expensive to label. Consequently, most BCI models are shallow and fail to generalize across subjects. BENDR proposes a shift toward "Encephalography Models" (EM)—foundation models that learn the underlying "language" of brain activity from unlabeled data before being applied to specific downstream tasks.
Methods
BENDR utilizes a two-stage architecture adapted from the wav2vec 2.0 framework:
- The Encoder: A series of 1D temporal convolutions that downsample raw, multi-channel EEG signals into a sequence of feature vectors.
- The Transformer: A large-scale transformer encoder (8 layers, 8 heads, ~1 billion parameters) that processes these representations to capture long-term temporal dependencies.
Contrastive Self-Supervised Learning
The model is pre-trained using a contrastive task. During training, segments of the EEG sequence are masked. The transformer must predict the representation of the hidden segment based on the surrounding context, distinguishing the true segment from a set of distractors. This approach forces the model to learn the statistical structure of EEG signals without human labels.
Datasets
The model was pre-trained on the Temple University Hospital EEG Corpus (TUEG), containing 1.5 TB of clinical recordings from over 10,000 subjects. To evaluate transferability, BENDR was tested on five diverse downstream benchmarks, summarized in the table below.
These datasets cover a wide range of paradigms, from motor imagery (MMI, BCIC) to event-related potentials (P300, ERN) and sleep staging (SSC).
Key Results and Insights
BENDR demonstrated significant generalization capabilities across varied tasks:
- Motor Imagery (MMI): The model achieved a Balanced Accuracy (BAC) of 86.7%. Notably, this performance was reached using only 19 channels, proving competitive with specialized supervised models.
- Sleep Staging (SSC): BENDR achieved a BAC of 0.72, outperforming previous self-supervised methods specifically designed for sleep data.
- Contextual Learning: Performance on the contrastive task improved with longer evaluation sequences, suggesting the model learns meaningful temporal patterns rather than simple local interpolations.
- Feature Robustness: In several instances, using pre-trained BENDR features with a simple linear classifier outperformed full fine-tuning of the transformer, indicating that the encoder learns highly robust, invariant features.
Discussion and Future Work
While BENDR represents a significant step toward a universal EEG model, several challenges remain. The model's high parameter count necessitates substantial computational resources. Additionally, while the model excels at temporal modeling, it may not yet fully exploit spatial (inter-channel) relationships. Future work may involve incorporating specialized layers like SincNet or more explicit spatial modeling to further enhance performance on short BCI trials.
In conclusion, BENDR demonstrates that large-scale self-supervised pre-training on clinical data can overcome the data scarcity bottleneck in neuroscience, paving the way for more robust and generalizable Brain-Computer Interfaces.
Summary updated