Abstract
Traditional Class Incremental Learning (class-IL) focuses on the sequential acquisition of new object categories. However, real-world visual recognition often requires understanding the composition of objects and their varying states (e.g., color, material, or texture). This paper introduces Compositional Incremental Learning (composition-IL), a novel paradigm where models must learn state-object pairs over time. We identify the "ambiguous composition boundary" problem, where models struggle to distinguish subtle state differences due to a heavy bias toward coarse object categories. To address this, we propose CompILer (Composition Incremental Learner), a prompt-based framework that utilizes multi-pool prompt learning and object-injected guidance to disentangle state and object features. Our experiments on newly adapted benchmarks, Split-Clothing and Split-UT-Zappos, demonstrate that CompILer significantly outperforms existing incremental learning methods in both accuracy and the mitigation of catastrophic forgetting.
Introduction
In the field of computer vision, incremental learning has primarily focused on the ability to recognize new objects without forgetting previously learned ones. While effective for simple classification, this approach overlooks the compositional nature of the visual world. An object, such as a "dress," can exist in multiple states, such as "yellow," "blue," or "silk."
Compositional Incremental Learning (composition-IL) presents a more nuanced challenge: the model must learn to recognize specific compositions (state-object pairs) across sequential tasks. Unlike standard class-IL, where classes are distinct, composition-IL involves "blurry" boundaries. Primitives—the individual states or objects—often recur across different tasks even when the specific composition is new. This recurrence offers an opportunity for forward transfer but also risks catastrophic interference if the model cannot effectively disentangle the state from the object.
The Ambiguous Composition Boundary Problem
Existing incremental learning models tend to prioritize the most discriminative features, which are typically the coarse object categories. For example, a model might easily identify a "shirt" but fail to distinguish between a "White Shirt" and a "Blue Shirt" if they are introduced in different training sessions. This is known as the ambiguous composition boundary problem.
Because pre-trained backbones are often biased toward object classification, traditional prompt-based methods frequently fail to capture fine-grained state details. When a model learns a new composition, it often collapses the state information into the object representation, leading to poor generalization and high forgetting rates when the same object appears in a different state in a future task.
The CompILer Framework
To overcome these challenges, we introduce CompILer, which moves away from monolithic prompt pools in favor of a structured, disentangled approach.
1. Multi-pool Prompt Learning
CompILer maintains three distinct learnable prompt pools: States, Objects, and Compositions. By separating these primitives into different "drawers," the model is forced to learn independent representations for each. To prevent these pools from converging on the same features, we implement an inter-pool discrepancy loss to maintain separation and an intra-pool diversity loss to ensure a wide range of features are captured within each pool.
2. Object-Injected State Prompting
Recognizing that states are inherently more difficult to identify than objects, CompILer uses learned object information to guide the selection of state prompts. For instance, identifying an object as "heels" provides a contextual prior that makes the state "leather" more probable than "canvas." This "object-injection" mechanism serves as a bridge, helping the model focus on the relevant state features that define the specific composition.
3. Adaptive Fusion and Robust Loss
Rather than simple averaging, CompILer employs Generalized-Mean (GeM) Prompt Fusion. This learnable strategy allows the model to adaptively prioritize the most informative prompts while filtering out noise. Furthermore, to handle the inherent noise in incremental data steps, we utilize Symmetric Cross-Entropy (SCE), which balances standard cross-entropy with a reverse term to improve robustness.
Experimental Evaluation
As no standard benchmarks existed for composition-IL, we adapted two large-scale datasets into incremental formats:
- Split-Clothing: Based on Clothing16K, featuring 35 compositions (9 states, 8 objects) across 5 tasks.
- Split-UT-Zappos: Based on UT-Zappos50K, featuring 80 compositions (15 states, 12 objects) across 5-task and 10-task scenarios.
Results and Discussion
CompILer achieved state-of-the-art performance across all tested scenarios. On the Split-Clothing benchmark, CompILer reached an average accuracy of 89.21%, significantly outperforming the L2P baseline (80.22%) and Dual-Prompt (87.87%).
Crucially, the model demonstrated superior resilience to forgetting. The forgetting rate (FTT) on Split-Clothing was only 7.26%, nearly half that of the L2P baseline (14.23%). Furthermore, the Harmonic Mean (HM)—a metric measuring the balance between state and object recognition—reached 94.18%, indicating that CompILer successfully addresses the object-bias found in previous models.
Our analysis suggests that the success of CompILer stems from its ability to facilitate forward transfer. Because the model learns primitives (states and objects) independently, learning about "Red Pants" in an early task provides a foundational understanding of "Red" that assists in learning "Red Shirts" in a later task.
Conclusion
Compositional Incremental Learning is a vital step toward more human-like visual AI. By disentangling states and objects through structured prompt pools and object-injected guidance, CompILer effectively navigates the ambiguous boundaries of compositional data. While this work focuses on single state-object pairs, future research will explore more complex scenarios involving multiple simultaneous states per object, further pushing the boundaries of incremental visual understanding.
Summary updated