Introduction
Contrastive Language-Image Pre-training (CLIP) has revolutionized the intersection of computer vision and natural language processing. However, a significant limitation persists: CLIP often fails to accurately represent scenes containing multiple objects. While it may recognize a "zebra" or a "truck" in isolation, its performance degrades when these entities coexist. This study conducts a controlled high-resolution analysis to identify the root causes of this failure, specifically focusing on biases related to object size and the order of mention in text descriptions.
Methodology and Datasets
To investigate these failures, researchers employed a probing methodology on frozen CLIP encoders. They utilized Object Classification (IOC/TOC) to determine if models could identify present objects and Object Retrieval (IOR/TOR) to measure similarity between multi-object and single-object embeddings.
Central to this study are two new synthetic benchmarks designed for high-precision control:
- SimCO: Features 17 basic geometric objects in various configurations.
- CompCO: Utilizes 72 realistic object categories rendered in 3D using Blender.
The "Size-Order" Bias
The study reveals a critical link between physical prominence and linguistic structure. In natural datasets like COCO, humans tend to mention larger, more prominent objects first. During contrastive training, CLIP's image encoder—which naturally favors larger objects due to their higher patch count in Vision Transformers (ViT)—transfers this bias to the text encoder. This results in a "first-mention" bias, where the model's internal representation is dominated by the first object described, effectively "crowding out" subsequent entities in the CLS token bottleneck.
Key Results
The impact of these biases is quantifiable and severe:
- Textual Priority: In Text-based Object Classification (TOC), accuracy for the first-mentioned object reached 90-99%, while accuracy for subsequent objects plummeted, sometimes falling below 30%.
- Visual Dominance: The image encoder demonstrated a near 100% bias toward the largest object in retrieval tasks, often failing to represent smaller objects entirely.
- Performance Degradation: When captions were reordered to place the largest object last, image-caption matching accuracy dropped by 20% to 30% across various model versions.
Implications and Future Work
These internal biases have real-world consequences for downstream applications. In text-to-image generation (e.g., Stable Diffusion), objects mentioned first in a prompt are significantly more likely to be rendered than those mentioned later.
While synthetic datasets provide a controlled environment, they do not fully replicate the complexity of real-world photography. The authors suggest that future research should focus on developing balanced training regimes—potentially through caption reordering or size-variant data augmentation—to mitigate these systematic biases and improve multi-object scene understanding.
Summary updated