cs.CVMay 18, 2026

CounterCount: A Diagnostic Framework for Counting Bias in Vision Language Models

Authors: Reem AlzahraniHassan AlshanqitiBushra Bin HemidZaid AlyafeaiAbdelrahman EldesokeyBernard Ghanem

Organizations: King Abdullah University of Science and Technology, Thuwal, Saudi Arabia. · University of Edinburgh · KAUST

Abstract

Vision-Language Models (VLMs) excel at multimodal reasoning, yet it remains unclear whether their answers are grounded in visual evidence or driven by learned language and world priors. Counting provides a precise testbed: when visual evidence conflicts with canonical object knowledge, a model must rely on the image rather than a prototypical count. We introduce CounterCount, a diagnostic framework for counterfactual counting in VLMs, consisting of paired factual and counterfactual images with edited count-relevant attributes, verified answers, and localized evidence annotations. Evaluating recent VLMs, we find strong performance on factual images but consistent degradation under counterfactual attribute changes, indicating reliance on object-level priors even when contradictory visual evidence is present. Using localized annotations, we show that these failures are not solely due to missing or ambiguous visual evidence, but to models underweighting attention to count-relevant visual tokens. We introduce a unified inference-time attention modulation strategy that reweights selected visual tokens, improving counterfactual counting accuracy by up to 8% across multiple VLMs. Overall, CounterCount exposes prior-driven counting failures and provides diagnostic insights for designing future VLMs.

Explore similar work

CardsList
  1. The Count Is There, but Misaligned: Understanding and Correcting Counting Failures in VLMs

    Jul 10, 2026Ahmed Oumar El-Shangiti, Abzal Nurgazy, Hilal AlQuabeh +2Counting