cs.LGFeb 26, 2026

Brain-OF: An Omnifunctional Foundation Model for fMRI, EEG and MEG

Authors: Hanning Guo, Hanwen Bi, Farah Abdellatif, Andrei Galbenus, Jon. N. Shah, Abigail Morrison, Jürgen Dammers

Organizations: INM-4, Forschungszentrum Jülich, Germany · Department of Computer Science 3 - Software Engineering, RWTH Aachen University, Germany · INM-7, Forschungszentrum Jülich, Germany · Institute of Systems Neuroscience, Heinrich Heine University, Germany · 

Abstract

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 different neuroimaging techniques. This limitation largely arises from severe semantic heterogeneity and resolution discrepancies among modalities. To address these challenges, we propose Brain-OF, an 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, to explicitly internalize the characteristics of neural activity through self-supervised learning, 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.

Figures & tables

Appendix figures & tables20 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. One Brain, Omni Modalities: Towards Unified Non-Invasive Brain Decoding with Large Language Models

    Feb 25, 2026Changli Tang, Shurui Li, Junliang Wang +8Neural DecodingMultimodal Fusion

  2. iBrain: A Unified Foundation Model Reading the Brain from Surface to Spikes

    Sep 7, 2026Ying Chen, Tiou Wang, Zhifeng YueEEG Foundation ModelsMultimodal Pretraining

  3. A Language-Guided Multimodal Foundation Model for Zero-Shot and Multi-Task Brain Signal Analysis

    Sep 14, 2026Mingzhi Chen, Yiyu Gui, Guibo Luo +1Cross-Modal AlignmentMultimodal Foundation Models