NeurIPS 2026

BrainVista

Modeling Naturalistic Brain Dynamics as Multimodal Next‑Token Prediction
Xuanhua Yin1 Runkai Zhao1 Lina Yao2,3 Weidong Cai1
1The University of Sydney 2University of New South Wales 3CSIRO's Data61

TL;DR BrainVista forecasts future fMRI states from brain history and stimulus tokens aligned to each prediction query, and rolls out recursively without access to future ground-truth fMRI.

Framework of BrainVista
Framework of BrainVista. Time-aligned multimodal features are aggregated into stimulus tokens, while parcel-wise fMRI is encoded by network-specific tokenizers into functionally structured brain tokens. Given interleaved stimulus and brain tokens from the valid context, BrainVista predicts the next brain token and decodes it back to fMRI space.
+10.8%
pattern correlation over the strongest baseline on Algonauts 2025
+9.4%
pattern correlation over the strongest baseline on CineBrain
3
naturalistic fMRI benchmarks: Algonauts 2025, CineBrain, HAD
H = 20
step conditional autoregressive rollout

Abstract

Naturalistic fMRI offers a time-resolved window into cortical dynamics during continuous multimodal experience, where future brain states are jointly governed by endogenous neural context and exogenous sensory drive. Forecasting such dynamics, however, remains challenging because fast-changing stimulus streams must be reconciled with the sluggish hemodynamic BOLD response, while cortical activity is organized across functionally heterogeneous brain networks. To address these challenges, we introduce BrainVista, a multimodal autoregressive framework for observed-stimulus conditional brain-state forecasting. BrainVista predicts future fMRI states from the history of brain activity and stimulus tokens temporally aligned to each prediction query, enabling autoregressive prediction without access to future ground-truth fMRI states. Recursive rollout provides a within-run predictive test of brain-state evolution under continuing sensory input. Specifically, we combine Network-wise Tokenizers for functionally structured brain representations, a Spatial Mixer Head for cross-network interaction refinement, and Stimulus-to-Brain (S2B) masking to preserve temporally causal stimulus–brain conditioning while preventing future brain-state leakage and stimulus look-ahead. We evaluate BrainVista on Algonauts 2025, CineBrain, and HAD, three large-scale naturalistic fMRI benchmarks, under long-horizon conditional autoregressive forecasting. BrainVista consistently outperforms baselines, improving pattern correlation by 10.8% and 9.4% relative to the strongest baseline on Algonauts 2025 and CineBrain, respectively.

Method

Network-wise Tokenizers

Independent tokenizer–detokenizer pairs for each functional network encode fMRI into compact, functionally structured brain region tokens instead of one homogeneous whole-brain code.

Stimulus-to-Brain Mask

Stimulus tokens form a stimulus-only causal stream; brain tokens attend to causally available stimuli and past brain tokens. The target brain position never sees target or future fMRI.

Spatial Mixer Head

Multi-head self-attention across the network-wise components of the predicted token refines cross-network interactions before decoding to fMRI space.

BrainVista core
BrainVista core. For next-step prediction, BrainVista takes an interleaved sequence of stimulus tokens and available brain tokens from the recent context. The target brain-token position is decoded as the prediction target. The Stimulus-to-Brain mask keeps stimulus tokens in a stimulus-only causal stream. The temporal Transformer predicts a whole-brain latent token, which is refined by the Spatial Mixer Head and decoded to fMRI space.

Results

Conditional autoregressive forecasting with horizon H = 20. ARX baselines receive matched past fMRI states and aligned stimulus features. Best and second-best are shown in red and blue.

Algonauts 2025CineBrainHAD
ModelrpcorrCls@Top10 rpcorrCls@Top10 rpcorrCls@Top10
Non-ARX references
TRIBE0.13790.13230.68230.47420.30120.85600.26850.18450.7012
MindSimulator0.14320.14780.69190.48560.32350.86150.26100.19600.7105
BrainLM0.11910.08290.64930.46330.27620.84780.24650.14500.6912
BrainJEPA0.14930.09160.68120.49410.24450.84550.25150.23530.7321
Brain Harmony0.18670.14660.70310.53970.34840.86420.26420.26880.7685
ARX baselines
Ridge-ARX0.17620.15840.71060.54830.40160.86780.26300.23270.7446
LSTM-ARX0.19050.17180.72230.56140.45290.87350.26420.26050.7631
TemporalCNN-ARX0.19680.17560.72680.57320.47240.87860.26540.27410.7762
Transformer-ARX0.20260.18190.73150.58970.49780.88370.26780.27240.7836
BrainHarmony-AR0.20650.18870.73920.59880.51560.88930.26850.27690.7894
BrainVista (ours)0.21830.20900.76190.63150.56430.90120.27390.29500.7998

Stimulus-to-Brain masking matters more as the horizon grows

Pattern correlation on Algonauts 2025 under conditional autoregressive rollout. S2B improves over vanilla causal masking by 0.008 at H = 1 and by 0.067 at H = 20.

MaskH = 1H = 5H = 10H = 15H = 20
Bidirectional attention0.5450.3610.2450.1690.113
Vanilla causal mask0.5520.3800.2700.1950.142
S2B mask0.5600.4030.3100.2510.209
Ablations on Algonauts 2025
Ablations on Algonauts 2025. (a) Tokenization granularity: continuous fMRI, a shared full-brain tokenizer, and Network-wise Tokenizers. (b) Temporal-causality masking: bidirectional, standard causal, and S2B-causal attention. (c) Spatial Mixer Head: no mixer, linear mixer, and the proposed Spatial Mixer Head.

Model-based Analyses

History-token occlusion and Spatial Mixer attention
Model-based analyses on Algonauts 2025 aggregated to Yeo-7 (sub01 and sub03). (a) History-token occlusion measures the increase in L2 error after masking each history token. (b) Spatial Mixer attention aggregated to Yeo-7 network pairs and averaged across time; chord thickness indicates attention weight. Sensory networks rely more strongly on recent context, whereas association networks retain broader sensitivity to earlier history. These analyses describe the fitted model and do not establish biological causality.
Emotion-category structure of forecasted brain features
Emotion-category structure of forecasted brain features on held-out Algonauts clips. Compared with BrainHarmony-AR, clustering of BrainVista forecasts improves ARI (0.138 → 0.214), NMI (0.214 → 0.286) and mean class purity (0.39 → 0.49); ground-truth brain features remain better.

Resources

  Code

  Frozen stimulus encoders

  Atlases

BibTeX

@inproceedings{yin2026brainvista,
  title     = {BrainVista: Modeling Naturalistic Brain Dynamics as Multimodal Next-Token Prediction},
  author    = {Yin, Xuanhua and Zhao, Runkai and Yao, Lina and Cai, Weidong},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  year      = {2026}
}