Adaptive Prototype Replay for Class Incremental Semantic Segmentation
Guilin Zhu, Dongyue Wu, Changxin Gao, Runmin Wang, Weidong Yang, Nong Sang
TL;DR
Adapter targets the core limitation of prototype replay in class incremental semantic segmentation by aligning old-class representations with continuously updated models. It introduces ADC to dynamically adjust old-class prototypes, UAC to reduce prediction uncertainty and promote compact prototypes, and CPD to maintain discriminability among similar prototypes. Together, these components enable effective, training-free adaptation of replayed distributions and improve performance on challenging multi-step CISS benchmarks, achieving state-of-the-art results on Pascal VOC and ADE20K. The approach demonstrates strong generalization, including across memory-based and transformer-based settings, with practical implications for scalable continual segmentation.
Abstract
Class incremental semantic segmentation (CISS) aims to segment new classes during continual steps while preventing the forgetting of old knowledge. Existing methods alleviate catastrophic forgetting by replaying distributions of previously learned classes using stored prototypes or features. However, they overlook a critical issue: in CISS, the representation of class knowledge is updated continuously through incremental learning, whereas prototype replay methods maintain fixed prototypes. This mismatch between updated representation and fixed prototypes limits the effectiveness of the prototype replay strategy. To address this issue, we propose the Adaptive prototype replay (Adapter) for CISS in this paper. Adapter comprises an adaptive deviation compen sation (ADC) strategy and an uncertainty-aware constraint (UAC) loss. Specifically, the ADC strategy dynamically updates the stored prototypes based on the estimated representation shift distance to match the updated representation of old class. The UAC loss reduces prediction uncertainty, aggregating discriminative features to aid in generating compact prototypes. Additionally, we introduce a compensation-based prototype similarity discriminative (CPD) loss to ensure adequate differentiation between similar prototypes, thereby enhancing the efficiency of the adaptive prototype replay strategy. Extensive experiments on Pascal VOC and ADE20K datasets demonstrate that Adapter achieves state-of-the-art results and proves effective across various CISS tasks, particularly in challenging multi-step scenarios. The code and model is available at https://github.com/zhu-gl-ux/Adapter.
