Beyond Bag-of-Words: Diagnosing Compositional Binding Failures in Vision-Language Models

Cristian Sbrolli, Toshihiko Yamasaki, Matteo MatteucciNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

Vision-language models (VLMs) are great at recognizing what is in an image, but they still stumble over which attribute belongs to which object—a failure known as compositional binding. Auto-Comp introduces a fully automated pipeline that generates paired, photorealistic benchmarks (both isolated white-background scenes and rich, realistic contexts) to test models on both standard attribute swaps and a much tougher "Confusion" test. Across 25+ models—even frontier 122B-parameter multimodal LLMs—the authors show that models remain surprisingly vulnerable to low-entropy distractors, and that realistic context helps relational reasoning while hurting color/shape binding.

What Problem Does This Paper Address?

If you show a VLM a picture of a red cube and a blue sphere, it often treats the caption like a "bag of words"—knowing there is red, blue, cube, and sphere, without binding the right color to the right shape.

Diagnosing this failure rigorously has been stuck between two compromises:

  1. Real-world benchmarks (like CREPE or SugarCrepe) are ecologically valid, but real images are messy. It is hard to tell if a model failed because of a binding error or because of lighting, occlusion, or background clutter.
  2. Synthetic benchmarks offer clean control, but they often look cartoonish or rely on rigid template captions that modern VLMs aren't tuned for.

Furthermore, most benchmarks only test Swap negatives (e.g., a blue cube and a red sphere). While older dual-encoder models like CLIP struggle with swaps, modern multimodal LLMs (MLLMs) are getting good at them—meaning swap accuracy alone no longer separates the strongest models.

Methods

The authors introduce Auto-Comp, a three-stage, fully automated pipeline that pairs concept-level control with photorealism:

Figure 1: The Auto-Comp pipeline for automated benchmark creation. (1) Caption Generation: Concept-driven generation of template-based Minimal and LLM-based Contextual captions. (2) Im- age Synthesis & Validation: A text-to-image model generates visuals, which are then validated using GroundedSAM2 and VLM checks. (3) Hard Negative Generation: Validated pairs are systematically altered by swapping attributes to create challenging compositional test sets.
  1. Parallel Caption Generation (A/B Construction): Starting from a structured Concept (a set of objects and their attributes or relations), the pipeline generates two captions in parallel:
  2. Minimal: A template-based list ending in "on a white background" (e.g., "a purple sphere and a gold pyramid on a white background").
  3. Contextual: An LLM-rewritten (Gemma3-12b-it), naturalistic description embedding the same objects in a realistic scene, checked programmatically to ensure the exact bindings are preserved.
  4. Image Synthesis & Two-Stage Validation: Images are generated with StableDiffusion3.5-large. Because image generators also make compositional mistakes, every image passes through a strict filter:
  5. Object Presence & Count: GroundedSAM2 verifies that all objects are present in the exact right quantities (plus a white-background check for Minimal images).
  6. Semantic Correctness: Gemma3-12b-it answers targeted VQA questions to verify that every attribute and relation is rendered accurately.
  7. Hard Negative Generation: For each validated pair, the pipeline creates two test sets:
  8. Swap Benchmark: Permutes attributes or objects without replacement ($N!
  9. 1$ negatives).
  10. Confusion Benchmark: Exhaustively recombines the concept's vocabulary with replacement (e.g., "a red cube and a red sphere"), creating $N^{2N} - 1$ negatives for attributes and $N^N(N-1)^{N-1}-1$ for relations.

Datasets

Using Auto-Comp, the authors release the Auto-Comp Suite (200,000+ validated samples) across four core task families at two complexity levels ($N=2$ and $N=3$ objects):

  • Attribute Binding: Color (real objects from Object365) and Shape-Color (abstract 3D primitives like cubes and cones, removing real-world color priors).
  • Relational Binding: Position (above, under, left of, right of) and Relative Size (larger than, smaller than, bigger than).

They also demonstrate extensibility with Material and State binding tasks. Crucially, the intersection of validated Minimal and Contextual samples forms a Paired Comparison Set for apples-to-apples A/B testing.

Figure 2: Examples of positive caption-image pairs from the four Auto-Comp benchmarks at N = 2 and N = 3. Each column shows one task family; rows contrast the Minimal (white-background) and Contextual (realistic-scene) renderings of the same concept, illustrating the A/B construction.

Key Insights and Ideas

  • Performance collapses with complexity: Moving from 2 objects to 3 causes a sharp drop across all architectures, with top contrastive models falling from ~70–75% Swap accuracy on Color ($N=2$) to near-chance at $N=3$.
  • Confusion exposes failures beyond bag-of-words: Even when models ace Swap tests, they drop by tens of percentage points on Confusion. At $N=2$, more than half of all Confusion errors come from non-swap distractors (like repeating the same color).
  • The double-edged sword of context: Realistic context helps relational binding (providing semantic and geometric cues that boost Position and Relative Size Swap accuracy), but hurts Color and Shape-Color binding (where clutter and lighting interfere).
  • Hard-negative training isn't enough: Models explicitly trained to fix bag-of-words (NegCLIP, NegCLIP++, TripletCLIP) improve Swap accuracy, but their Confusion accuracy barely budges.

Key Results

  • Scale helps Swap, not Confusion: On Color ($N=3$, Minimal), CLIP B/16 scores 13.9% Swap / 2.8% Confusion, while frontier Qwen3.5-122B hits 92.4% Swap—yet still drops to 47.1% Confusion.
  • Context trade-off (Paired Set, $N=3$): Adding realistic context boosts Position Swap accuracy by +17.4 percentage points for SigLIP2-Giant-P16 and +16.9 pp for Qwen2.5-VL-72B, but drops Qwen2.5-VL-72B's Color Confusion accuracy by -14.9 pp.
  • Fine-tuning on Confusion helps: Fine-tuning CLIP-B and SigLIP-B on Confusion negatives (rather than Swap-only) yields positive gains across all benchmarks, up to +8.4 pp on Shape-Color.
  • Human & Sim-to-Real Validation: Human judges agreed with the automated validator 95.4% of the time on average and solved the tasks at 92.0%–97.5% accuracy. The Confusion gap also held up across three different image generators and a 100-image real-world pilot.

Limitations and Future Work

  • Scope: Auto-Comp currently covers renderable unary attributes and binary relation chains; richer compositional phenomena like logical, temporal, causal, and agent-object-action reasoning remain outside its schema.
  • Generator & Validator Biases: Strict rejection sampling mitigates—but does not eliminate—generator priors (e.g., certain spatial relations are harder to render, shifting post-filter label distributions). Furthermore, concept-level checks verify target bindings, not every incidental background detail in Contextual scenes.
  • Future Directions: Improving the semantic fidelity of text-to-image generators, strengthening model-based judges, and using Confusion-style negatives to train the next generation of compositional VLMs.

Summary updated

BibTeX
@inproceedings{sbrolli2026beyond,
  author = {Cristian Sbrolli and Toshihiko Yamasaki and Matteo Matteucci},
  title = {{Beyond Bag-of-Words: Diagnosing Compositional Binding Failures in Vision-Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Ew0J173lER},
}
Figure