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 · Submission to ICLR 2026 · Withdrawn

TL;DR

While modern Vision-Language Models (VLMs) excel at high-level reasoning and scene understanding, they struggle with one of the most basic visual tasks: counting. Introducing VLMCountBench—a controlled, minimalist benchmark featuring simple 2D shapes—this paper reveals that leading VLMs experience sharp performance drops when counting multiple shape types simultaneously, and counterintuitively perform worse when guided by step-by-step decomposition prompts.

What Problem Does This Paper Address?

Counting is a foundational perceptual capability required for spatial reasoning, visual QA, and robotics. However, existing benchmarks evaluate counting inside complex, real-world scenes where counting failures get confounded with object recognition, clutter, occlusions, or commonsense reasoning errors.

To isolate whether VLMs can actually count, the authors ask: Can state-of-the-art VLMs reliably perform simple and compositional visual counting in a strictly controlled, minimalist setting?

Methods

The authors designed VLMCountBench, an automated pipeline generating synthetic images ($640 \times 480$ white canvases) containing non-overlapping geometric shapes (triangles, squares, and circles) with counts ranging from 1 to 20 per shape.

The benchmark evaluates three levels of compositional complexity:

  • Level 1: A single shape category.
  • Level 2: Two distinct shape categories.
  • Level 3: Three distinct shape categories.

In the base configuration, all shapes share identical sizes, black borders, and white interiors without rotation. The authors then perturb these settings and evaluate interventions:

  • Visual Perturbations: Testing sensitivity to random color assignments and random shape resizing.
  • Prompt Refinement / Task Decomposition: Testing whether human-like counting heuristics help:
  • Spatial Decomposition: Directing the model to count the left half, count the right half, and sum them.
  • Type Decomposition: Directing the model to count one shape class completely before moving to the next.

Eight leading proprietary and open-weight models were evaluated (via OpenRouter API without chain-of-thought prompting, except where models output CoT natively): GPT-4o, Gemini 2.5 Flash, Qwen 2.5 72B, Ernie 4.5, GLM 4.5v, Llama 4 Maverick, Gemma 3 27B, and Kimi VL A3B.

Performance is tracked via exact-match Count Accuracy (fraction of categories counted exactly right) and Relative Error (normalized deviation from ground truth).

Datasets

  • VLMCountBench (New): A synthetic benchmark containing 200 randomly sampled test prompts and images per compositional level (600 base evaluation instances total), along with controlled visual perturbation variants (random color, random size).
  • No external training dataset was used; evaluations were conducted purely zero-shot on off-the-shelf foundation models.

Key Insights and Ideas

  • Compositional Breakdown: Models handle isolated categories passably well, but introducing a second or third shape category severely impairs accuracy. For example, Qwen 2.5 72B drops from 0.60 accuracy on single-shape scenes to 0.45 on three-shape scenes, while Gemini 2.5 Flash plummets from 0.58 down to 0.30.
  • Decomposition Prompting Backfires: Breaking the task into steps (a common LLM reasoning strategy) actually degraded accuracy across the board. Spatial decomposition introduced slight performance drops, while type decomposition caused catastrophic drops (e.g., Qwen 2.5 72B plummeted from 0.60 to 0.35 accuracy, and relative errors quadrupled). Dividing attention by category or region appears to inject compounding errors rather than structured focus.
  • Color Sensitivity vs. Size Invariance: Models were far more sensitive to color shifts than size shifts. Color randomization significantly harmed models like Qwen 2.5 72B and Ernie 4.5 (suggesting reliance on narrow color distributions), yet improved GPT-4o and GLM 4.5v (likely by making category boundaries more distinct).

Key Results

  • Overall Counting Accuracy Remains Modest: Even the best-performing model, Qwen 2.5 72B, achieved an overall accuracy of only 0.53 (relative error: 0.05). GLM 4.5v followed at 0.49, and Gemini 2.5 Flash scored 0.47.
  • Smaller / Mid-tier Models Struggle Heavily: Gemma 3 27B and Kimi VL A3B managed an overall accuracy of just 0.23 (relative errors of 0.21 and 0.27, respectively). GPT-4o reached only 0.35 overall accuracy.
  • Ablation Trends: On the visual perturbation tests, GLM 4.5v jumped from 0.49 to 0.59 accuracy when shapes had random colors, whereas Ernie 4.5 dropped from 0.44 to 0.33.

Limitations and Future Work

  • Limited Geometric Vocabulary: The study tests only three basic 2D geometric shapes (circle, triangle, square) up to 20 objects per shape. Real-world scenarios feature 3D perspectives, occlusions, and vastly more diverse object classes.
  • API Constraints: OpenRouter defaults were used, and intermediate chain-of-thought was stripped or suppressed where possible; dedicated visual reasoning models (e.g., test-time compute scaling or explicit visual bounding box generation) were not systematically compared.
  • Future Work: Developing architectures or training recipes that explicitly ground instance enumeration, integrating visual coordinate systems, and diagnosing why standard prompting strategies fail to induce systematic visual scanning.

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