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 · Submission to ICLR 2025 · Withdrawn

TL;DR

EEGPT is the first generalist EEG foundation model capable of processing signals from arbitrary electrode layouts across diverse subjects and tasks. By framing pre-training as next-token autoregression over electrode-conditioned sequences—and pairing it with a task-shared electrode graph network—the authors scale an EEG model up to 1.09 billion parameters and demonstrate that cross-task multi-task learning significantly outperforms specialized single-dataset baselines.

What Problem Does This Paper Address?

Despite the ubiquity of electroencephalography (EEG) across neuroscience and clinical domains, deep learning for EEG has remained fragmented into "specialist" models. Developing a unified generalist foundation model has been bottlenecked by three challenges:

  1. Heterogeneous Data Formats: Different EEG headsets vary dramatically in channel counts (from 2 to 128+) and montages (e.g., 10–20 systems), preventing joint training across datasets.
  2. Suboptimal Pre-training Paradigms: Prevailing self-supervised models rely on masked autoencoders (MAE) with bidirectional attention, which struggle to capture the intrinsic chronological, sequential flow of continuous neural oscillations.
  3. Siloed Transfer Learning: Existing pre-trained models are fine-tuned separately for isolated downstream tasks or single subjects, missing out on potential cross-task synergies.

Methods

EEGPT introduces a two-stage, spatiotemporally decoupled framework:

[Raw Multi-channel EEG] 
       │
       ▼ (Electrode-wise Decomposition + Learned Electrode ID Token)
[Electrode Temporal Encoder (ETE)] ──► Autoregressive Pre-training (Next-token MSE)
       │ (Extract final summary token per active channel; freeze ETE)
       ▼
[Task-Shared Electrode Graph (TEG)] ──► Multi-Task Transfer (GAT-based spatial fusion)
       │
       ▼
[Task-Specific Output Heads] (Emotion, Sleep, Motor Imagery, etc.)
  • Electrode-Wise Autoregressive Modeling: Instead of forcing rigid channel matrices, multi-channel EEG signals are decomposed channel-by-channel. Each electrode sequence is prepended with a trainable electrode identity token (from a vocabulary of 138 supported electrodes). The Electrode Temporal Encoder (ETE) is trained via causal attention on a next-token signal prediction objective using Mean Squared Error (MSE).
  • Scaling to 1.1B Parameters: The authors explore scaling across four configurations: Base (1.46M), Large (11.29M), Huge (183.8M), and Giant (1.09B parameters)—making EEGPT-Giant the first EEG foundation model to break the billion-parameter barrier.
  • Task-Shared Electrode Graph (TEG): During downstream fine-tuning, ETE is frozen. A learnable summary token is passed through ETE for each active channel to extract temporal embeddings. These embeddings are projected onto an electrode graph encompassing all 138 canonical positions. Active electrodes form task-specific subgraphs governed by Graph Attention Networks (GAT), enabling a single model to process inputs from different montages and simultaneous downstream tasks.

Datasets

  • Pre-training: Over 37.5 million samples (~1 billion tokens) compiled from 9 benchmarks: FACED, SEED, SEED-FRA, SEED-GER, SEED-IV, SEED-V, THINGS-EEG (10Hz and 5Hz), and an in-house visual ERP dataset (IMG).
  • Downstream Evaluation (12 benchmarks across 5 tasks):
  • Emotion Recognition (ER): DEAP, FACED, SEED-IV, SEED-V
  • Motor Imagery (MI): MIBCI, BCI Competition IV-1
  • Mental Workload (MW): EEGMat, STEW
  • Sleep Staging (SS): Sleep-EDF, HMC
  • Cross-Modality / ERP (CM): IMG, SPE (imagined speech)
  • Unseen Feature Transfer: DREAMER (zero-shot t-SNE evaluation)

Key Insights and Ideas

  • Autoregression Beats Masked Autoencoding: Across identical architectures and loss metrics ($\ell_1$, $\ell_2$, cosine), causal autoregression outperformed MAE-style bidirectional reconstruction by over 2% average downstream accuracy. The unidirectional prediction task forces the encoder to extract more discriminative temporal dynamics.
  • Clear Scaling Laws in EEG: Downstream performance consistently improves with both parameter scale (Base $\to$ Giant) and pre-training data volume (0B $\to$ 1B tokens), with pre-training loss converging to lower values as capacity grows.
  • Cross-Task Synergy Exists: Joint multi-task training on the shared electrode graph outperformed training separate models on individual tasks (e.g., +3.9% accuracy on Mental Workload, +1.8% on Motor Imagery). Shared electrode nodes allow data-rich tasks (like Sleep Staging) to act as regularizers and feature anchors for data-scarce tasks.

Key Results

Under a strict cross-subject evaluation split (8:1:1 train/val/test with no subject overlap):

  • EEGPT-Giant vs. Specialist Baselines: Outperformed top dataset-specific baselines (including EEGNet, Conformer, TSception, LGGNet, and pre-trained models BIOT and LaBraM) across all 12 benchmarks:
  • Emotion Recognition: Up to +5.07% average accuracy gain.
  • Motor Imagery: Up to +6.05% average accuracy gain.
  • Mental Workload: Up to +8.50% average accuracy gain (reaching 72.0% on EEGMat and 70.7% on STEW).
  • Sleep Staging: Up to +11.20% average accuracy gain (reaching 90.6% on EDF and 70.3% on HMC).
  • Cross Modality: Up to +5.10% average accuracy gain.
  • Unseen Generalization: t-SNE visual projections of ETE representations on the held-out DREAMER dataset showed distinct emotion-class clusters without any task-specific fine-tuning.

Limitations and Future Work

  • Data Scaling Saturation Not Reached: The data scaling curves indicate performance has not yet plateaued at 1B tokens, suggesting larger EEG corpuses are needed to fully saturate model capacity.
  • Clinical Validation Scope: The pre-training dataset primarily emphasizes cognitive, affective, and visual tasks rather than high-density pathological EEG (e.g., dense clinical epilepsy monitoring).
  • Inference Efficiency: While fine-tuning is fast because the backbone ETE remains frozen, deploying the 1.09B-parameter Giant variant for real-time BCI edge hardware remains a practical hurdle.

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