TRANSMISSION // 2611.30290v1

Mapping the visual reasoning skills inside AI models

Source published

A new framework tests whether attention heads in vision-language models support distinct skills—and whether those skills work together on harder questions.

AI-generated conceptual illustration for Mapping the visual reasoning skills inside AI models
AI-generated conceptual illustration; not documentary evidence.

When a vision-language model counts objects or compares their sizes, which parts of its network help? A study called DISCO proposes a way to identify attention heads linked to visual reasoning skills while testing whether those heads are selective and can work together.

Vision-language models (VLMs) answer questions about images, but their internal workings are difficult to interpret. A model might count objects correctly, for example, without revealing which parts of its network carried out the counting—or whether the same parts also support other abilities. A new study proposes a framework, DISCO, to investigate those questions for a set of visual reasoning skills.

The researchers argue that useful skill localization should meet two tests. Separability means that components identified for one skill affect that skill more than other skills. Composability means that components associated with different skills can work together when a question requires several abilities at once. These ideas matter for interpreting model behavior: a component that affects many unrelated tasks may be a poor target for diagnosing or changing one specific skill.

Finding candidate attention heads

DISCO focuses on attention heads, parts of transformer networks that process relationships among information in a model’s input. The study examines four skills: counting, positioning, size comparison and distance comparison. It evaluates three instruction-tuned VLMs—Qwen2.5-VL, Qwen3-VL and Gemma-4—using the SPHERE visual-question-answering dataset, which includes questions requiring one skill or combinations of two.

The method has two main steps. First, Surface-Form-Agnostic Head Scoring estimates how much each attention head contributes to each skill. The researchers use image counterfactuals: versions of an image that change the answer to the same question. They intervene on a head by replacing its activation with the corresponding activation from the counterfactual-image run, then measure how the model’s answer shifts. To reduce the chance of mistaking formatting habits for reasoning, they vary answer formats and image styles. A head that matters across those variations is treated as a stronger candidate for the underlying skill than one that matters only for a particular answer label or visual style.

Second, Separable Head Selection compares a head’s estimated contribution to its target skill with its contributions to other skills. It selects heads using a skill-specific threshold, chosen to maximize a separability measure. The researchers also assess identified heads through interventions, comparing their effects with matched random-head baselines. Their composability measure asks whether intervening on heads for two skills together has a greater effect on a task requiring both than intervening on either skill’s heads alone, with random-head controls used to account for the number of heads involved.

What the experiments found

On single-skill tasks, DISCO had the highest overall separability scores among the methods tested for all three models. The paper reports that its scores exceeded those of the strongest baseline by 24.80 points on Qwen2.5-VL, 18.38 on Qwen3-VL and 13.75 on Gemma-4. It ranked first on 31 of 36 skill-level metrics. These are results under the study’s defined intervention-based metrics, not a direct measure of general model accuracy or human-like understanding.

On tasks combining two skills, DISCO achieved the highest average composability score for each model. Its separability results were more mixed: it had the highest average score and best rank on Qwen2.5-VL and Qwen3-VL. On Gemma-4, it had the best harmonic-mean rank across the three combined tasks, but not the highest average separability score. The rank summarizes how the methods placed across those tasks; it is distinct from their average scores.

Ablations on Qwen2.5-VL offer clues about the design. Selecting the top-scoring heads alone performed poorly on separability, while adding skill-specific thresholds improved results over a single shared threshold. Using multiple answer formats and visual styles also reduced sensitivity to those surface variations compared with relying on just one. The paper reports that identifying heads at preceding and final token positions separately improved separability over treating all positions together; composability changed less across those variants.

What remains uncertain

These findings show that DISCO performs well on the study’s selected models, tasks and metrics. They do not establish that attention heads are complete, independent modules for skills, or that changing them would reliably improve a model in practical use. The measurements rely on activation interventions and counterfactual examples, so conclusions are tied to those methods and to the study’s evaluation setup. The work is centered on SPHERE, with constructed variants and out-of-distribution multi-skill evaluations; results may differ for other capabilities, models, datasets or evaluation choices.

The source is an arXiv preprint, a research manuscript that may not have been peer reviewed. The paper also uses generative AI tools to create image-editing instructions and visual variants, assist with answer-consistency checks, and support implementation and data preparation; the authors say they manually evaluated generated data and verified code. Independent replication and testing beyond the reported setup would help establish how broadly DISCO’s measurements apply.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.