SugarCrepe: Fixing Hackable Benchmarks for Vision-Language Compositionality

Cheng-Yu Hsieh, Jieyu Zhang, Zixian Ma, Aniruddha Kembhavi, Ranjay Krishna

TL;DR

Researchers have discovered that most benchmarks used to measure how well AI understands the "composition" of a scene (e.g., distinguishing a "dog chasing a man" from a "man chasing a dog") are fundamentally broken. By introducing SUGARCREPE, a new benchmark that uses Large Language Models (LLMs) and adversarial filtering to create "unhackable" test cases, the authors reveal that current vision-language models are far less capable of compositional reasoning than previously thought.

What Problem Does This Paper Address?

In the world of Vision-Language Models (VLMs) like CLIP, "compositionality" is the holy grail. It’s the ability to understand not just the individual objects in an image, but how they relate to one another. To test this, researchers use "hard negatives": given an image of a "girl in a white shirt," a model is asked to choose between the correct caption and a distractor like "girl in a black shirt."

The authors uncover a dire vulnerability: existing benchmarks are highly "hackable." Because these benchmarks often use simple rules to generate distractors, the resulting text is frequently ungrammatical or nonsensical (e.g., "The grass is eating the horse"). Consequently, "blind" models—which don't even look at the image—can achieve state-of-the-art scores just by picking the caption that sounds more like natural English.

Performance comparison showing blind text-only models (Vera, Grammar) often outperforming state-of-the-art vision-language models on existing benchmarks like CREPE, ARO, and VL-CheckList.

This creates a false sense of progress, where models appear to "reason" about visual scenes when they are actually just performing a text-based grammar check.

Methods: Creating an Unhackable Benchmark

To fix this, the authors developed a three-stage pipeline to create SUGARCREPE:

  1. LLM-Based Generation: Instead of using rigid templates, they prompted ChatGPT to rewrite captions into "hard negatives" that are both fluent and plausible. For example, instead of a nonsensical swap, ChatGPT might change "a man sitting on a bench" to "a man standing next to a bench."
  2. Human Validation: Humans reviewed the generated negatives to ensure they were actually "negative." If a caption was changed but still technically described the image (a "false negative"), it was discarded.
  3. Adversarial Refinement: This is the technical "secret sauce." The authors used two text-only models—one for grammar and one for "plausibility" (Vera)—to score every caption pair. They then used an adversarial algorithm to subsample the dataset until the text-only models could no longer guess the correct answer better than a coin flip (50% accuracy). This ensures the benchmark can only be solved by actually looking at the image.

Key Insights and Ideas

  • The Blind Model Test: The most striking insight is that a model with "zero eyes" outperformed SOTA vision models on 9 out of 10 existing benchmark tasks. This serves as a massive wake-up call for the community regarding dataset biases.
  • Overestimated Progress: A popular technique called "NegCLIP" (training models specifically on hard negatives) appeared to solve compositionality on old benchmarks. However, SugarCrepe proves that NegCLIP was mostly just learning to exploit the "hackable" artifacts of those old datasets. Its performance gains vanished when tested on the cleaner SugarCrepe data.
  • The "SWAP" Difficulty: The paper identifies that "SWAP" negatives (e.g., swapping "blue shirt/red hat" to "red shirt/blue hat") are the hardest for current AI, even though they are trivial for humans.

Key Results

  • Benchmark Integrity: On SugarCrepe, the "blind" models that previously dominated now rank last, proving the benchmark successfully removed text-only biases.
  • The Compositionality Gap: While humans score ~99% across the board, the best CLIP models struggle. Even the massive GPT-4V, while impressive, still lags behind humans with an overall score of 90.95%, particularly struggling with "SWAP" tasks (83.13%).
  • Scaling Helps, But Isn't Enough: There is a positive correlation between a model's general ImageNet accuracy and its compositionality, but even the largest models suffer significant performance drops when moving from simple object recognition to complex attribute/relation reasoning.

Limitations and Future Work

The authors acknowledge that their current work focuses on image-to-text retrieval (picking the right caption for an image). They suggest that future work should expand these "unhackable" methods to text-to-image retrieval (picking the right image for a caption).

Additionally, they note that while using LLMs like ChatGPT reduces bias, it may introduce new, subtler "LLM-style" biases or watermarks that future adversarial filters will need to address. The ultimate goal remains: moving beyond models that behave like "bags of words" toward AI that truly understands the structure of the visual world.

Summary updated

BibTeX
@inproceedings{hsieh2023sugarcrepe,
  author = {Cheng-Yu Hsieh and Jieyu Zhang and Zixian Ma and Aniruddha Kembhavi and Ranjay Krishna},
  title = {{SugarCrepe: Fixing Hackable Benchmarks for Vision-Language Compositionality}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=Jsc7WSCZd4},
}
Figure