TRANSMISSION // 2609.08242v2

Teaching CLIP to notice what a sentence says about an image

Source published

CS-CLIP uses scene graphs and carefully chosen misleading captions to train a vision-language model to pay closer attention to objects, attributes and relations.

AI-generated conceptual illustration for Teaching CLIP to notice what a sentence says about an image
AI-generated conceptual illustration; not documentary evidence.

A model may recognize the right words in a caption yet miss who is doing what to whom. A new CLIP-based method aims to expose that weakness during training by changing one part of a caption at a time.

Vision-language models such as CLIP learn to match images with text. But matching the words in a sentence is not the same as understanding how those words fit together. A model might notice “horse” and “grass” while overlooking whether the horse is eating the grass or standing beside it. This kind of challenge is called compositional reasoning: interpreting objects, their properties and the relations between them.

In the paper behind CS-CLIP, SeongJun Jeong and colleagues ask whether existing methods designed to improve compositional reasoning work consistently across different kinds of details. Their controlled tests suggest they do not. Some models that perform well overall can still struggle with particular changes, such as swapping an attribute or changing a relation. On some element-specific tests, compositionality-focused models also scored below standard CLIP.

Making the misleading captions more targeted

The researchers’ method, Compositional Scene Graph-guided CLIP (CS-CLIP), starts by parsing a caption into a simple structured representation: objects, attributes and relations. A scene graph is a way to represent these parts and how they connect. For example, a caption about a person holding a red umbrella contains objects, an attribute and a relation.

The system then creates “hard negatives”: alternative captions that are plausible enough to challenge the model but contradict the original in a specific way. It changes one targeted element at a time, using operations such as replacing, adding or swapping words. A masked language model proposes fluent candidate words; a natural-language-inference model ranks candidates for contradiction with the original caption. These modified captions are used alongside the original image-caption pairs to train the model to distinguish the correct match from a near miss.

The authors evaluate the approach on compositional benchmarks, including SugarCrepe and tests based on Visual Genome, and also examine image-text retrieval and a zero-shot visual-reasoning task. In their reported SugarCrepe results, CS-CLIP has an average accuracy of 84.1% and the lowest variation across its seven reasoning types among the listed methods. On Visual Genome relation cases, it reports 85.9% accuracy; on attribute cases, 77.3%. The paper also reports competitive COCO retrieval results and 71.3% accuracy on its constructed GQA validation task.

These results suggest that training with targeted caption changes can improve performance across several tested forms of compositional reasoning without eliminating broader image-text abilities. The paper’s ablations support the proposed design: scene-graph-guided placement of changes mattered, and removing negatives for a particular element tended to hurt performance on tests involving that element. Its sample-efficiency experiment also reports strong performance before the largest tested negative-data scale. Comparisons across methods’ training scales are not controlled, however, so they should not be read as a definitive ranking of data efficiency.

What the results do—and do not—show

The evaluation is based on benchmark examples and similarity scores, not a demonstration that the model understands scenes in the human sense. A gain on a two-choice caption test does not guarantee reliable reasoning in unfamiliar settings. The authors also note that the method depends on pretrained scene-graph parsing, language-model and inference-model components; biases or errors in those tools can affect the generated training examples. Their negative-caption generation uses captions rather than visual features, and the paper warns that inherited societal biases in CLIP-style training data are not specifically addressed.

The source is an arXiv preprint, so its claims should be treated as research findings awaiting independent scrutiny rather than settled conclusions. The reported comparisons and metrics describe the authors’ selected models, datasets and procedures; they do not establish that CS-CLIP will perform best in every application. The paper says code and trained models will be released, which could help others reproduce and test the results.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.