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

MENDR: Manifold-Embedded Neural Data Representations for Channel-Agnostic EEG Foundation Modeling

Matthew Chen, Micky C. Nnamdi, Benoit Louis Marteau, Shaun Qien Yeau Tan, J. Ben Tamo, May Dongmei WangNeurIPS 2026

TL;DR

Most brainwave (EEG) foundation models treat neural signals like generic audio or text, forcing massive transformers to learn the physics of electrode relationships from scratch. MENDR instead bakes the curved, non-Euclidean geometry of brain-signal covariances directly into a tiny 1.2M-parameter architecture. The result is a nimble model that competes with much larger baselines—and raises fascinating questions about whether massive pretraining is actually doing what we think it is.

What Problem Does This Paper Address?

When neurologists or brain-computer interfaces read an electroencephalogram (EEG), one of the richest clues is covariance: how strongly pairs of scalp electrodes rise and fall together over short windows. Classical EEG decoders have relied on covariance matrices for decades, yet modern EEG foundation models largely ignore them, treating multi-channel brainwaves like standard flat time series.

Why? Because covariance matrices are symmetric positive definite (SPD). Mathematically, they don't live in flat Euclidean space; they live on a curved (Riemannian) manifold. If you try to average them or measure distances between them using standard neural network math, you distort the space—like trying to measure a flight path by tunneling straight through the Earth rather than following its curvature.

On top of that, EEG datasets are notoriously messy in their hardware setups (montages), ranging from 6 to 256 electrodes in varying orders. Existing foundation models often memorize specific electrode names or channel orders, making transfer across hardware awkward, and balloon up to hundreds of millions of parameters trying to brute-force structure that math could supply for free.

Methods

MENDR (Manifold-Embedded Neural Data Representations) doesn't invent brand-new mathematical ingredients; rather, its novelty lies in uniting existing geometric, filtering, and attention tools into a single pretrained EEG foundation model.

Figure 1: MENDR architecture. Raw EEG (6–64 channels) is mapped to 32 virtual electrodes by Perceiver cross-attention, split into K=4 learnable bands, and processed by a spatial path (Log- Euclidean embedding of windowed SPD covariances) and a temporal path (1D convolutions with attention pooling). Pretraining reconstructs masked SPD tokens and masked temporal spans, and fine-tuning concatenates the outputs of both paths. v: one tangent-space token v (Eq. (7)), S: the token sequence S over windows and bands.

Here is how a raw EEG signal flows through MENDR:

  1. Virtual Electrodes (Channel-Agnostic Projection): Using Perceiver-style cross-attention, MENDR maps anywhere from 6 to 64 physical electrodes onto 32 learned "virtual electrodes" using channel indices rather than names. Because of layer normalization, each virtual electrode naturally acts as a spatial contrast (weighted difference) across physical channels.
  2. Learnable Frequency Bands: Instead of fixed canonical brainwave bands, a learnable sinc filter bank splits signals into $K=4$ frequency bands, nudged apart during pretraining by a diversity regularizer so they don't collapse onto the same frequencies.
  3. Flattening the Curve (Log-Euclidean Embedding): Within short time windows, MENDR computes $32 \times 32$ SPD covariance matrices. It then applies a matrix logarithm (via double-precision eigendecomposition) to project each matrix onto a flat tangent space. Once flattened and vectorized into tokens, ordinary $\ell_2$ distances and arithmetic averages correspond to true Log-Euclidean geodesic distances and Fréchet means on the curved manifold!
  4. Dual-Path Masked Autoencoding: A tiny 4-layer standard transformer reconstructs 50% masked covariance tokens (plus an auxiliary loss predicting their Fréchet mean). In parallel, a lightweight 1D convolutional temporal path processes raw band signals to catch fast waveform dynamics that covariance matrices blur out.

Datasets

  • Pretraining: Temple University Hospital (TUH) EEG Corpus v2.0.1—after quality filtering, 50,210 unlabeled clinical recordings across 14,559 subjects (~13,300 hours) standardized to 19 channels at 200 Hz.
  • Downstream Evaluation: Six established benchmarks spanning diverse clinical and cognitive tasks (no new datasets were introduced):
  • TUAB (Abnormality detection, 19 channels) & TUEV (Event classification, 19 channels)—note that both are subsets of the TUH corpus.
  • PhysioMI (Motor imagery, 64 channels).
  • SEED-V (Emotion recognition, 62 channels).
  • CHB-MIT (Seizure detection, 16 channels).
  • ISRUC (Sleep staging, 6 channels).

Key Insights and Ideas

  • Inductive bias beats parameter bloat—mostly from scratch: Perhaps the most refreshing "aha" moment comes from the authors' strict ablations. When trained completely from scratch, MENDR performs statistically no differently than its pretrained version on five out of six tasks (only motor imagery significantly benefited from pretraining). Building SPD covariance geometry into the architecture does the heavy lifting, not self-supervised pretraining.
  • Scaling up breaks things: Scaling MENDR from 0.4M ("Tiny") up to 22.9M ("Large") parameters brought zero significant accuracy gains. In fact, pretraining the 7.3M and 22.9M variants caused their spatial transformers to collapse into outputting constants!
  • How virtual electrodes actually behave: Inspecting the fine-tuned cross-attention weights revealed they stay remarkably close to uniform (within 3% of $1/C$). Rather than cherry-picking individual scalp sensors, MENDR relies on LayerNorm to strip away the common average and amplify tiny, global spatial contrasts across the whole head.

Key Results

At 1.2M backbone parameters, MENDR's spatial encoder is 2.6 to 21 times smaller than compared foundation models (BIOT, CBraMod, LaBraM-Base, LUNA-Base, and the 25.3M EEGPT).

Figure 2: Score versus parameter count (mean ± std): the models of Table 1, and EEGPT on TUAB and TUEV (Section 4.1). Parameters: backbone counts as in Table 1.
  • Ties at the top on two clinical tasks: MENDR achieves the highest mean AUROC on TUAB ($0.903 \pm .002$) and CHB-MIT ($0.987 \pm .010$), with no baseline statistically ahead of it (and beating EEGPT's $0.892$ on TUAB).
  • Competitive runner-up elsewhere: On the remaining four tasks—TUEV ($0.769$ wF1), PhysioMI ($0.579$ wF1), SEED-V ($0.389$ wF1), and ISRUC ($0.753$ wF1)—MENDR trails the best-performing larger models by $0.03$ to $0.06$ weighted F1.
  • Path ablations: Removing the temporal path barely dents performance ($0.894$ vs. $0.899$ on TUAB; $0.768$ vs. $0.769$ on TUEV), proving the SPD spatial path carries the representation.

Limitations and Future Work

The authors are admirably candid about what didn't work or remains unproven:

  • Small parameters $\neq$ fast runtime: Because MENDR computes double-precision eigendecompositions for its matrix logarithms, it is actually slower on GPU at batch sizes 32–256 than larger baselines (eigendecomposition eats up to two-thirds of forward-pass time).
  • Montage lock-in after fine-tuning: Because channels are identified by integer index rather than 3D scalp coordinates, permuting or dropping channels at test time tanksTUAB AUROC from $0.902$ down to $0.721$–$0.740$.
  • Corpus overlap & missing ablations: TUAB and TUEV overlap with the unlabeled pretraining set (so they aren't true out-of-domain tests), and no ablation explicitly removes the matrix logarithm or Fréchet loss to isolate their exact mathematical necessity.

Future work aims to swap index embeddings for true 3D electrode-coordinate projections, introduce multi-scale adaptive covariance windows, and pretrain beyond 19-channel clinical EEG.

Summary updated

BibTeX
@inproceedings{chen2026mendr,
  author = {Matthew Chen and Micky C. Nnamdi and Benoit Louis Marteau and Shaun Qien Yeau Tan and J. Ben Tamo and May Dongmei Wang},
  title = {{MENDR: Manifold-Embedded Neural Data Representations for Channel-Agnostic EEG Foundation Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=pf1CbF5JeQ},
}

Loading related content...

Figure