Abstract
Class Incremental Semantic Segmentation (CISS) aims to learn new object categories sequentially without forgetting previously acquired knowledge. A significant challenge in this domain is "representation deviation," where the model's evolving feature space renders static stored prototypes obsolete. We introduce Adapter (Adaptive Prototype Replay), a framework that dynamically updates knowledge prototypes and employs uncertainty-aware constraints to maintain feature consistency. Adapter achieves state-of-the-art performance on Pascal VOC and ADE20K benchmarks, demonstrating particular robustness in long-term, multi-step incremental learning scenarios.
Introduction
In semantic segmentation, models are typically trained on a fixed set of classes. However, real-world applications often require learning new classes over time. Class Incremental Semantic Segmentation (CISS) addresses this by training on new data while preventing "catastrophic forgetting" of old classes. Current state-of-the-art methods often utilize prototype replay, storing representative feature vectors for old classes to regularize the model during new tasks.
Despite its popularity, prototype replay faces a fundamental issue: as the model's shared feature extractor is fine-tuned for new classes, the underlying feature space shifts. Replaying fixed prototypes from a previous model version leads to a mismatch with current representations, a phenomenon termed Representation Deviation. This mismatch limits the effectiveness of replay and accelerates forgetting.
Methodology
To address representation deviation, the Adapter framework introduces three core components designed to keep replayed knowledge synchronized with the model's current state.
Adaptive Deviation Compensation (ADC)
ADC is a training-free mechanism that dynamically updates stored prototypes. It estimates the representation shift by leveraging "incidental" data—pixels of old classes that appear in the background of images in the current new-class dataset. By calculating the distance between the previous and current model's outputs for these pixels, ADC adjusts the stored prototypes to match the current feature space.
Uncertainty-Aware Constraint (UAC) Loss
Pseudo-labels generated for old classes often contain noise and uncertainty. The UAC loss analyzes the interrelationships between class logit outputs to filter out high-uncertainty predictions. This process encourages the model to produce more compact and aggregated feature representations, ensuring that the resulting prototypes are robust and reliable.
Compensation-based Prototype Similarity Discriminative (CPD) Loss
To prevent confusion between visually similar categories (e.g., "bus" vs. "train"), the CPD loss ensures that prototypes remain distinguishable. It specifically penalizes the model if features from new classes are mapped too close to the compensated prototypes of old classes, maintaining clear decision boundaries in the evolving feature space.
Experimental Results
Adapter was evaluated on the Pascal VOC 2012 and ADE20K benchmarks using "overlapped" incremental settings. The results demonstrate that Adapter consistently outperforms existing methods, with the performance gap widening as the number of incremental steps increases.
On the highly challenging Pascal VOC 1-1 scenario (20 steps), Adapter achieved an mIoU of 42.7%, significantly surpassing the previous best of 36.5%. Similarly, in the 2-2 scenario (10 steps), it reached 58.6% mIoU, a 3.0% improvement over the state-of-the-art. On the complex ADE20K dataset, Adapter maintained superior performance on old classes while effectively learning 150 total categories across various step configurations.
Conclusion
The Adapter framework effectively mitigates catastrophic forgetting in CISS by recognizing that prototypes are moving targets in a shifting feature space. By dynamically compensating for representation deviation and filtering uncertainty, Adapter sets a new standard for multi-step incremental segmentation. Future work will explore enhancing ADC for scenarios with extremely low class co-occurrence, further hardening the system against diverse data distributions.
Summary updated