mlsanityData to 7 Oct 2026

SAMBA: Toward a Long-Context EEG Foundation Model via Spatial Embedding and Differential Mamba

arXiv 2511.18571 ↗First posted 23 Nov 2025cs.LGcited by 4

On the map: State-space sequence models (S4, Mamba) → Physiological signal modeling

Abstract (arXiv)

Long-sequence electroencephalogram (EEG) modeling is essential for developing generalizable EEG representation models. This need arises from the high sampling rate of EEG data and the long recording durations required to capture extended neurological patterns in brain activity. Transformer-based models have shown promise in modeling short sequences of a few seconds; however, their quadratic complexity limits scalability to longer contexts. Moreover, variability in electrode montage across available datasets, along with inter-subject differences in brain signals, pose significant challenges to developing a generalizable and robust foundation model. We propose textitSAMBA, a self-supervised learning framework with a Mamba-based U-shaped encoder-decoder architecture, which effectively captures long-range temporal dependencies and spatial variability in EEG data. Leveraging the inherent ability of Mamba in processing long context sizes, we introduce: (1) textitTemporal Semantic Random Masking for semantic-level sequence reconstruction, (2) a textitMulti-Head Differential Mamba module to suppress redundancy and emphasize salient temporal structures, and (3) a textitSpatial-Adaptive Input Embedding that learns unified embeddings in a three-dimensional Euclidean space, enabling robustness across devices. Experiments on thirteen EEG datasets across diverse tasks, electrode configurations, and sequence durations demonstrate that SAMBA consistently outperforms state-of-the-art methods while maintaining low memory consumption and inference time. We also show the learned spatial weight maps from our embedding module align closely with task-relevant neurophysiological regions, demonstrating the learnability and interpretability of SAMBA. These results highlight SAMBA's scalability and practical potential as a foundation model for real-time brain-computer interface applications.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Physiological signal modeling, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 14 of its 46 references that are in the map. First posted on arXiv 23 Nov 2025.

Builds on

14 of 46 references.

References · 14

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  2. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  3. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  4. 2024Large Brain Model for Learning Generic Representations with Tremendous EEG Data in BCIcited by 311
  5. 2021BENDR: using transformers and a contrastive self-supervised learning task to learn from massive amounts of EEG datacited by 194
  6. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
  7. 2021Transformer-based Spatial-Temporal Feature Learning for EEG Decodingcited by 92
  8. 2018MOABB: Trustworthy algorithm benchmarking for BCIscited by 80
  9. 2022MAEEG: Masked Auto-encoder for EEG Representation Learningcited by 61
  10. 2022Transformer Convolutional Neural Networks for Automated Artifact Detection in Scalp EEGcited by 54
  11. 2024EEG2Rep: Enhancing Self-supervised EEG Representation Through Informative Masked Inputscited by 48
  12. 2022Efficient Long Sequence Modeling via State Space Augmented Transformercited by 37
2 more
  1. 2016A Multimodal Approach to Estimating Vigilance Using EEG and Forehead EOGcited by 32
  2. 2021Self-supervised EEG Representation Learning for Automatic Sleep Stagingcited by 30

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025An Efficient Self-Supervised Framework for Long-Sequence EEG Modeling
  2. 2026LuMamba: Latent Unified Mamba for Electrode Topology-Invariant and Efficient EEG Modeling
  3. 2026CaMBRAIN: Real-time, Continuous EEG Inference with Causal State Space Models
  4. 2025FEMBA: Efficient and Scalable EEG Analysis with a Bidirectional Mamba Foundation Model
  5. 2025Mentality: A Mamba-based Approach towards Foundation Models for EEG
  6. 2026MedMamba: Recasting Mamba for Medical Time Series Classification
  7. 2026NeuroNarrator: A Generalist EEG-to-Text Foundation Model for Clinical Interpretation via Spectro-Spatial Grounding and Temporal State-Space Reasoning
  8. 2024EEGMamba: Bidirectional State Space Model with Mixture of Experts for EEG Multi-task Classification