Introduction
Semantic segmentation models typically require access to all training data simultaneously. However, real-world applications often demand that models learn new classes incrementally without losing performance on previously learned ones. This task, known as Incremental Semantic Segmentation (ISS), is plagued by "catastrophic forgetting," where new updates overwrite the features necessary for old class recognition. This is further complicated by the "background shift" problem: in new training stages, pixels belonging to old classes are often labeled as background, leading the model to actively suppress its previous knowledge.
To address these challenges, we introduce Cs²K (Class-specific and Class-shared Knowledge), a framework that leverages dual guidance to balance the acquisition of new knowledge with the preservation of the old.
Methodology
The Cs²K framework operates through two primary mechanisms: Class-specific Knowledge Guidance and Class-shared Knowledge Guidance.
Class-specific Knowledge Guidance
Rather than storing raw images from previous tasks—which is memory-intensive and poses privacy risks—Cs²K utilizes prototypes. A prototype represents the average feature embedding for a specific class.
- Prototype-guided Pseudo Labeling (PPL): This module addresses the background shift problem. When the model encounters pixels labeled as "background" in a new task, PPL compares their feature representations against the stored prototypes of old classes. If a high similarity is detected, the model "corrects" the background label to the corresponding old class label. This prevents the model from mistakenly learning that old classes are now part of the background.
- Prototype-guided Class Adaptation (PCA): To ensure clear decision boundaries between old and new classes, PCA augments existing prototypes using Gaussian noise and inter-prototype mixing. This simulates a more diverse feature distribution, helping the model maintain sharp distinctions even as the class list grows.
Class-shared Knowledge Guidance
While prototypes handle class-level features, the model must also manage its internal parameters to prevent the erosion of shared knowledge.
Weight-guided Selective Consolidation (WSC): Not all neural network weights are equally vital for every task. Cs²K employs Fisher Information to quantify the importance of specific weights for previously learned classes. During the update phase, WSC selectively merges crucial old weights with new ones, ensuring that the most valuable parameters for old tasks remain stable while allowing less critical weights to adapt to new data.
Experimental Results
The researchers evaluated Cs²K on two standard benchmarks: PASCAL VOC 2012 and ADE20K.
PASCAL VOC 2012
In the highly challenging "10-1" scenario—where a model learns 10 classes initially and then 10 more classes one by one—Cs²K demonstrated significant robustness. It achieved a 61.5% mIoU, substantially outperforming the previous state-of-the-art method, EWF, which reached 51.9%.
ADE20K
On the more complex ADE20K dataset (150 classes), Cs²K maintained its lead. In the "100-5" incremental step scenario, the framework reached 34.2% mIoU, representing a 2.1% improvement over existing methods.
Integration and Flexibility
A key advantage of Cs²K is its "plug-and-play" nature. The authors demonstrated that the PPL and WSC modules could be integrated into other popular ISS frameworks, such as MiB or PLOP, providing immediate performance gains without requiring fundamental architectural changes.
Discussion and Conclusion
Cs²K effectively mitigates catastrophic forgetting by treating the background as a source of hidden information and selectively protecting critical model weights. By using prototypes as a privacy-preserving form of "rehearsal," the framework offers a scalable solution for real-world incremental learning.
Despite these advancements, a performance gap remains between incremental learning and "joint training" (where all data is available at once), particularly in long sequences of tasks. Future research will focus on narrowing this gap to ensure that incremental models can match the performance of their static counterparts in increasingly complex environments.
Summary updated