NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Decomposed Knowledge Distillation for Class-Incremental Semantic Segmentation

Donghyeon Baek, Youngmin Oh, Sanghoon Lee, Junghyup Lee, Bumsub Ham

TL;DR

This paper introduces a novel framework for Class-Incremental Semantic Segmentation (CISS) that addresses the "stability-plasticity" dilemma. By breaking down class logits into positive and negative reasoning scores and distilling these components separately, the model retains old knowledge without hindering the learning of new classes. Additionally, an auxiliary classifier is used to "pre-train" for future classes, achieving state-of-the-art results on standard benchmarks without heavy computational overhead.

The Challenge of Class-Incremental Semantic Segmentation

In computer vision, Semantic Segmentation involves labeling every pixel in an image with a category (e.g., tree, car, person). Typically, models are trained on all classes simultaneously. However, real-world applications often require adding new classes over time—a task known as Class-Incremental Semantic Segmentation (CISS).

The primary hurdle in CISS is catastrophic forgetting: when a model learns a new class, it tends to forget how to recognize previously learned classes. To mitigate this, researchers commonly use Knowledge Distillation (KD), which forces the new model to produce similar outputs (logits) to the old model.

The authors argue that standard KD is too blunt. It preserves the final "score" for a class but ignores the underlying reasoning. This creates a tug-of-war: if the model is too rigid, it struggles to learn new classes; if it's too flexible, it forgets the old ones.

Proposed Methodology

The authors propose two major innovations to balance this trade-off, illustrated in the framework below:

Overview of the proposed CISS framework, detailing the training process with Decomposed Knowledge Distillation and the initialization step using an auxiliary classifier.

1. Decomposed Knowledge Distillation (DKD)

The core insight of the paper is that a class logit (the raw score before turning it into a probability) is essentially a sum of element-wise multiplications. The authors decompose this logit into two distinct terms:

  • Positive Reasoning Score ($z^+$): Quantifies how likely an input belongs to a class.
  • Negative Reasoning Score ($z^-$): Quantifies how unlikely it is.

While standard KD only ensures the sum ($z^+ + z^-$) remains constant, DKD forces the model to keep both $z^+$ and $z^-$ similar to the old model's values. This explicit constraint makes the model much more rigid regarding old knowledge without preventing it from learning new features.

2. Auxiliary Classifier (AC) & Initialization

When learning a new class, the model often lacks enough "negative samples" (examples of what the class is not). To solve this, the authors propose training an Auxiliary Classifier at each step. This classifier treats every pixel in the current training set as a "negative."

When the next incremental step arrives, the weights from this auxiliary classifier are used to initialize the new class's weights. Essentially, the model starts the new task already knowing what the new class isn't, significantly boosting its ability to discriminate between old and new categories.

Key Insights

  • Logits are not black boxes: By examining the dot product of the final layer, we can interpret the model's "reasoning." Preserving the components of that reasoning is more effective than preserving the final output alone.
  • Binary Cross-Entropy (BCE) over Softmax: The framework uses multiple BCE losses instead of a single Softmax. Softmax is competitive (increasing one class's probability decreases others), whereas BCE allows classes to be learned independently, which is highly beneficial for incremental learning.
  • Leveraging the Background: In CISS, the background often contains future classes. Using an auxiliary classifier to encode this "not-yet-known" information provides a massive head start for future learning steps.

Key Results

The proposed method, dubbed DKD, achieved new State-of-the-Art (SOTA) performance across standard benchmarks:

  • PASCAL VOC 2012 (15-1 scenario): DKD achieved a harmonic mean IoU (hIoU) of 55.21, significantly outperforming the previous SOTA, SSUL (49.67).
  • ADE20K (100-10 scenario): DKD reached an hIoU of 26.55, compared to SSUL's 25.57.
Qualitative results showing the model's ability to incrementally learn new classes while retaining accurate segmentation masks for older classes.

As seen in the visual results, DKD produces much cleaner segmentation masks with fewer false positives, successfully avoiding the confusion between new classes, old classes, and the background. Importantly, DKD achieves these results without needing an off-the-shelf saliency detector or complex data replay buffers, making it highly computationally efficient.

Limitations and Future Work

  • Training from Scratch: The initialization technique requires the model to be trained from the very first step using the specific auxiliary head. It cannot be seamlessly applied to a standard pre-trained segmentation model off-the-shelf.
  • Noisy Signals: The Auxiliary Classifier might receive noisy signals if a training image for a current class accidentally contains a prominent instance of a future class.
  • Future Directions: A promising path is exploring how this logit decomposition logic could be applied to other incremental learning domains, such as object detection or natural language processing.

Summary updated

BibTeX
@inproceedings{baek2022decomposed,
  author = {Donghyeon Baek and Youngmin Oh and Sanghoon Lee and Junghyup Lee and Bumsub Ham},
  title = {{Decomposed Knowledge Distillation for Class-Incremental Semantic Segmentation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=0SgKq4ZC9r},
}
Figure