FEMBA: Efficient and Scalable EEG Analysis with a Bidirectional Mamba Foundation Model
Anna Tegon, Thorir Mar Ingolfsson, Xiaying Wang, Luca Benini, Yawei Li

TL;DR
FEMBA introduces a linear-time, bidirectional state-space model for EEG analysis, enabling efficient, scalable, and accurate processing suitable for resource-constrained environments and wearable devices.
Contribution
The paper presents FEMBA, a novel self-supervised EEG framework that outperforms transformer models in efficiency while maintaining high accuracy, especially for long recordings.
Findings
FEMBA achieves 81.82% balanced accuracy on TUAB.
FEMBA reaches 0.949 AUROC on TUAR.
A 7.8M-parameter FEMBA variant is effective for resource-limited devices.
Abstract
Accurate and efficient electroencephalography (EEG) analysis is essential for detecting seizures and artifacts in long-term monitoring, with applications spanning hospital diagnostics to wearable health devices. Robust EEG analytics have the potential to greatly improve patient care. However, traditional deep learning models, especially Transformer-based architectures, are hindered by their quadratic time and memory complexity, making them less suitable for resource-constrained environments. To address these challenges, we present FEMBA (Foundational EEG Mamba + Bidirectional Architecture), a novel self-supervised framework that establishes new efficiency benchmarks for EEG analysis through bidirectional state-space modeling. Unlike Transformer-based models, which incur quadratic time and memory complexity, FEMBA scales linearly with sequence length, enabling more scalable and efficient…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEEG and Brain-Computer Interfaces · CCD and CMOS Imaging Sensors
MethodsMamba: Linear-Time Sequence Modeling with Selective State Spaces
