Towards neural foundation models for vision: Aligning EEG, MEG, and fMRI representations for decoding, encoding, and modality conversion
This paper presents a novel approach towards creating a foundational model for aligning neural data and visual stimuli across cross-modal representations of brain activity by leveraging contrastive learning. We leverage electroencephalography (EEG), magnetoencephalography (MEG), and functional magnetic resonance imaging (fMRI) data. The framework is validated through three key experiments: decoding visual information from neural data, encoding images into neural representations, and converting between neural modalities. The results highlight the model’s ability to accurately capture semantic information across different brain imaging techniques, underscoring its potential in decoding, encoding, and modality conversion tasks. Our results reveal that EEG, MEG, and fMRI signals—despite being collected from different subjects and datasets—can be aligned in a shared vision-grounded space that preserves semantic information. This finding suggests the existence of modality-invariant neural codes and offers a new framework for comparing and decoding brain activity across heterogeneous non-invasive recordings. • Unified Multimodal Representation : Aligns EEG, MEG, and fMRI data with visual stimuli using contrastive learning for a shared representation. • Three Key Capabilities : Enables neural data decoding, visual encoding, and cross-modality conversion, showcasing versatility. • High Decoding Accuracy : Achieves 93% CLIP 2-way accuracy with fMRI, matching or surpassing similar models. • Cross-Modality Consistency: Translates semantic content effectively across EEG, MEG, and fMRI. • Towards a Neural Foundation Model : Advances a unified framework for neural data, similar to NLP foundation models.
Authors
- Nicola Toschi (ORCID: https://orcid.org/0000-0003-1929-5833)
- Matteo Ferrante (ORCID: https://orcid.org/0000-0002-3481-0832)
- Tommaso Boccato (ORCID: https://orcid.org/0000-0003-3026-5221)
- Grigorii Rashkov
Institutions
- University of Rome Tor Vergata (IT)
- Athinoula A. Martinos Center for Biomedical Imaging (US)
Publication Details
- Journal
- Information Fusion
- Published
- 2025-08-28
- DOI
- https://doi.org/10.1016/j.inffus.2025.103650
- Citations
- 2
- Primary Topic
- Neural dynamics and brain function
- Type
- article
- Field-Weighted Citation Impact
- 2.86