Foundation model

BrainCodes (USC SAIL + Microsoft Research; lightweight EEG FM over BioCodec tokens)

Parameters
1.9M
Year
2026
Form factor
Other
EEGarXiv 2610.29320v1Weights: not released
Under reviewCatalog paper date: Not reportedAdded to atlas: Oct 22, 2026Source

Activity counts measure attention, not model quality. Missing counts are unknown. Publication status follows the linked source; a listed venue alone does not confirm peer review.

BrainCodes is a 1.9-million-parameter EEG foundation model that runs a factorized spatiotemporal transformer over frozen BioCodec discrete tokens. It is pretrained with masked code prediction on about 820 hours of HBN-EEG and reports strong results on standard EEG benchmarks and consumer headband setups. No public code or weights were released with the 2026 arXiv preprint.

Parameters
1.9M
Signals
EEG
Form factor
Other
License
No code or weights released or promised.
Year
2026
Architecture

Frozen per-channel BioCodec RVQ tokenizer (K=6 stages, vocab 256, code dim 16, summed to D=128) + factorized spatiotemporal transformer layers with 3-D electrode-coordinate positional encoding; masked code prediction plus an oscillation-injection auxiliary objective; 1.9 M trainable backbone parameters

Pretraining data

HBN-EEG releases R3, R4, R7, R8: ~820 h, 1,131 participants, 128-channel montage

At a glance
Type
Foundation model
Modalities
EEG
Form factor
Other
Parameters
1.9M
Architecture
Frozen per-channel BioCodec RVQ tokenizer (K=6 stages, vocab 256, code dim 16, summed to D=128) + factorized spatiotemporal transformer layers with 3-D electrode-coordinate positional encoding; masked code prediction plus an oscillation-injection auxiliary objective; 1.9 M trainable backbone parameters
Venue
arXiv 2610.29320v1 (cs.LG), 2026-10-21; under review
Year
2026
DOI
Not reported
Code
Not released
Weights
Not released
Licence
No code or weights released or promised.
Caveats
Not reported
Datasets
Not reported
Added
Oct 22, 2026
Updated
Oct 26, 2026

Abstract

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.

Verbatim fromarXiv· arXiv metadata (abstracts are released under CC0)

How it works

How BrainCodes (USC SAIL + Microsoft Research; lightweight EEG FM over BioCodec tokens) works: Input signals → Foundation model → Downstream tasksInput signals: EEG (Electrophysiology). Pretraining data: HBN-EEG releases R3, R4, R7, R8: ~820 h, 1,131 participants, 128-channel montage. Foundation model: BrainCodes (USC SAIL + Microsoft Research; lightweight EEG FM over BioCodec tokens), 1.9M parameters (Transformer · Masked reconstruction).Input signalsEEG: ElectrophysiologyEEGElectrophysiologyPretraining data: HBN-EEG releases R3, R4, R7, R8: ~820 h, 1,131 participants, 128-channel montagePretraining dataHBN-EEG releases R3, R4, R7, R8: ~820 h…Foundation model×NBrainCodes (USC SAIL +…1.9M parametersTransformer · Masked reconstruction
Pretraining data
HBN-EEG releases R3, R4, R7, R8: ~820 h, 1,131 participants, 128-channel montage
Architecture
Frozen per-channel BioCodec RVQ tokenizer (K=6 stages, vocab 256, code dim 16, summed to D=128) + factorized spatiotemporal transformer layers with 3-D electrode-coordinate positional encoding; masked code prediction plus an oscillation-injection auxiliary objective; 1.9 M trainable backbone parameters
Inputs
EEG
Approach
foundation model · EEG · lightweight · edge · neural tokenizer · RVQ

Datasets

No public datasets linked yet.

Papers· 1

Cite

APA

Avramidis, K., Tashev, I., & Emmanouilidou, D. (2026). BrainCodes: A Lightweight EEG Foundation Model over Discrete Neural Codes. arXiv 2610.29320v1 , 2026-10-21. https://arxiv.org/abs/2610.29320

BibTeX

@misc{avramidis2026braincodes,
  title         = {{BrainCodes: A Lightweight EEG Foundation Model over Discrete Neural Codes}},
  author        = {Avramidis, Kleanthis and Tashev, Ivan and Emmanouilidou, Dimitra},
  year          = {2026},
  howpublished  = {arXiv 2610.29320v1 , 2026-10-21},
  eprint        = {2610.29320},
  archivePrefix = {arXiv}
}

Built from the hub record. Check it against the publisher before submitting.

History

  1. Record updated

  2. Added to the ChatPPG research hub