MIRAGE: Adaptive Multimodal Gating for Whole-Brain fMRI Encoding
Abstract
Recent progress in task-optimized neural networks has established encoding models as a powerful tool for predicting brain responses to naturalistic stimuli, yet most existing approaches rely on unimodal representations. The emergence of omni-modal foundation models and rich multimodal neural datasets enables encoding models that jointly integrate visual, auditory, and linguistic information across subjects. We introduce MIRAGE, a brain encoding framework for predicting whole-brain fMRI responses to naturalistic audiovisual stimuli with paired transcripts. MIRAGE extracts representations from a single pretrained omni-modal backbone through three modality-specific cross-attention modules whose latent queries adaptively aggregate features across the backbone's 48 layers, and combines them through a transformer-based brain encoder and a subject-specific linear head over the cortical parcels. MIRAGE achieves state-of-the-art results on the CNeuroMod/Algonauts out-of-distribution benchmark. Within the Qwen-Omni family, controlled comparisons show that natively fused features outperform post-hoc fusion of independently extracted unimodal streams at every architectural level and backbone scale, and retain a small but consistent advantage over a depth- and representation-matched control. The frozen representation also transfers to held-out participants and to two external movie-watching fMRI datasets. Beyond predictive accuracy, the learned attention weights are directly inspectable: each modality’s gating module discovers a distinct depth profile over the backbone, and each modality traces a distinct, anatomically structured pattern across cortex. Together, these results establish adaptive layer-wise aggregation of natively multimodal features as a generalizable, interpretable, and accurate approach for whole-brain encoding.