← Latest papers
💻 computer science

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

The paper introduces CounterCount, a diagnostic framework that reveals Vision-Language Models' reliance on object priors over visual evidence in counterfactual counting tasks and proposes an inference-time attention modulation strategy to significantly improve their accuracy.

Original authors: Reem Alzahrani, Hassan Alshanqiti, Bushra Bin Hemid, Zaid Alyafeai, Abdelrahman Eldesokey, Bernard Ghanem

Published 2026-05-19
📖 4 min read☕ Coffee break read

Original authors: Reem Alzahrani, Hassan Alshanqiti, Bushra Bin Hemid, Zaid Alyafeai, Abdelrahman Eldesokey, Bernard Ghanem

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a very smart, well-read parrot that has memorized millions of books about the world. You show this parrot a picture of a rabbit and ask, "How many ears does this rabbit have?" Because the parrot has read so many stories about rabbits, it immediately answers, "Two!" without really looking at the picture. It's relying on its memory (what it thinks a rabbit should look like) rather than its eyes (what is actually in the photo).

Now, imagine you take that same picture of the rabbit and use a digital editor to give it four ears. If you ask the parrot again, a truly observant animal would say, "Four!" But this smart parrot, still stuck in its memory, stubbornly says, "Two!" It ignores the visual evidence because its "book knowledge" is so strong it overpowers what it sees.

This is exactly the problem the paper CounterCount investigates.

The Problem: The "Book Smarts" vs. "Eyes" Conflict

The researchers found that modern AI models (called Vision-Language Models) are great at reading and talking, but they often fail at simple counting tasks when the picture contradicts what they've learned from their training data. They are like that parrot: they trust their internal "rulebook" more than the actual image in front of them.

The Solution: A Diagnostic Test Kit

To prove this, the team built a special test kit called CounterCount.

  • The Setup: They created pairs of images. One is a normal picture (e.g., a car with 4 wheels). The other is a "counterfactual" picture where they digitally changed a specific part (e.g., the same car now has 6 wheels).
  • The Test: They asked the AI, "How many wheels does this car have?"
  • The Result: The AI did great on the normal pictures. But on the weird, edited pictures, it often failed, sticking to the "normal" answer (4) instead of counting the actual wheels (6). This proved the AI was ignoring the visual evidence in favor of its pre-learned biases.

The "Why": The AI is Looking, But Not Listening

You might think the AI fails because it can't see the extra wheels. The researchers dug deeper and found that wasn't the case.

  • The Metaphor: Imagine the AI is a student taking a test. The student is looking at the right part of the diagram (the wheels), but their brain is distracted by a loud voice in their head shouting, "Cars have 4 wheels!" The student sees the 6 wheels, but the "loud voice" (the language bias) drowns out the visual signal.
  • The Proof: By looking at the AI's internal "attention maps" (which show what the AI is focusing on), the researchers saw that the AI was looking at the wheels. However, it wasn't giving those wheels enough "mental weight" to override its memory.

The Fix: Turning Up the Volume on the Eyes

The researchers developed a clever trick called Attention Modulation.

  • The Analogy: Think of the AI's brain as a sound mixer with many sliders. Some sliders control the "visual evidence" (the picture), and others control the "language priors" (the memory).
  • The Action: They created a method to manually turn up the volume on the sliders controlling the specific parts of the image being counted (like the wheels or ears) and turn down the volume on the background noise or the distracting "memory" voice.
  • The Outcome: When they applied this "volume control" while the AI was answering, it suddenly got much better at counting the edited images. It improved accuracy by up to 8%. It didn't need to be retrained or taught new facts; it just needed to be told, "Hey, look harder at what you are actually seeing right now."

Summary

In short, this paper shows that even the smartest AI models can be "blind" to reality if their internal knowledge is too strong. They built a test to prove this, found that the models were looking at the right things but not listening to them, and fixed it by giving the visual evidence a louder voice in the AI's decision-making process.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →