TL;DR
Vision-Language Models like CLIP require exponential increases in pretraining data to achieve linear gains on downstream tasks, raising questions about whether they can truly generalize compositionally. By filtering retrieval benchmarks to test only object combinations that never appeared together during pretraining, this paper demonstrates that CLIP reliably disentangles and recomposes known objects. Furthermore, downstream performance on entirely novel combinations can be accurately predicted directly from the geometric mean of the constituent objects' pretraining frequencies.
What Problem Does This Paper Address?
Foundation models like CLIP show remarkable zero-shot capabilities, but scaling studies reveal that they suffer from steep, sample-inefficient learning curves: achieving linear gains on individual concepts demands exponentially more training data. In theory, compositional generalization—the ability to recognize and bind familiar concepts in completely novel combinations—could bypass this bottleneck.
However, existing empirical evaluations of VLM compositionality often rely on synthetic datasets, study toy theoretical setups, or suffer from dataset contamination (where test "compositions" secretly co-occurred in web-scale pretraining corpuses). Crucially, the functional relationship between how often concepts appear during pretraining and how well a model generalizes to novel compositions of those concepts has remained entirely uncharacterized.
Methods
The authors introduce a framework to isolate and predict real-world compositional generalization:
- Curating Truly Novel Compositions: Adapting the concept extraction pipeline from Udandarao et al. (using lemmatized text nouns verified in images via the open-set tagger RAM++), the authors map 945 tangible object classes across retrieval datasets. For each evaluated pretraining corpus $\mathcal{D}$, they isolate test samples where:
- Every individual object class $o_i$ in the sample was seen at least once ($f_{\mathcal{D}}(o_i) > 0$).
- The specific co-occurrence of all objects in the sample never appeared in pretraining ($f_{\cap, \mathcal{D}} = 0$).
- Sample-Level Frequency Metric ($f_{\text{avg}}$): Motivated by an independence assumption—where the probability of retrieving an image with multiple objects behaves multiplicatively ($P(y=1|o_1, o_2) = P(y=1|o_1)P(y=1|o_2)$)—the authors compute the average pretraining frequency as the geometric mean of the constituent objects' pretraining frequencies: $$f_{\text{avg}}(x) = \left(\prod_{o \in x} f(o)\right)^{\frac{1}{n}}$$
- Performance Prediction: After removing outliers using interquartile range (IQR) filtering, they fit a bootstrapped logistic regression to predict retrieval success ($y \in \{0, 1\}$ for Recall@$k$) based on $f_{\text{avg}}$.
Datasets
- Downstream Retrieval Tasks: Flickr-1K and COCO-5K, evaluated on both Text-to-Image (T2I) and Image-to-Text (I2T) retrieval.
- Pretraining Corpora Analyzed:
- Real-world corpora: Conceptual Captions (CC-3M, CC-12M), YFCC-15M, and LAION-400M.
- Synthetic control: SynthCI-30M (a synthetic image-caption dataset designed for concept diversity).
- Model Backbones: Evaluated across multiple architectures, including ResNet variants (RN50, RN101) and Vision Transformers (ViT-B/16, ViT-B/32, ViT-L/14).
Key Insights and Ideas
- CLIP Disentangles Naturally: Even though real-world training images naturally contain biased, heavy co-occurrences of objects, CLIP still succeeds at decomposing them into independent conceptual representations and recomposing them zero-shot.
- Novel Combinations Match Known Ones: CLIP's retrieval recall on unknown object combinations closely matches its performance on known combinations, provided the constituent objects have comparable pretraining frequencies.
- Multiplicative Bottleneck: Because the sample frequency is a geometric mean, the least frequent concept in a composition acts as the primary bottleneck. If a prompt includes a rare object alongside several common ones, retrieval accuracy plummets.
- Data Curation over Raw Scale: Instead of merely accumulating larger web-scraped datasets, the findings suggest that balancing object frequency distributions in training data is critical to improving compositional efficiency.
Key Results
- High Prevalence of Compositional Samples: In real-world retrieval test sets, between 17% and 44% of T2I samples and 89% to 98% of I2T samples represent compositions unseen during pretraining.
- Accurate Linear Predictability: Across all model architectures, parameter counts, and dataset sizes, retrieval performance (Recall@1, Recall@5, and Recall@10) on novel compositions forms a statistically significant ($p < 0.01$), near-linear relationship with the constituent objects' geometric mean pretraining frequency (flattening only as top-performing models near 100% recall).
- Synthetic Data Consistency: On SynthCI-30M, models exhibited a higher rate of unseen combinations, but followed the exact same predictable frequency-scaling laws observed on natural datasets.
Limitations and Future Work
- Tangible Objects Only: Because RAM++ and noun-filtering were used for reliable concept tagging, the study only evaluates tangible object composition. Abstract concepts, relations, stylistic descriptions, and actions are not measured.
- Complex Syntactic Binding: The geometric mean formulation assumes concept independence, which applies well to multi-object co-presence but may fail for complex attribute-binding (e.g., distinguishing "a red cube on a blue sphere" from "a blue cube on a red sphere").
- Co-occurrence Granularity: The strict criteria $f_\cap = 0$ only checks if all objects have co-occurred simultaneously; it does not account for partial or pairwise overlap in compositions with three or more objects.
Summary updated