Manuscript Offprint

arXiv:2610.41118

CompoSET: A Controlled Single-Edit Benchmark for Vision-Language Compositionality

Laure Delisle, Pietro Perona

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Vision-language compositionality is the ability to identify which properties, relations, quantities, and states bind to which entities in both an image and a caption, and to match those bindings across modalities. Existing benchmarks evaluate this ability through image-text matching: a model ranks candidate image-caption match similarities and succeeds when the correct match comes on top. In such datasets, paired images differ by more than a single binding: scene, layout, and content all differ, with 97% of pixels changing on average. Such pairs do not isolate compositionality: results are confounded by global image differences. We introduce Compositional Single-EdiT (CompoSET), a benchmark dataset in which each base image-caption pair has an edited counterpart, or foil, that preserves the scene but differs by a single controlled edit, such as color, count, spatial relation, or object state. Base and foil images preserve naturalistic scene complexity yet are visually near-identical: only 8% of pixels change on average. Our dataset has many foils per base scene (~22) in order to separate scene difficulty from edit difficulty, a distinction one-foil-per-base benchmarks cannot make. CompoSET contains 1,776 instances across 80 naturalistic scenes, spanning 16 edit types in 4 semantic categories, with captions at 3 verbosity levels. We test 22 dual-encoder VLMs and find that all models perform at or below chance level on CompoSET, despite scoring well on prior benchmarks. This suggests that apparent progress under prior image-text matching protocols may be an artifact arising from confounds in benchmark design, and that compositional understanding in dual-encoder VLMs is far from solved. CompoSET addresses the confounds and offers a better controlled benchmark to measure future progress.

Code: https://github.com/laure-delisle/CompoSET

Dataset: https://huggingface.co/datasets/CompoSET/CompoSET

1 Introduction

Compositional understanding in vision-language models is often tested through image-text matching: can a model match captions to images based on how attributes, relations, quantities, states, and roles bind to objects? A model that cannot distinguish “a red tin next to a blue bottle” from “a blue tin next to a red bottle” has learned co-occurrence without binding. We study this capability in dual-encoder VLMs, which remain central to scalable retrieval: images and captions are embedded once, indexed, and searched by similarity. Generative VLMs can answer richer per-query questions, but their scoring is conditional and expensive; they do not replace pre-indexed retrieval embeddings. If the embedding does not preserve the distinction between two minimally different scenes, retrieval is unlikely to rank them correctly.

Existing compositionality benchmarks aim to test this capability, but their image-text matching evaluations often rely on structurally dissimilar image pairs. In prior benchmarks, paired images differ in scene, layout, and content, with 97% of pixels changing on average. This is a measurement problem: matching scores can reflect global image differences rather than sensitivity to the targeted composition.

Preprint.

Figure

Figure 1: Compositionality experiments require comparing images that differ by one named factor. CompoSET contains 80 naturalistic multi-object base images (Left) that are varied to obtain 1,776 instances, the foils (Right) (22 foils per base). Each base-foil pair differs by exactly one compositional edit which is labeled in the captions (Middle) (Sec.3). Captions come at three levels of verbosity to test sensitivity to context. In the experiments models compute the similarity between each one of two related images (a base image and one of its foils) and the corresponding two captions, and vice-versa, for a total of four comparisons (Sec.5).

A controlled benchmark should satisfy seven design criteria:

  1. Naturalistic scenes, so conclusions transfer beyond toy renderings.
  2. Multi-object scenes, so binding attributes, relations, quantities, states, and roles to the correct entities is nontrivial.
  3. Same-scene single-edit pairs, so the compositional variable is isolated.
  4. Multiple foils per base scene, so scene difficulty can be separated from edit difficulty.
  5. A meaningful edit taxonomy, so failures can be localized by semantic type.
  6. Caption verbosity levels, to test whether retrieval remains sensitive to the compositional edit as surrounding context dilutes the edit phrase.
  7. Bidirectional retrieval scoring, so both image-to-text and text-to-image discrimination are measured.

Prior benchmarks satisfy important subsets of these criteria, but not the full set. Text-only foils cannot test image-side compositional discrimination; different-scene image foils confound composition with scene-level variation; and existing same-scene benchmarks are limited in scene complexity, edit coverage, or foils per base. Table 1 summarizes the gap: CompoSET is the only benchmark we evaluate that satisfies all seven criteria.

We introduce Compositional Single-EditT (CompoSET), a benchmark dataset built to satisfy this full controlled-evaluation specification. Each instance pairs a base image-caption pair with an edited counterpart, or foil, that preserves the scene while changing a single visual element and its corresponding caption. CompoSET contains 1,776 instances across 80 naturalistic scenes, with ~22 foils per base, 16 edit types, and 3 caption verbosity levels. Together, these choices hold the scene fixed, vary one semantic factor, and make failures measurable edit by edit and scene by scene.

Across 22 dual-encoder VLMs, all models perform at or below chance level on CompoSET, despite high scores on prior benchmarks. Models that appear compositionally competent under correlational comparisons fail under controlled evaluation, showing that apparent progress in dual-encoder compositionality is largely an artifact of benchmark design.

In summary, we make three contributions: we frame compositionality evaluation as controlled single-edit experimentation rather than correlational comparison; we introduce CompoSET, a benchmark dataset satisfying all seven criteria above; and we show that 22 dual-encoder VLMs perform at or below chance under this controlled protocol.

Table 1: CompoSET satisfies all criteria; no prior benchmark does. The ten compositionality benchmarks we evaluate, scored on six of the seven criteria from Sec.1. The remaining criterion, multi-object scene complexity (2), is quantified in Sec.4 and Table 7. ✓ marks a criterion satisfied, × unsatisfied, “-” not applicable (text-only foils). Naturalistic: photo-like real-world imagery. Same-scene: base and foil depict the same visual scene. Edit types: number of distinct compositional axes probed. Verbosity: caption verbosity levels per instance. Best-on-criterion cells in bold.

BenchmarkNaturalisticSame-sceneFoils/baseEdit typesVerbosityBidir.
CompoSET (ours)✓✓~22163✓
Winoground [43]✓✗131✓
BiVLC [31]✗✗151✓
SugarCrepe [18]✓-171-
SugarCrepe++ [11]✓-151-
What's Up [19]✓✓341-
ColorBench-robust [23]✓✓911-
NaturalBench [21]✓✗1-1-
MMVP [44]✓✗191✓
ColorSwap [5]✗✗111✓

References (60)