Introduction
Vision-Language Models (VLMs) like CLIP have set new standards for zero-shot image classification. However, their ability to handle Compositional Out-of-Distribution (C-OoD) scenarios remains a significant challenge. While a model might recognize "transparent" and "cash machine" individually, identifying a "transparent cash machine"—a combination likely absent from its training data—requires a deep understanding of how attributes and objects compose.
A primary obstacle in evaluating this is "data leakage." Given CLIP's training on billions of internet-scraped images, finding truly novel test pairs is difficult. This research introduces ImageNet-AO, a benchmark designed to isolate these rare compositions and investigate the internal mechanisms that drive generalization.
The ImageNet-AO Benchmark
To create a "clean" evaluation set, the authors developed a pipeline using SD-XL Turbo to synthesize images of rare attribute-object pairs. To ensure these were genuinely out-of-distribution, they applied a three-stage filter: human validation for semantic accuracy, caption filtering against common training metadata (e.g., LAION), and visual similarity filtering using k-Nearest Neighbors to remove images too close to known training data.
The resulting dataset contains approximately 60,000 images across 21,000 unique, novel combinations, providing a robust testbed for compositional reasoning.
Representation Disentanglement as a Driver for Generalization
The study's core finding is that C-OoD performance is fundamentally linked to representation disentanglement. This refers to the model's ability to encode attributes (like "cardboard") and objects (like "elephant") as independent factors within its embedding space.
The authors hypothesize that language's inherent compositionality acts as a teacher. Because we construct sentences from discrete words, the CLIP text encoder becomes disentangled first. Through contrastive learning, this structure is transferred to the image encoder. Mathematical analysis suggests that maximizing mutual information between text and image modalities forces the visual representations to mirror the disentangled structure of language.
Key Results and Scaling Trends
Evaluation across various CLIP variants (trained on OpenAI, LAION, DataComp, WebLI, and CommonPool) revealed distinct performance gaps. Models trained on curated datasets like DataComp-XL and LAION-2B showed the strongest C-OoD generalization.
As shown in Figure 1, while there is a general correlation between standard ImageNet-1k accuracy and ImageNet-AO performance, the "quality" of the training data significantly impacts the slope of this relationship. For instance, models trained on WebLI (SigLIP) occasionally showed a "negative slope," where improvements in standard accuracy did not translate to better compositional novelty. This suggests that data filtering and curation are more critical than sheer volume for fostering compositional "common sense."
Conclusion
This research clarifies that compositional generalization in VLMs is not merely a byproduct of scale but a result of how well a model disentangles its internal representations. By providing the ImageNet-AO benchmark, the authors offer a tool for the community to measure this capability more accurately. Future work may involve explicitly incorporating disentanglement-focused loss functions during training to further bridge the gap between human-like compositional reasoning and machine perception.
Summary updated