MindLLM: A Subject-Agnostic and Versatile Model for fMRI-to-Text Decoding

Weikang Qiu, Zheng Huang, Haoyu Hu, Aosong Feng, Yujun Yan +1 more
2/14/2026

No official code found. Best implementation: Graph-and-Geometric-Learning/MindLLM (22 stars, last commit 2025-07-22).

Abstract

Decoding functional magnetic resonance imaging (fMRI) signals into text has been a key challenge in the neuroscience community, with the potential to advance brain-computer interfaces and uncover deeper insights into brain mechanisms. However, existing approaches often struggle with suboptimal predictive performance, limited task variety, and poor generalization across subjects. In response to this, we propose MindLLM, a model designed for subject-agnostic and versatile fMRI-to-text decoding. MindLLM consists of an fMRI encoder and an off-the-shelf LLM. The fMRI encoder employs a neuroscience-informed attention mechanism, which is capable of accommodating subjects with varying input shapes and thus achieves high-performance subject-agnostic decoding. Moreover, we introduce Brain Instruction Tuning (BIT), a novel approach that enhances the model's ability to capture diverse semantic representations from fMRI signals, facilitating more versatile decoding. We evaluate MindLLM on comprehensive fMRI-to-text benchmarks. Results demonstrate that our model outperforms the baselines, improving downstream tasks by 12.0%, unseen subject generalization by 24.5%, and novel task adaptation by 25.0%. Furthermore, the attention patterns in MindLLM provide interpretable insights into its decision-making process.

View on arXivView PDF

Code Implementations(1)

This is the official implementation of ICML 2025 paper MindLLM: A Subject-Agnostic and Versatile Model for fMRI-to-Text Decoding.

221PythonJun 2, 20251 years ago

Similar Papers

Cite this paper

@article{qiu2026mindllm,
  title  = {MindLLM: A Subject-Agnostic and Versatile Model for fMRI-to-Text Decoding},
  author = {Weikang Qiu and Zheng Huang and Haoyu Hu and Aosong Feng and Yujun Yan and Rex Ying},
  year   = {2026},
  eprint = {2502.15786},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.15786},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.15786.svg)](https://codeofpaper.com/paper/2502.15786)

Discussion