Introduction
Current vision-language models like CLIP are surprisingly "bag-of-words" in nature. While they excel at recognizing individual objects, they frequently struggle to understand compositional relationships—for instance, distinguishing "the cat is on the mat" from "the mat is on the cat." This architectural limitation, known as the binding problem, stems from collapsing entire images and captions into single global vectors, losing fine-grained structural information in the process.
Traditional attempts to mitigate this involve "hard-negative mining," which is a data-intensive approach that fails to address the underlying lack of structural inductive bias. This paper introduces Object-Centric CLIP (OC-CLIP), a model that replaces global matching with a structured similarity assessment using an object-centric binding module.
Methodology
OC-CLIP moves away from global image-text matching toward a structured similarity framework. The pipeline consists of three core components:
- Scene Graph Parsing: An LLM parses input captions into structured scene graphs containing entities (objects) and their relationships.
- The Binding Module: Utilizing inverted cross-attention, this module connects text entities to specific visual regions. By applying softmax across text-entity queries, the model creates a "competition" where visual patches must align with the most relevant text entity, resulting in distinct "visual slots."
- Structured Similarity Scoring: The final score is derived from Object Scoring (matching visual slots to text entities) and Relationship Scoring (a learnable function verifying spatial or semantic relations between slots).
To handle background noise, the authors introduced "default query tokens" in the binding module to absorb visual information not mentioned in the caption, preventing pollution of the object slots.
Experimental Results
OC-CLIP was evaluated across diverse benchmarks including SugarCrepe, ARO, and spatial reasoning tasks like COCO-spatial.
- Compositional Mastery: OC-CLIP achieved a 16.5% accuracy increase on the "swap-attribute" split of SugarCrepe compared to OpenCLIP.
- Spatial Reasoning: In spatial benchmarks where standard CLIP models often perform near random chance (~50%), OC-CLIP reached over 89% and 92% accuracy on COCO and GQA-spatial, respectively.
- Sample Efficiency: Synthetic tests demonstrated that OC-CLIP reached 97% accuracy on seen object pairs without any hard-negative training. In contrast, standard CLIP models plateaued at 81% even when 70% of their training data consisted of hard negatives.
- Zero-Shot Scaling: When trained on noisy, "in-the-wild" data (CC15M), OC-CLIP showed a 12.7% improvement in zero-shot ImageNet classification over the OpenCLIP baseline.
Discussion and Conclusion
The success of OC-CLIP suggests that structural inductive biases are more effective for compositional understanding than simply increasing the volume of hard-negative training data. By forcing visual features to "compete" for text entities, the model avoids the feature superposition that plagues global-vector models.
Future work includes developing "end-to-end" versions that learn scene graphs directly from data and integrating these object-centric modules into larger Vision-Language Models (VLMs) to enhance their reasoning capabilities.
Summary updated