Mitigating Background Shift in Class-Incremental Semantic Segmentation

Gilhan Park, WonJun Moon, SuBeen Lee, Tae-Young Kim, Jae-Pil Heo

Abstract

Class-Incremental Semantic Segmentation (CISS) aims to learn new classes without forgetting the old ones, using only the labels of the new classes. To achieve this, two popular strategies are employed: 1) pseudo-labeling and knowledge distillation to preserve prior knowledge; and 2) background weight transfer, which leverages the broad coverage of background in learning new classes by transferring background weight to the new class classifier. However, the first strategy heavily relies on the old model in detecting old classes while undetected pixels are regarded as the background, thereby leading to the background shift towards the old classes (i.e., misclassification of old class as background). Additionally, in the case of the second approach, initializing the new class classifier with background knowledge triggers a similar background shift issue, but towards the new classes. To address these issues, we propose a background-class separation framework for CISS. To begin with, selective pseudo-labeling and adaptive feature distillation are to distill only trustworthy past knowledge. On the other hand, we encourage the separation between the background and new classes with a novel orthogonal objective along with label-guided output distillation. Our state-of-the-art results validate the effectiveness of these proposed methods.

Introduction: The Challenge of Background Shift

In Class-Incremental Semantic Segmentation (CISS), a model must continuously learn new object classes without access to the full labels of previously learned ones. At each incremental step, only the new classes are labeled, while all other pixels—including those belonging to old classes—are collapsed into a single "background" label. This leads to a critical phenomenon known as Background Shift.

As illustrated in the figure below, background shift manifests in two primary ways:

  1. Shift towards Old Classes: When a model is uncertain about an old class pixel, standard distillation and pseudo-labeling techniques often force it into the background category, causing catastrophic forgetting.
  2. Shift towards New Classes: A common technique to speed up learning is "Background Weight Transfer," where new class classifiers are initialized with background weights. However, this creates high mathematical similarity between the background and new classes, leading to confusion.
Illustration of background shift problems: (a,b) shift towards old classes due to pseudo-labeling/distillation, and (c,d) shift towards new classes due to weight transfer.

Proposed Framework: Background-Class Separation

To mitigate these shifts, the authors propose a comprehensive framework that separates background knowledge from both old and new object classes.

1. Selective Pseudo-Labeling (SPL)

Traditional pseudo-labeling relies on the old model's confidence for a specific class. If confidence is low, the pixel is labeled as background. SPL instead evaluates the collective "objectness" of a pixel. If the sum of probabilities for all known object classes exceeds the background probability, the pixel is marked as "ignore" rather than "background." This prevents uncertain old objects from being incorrectly absorbed into the background class.

2. Adaptive Feature Distillation (AFD)

Standard distillation treats all spatial regions equally. AFD introduces a "reliability map" based on the old model's confidence. It prioritizes the distillation of features from regions where the old model was highly certain, while reducing the distillation pressure in ambiguous regions to prevent the propagation of errors.

3. Orthogonal Objective and LGKD

To address the shift towards new classes caused by weight transfer, the framework employs two strategies:

  • Label-Guided Knowledge Distillation (LGKD): This technique decouples the background and new class probabilities during distillation, ensuring that the model learns to distinguish them even when their initial weights are similar.
  • Orthogonal Loss: This objective forces the weight vectors (tokens) of new classes to be orthogonal to the background token. This geometric constraint ensures a clear separation in the model's feature space from the start of training.
Overview of the proposed framework, detailing Selective Pseudo-Labeling (Sec 3.3), Adaptive Feature Distillation (Sec 3.4), and Background-Class Separation (Sec 3.5).

Experimental Evaluation

The proposed method, MBS, was evaluated on the Pascal VOC 2012 and ADE20k benchmarks.

  • Pascal VOC 2012: In the challenging 15-1 (6-step) incremental setting, MBS achieved an mIoU of 80.6%, significantly outperforming previous state-of-the-art methods like INC (75.6%). It closely approached the joint training baseline of 83.8%.
  • ADE20k: On this complex 150-class dataset, MBS consistently outperformed existing methods by approximately 1.0% to 1.1% mIoU across various incremental configurations (e.g., 100-50, 50-50).

Qualitative results demonstrate that MBS maintains sharper object boundaries and exhibits significantly less "erasing" of old classes compared to baseline models.

Conclusion

The MBS framework effectively addresses the dual nature of background shift in CISS. By treating uncertainty as an "ignore" region rather than background and enforcing geometric separation between background and class weights, the model achieves superior stability and plasticity. While currently optimized for Transformer-based architectures, the underlying logic of background-class separation provides a robust foundation for future incremental learning research.

Summary updated

BibTeX
@inproceedings{park2024mitigating,
  author = {Gilhan Park and WonJun Moon and SuBeen Lee and Tae-Young Kim and Jae-Pil Heo},
  title = {{Mitigating Background Shift in Class-Incremental Semantic Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=u1wJZsxoyB},
}
Figure