CountQA: How Well Do MLLMs Count in the Wild?

Jayant Sravan Tamarapalli, Rynaa Grover, Nilay Pande, Sahiti YerramilliarXiv 2025

TL;DR

While Multimodal Large Language Models (MLLMs) appear remarkably fluent at describing visual scenes, they suffer from a severe cognitive blind spot: they cannot reliably count objects. To expose and diagnose this limitation, the authors introduce CountQA, a new benchmark of over 1,500 real-world question-answer pairs featuring high object density, clutter, and occlusion. Evaluating 15 prominent MLLMs on this dataset reveals that even the best model, Gemini 2.5 Pro, achieves a mere 42.9% exact match accuracy, with performance collapsing completely as object counts rise.

What Problem Does This Paper Address?

Modern MLLMs can generate beautifully detailed descriptions of images, but their underlying visual intelligence is surprisingly fragile. A cornerstone of visual reasoning is object counting—without it, a model cannot reliably compare quantities, identify majorities, or grasp concepts like surplus and scarcity.

Existing vision-language benchmarks fail to properly stress-test this capability because they either feature sparse object layouts, are confined to narrow domains (like specialized crowd-counting datasets), or rely on multiple-choice formats. To address this evaluation gap, the authors present CountQA, a benchmark designed to probe the limits of numerical reasoning and fine-grained spatial perception in generalist MLLMs under realistic, complex conditions.

Overview of the CountQA dataset showing high density, occlusion, clutter, and unusual objects.

Methods

The authors developed a rigorous pipeline to collect data and evaluate models without relying on synthetic generation or ambiguous post-hoc annotations:

  • In-Situ Ground Truth Verification: To eliminate the perceptual limitations and ambiguities of annotating static 2D photos, the authors established ground truth counts in situ (on-site) at the moment of image capture. This allowed them to physically inspect scenes from multiple angles to resolve occlusions and verify partially hidden objects.
  • Semi-Automated QA Generation: Using Gemini 2.5 Flash, the authors formulated 1,528 natural language questions based on the verified counts. The dataset includes both straightforward questions ("How many lemons are there?") and compositional queries requiring aggregation ("How many sharpies and pens do you see combined?").
  • Strict Zero-Shot Evaluation: The counting task was framed as a regression problem where models were strictly prompted to output a single integer. To ensure deterministic results, the generation temperature was set to 0.
  • Two-Step Output Parsing: For smaller open-source models that struggled to follow formatting constraints and produced verbose text, Gemini 2.5 Flash was utilized as a post-processing rewriter to extract the first numerical value, ensuring models were fairly credited for correct counts.

Datasets

The paper introduces the CountQA benchmark, which consists of:

  • 1,001 unique images manually captured across diverse everyday indoor and outdoor environments (capturing the "long tail" of everyday objects rather than iconic web-scraped categories).
  • 1,528 question-answer pairs split across 10 distinct categories (e.g., Kitchen & Dining, Office & Media, Tools & Hardware).
  • 441 unique object classes.
  • Manual metadata tags for visual noise, classifying images as either focused (clear subject, minimal distractions) or cluttered (visually busy, competing objects).

Key Insights and Ideas

  • Subitizing vs. Serial Enumeration: MLLMs perform reasonably well when counting 1–5 objects—a skill analogous to human subitizing (instantly recognizing small quantities). However, performance drops sharply for moderate counts (6–20), indicating a fundamental breakdown in serial enumeration (the ability to sequentially identify and tally items one by one).
  • Approximation vs. Precision: As object counts increase, the gap between Exact Match (EM) accuracy and Relaxed Accuracy (RA@5% or RA@10%) widens. This suggests that while models lose the fine-grained precision required for an exact count, they often retain a general, approximate sense of quantity.
  • The Clutter Paradox: Surprisingly, several top-tier models (like OpenAI o4-mini) performed slightly better on cluttered scenes than focused ones. The authors revealed this was due to a dataset confounding variable: cluttered images happened to have a lower average object count (11.5) than focused images (15.7). This proves that object density is a much harsher driver of model failure than background visual noise.
Comparison of Exact Match accuracy on Focused vs. Cluttered images.
  • Architectural Bottlenecks: The authors trace these counting failures back to three core MLLM design choices:
  • Lossy Modality Projection: Simple linear layers connecting vision encoders to LLMs compress high-dimensional visual features into language tokens, discarding critical spatial details.
  • Semantic-Focused Encoders: Vision encoders like CLIP or SigLIP are optimized for holistic semantic alignment (understanding what an image is about) rather than granular, instance-level perception.
  • Fixed-Resolution Processing: Downsampling high-resolution images to fit fixed encoder inputs causes small, tightly packed objects to blur together or disappear entirely.

Key Results

  • The Performance Ceiling: Object counting remains an open challenge. The top-performing model, Gemini 2.5 Pro, achieved an Exact Match (EM) accuracy of just 42.93%.
  • Proprietary vs. Open-Source Gap: Leading proprietary models from OpenAI (o4-mini, o3) and Anthropic (Claude 4 Sonnet) formed a secondary tier, all scoring below 35% EM. Open-source models lagged significantly behind, with the best-performing model, Pixtral Large 2411, scoring 23.40% EM.
  • High-Count Collapse: For scenes containing more than 50 objects, accuracy collapsed across the board. Gemini 2.5 Pro dropped to 13.89% EM, while most other models fell into the single digits, representing a near-complete failure in dense environments.
Model performance degrades sharply as object counts increase across all evaluated MLLMs.

Limitations and Future Work

  • Geographic and Cultural Bias: Because images were manually collected by the authors, the dataset reflects specific regional, residential, and public environments, which may introduce a bias in the types of "everyday objects" observed.
  • Scale Restrictions: The labor-intensive nature of the in situ annotation protocol inherently limits the scale of the dataset compared to automated web-scraping methods.
  • Scope of Reasoning: CountQA focuses strictly on direct and compositional enumeration ("How many X?"). It does not currently probe more complex mathematical or logical reasoning, such as comparative questions ("Are there more X than Y?") or parity judgments ("Is the number of X even or odd?").

The authors suggest that future research should move toward novel fusion architectures that preserve spatial details, perception-aware training objectives, and tool-augmented MLLMs that can delegate fine-grained segmentation tasks to specialized expert models like SAM.

Summary updated

BibTeX
@misc{tamarapalli2025countqa,
  author = {Jayant Sravan Tamarapalli and Rynaa Grover and Nilay Pande and Sahiti Yerramilli},
  title = {{CountQA: How Well Do MLLMs Count in the Wild?}},
  year = {2025},
  eprint = {2508.06585},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.06585},
}
Figure