Brain-OF: An Omnifunctional Foundation Model for fMRI, EEG and MEG
About
Brain foundation models have achieved remarkable advances across a wide range of neuroscience tasks. However, most existing models are limited to a single functional modality, restricting their ability to exploit complementary spatiotemporal dynamics and the collective data scale across imaging techniques. To address this limitation, we propose Brain-OF, the first omnifunctional brain foundation model jointly pretrained on fMRI, EEG and MEG, capable of handling both unimodal and multimodal inputs within a unified framework. To reconcile heterogeneous spatiotemporal resolutions, we introduce the Any-Resolution Neural Signal Sampler, which projects diverse brain signals into a shared semantic space. To further manage semantic shifts, the Brain-OF backbone integrates DINT attention with a Sparse Mixture of Experts, where shared experts capture modality-invariant representations and routed experts specialize in modality-specific semantics. Furthermore, we propose Masked Temporal-Frequency Modeling, a dual-domain pretraining objective that jointly reconstructs brain signals in both the time and frequency domains. Brain-OF is pretrained on a large-scale corpus comprising around 40 datasets and demonstrates superior performance across diverse downstream tasks, highlighting the benefits of joint multimodal integration and dual-domain pretraining.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Binary classification of normal versus abnormal EEG signals | TUAB | Balanced Accuracy82.87 | 49 | |
| EEG Classification | CHB-MIT | B-ACC74.87 | 30 | |
| ADHD Diagnosis | ADHD-200 fMRI | Balanced Accuracy (BAC)63.51 | 10 | |
| Age Group Classification | LEMON EEG | BAC80.39 | 10 | |
| Alzheimer's disease diagnosis | ADNI fMRI | Balanced Accuracy71.79 | 10 | |
| Brain Age Prediction | CamCAN MEG | MAE7.87 | 10 | |
| Emotion Recognition | SEED-V EEG | Kappa26.36 | 10 | |
| Brain Age Prediction | CamCAN fMRI | MAE9.51 | 10 | |
| Age Group Classification | LEMON fMRI | BAC62.85 | 10 |