CIT: Rethinking Class-incremental Semantic Segmentation with a Class Independent Transformation

Jinchao Ge, Bowen Zhang, Akide Liu, Minh Hieu Phan, Qi Chen, Yangyang Shu, Yang ZhaoPattern Recognition 2024

Abstract

Class-incremental semantic segmentation (CSS) is plagued by "catastrophic forgetting," primarily due to the inter-class competition inherent in standard Softmax layers. This paper proposes the Class Independent Transformation (CIT), which reformulates segmentation as a series of independent binary classification tasks. By decoupling class predictions, CIT enables an accumulative distillation pipeline that allows direct knowledge transfer from original task models, effectively eliminating error accumulation. Experiments on Pascal VOC and ADE20K demonstrate near-zero forgetting and significant improvements over state-of-the-art methods across various architectures.

Introduction

In Class-incremental Semantic Segmentation (CSS), models must learn new categories sequentially without degrading performance on previously learned ones. Traditional "iterative distillation" attempts to preserve old knowledge by mimicking the previous task's output. However, the standard Softmax layer forces a zero-sum competition between classes; as the model learns new classes, the probability distribution for old classes is forced to shift. This "distribution gap" leads to compounded forgetting over multiple tasks, where small errors in each step eventually cause performance on early classes to plummet.

Methodology: Class Independent Transformation (CIT)

The authors identify Softmax as a primary driver of forgetting and introduce CIT to address this structural flaw.

Decoupling Class Predictions

CIT replaces the global Softmax with class-independent Sigmoid activations. This transforms the multi-class segmentation problem into a set of independent "is this pixel Class X?" questions. Consequently, learning a new class does not structurally require a change in the logits of existing classes, removing the mathematical pressure that causes interference.

Accumulative Distillation Pipeline

Because classes are independent, CIT facilitates a shift from an iterative pipeline to an accumulative pipeline. In an iterative setup, Task 3 distills from Task 2, which distilled from Task 1. In the accumulative setup, Task 3 can distill knowledge for Task 1 classes directly from the original Task 1 model. This "direct distillation" from the source of truth for each class prevents the accumulation of errors across tasks.

CIT is architecture-agnostic and requires negligible computational overhead, making it easily applicable to CNN-based models like DeepLabV3 and Transformer-based models like Mask2Former.

Experimental Evaluation

The researchers evaluated CIT on the Pascal VOC 2012 and ADE20K benchmarks, testing long-term scenarios with up to 11 incremental tasks.

Key Results

  • Near-Zero Forgetting: On Pascal VOC 2012, the model showed less than a 1% performance drop across all incremental configurations.
  • Robustness on ADE20K: In the highly challenging 11-task incremental setup (100-5-11), the performance drop was less than 5%, whereas previous state-of-the-art (SOTA) methods like MiB and PLOP often saw double-digit declines.
  • Architecture Versatility: When applied to SegViTv2 on ADE20K, CIT achieved an mIoU of 51.46%, a significant improvement over the iterative baseline of 49.32%.
Performance comparison on the ADE20K 100-5 (11 tasks) benchmark using Mask2Former. CIT-M2F maintains significantly higher mIoU as the number of classes increases compared to other SOTA methods.

Conclusion

CIT provides a simple yet effective architectural shift to mitigate catastrophic forgetting in CSS. By removing class inter-dependency, it enables direct distillation from source models, ensuring long-term stability in acquired knowledge. While the accumulative pipeline requires managing a library of source checkpoints, the resulting performance gains and near-zero forgetting represent a major step forward for lifelong semantic segmentation systems. Future work will focus on improving plasticity for faster learning of new classes and optimizing checkpoint storage.

Summary updated

BibTeX
@article{ge2024cit,
  author = {Jinchao Ge and Bowen Zhang and Akide Liu and Minh Hieu Phan and Qi Chen and Yangyang Shu and Yang Zhao},
  title = {{CIT: Rethinking Class-incremental Semantic Segmentation with a Class Independent Transformation}},
  journal = {Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=TvRHFeoSCn},
}
Figure