TL;DR
This paper introduces a scalable, rigorous framework for evaluating compositional generalization—the ability of AI to recognize new combinations of known concepts (like a "green apple" after only seeing "yellow apples" and "green bananas"). The authors propose Orthotopic Evaluation, a dataset-agnostic splitting procedure, and Attribute Invariant Networks (AINs), a model class that achieves state-of-the-art generalization with minimal parameter overhead.
The Challenge of Compositional Generalization
In computer vision, models often "cheat" by memorizing specific combinations of attributes rather than learning the underlying concepts independently. This leads to failure when the model encounters a novel combination in the real world.
The researchers identify two major gaps:
- Evaluation Bottlenecks: Current methods for testing this ability are either "shallow" (too easy) or "combinatorial" (requiring an impossible number of training runs to test every attribute pair).
- Architectural Trade-offs: Standard vision backbones lack the "inductive bias" to separate attributes. Existing solutions that do separate them are often too massive to scale.
Methods
1. Orthotopic Evaluation
The authors propose a dataset-agnostic splitting procedure called orthotopic evaluation. It introduces a "compositional similarity index" ($c$) that creates a ladder of difficulty.
- By iteratively pruning the dataset in $c$-dimensional subspaces, they can control exactly how many attributes a test sample shares with its closest training neighbor.
- Crucially, this method reduces the computational complexity of evaluation from combinatorial—$\Theta(I^c)$—to constant—$\Theta(1)$—allowing for a single training run to evaluate the whole model.
2. Attribute Invariant Networks (AINs)
The authors argue that for a model to generalize, the prediction of one attribute (e.g., "shape") must be invariant to changes in another (e.g., "color").
- AINs implement this by using attribute-specific encoders, a shared "meta-model," and attribute-specific classification heads.
- Gradient Isolation: By construction, the gradient for the "shape" loss only flows back to the "shape" encoder. This prevents the model from "entangling" different concepts in its early layers.
Key Results and Insights
The researchers conducted a massive study, training over 5,000 models across six well-known representation learning benchmarks, including dSprites, CLEVR, and MPI3D.
- Accuracy Boost: AINs achieved a 23.43% average accuracy improvement over standard monolithic baselines (like ConvNeXt) on compositional splits.
- Efficiency: While "Fully Disentangled" models require a 600% parameter overhead, AINs achieved similar performance with only a 6.4% to 16% overhead.
- Pre-training Paradox: Surprisingly, models pre-trained on ImageNet-1k often performed worse at compositional generalization than those trained from scratch, suggesting that standard pre-training might reinforce "entangled" shortcuts.
- Minimalism Wins: Disentangling just the first convolutional layer in an AIN was often enough to significantly boost attribute invariance.
Limitations and Future Work
The primary limitation is that both the evaluation framework and the AIN architecture currently require access to ground-truth generative factors (labels for shape, color, etc.) during training. Future work will explore extending these principles to "in-the-wild" datasets where generative factors are noisy or unknown.
Summary updated