TL;DR
This paper introduces Composition-Incremental Learning for Compositional Generalization (CompIL), a novel setting where vision-language models must continually learn new attribute-object compositions from a streaming data flow. To tackle the twin challenges of catastrophic forgetting and semantic drift, the authors propose a pseudo-replay framework that pairs a VAE-based visual synthesizer with a linguistic primitive distillation mechanism, significantly outperforming traditional continual learning baselines.
What Problem Does This Paper Address?
In the real world, visual concepts don't arrive all at once in a neatly packaged dataset; they emerge sequentially over time. While standard Compositional Zero-Shot Learning (CZSL) models excel at recognizing unseen combinations (like purple banana) from a fixed training set of seen primitives (attributes and objects), they struggle when forced to learn incrementally.
When models learn new compositions task-by-task, they face two major hurdles:
- Composition Knowledge Forgetting: The sheer number of possible combinations, combined with relatively few samples per composition, makes models highly prone to forgetting previously learned pairs.
- Primitive Representation Drift: The meaning of an attribute can shift depending on the context. For example, "ancient" means something very different when describing an ancient castle (historical architecture) versus an ancient computer (obsolete technology). Incremental learning often causes the model to overfit to task-specific meanings, degrading its overall ability to generalize.
Methods
The authors introduce a pseudo-replay framework designed to stabilize primitive representations without needing to store raw images from past tasks.
- Visual Composition Synthesis: The framework integrates a Variational Autoencoder (VAE) consisting of an encoder and a generator. Instead of generating raw pixels, it leverages a frozen, pre-trained CLIP language encoder to synthesize instance-specific text prompts based on latent codes and primitive embeddings. This allows the model to generate high-quality visual feature representations of past compositions on the fly.
- Linguistic Primitive Distillation: To combat representation drift, the model duplicates and freezes the language encoder from the previous task ($LE_{t-1}$). During the training of a new task, a distillation loss forces the active language encoder ($LE_t$) to maintain consistent logit predictions for past compositions, ensuring that the core semantics of the primitives remain stable across tasks.
Datasets
To evaluate this new setting, the authors designed a benchmark construction pipeline using hierarchical clustering (K-Means and WordNet similarity) and integer optimization to group existing CZSL datasets into semantically distinct, sequential tasks. They introduced two new benchmarks:
- MIT-States-CompIL (derived from MIT-States)
- C-GQA-CompIL (derived from C-GQA)
Both benchmarks split the data into 5 sequential training tasks, leaving a static unseen composition set for consistent zero-shot evaluation throughout the learning process.
Key Insights and Ideas
- Compositions > Samples: A preliminary study revealed a crucial data-driven insight: increasing the diversity of compositions in the training data improves zero-shot generalization significantly more than simply scaling up the number of samples per composition.
- The CL Paradox in CZSL: Standard continual learning methods (like EWC, DER++, or prompt-based methods like L2P) actually degrade a model's zero-shot generalization capability over time, often performing worse than a completely frozen, zero-shot CLIP baseline. This highlights the unique difficulty of CompIL, where preserving past knowledge must coexist with expanding generalization boundaries.
Key Results
The proposed framework consistently achieved state-of-the-art results across both benchmarks, effectively mitigating forgetting while steadily boosting compositional generalization.
- MIT-States-CompIL: Using a CLIP ViT-L/14 backbone, the proposed method achieved an unseen accuracy ($U$) of 49.11% and an area-under-the-curve ($AUC$) of 16.77%, vastly outperforming the vanilla incremental baseline ($U$: 39.78%, $AUC$: 9.76%) and beating the best-performing traditional CL baseline (EWC).
- C-GQA-CompIL: On the more complex C-GQA split, the framework achieved an average AUC (mAUC) of 5.42% (with CSP) and 11.98% (with Troika), showing a clear upward trajectory in generalization performance as more tasks were learned.
Limitations and Future Work
While highly effective, the authors note a few areas for improvement:
- Hyperparameter Sensitivity: The semantic loss weight ($\alpha$) requires careful tuning. Setting it too low reduces the semantic consistency of the synthesized features, while setting it too high disrupts the VAE's training stability.
- Primitive Set Constraints: The current CompIL setting assumes a fixed vocabulary of primitives (attributes and objects) across tasks, focusing purely on new combinations. A natural next step is expanding this framework to handle entirely new primitives introduced dynamically over time.
Summary updated