Encoding-Attention Dissociation Paper Code
Inflated cortex seen from the left and front. Left of a vertical curtain the cortex is colored by which modality encodes each network best, mostly reddish for visual; right of it the cortex is a uniform neutral gray-green, the color of nearly equal thirds.
Loading the cortex
Encodingwhich modality fits each network best
Learned weightsone set for the whole cortex

Color is the share of visual (red), audio (green) and language (blue). Equal thirds are neutral. Contrast is stretched 2.5 times around the center on both sides. Rings: the seven networks. White dot: learned weights.

Apparent Inefficiency, Hidden Optimality

Why the brain’s multimodal attention does not track feature strength

Accepted · IEEE BIBM 2026 Brain

Models built from picture features fit cortical activity about twice as well as models built from sound or dialogue. An observer that weighed its senses in proportion would lean on vision. The weights a multimodal network learned from the same recordings stay near one third each. Drag the curtain across the cortex.

Click the cortex or a chip to look at one network.

Each parcel takes the color of its network because the repository holds no parcel-level results. The paper reports one triple of weights per participant, not a map, so the right-hand side is flat by construction.

The question

Classical accounts treat the brain as a statistically optimal observer: each sense is weighed by how reliable it is, so a stronger signal earns a larger weight. Movies carry picture, sound and speech at once, which turns that idea into a test.

Four participants watched about 65 hours of movies in an MRI scanner (the Algonauts 2025 data). Each cortex is divided into 1,000 parcels that belong to seven networks. Two kinds of model were fitted. An encoding model relates a parcel’s activity to one kind of stimulus feature at a time, picture, sound or language, and the correlation r says how well each kind fits. A multimodal network receives all three at once and learns three weights that sum to one, one for how much each kind counts. The paper treats those weights as a stand-in for attention. They are a property of the model, not a measurement of the brain’s own attention.

If weights tracked encoding strength, vision would receive about 47 percent, language 28 percent and sound 25 percent. The authors report that they do not, and call the gap the Encoding-Attention Dissociation. The three sections that follow let you place that result on the cortex, bet against it, and see which checks were run and which were not.

Where do the learned weights land?

Every point in the triangle is a split of 100 percent between vision, sound and language. The center is equal thirds and a corner is all one modality. The colors are the same ones painted on the cortex above. Click to place a guess for the weights the network learned, then show where they landed.

Rings and diamonds are encoding results: the open ring is the paper’s efficient allocation for the whole cortex (47.1, 24.7 and 28.2 percent, Table III). Colored dots are the seven networks, with the same formula applied inside each network (derived here; the paper reports it for the whole cortex only). The white marks, shown after you reveal, are the learned weights of the four participants (Table II) and their mean.

Is it an artifact?

The authors put three doubts to their own result: that the model fits poorly so its weights default to equal, that the training settings force the weights to stay level, and that vision’s lead belongs to one particular feature extractor. Choose a condition to see what the weights did.

Weights after retraining

Scale

Other feature extractors

Each modality was encoded with a second, architecturally different model. Bars are means over the four participants, dots are the participants.

For the alternative extractors the paper reports encoding scores only (Table V). It does not report weights re-learned with them.

Sources: Tables II, IV, V and VI of the paper, and the text of Section III-D. Efficient markers and standard deviations are derived from Table I and Table V.

Which networks integrate?

The paper also asks where in the cortex the three kinds of features matter about equally. It scores each of the seven networks with two indices computed from the encoding results and reports the Default mode network as the most balanced. Choose an index, then hover a network in the list or on the cortex.

Loading the cortex

Integration index (MII, Eq. 4) = 1 minus the spread of a network’s three encoding scores divided by their mean. Specificity index (MSI, Eq. 3) = (best minus mean of the other two) divided by (best plus mean of the other two). Values as printed in Fig. 2b and Fig. 1f of the paper. Colors are per network.

What was found, and what was not

What the paper shows

  • Vision leads encoding. Mean r is 0.204 for visual features against 0.107 for audio and 0.122 for language, and visual features fit best in 91 percent of the 1,000 parcels (Table I, Fig. 1).
  • The learned weights stay level. They average 32.3, 34.6 and 33.1 percent for visual, audio and language, and the standard deviation across the four participants is 0.001 to 0.002 for each (Table II).
  • The gap has the same direction in every participant. Against proportional weights, vision is under-weighted by 14.8 points while audio and language are over-weighted by 9.8 and 5.0 (Table III, Section IV-B).
  • It survived the checks that were run. Retraining on well-fitted parcels only, halving the learning rate and swapping the feature extractors left the weights near one third and kept visual above language above audio in every participant (Tables IV to VI).
  • The Default mode network is the most balanced. Its integration index is 0.744, the highest of seven networks, and the hierarchy was consistent across participants (ICC 0.89, Fig. 2b).
  • Weights moved toward equal where fit was best. The spread of the three weights fell from 0.036 at r > 0.1 to 0.011 at r > 0.2 (Section III-D1).

What it does not show

  • Four participants. The authors write that replication with larger samples is needed, and that the pattern is for the participants studied.
  • The weights are model-internal. They are an indirect proxy for attention, with no behavioral or direct neural measure, and the analysis is correlational, so it supports no causal claim.
  • No permutation test. A shuffled-label null for the dissociation was not run because of computational cost. The paper compares against one benchmark, weights proportional to encoding r (Eq. 5); other benchmarks were not tried.
  • Alternative extractors are all deep networks. Classical features such as Gabor filters were not tested, and weights were not re-learned with the alternatives (Table V reports encoding only).
  • Movies are visually rich. The visual lead may partly reflect that. Audio-dominant or balanced stimuli were not tested.
  • “Hub” rests on one index. The integration index measures how even three encoding scores are. Clustering parcels by their encoding profile recovers the seven networks only partly (adjusted Rand index 0.11, against a shuffled-label 95th percentile of 0.007). The reading that balanced attention reflects a strategy favoring robustness is offered as consistent with the data and was not tested.

Data and method

Data
The Algonauts 2025 Challenge release of the Courtois NeuroMod movie data. Four participants (sub-01, 02, 03, 05) watched Friends seasons 1 to 6 (55 hours, split 80 and 20 percent for training and validation) and Movie10 (10 hours, independent test). Repetition time 1.49 s. Activity is parcellated into 1,000 Schaefer regions in seven networks.
Features
SlowFast 3D ResNet (Kinetics-400) for vision, 20 MFCCs for audio, BERT for language, reduced by PCA to 250, 20 and 250 components. Alternatives: CLIP ViT-B/32, Wav2Vec2-base and GPT-2. Features are aligned to the scan with a hemodynamic delay of 3 repetitions and a 5-repetition window.
Encoding
Ridge regression per participant, modality and parcel, regularization chosen on a logarithmic grid from 10-3 to 106 by 5-fold cross-validation, scored by Pearson r.
Multimodal network
One two-layer encoder per modality into a shared 512-dimensional space, 8-head cross-modal attention, three learnable softmax-normalized modality weights, subject-specific adapters; Adam, learning rate 10-4, batch 32, early stopping with patience 10.
On this page
Only summary numbers: the paper’s tables and printed figure values, and the network means in the repository’s own figure (assets/network_modality.png). There is no participant-level or parcel-level data. The cortex is the fsaverage6 inflated surface with the Schaefer-1000 labels. Every value and its source is listed in data/README.md.
Public and restricted
The code is public under the MIT license. The fMRI data and features (about 13 GB) are not in the repository; they come from the Algonauts 2025 Challenge under its terms. Parcel-level results are not published, which is why the cortex above is colored by network.

To rerun the analysis, place the data under data/ as the README describes, then:

pip install -r requirements.txt
python scripts/run_full_analysis.py      # steps 1 to 7; a GPU is recommended for 4, 6 and 7

Cite

@inproceedings{ding2026apparent,
  title     = {Apparent Inefficiency, Hidden Optimality: Why the Brain's
               Multimodal Attention Does Not Track Feature Strength},
  author    = {Ding, Xiaoyue and Jiang, Cuicui and Yang, Rumei and
               Chen, Jiaoping and Li, Xiaoyan and Du, Yujia},
  booktitle = {Proceedings of the IEEE International Conference on
               Bioinformatics and Biomedicine (BIBM)},
  address   = {Dallas, TX, USA},
  year      = {2026}
}

Authors

  • Xiaoyue Ding, Faculty of Psychology, Beijing Normal University, Beijing, China
  • Cuicui Jiang, College of Computer Science, Inner Mongolia University, Hohhot, China
  • Rumei Yang, School of Nursing, Nanjing Medical University, Nanjing, China
  • Jiaoping Chen, Merrick School of Business, University of Baltimore, Baltimore, MD, USA
  • Xiaoyan Li (corresponding author, lixiaoy5@msu.edu), Dept. of Computational Mathematics, Science and Engineering, Michigan State University, East Lansing, MI, USA
  • Yujia Du, Suzhou MetaCortex Intelligence Technology Co., Ltd., Suzhou, China

Acknowledgment, as in the paper: this work used data from the Courtois NeuroMod project and the Algonauts 2025 Challenge. Claude (Anthropic) was used for language editing of the manuscript.