SAMBA: Toward a Long-Context EEG Foundation Model via Spatial Embedding and Differential Mamba
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
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024Large Brain Model for Learning Generic Representations with Tremendous EEG Data in BCIcited by 311
- 2021BENDR: using transformers and a contrastive self-supervised learning task to learn from massive amounts of EEG datacited by 194
- 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
- 2021Transformer-based Spatial-Temporal Feature Learning for EEG Decodingcited by 92
- 2018MOABB: Trustworthy algorithm benchmarking for BCIscited by 80
- 2022MAEEG: Masked Auto-encoder for EEG Representation Learningcited by 61
- 2022Transformer Convolutional Neural Networks for Automated Artifact Detection in Scalp EEGcited by 54
- 2024EEG2Rep: Enhancing Self-supervised EEG Representation Through Informative Masked Inputscited by 48
- 2022Efficient Long Sequence Modeling via State Space Augmented Transformercited by 37
2 more
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Brain4FMs: A Benchmark of Foundation Models for Electrical Brain Signalcited by 5
- 2026Representational and Functional Robustness to Electrode Montages in EEG Foundation Modelscited by 0
- 2026NeurDuo-EEG: A Long-Sequence EEG Foundation Model with Persistent State and Explicit Memorycited by 0
- 2026CortexBridge: Cortical Alignment of EEG Montages for Foundation Modelscited by 0
- 2026CortexBridge: Cortical Alignment of EEG Montages for Foundation Models1 Oct 2026
- 2026NeurDuo-EEG: A Long-Sequence EEG Foundation Model with Persistent State and Explicit Memory29 Sep 2026
- 2026Representational and Functional Robustness to Electrode Montages in EEG Foundation Models28 Sep 2026
- 2026Brain4FMs: A Benchmark of Foundation Models for Electrical Brain Signal12 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025An Efficient Self-Supervised Framework for Long-Sequence EEG Modeling
- 2026LuMamba: Latent Unified Mamba for Electrode Topology-Invariant and Efficient EEG Modeling
- 2026CaMBRAIN: Real-time, Continuous EEG Inference with Causal State Space Models
- 2025FEMBA: Efficient and Scalable EEG Analysis with a Bidirectional Mamba Foundation Model
- 2025Mentality: A Mamba-based Approach towards Foundation Models for EEG
- 2026MedMamba: Recasting Mamba for Medical Time Series Classification
- 2026NeuroNarrator: A Generalist EEG-to-Text Foundation Model for Clinical Interpretation via Spectro-Spatial Grounding and Temporal State-Space Reasoning
- 2024EEGMamba: Bidirectional State Space Model with Mixture of Experts for EEG Multi-task Classification