MEG-Mamba: A Scalable State-Space Foundation Model for Magnetoencephalography
Chetan Gohil, SungJun Cho, Oiwi Parker Jones, Mark Woolrich
Key points
From the paper's conclusion- Here, we introduce MEG-Mamba: a generative foundation model for neural activity (source reconstructed, parcellated MEG) built on a Mamba architecture.
Abstract
Magnetoencephalography (MEG) is an imaging technique that offers a non-invasive, millisecond-resolution view of human brain activity. The increasing availability of MEG data presents an opportunity to take advantage of a recent advance in artificial intelligence, namely self-supervised foundation models. Existing foundation models for MEG (and electroencephalography) have been built on a transformer architecture. Here, we introduce MEG-Mamba: a generative foundation model for neural activity (source reconstructed, parcellated MEG) built on a Mamba architecture. MEG-Mamba is trained to predict the next token of a discretised MEG signal, conditioned on a brain region and recording session. MEG-Mamba surpasses the generative fidelity of a transformer-based alternative (MEG-GPT) while pre-training in less time (22 vs 400 GPU-hours) and modelling a longer context (4 vs 0.32 s). We evaluate MEG-Mamba by examining the spatio-spectral characteristics of the data it generates and by interpreting its learned embeddings. Furthermore, we demonstrate that lightweight stimulus conditioning (LoRA) can be used to generate realistic task-evoked responses that are not included in pre-training. Our results suggest that Mamba is a promising backbone for scaling neural foundation models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MAGE: Towards Generalizable Multi-timescale EEG RepresentationsarXiv · 2026
- Rhamba: Region-aware hybrid attention-Mamba framework for self-supervised learning in resting-state fMRI.Computers in biology and medicine · 2026
- FAST-Brain: A Flow-Aligned Spatio-Temporal Surrogate Brain ModelarXiv · 2026
- Tracking propagating cortical activity in MEG/EEG with a bilinear state-space modelbioRxiv · 2026
- LibriBrain100: One Hundred Hours of Broad and Deep MEG Data for Neural Speech Decoding at ScalearXiv · 2026
- Intracranial Validation of Magnetoencephalography Across Oscillatory Frequency and DepthbioRxiv · 2026