It’s late, your eyes are heavy, and you’re probably wondering why Vision-Language Models (VLMs) like CLIP—which can identify a "golden retriever in a tuxedo" with uncanny ease—suddenly trip over their own feet when asked to distinguish between "a dog on a chair" and "a chair on a dog."
This paper, Where Compositionality Hides, suggests that the problem isn't just that these models are "compositionally illiterate." Instead, a huge chunk of their failure is caused by a geometric quirk: the shared words between two captions act like background noise that drowns out the subtle signal of who is doing what to whom.
TL;DR
VLMs often fail complex reasoning tasks not because they don't understand the text, but because the shared content between two options creates "interference" that messes up their scoring. By simply "erasing" the average of the two candidate captions from the image data—a zero-training geometric trick called mean-erasure—the authors boosted CLIP’s performance on the tricky Winoground benchmark from a measly 9% to 31%.
What Problem Does This Paper Address?
The researchers are looking at compositional retrieval. This is the ability of a model to tell the difference between two scenes containing the same objects in different roles (e.g., "The truck hit the car" vs. "The car hit the truck").
The gold standard for testing this is the Winoground benchmark. It gives a model two images ($I_0, I_1$) and two captions ($C_0, C_1$). To pass the "Group Score," the model must correctly match both.
The authors noticed a gap: a model might actually know that $C_0$ fits $I_0$ better than $C_1$ does (a "Text Score" pass), but it might still fail the "Group Score" because it thinks $I_1$ is just "more similar" to everything than $I_0$ is. This "cross-image offset" is the hidden culprit. It’s like trying to hear a whisper (the compositional difference) while someone is blasting a foghorn (the shared objects like "car" and "truck").
Methods
The authors introduce a diagnostic tool called mean-erasure.
Imagine the two candidate captions as vectors in space. They share a lot of content, so they both point in a similar general direction. The authors calculate the mean of these two caption vectors ($C_{mean}$). Then, they take the image embedding and mathematically "project it away" from that mean.
Essentially, they are saying: "Ignore everything that these two captions have in common. Now, looking only at what's left, which caption does the image prefer?"
Crucially, this is a frozen intervention. No weights are changed, and no retraining is required. They prove mathematically that this projection preserves the model's internal ranking of captions for a single image while cleaning up the messy comparisons between different images.
Datasets
- Winoground: 400 pairs of images and captions designed to test compositional reasoning (swapping objects, relations, or both).
- ColorSwap: 300 groups focusing specifically on color-object binding (e.g., "red square and blue circle" vs. "blue square and red circle").
- SugarCrepe: A large-scale benchmark used here to probe whether simple neural networks can "learn" their way out of this problem (spoiler: they mostly can't).
Key Insights and Ideas
- Shared-Content Interference: The "foghorn" effect is real. Most failures in these benchmarks aren't because the model is "wrong" about the caption; it's because the shared objects create a massive similarity offset that the model can't calibrate across different images.
- The "Text Score" Ceiling: The authors show that mean-erasure makes the Group Score equal to the baseline Text Score. This means the Text Score is the "ceiling"—the absolute best a model can do just by fixing its scoring logic. To go higher, you actually have to change how the model perceives the text itself.
- Failure Decomposition: They found that in 60% of cases where a model failed to compare images correctly, it actually did have the right relative ranking; it was just offset by a constant.
Key Results
The results are startling for such a simple geometric fix:
- Winoground: OpenAI’s CLIP ViT-B/32 saw its Group Score jump from 9.0% to 31.0%.
- Consistency: Across five different CLIP and SigLIP checkpoints, mean-erasure recovered 21 to 27 percentage points of performance.
- ColorSwap: Similar massive gains were seen in color-binding tasks, proving the interference isn't just about word order, but about how features are bundled together.
- Comparison to "Smart" Scorers: They tried training a "learned bilinear scorer" (a small neural head) to fix the problem. It gained less than 1 percentage point. The simple geometric "mean-erasure" outperformed the learned model by a mile.
Limitations and Future Work
- The "Wrong" Preference: Mean-erasure cannot fix a model that fundamentally prefers the wrong caption (e.g., if the model truly thinks a picture of a "dog biting a man" is a better match for "man bites dog"). About 69% of CLIP's failures fall into this category.
- Candidate Dependence: The method requires knowing the two captions you are comparing. This works for benchmarks, but it's harder to apply to "open-world" retrieval where you have millions of possible captions.
- Next Steps: The authors suggest that since we've now "cleared the brush" of scoring interference, researchers should focus on the remaining failures: the ones where the model's internal text-ranking is actually broken.
In short: before you spend thousands of dollars retraining your VLM to be "smarter," try just muting the background noise. You might find the model was smarter than you thought.
Summary updated