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

EEGPT: Unleashing the Potential of EEG Generalist Foundation Model by Autoregressive Pre-training

Tongtian Yue, Shuning Xue, Xuange Gao, Yepeng Tang, Longteng Guo, Jie Jiang, Jing Liu · DOI

Introduction

Electroencephalogram (EEG) research has traditionally been characterized by extreme specialization. Because different studies utilize varying hardware (ranging from 14 to over 128 electrodes), disparate sampling rates, and distinct experimental tasks—such as sleep monitoring versus emotion recognition—models are typically engineered for a single specific dataset. This fragmentation has historically prevented the EEG field from benefiting from the "foundation model" revolution that has transformed Natural Language Processing (NLP) and Computer Vision.

Furthermore, existing EEG pre-training methods often rely on Masked Autoencoders (MAE), which focus on reconstructing missing segments of a signal. However, brain signals are inherently causal and temporal. BrainGPT addresses these challenges by introducing a generalist foundation model that scales up to 1 billion parameters and utilizes GPT-style autoregressive pre-training to predict the "next token" of brain activity.

Methodology

BrainGPT overcomes data heterogeneity through three primary architectural innovations:

  1. Electrode-wise Modeling: Rather than treating an EEG reading as a fixed spatial grid, BrainGPT treats the signal from each electrode as an independent sequence. By employing a learnable "electrode vocabulary"—prefix tokens that identify the specific electrode source—the model can ingest data from any device configuration, supporting up to 138 electrodes in any combination.
  2. Autoregressive Pre-training (ETE): The core of the model is the Electrode Temporal Encoder (ETE). Moving away from reconstruction-based MAE, the ETE performs a next-token-prediction task. This approach forces the model to capture the true temporal dependencies of neural signals. The architecture was scaled across four sizes: Base (1.46M), Large (11.29M), Huge (183.8M), and Giant (1.09B) parameters.
  3. Task-shared Electrode Graph (TEG): To facilitate downstream classification, the authors introduced a graph network where electrodes function as nodes. This spatial supplement allows the model to learn regional interactions within the brain. Crucially, this graph is shared across multiple tasks, allowing the model to exploit synergies between different brain states.
Figure 3: Overview of the BrainGPT generalist framework, illustrating its ability to handle cross-subject, cross-device, and multi-task EEG data.

Key Insights and Scaling Laws

The shift to autoregressive (AR) pre-training proved pivotal, with AR consistently outperforming MAE by over 2% in average accuracy. This suggests that predicting future brain states yields more robust, biologically relevant representations than simple reconstruction.

Similar to Large Language Models, BrainGPT exhibits clear scaling laws. Performance improved consistently as both model parameters and data volume increased. The 1.09B-parameter "Giant" model represents the largest scale ever attempted in EEG research. Additionally, the model demonstrated multi-task synergy: training on multiple tasks simultaneously improved performance compared to standalone specialist models. For instance, joint training boosted accuracy on Mental Workload tasks by 3.9% over specialized counterparts.

Experimental Results

BrainGPT was pre-trained on a massive corpus of 37.5 million samples (approximately 1 billion tokens) and evaluated across 12 benchmarks spanning five distinct tasks: Emotion Recognition, Motor Imagery, Mental Workload, Sleep Stage classification, and Cross-Modality tasks.

Figure 1: Radar chart comparing BrainGPT's generalist performance against the maximum performance of specialized models across 12 diverse EEG benchmarks.

BrainGPT-Giant significantly outperformed state-of-the-art specialist models (such as EEGNet and Conformer) and existing pre-trained models (like BIOT and LaBraM). Key improvements included:

  • Sleep Stage: +11.20% average accuracy improvement.
  • Mental Workload: +8.50% improvement.
  • Motor Imagery: +6.05% improvement.
  • Emotion Recognition: +5.07% improvement.

Conclusion and Future Work

BrainGPT demonstrates that a single foundation model can effectively replace a suite of specialized EEG models while providing superior performance. While the current work focuses on discriminative classification, the autoregressive nature of the model opens doors for future generative applications, such as synthesizing EEG data or direct brain-to-text translation. Future research will also focus on optimizing the model for extremely sparse electrode setups (1–8 electrodes) common in consumer wearables and reducing the significant computational requirements currently needed for training giant-scale neural foundation models.

Summary updated

BibTeX
@misc{yue2024eegpt,
  author = {Tongtian Yue and Shuning Xue and Xuange Gao and Yepeng Tang and Longteng Guo and Jie Jiang and Jing Liu},
  title = {{EEGPT: Unleashing the Potential of EEG Generalist Foundation Model by Autoregressive Pre-training}},
  year = {2024},
  eprint = {2410.19779},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.19779},
}
Figure