Scaling data volume alone doesn't teach vision models how to combine concepts; instead, it's the diversity of those combinations that matters. This paper demonstrates that high combinatorial coverage forces models to adopt a "linearly factored" representational structure—where concepts like "red" and "square" become additive vectors—enabling them to generalize to never-before-seen pairs with remarkable efficiency.
The Combinatorial Explosion Problem
Humans possess a remarkable ability called compositional generalization. If you know what a "transparent" material looks like and you know what a "piano" is, you can easily imagine a "transparent piano" even if you’ve never seen one.
The current AI zeitgeist assumes that if we just scale up datasets (like LAION-400M) and model sizes, this ability will emerge naturally. However, there is a fundamental "combinatorial explosion" problem: even in massive datasets, the vast majority of possible attribute-object pairings are missing (e.g., "melted apple" or "tiny seat").
This paper asks a critical question: Does simply adding more data lead to compositional understanding, or are we just training models to be better at memorizing the "frequent" combinations they've already seen?
Methods: The $(n, k)$ Experimental Framework
To isolate the effects of data scale versus data diversity, the researchers developed a controlled experimental framework called $(n, k)$:
- $n$ represents the number of distinct values a concept can take (e.g., 10 different colors).
- $k$ represents the number of training examples per concept value (how many different pairs a specific color appears in).
By systematically varying these parameters, they could test whether a model's internal representation of a composite object (like a red square) is simply the vector sum of its parts (red + square). They provided a mathematical proof showing that if a model achieves this Linear Factorization, it only needs to see two examples of a concept value to generalize perfectly to all other unseen combinations.
The study utilized several synthetic and real-world benchmarks to maintain high controllability, including standard benchmarks (dSprites, 3DShapes, Colored-MNIST), a new perceptually challenging dataset called FSPRITES (FunnySprites), a photorealistic synthetic dataset (PUG), and a real-world dataset of 3D-printed objects (MPI3D).
Key Insights: Diversity and Linear Factorization
- Diversity Trumps Scale: Simply increasing the number of images within the same distribution (scaling in-distribution data) does almost nothing for out-of-distribution (OOD) generalization. To learn the "rules" of composition, the model needs to see a diverse "grid" of combinations.
- The Three-Phase Learning Journey: Models don't learn compositionality all at once. They go through three distinct phases:
- Spurious Phase: Learning "shortcuts" and failing at basic discrimination.
- Discriminative Phase: Learning to identify concepts but in an "entangled" way that doesn't generalize.
- Linearly Factored Phase: Only under high diversity do models discover the additive vector structure that allows for "perfect" generalization.
- The "Aha" Moment of Linearity: Linearity isn't just a mathematical convenience; it's the mechanism for efficiency. Once a model's latent space becomes linear, the amount of data needed to learn a new concept drops to near zero.
Results and Foundation Model Evaluation
The experimental results revealed stark performance gaps. In low-diversity settings, models suffered accuracy drops of 27% to 95% when tested on unseen combinations, despite having near-perfect accuracy on seen ones. Crucially, increasing training data volume by 4x failed to solve this compositional gap across all tested datasets.
When evaluating pre-trained foundation models like CLIP and DINOv2, the researchers found "above-random but imperfect" performance. CLIP tended to be better at color-based tasks, while DINOv2 excelled at shape-based tasks, suggesting that even our best models haven't fully mastered universal linear factorization. Furthermore, non-linear probes (MLPs) often outperformed linear ones on these foundation models, indicating that some compositional information is present but "locked away" in a non-linear format that is harder for the model to use for zero-shot generalization.
Limitations and Future Work
The authors acknowledge that their study primarily focuses on pairs of concepts (e.g., color + shape). Real-world scenes involve dozens of interacting attributes, and it remains to be seen if linear factorization holds up as the number of concepts increases.
Additionally, the "independence" assumption—that color and shape can be perfectly separated—might not always hold in the real world (e.g., the "texture" of a liquid is inherently tied to its "shape"). Future work must explore how models handle these "entangled" natural concepts and how we can curate datasets that prioritize combinatorial diversity over raw image counts.
Summary updated