Meta-learning In-Context Enables Training-Free Cross Subject Brain Decoding

Nan Mu, Mu-Quan Yu, Wei-Jian Mai, Jacob S. Prince, Hossein Adeli +10 more
4/1/2026
3 citations

No official code found. Best implementation: ezacngm/braInCodec (20 stars, MIT, last commit 2026-09-19).

Abstract

Visual decoding from brain signals is a key challenge at the intersection of computer vision and neuroscience, requiring methods that bridge neural representations and computational models of vision. A field-wide goal is to achieve generalizable, cross-subject models.

Show full abstract

A major obstacle towards this goal is the substantial variability in neural representations across individuals, which has so far required training bespoke models or fine-tuning separately for each subject. To address this challenge, we introduce a meta-optimized approach for semantic visual decoding from fMRI that generalizes to novel subjects without any fine-tuning. By simply conditioning on a small set of image-brain activation examples from the new individual, our model rapidly infers their unique neural encoding patterns to facilitate robust and efficient visual decoding. Our approach is explicitly optimized for in-context learning of the new subject's encoding model and performs decoding by hierarchical inference, inverting the encoder. First, for multiple brain regions, we estimate the per-voxel visual response encoder parameters by constructing a context over multiple stimuli and responses. Second, we construct a context consisting of encoder parameters and response values over multiple voxels to perform aggregated functional inversion. We demonstrate strong cross-subject and cross-scanner generalization across diverse visual backbones without retraining or fine-tuning. Moreover, our approach requires neither anatomical alignment nor stimulus overlap. This work is a critical step towards a generalizable foundation model for non-invasive brain decoding.

View on arXivView PDF

Code Implementations(1)

ezacngm/braInCodecCommunity77%
MIT

Meta-learning In-Context Enables Training-Free Cross Subject Brain Decoding(CVPR 2026)

204Nov 14, 20252 months agoMIT

Similar Papers

Cite this paper

@article{mu2026metalearning,
  title  = {Meta-learning In-Context Enables Training-Free Cross Subject Brain Decoding},
  author = {Nan Mu and Mu-Quan Yu and Wei-Jian Mai and Jacob S. Prince and Hossein Adeli and Rui Zhang and Jia-Hang Cao and Benjamin Becker and John A. Pyles and Margaret M. Henderson and Chun-Feng Song and N. Kriegeskorte and Michael J. Tarr and Xiao-Qing Hu and Andrew F. Luo},
  year   = {2026},
  eprint = {2604.08537},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2604.08537},
  journal = {Computer Vision and Pattern Recognition}
}

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/2604.08537.svg)](https://codeofpaper.com/paper/2604.08537)

Discussion