mlsanityData to 24 Nov 2026

BrainCodes: A Lightweight EEG Foundation Model over Discrete Neural Codes

arXiv 2610.29320 ↗Submitted 21 Oct 2026cs.LG cs.NEcited by 0

Not on the map. Why?

Abstract (arXiv)

Recent electroencephalography (EEG) foundation models increasingly emphasize model scale, potentially limiting their deployment on resource-constrained devices and in everyday environments. We argue that transferable EEG features can instead be learned with a compact architecture and introduce BrainCodes, a lightweight foundation model pretrained through self-supervised learning on more than 800 hours of recordings from over 1,000 participants. Our architecture combines a quantization-based neural tokenizer with a spatiotemporal encoder that supports arbitrary electrode configurations. The pretraining objective explicitly encourages representations that capture spatial connectivity through channel positional encoding, and sensitivity to narrowband neural oscillations through an auxiliary training objective. Our model matches or surpasses the state of the art across diverse neurophysiological monitoring tasks, including sleep staging, attention assessment, and cognitive load estimation. BrainCodes transfers effectively to low-resource wearable devices while using up to 97% fewer trainable parameters than comparable architectures. Beyond predictive accuracy, our evaluation framework characterizes the geometry and invariances of learned EEG representations across measurable spatial, temporal, and spectral signal properties.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 21 of its 46 references that are in the map. Submitted 21 Oct 2026.

Builds on

21 of 46 references.

References · 21

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
  3. 2016EEGNet: A Compact Convolutional Network for EEG-based Brain-Computer Interfacescited by 671
  4. 2024Large Brain Model for Learning Generic Representations with Tremendous EEG Data in BCIcited by 374
  5. 2024Rotary Position Embedding for Vision Transformercited by 257
  6. 2024CBraMod: A Criss-Cross Brain Foundation Model for EEG Decodingcited by 237
  7. 2017DeepSleepNet: a Model for Automatic Sleep Stage Scoring based on Raw Single-Channel EEGcited by 166
  8. 2025REVE: A Foundation Model for EEG -- Adapting to Any Setup with Large-Scale Pretraining on 25,000 Subjectscited by 107
  9. 2021Transformer-based Spatial-Temporal Feature Learning for EEG Decodingcited by 105
  10. 2023Neuro-GPT: Towards A Foundation Model for EEGcited by 84
  11. 2025CSBrain: A Cross-scale Spatiotemporal Brain Foundation Model for EEG Decodingcited by 63
  12. 2022Transformer Convolutional Neural Networks for Automated Artifact Detection in Scalp EEGcited by 59
9 more
  1. 2025BrainOmni: A Brain Foundation Model for Unified EEG and MEG Signalscited by 39
  2. 2021Self-supervised EEG Representation Learning for Automatic Sleep Stagingcited by 38
  3. 2017Deep learning with convolutional neural networks for EEG decoding and visualizationcited by 29
  4. 2023BIOT: Cross-data Biosignal Learning in the Wildcited by 24
  5. 2025Tokenizing Single-Channel EEG with Time-Frequency Motif Learningcited by 19
  6. 2025Neural Codecs as Biosignal Tokenizerscited by 18
  7. 2025NeuroRVQ: Multi-Scale Biosignal Tokenization for Generative Foundation Modelscited by 11
  8. 2025Is Limited Participant Diversity Impeding EEG-based Machine Learning?cited by 8
  9. 2026Aperiodic and Low-Frequency Spectral Bias in Reconstruction based EEG Foundation Modelscited by 4

Built on by

Not cited yet.