Counting Circuits: Mechanistic Interpretability of Visual Reasoning in Large Vision-Language Models
On the map: LLM reasoning → Multimodal reasoning
Abstract (arXiv)
Counting serves as a simple but powerful test of a Large Vision-Language Model's (LVLM's) reasoning; it forces the model to identify each individual object and then add them all up. In this study, we investigate how LVLMs implement counting using controlled synthetic and real-world benchmarks, combined with mechanistic analyses. Our results show that LVLMs display a human-like counting behavior, with precise performance on small numerosities and noisy estimation for larger quantities. We introduce two novel interpretability methods, Visual Activation Patching and HeadLens, and use them to uncover a structured "counting circuit" that is largely shared across a variety of visual reasoning tasks. Building on these insights, we propose a lightweight intervention strategy that exploits simple and abundantly available synthetic images to fine-tune arbitrary pretrained LVLMs exclusively on counting. Despite the narrow scope of this fine-tuning, the intervention not only enhances counting accuracy on in-distribution synthetic data, but also yields an average improvement of +8.36% on out-of-distribution counting benchmarks and an average gain of +1.54% on complex, general visual reasoning tasks for Qwen2.5-VL. These findings highlight the central, influential role of counting in visual reasoning and suggest a potential pathway for improving overall visual reasoning capabilities through targeted enhancement of counting mechanisms.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Multimodal reasoning, one of 17 directions in LLM reasoning. Builds on 32 of its 39 references that are in the map. First posted on arXiv 19 Mar 2026.
Builds on
32 of 39 references.
Closest ancestors · 4
Same direction, newest first
- 2025[De|Re]constructing VLMs' Reasoning in Counting22 Oct
- 2025InternVL3.5: Advancing Open-Source Multimodal Models in Versatility, Reasoning, and Efficiency25 Aug
- 2024Measuring Multimodal Mathematical Reasoning with MATH-Vision Dataset22 Feb
- 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts3 Oct
Other references · 28
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023Segment Anythingcited by 8,158
- 2023Visual Instruction Tuningcited by 7,792
- 2025Qwen2.5-VL Technical Reportcited by 5,418
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2025Qwen3-VL Technical Reportcited by 2,534
- 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,044
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2025FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Spacecited by 960
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2023Scaling Open-Vocabulary Object Detectioncited by 335
16 more
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
- 2024Molmo and PixMo: Open Weights and Open Data for State-of-the-Art Vision-Language Modelscited by 321
- 2023Teaching CLIP to Count to Tencited by 194
- 2024How to use and interpret activation patchingcited by 191
- 2024Towards Interpreting Visual Information Processing in Vision-Language Modelscited by 115
- 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
- 2024Separating Tongue from Thought: Activation Patching Reveals Language-Agnostic Concept Representations in Transformerscited by 42
- 2023Point, Segment and Count: A Generalized Framework for Object Countingcited by 39
- 2023Attention Lens: A Tool for Mechanistically Interpreting the Attention Head Information Retrieval Mechanismcited by 21
- 2024LVLM-COUNT: Enhancing the Counting Ability of Large Vision-Language Modelscited by 20
- 2025Does Object Binding Naturally Emerge in Large Pretrained Vision Transformers?cited by 19
- 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Countingcited by 17
- 2024Towards Faithful Natural Language Explanations: A Study Using Activation Patching in Large Language Modelscited by 14
- 2025Hallucinatory Image Tokens: A Training-free EAZY Approach on Detecting and Mitigating Object Hallucinations in LVLMscited by 14
- 2025Can Vision-Language Models Count? A Synthetic Benchmark and Analysis of Attention-Based Interventionscited by 6
- 2025Understanding Counting Mechanisms in Large Language and Vision-Language Modelscited by 4
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Counting to Four is still a Chore for VLMs
- 2026Unveiling the Visual Counting Bottleneck in Vision-Language Models
- 2026The Count Is There, but Misaligned: Understanding and Correcting Counting Failures in VLMs
- 2026HoloCount: A Holistic Visual Counting Benchmark for MLLMs
- 2025Vision Language Models are Biased
- 2024UniBench: Visual Reasoning Requires Rethinking Vision-Language Beyond Scaling
- 2025Assessing the Visual Enumeration Abilities of Specialized Counting Architectures and Vision-Language Models
- 2025Can Current AI Models Count What We Mean, Not What They See? A Benchmark and Systematic Evaluation