arXiv(opens in a new tab)cs.CVSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.08242

CS-CLIP: Compositional Scene Graph-guided CLIP for Robust Compositional Reasoning

SeongJun Jeong, Minjoon Jung, Woo Suk Choi, Youwon Jang, Byoung-Tak Zhang

Abstract

Vision-language models (VLMs) demonstrate strong performance across compositional reasoning benchmarks, which require reasoning over semantic perturbations of objects, attributes, relations, and their interactions. However, our controlled analysis reveals that existing compositionality-aware VLMs exhibit element-specific biases, often underperforming vanilla CLIP on certain compositional elements. To address this, we propose Compositional Scene Graph-guided CLIP (CS-CLIP), which uses scene graphs to identify compositional elements and construct structured negatives via selective masking. We further retain negatives that are most contradictory to the original caption, forcing the model to rely on compositional structure rather than surface cues. CS-CLIP achieves state-of-the-art compositional reasoning with robust performance across compositional elements. It also preserves general vision-language capabilities such as cross-modal retrieval and downstream visual reasoning, while requiring fewer training samples than prior methods.

1 Introduction

Vision-language models (VLMs) (e.g., CLIP (Radford et al., 2021)) learn transferable multimodal representations that serve as effective foundations. With this advancement, compositionality-aware VLMs (Yuksekgonul et al., 2022; Huang et al., 2024; Patel et al., 2024) have emerged, enabling models to reason over compositional elements and their interactions by incorporating hard negative captions into contrastive training to improve compositional reasoning.

Despite their reported gains on compositional benchmarks (Yuksekgonul et al., 2022; Hsieh et al., 2023; Dumpala et al., 2024), it remains unclear how well such methods handle individual compositional

Figure

Figure 1: Average performance versus type-wise deviation on SugarCrepe. CS-CLIP (Ours) achieves the highest SugarCrepe average with the lowest standard deviation across reasoning types, indicating more robust compositional reasoning.

elements. Evaluating element-specific behavior requires test cases that isolate the targeted compositional element from other cues. We construct such controlled test cases by fixing the perturbation template and substitute vocabulary, isolating a single compositional element per instance. We measure both accuracy and sensitivity to evaluate whether models can confidently capture changes in compositional elements. Our results reveal that existing compositionality-aware VLMs fail to demonstrate clear improvements over the vanilla CLIP backbone; in fact, they frequently underperform it across different element changes. This indicates a significant deficiency and bias in existing VLMs, which have not surfaced in previous benchmarks.

To address this, we propose Compositional Scene Graph-guided CLIP (CS-CLIP), which generates hard negatives that explicitly target individual compositional elements. CS-CLIP parses captions into scene graphs (Johnson et al., 2015; Wu et al., 2019) to localize objects, attributes, and

  • Corresponding author.

relations, and applies a diverse set of perturbations—replacement, addition, and swapping—to each element independently, ensuring that supervision covers every element type. To produce negatives that are distinguishable from the positive only through compositional reasoning, we adopt a generate-and-rank strategy: a masked language model (MLM) (Devlin et al., 2019) generates fluent candidates, and a natural language inference model (NLI) (Liu et al., 2019) selects those that semantically contradict the original caption. Training on these element-targeted hard negatives directly addresses the biases identified above, encouraging the model to reason over compositional structure rather than rely on superficial cues.

On compositional reasoning benchmarks (Hsieh et al., 2023; Yuksekgonul et al., 2022), CS-CLIP achieves state-of-the-art average performance with the lowest type-wise deviation, indicating robust compositional reasoning (Figure 1). CS-CLIP also preserves competitive cross-modal retrieval on COCO (Lin et al., 2014), transfers to zero-shot visual reasoning on GQA (Hudson and Manning, 2019), and achieves its compositional gains with substantially fewer training samples than prior methods.

Our contributions are threefold:

  • We reveal element-specific biases in existing compositionality-aware VLMs, which even underperform vanilla CLIP on certain elements, through our controlled test cases.

  • We propose CS-CLIP, which constructs element-targeted hard negatives via scene graph parsing and a generate-and-rank pipeline ensuring fluency and semantic contradiction.

  • CS-CLIP achieves state-of-the-art compositional reasoning, mitigating element-specific biases while preserving general vision-language capabilities with substantially fewer training samples.

References (25)