Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Counting

Xuyang Guo, Zekai Huang, Zhenmei Shi, Zhao Song, Jiahao Zhang · DOI

Abstract

While Vision-Language Models (VLMs) demonstrate sophisticated reasoning in complex visual tasks, their basic perceptual capabilities remain under-scrutinized. This paper introduces VLMCountBench, a minimalist benchmark designed to evaluate compositional counting—the ability to count multiple object types in a single image. Our evaluation of eight state-of-the-art VLMs reveals a significant failure to perform even simple counting tasks (up to 20 objects) when multiple categories are present. We find that prompt engineering strategies, such as Chain-of-Thought, often degrade performance, suggesting a fundamental architectural limitation in quantitative visual reasoning.

Introduction

Modern VLMs like GPT-4o and Gemini excel at high-level tasks such as image captioning and complex visual question answering. However, it is unclear if these models possess reliable, low-level perceptual abilities. Existing benchmarks often conflate counting errors with failures in object recognition or semantic understanding due to the complexity of natural images (e.g., occlusion in COCO).

To isolate the counting mechanism, we ask: If we remove all visual noise and present basic, unambiguous geometric shapes on a white background, can a VLM count them? This study exposes a surprising "counting ceiling" where models struggle to disentangle multiple object types, a task trivial for humans.

VLMCountBench: A Minimalist Benchmark

To evaluate counting in isolation, we developed VLMCountBench, a synthetic dataset consisting of 640x480 images containing non-overlapping, non-rotated geometric shapes (triangles, circles, squares). The benchmark is structured into three difficulty levels based on the number of shape types present:

  • Level 1: Single shape type.
  • Level 2: Two shape types.
  • Level 3: Three shape types.
VLMCountBench framework overview showing difficulty levels and visual factors.

The total quantity of objects ranges from 1 to 20. We evaluated eight prominent models, as detailed in the table below, using zero-shot prompts.

Summary of the state-of-the-art Vision-Language Models evaluated in the study.

Methodology and Ablations

Beyond standard counting, we conducted ablation studies to test robustness:

  1. Visual Perturbations: Randomizing shape size and color to see if models rely on brittle learned distributions.
  2. Prompt Refinement: Testing "Chain-of-Thought" strategies, including spatial decomposition (counting by quadrants) and type decomposition (counting one category at a time).

Experimental Results and Insights

Our findings reveal that compositional counting is a major blind spot for current VLMs.

The Compositional Collapse

Performance drops precipitously as the number of object types increases. For instance, Gemini 2.5 Flash achieved 58% accuracy on Level 1, which plummeted to 30% on Level 3. The relative error more than tripled as the scene became more "compositional," even though the total number of objects remained within the same range.

The Failure of Prompt Engineering

Contrary to expectations from text-only LLMs, breaking the task down often hurt performance. For Qwen 2.5 72B, "Type Decomposition" prompts caused accuracy to drop from 60% to 35%. These extra steps appear to introduce noise into the visual inference process rather than clarifying it.

Sensitivity to Visual Properties

Models showed high sensitivity to basic visual changes. While GPT-4o and GLM 4.5v showed some improvement with randomized colors (likely using color as a distinguishing feature), models like Ernie 4.5 and Qwen 2.5 72B saw massive performance drops, indicating a lack of robust geometric counting mechanisms.

Discussion and Future Directions

The results from VLMCountBench suggest that current VLM architectures have a fundamental empirical limitation in quantitative reasoning. Even the best-performing model, Qwen 2.5 72B, only reached 53% overall accuracy on a task that is semantically trivial.

Because prompt engineering failed to bridge this gap, future research should focus on architectural innovations or novel training paradigms. Instilling robust, reliable quantitative reasoning directly into the foundation models is necessary if they are to be deployed in real-world scenarios requiring precise visual accounting.

Summary updated

BibTeX
@misc{guo2025your,
  author = {Xuyang Guo and Zekai Huang and Zhenmei Shi and Zhao Song and Jiahao Zhang},
  title = {{Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Counting}},
  year = {2025},
  eprint = {2510.04401},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.04401},
}
Figure