Decoupling Continual Semantic Segmentation

Yifu Guo, Yuquan Lu, Wentao Zhang, Zishan Xu, Dexia Chen, Siyu Zhang, Yizhe Zhang, Ruixuan WangarXiv 2025 · DOI

Abstract

Continual Semantic Segmentation (CSS) faces the challenge of catastrophic forgetting, where learning new classes degrades performance on previously learned ones. We present DecoupleCSS, a novel framework that addresses this by separating class identification from mask generation. By utilizing Large Language Models (LLMs) for task-aware class detection and the Segment Anything Model (SAM) for class-agnostic segmentation, DecoupleCSS achieves state-of-the-art results on PASCAL VOC and ADE20K benchmarks, effectively mitigating interference between old and new knowledge.

Introduction: The Challenge of Catastrophic Forgetting

In computer vision, models often need to learn new object classes incrementally. However, standard training leads to catastrophic forgetting, where updates for new data overwrite existing knowledge. In semantic segmentation, this is exacerbated by the tight coupling of classification ("what is it?") and segmentation ("where is it?"). Changes to class boundaries for new objects often disrupt the boundaries of old ones. Additionally, the "background" class is non-stationary, as today's background might contain tomorrow's target objects.

The DecoupleCSS Framework

DecoupleCSS breaks the segmentation process into two distinct, decoupled stages to prevent interference.

The DecoupleCSS framework separates language-driven class detection from class-agnostic segmentation.

Stage I: Language-driven Task-aware Class Detection (LTCD)

Instead of relying on simple labels, the model uses an LLM (e.g., GPT-4) to generate descriptive phrases for each class. These descriptions provide a rich semantic space. The model employs Low-Rank Adaptation (LoRA) to adapt a frozen image encoder to new tasks. This allows the system to detect new classes without altering the core weights responsible for recognizing previous ones.

Stage II: Class-Agnostic Segmentation (CAS)

Once an object is detected, a Segmentation Prompt Generation (SPG) module creates spatial prompts (like bounding boxes) for the Segment Anything Model (SAM). Since SAM is class-agnostic and focuses solely on geometric boundaries, its knowledge remains stable across all tasks. This decoupling ensures that the "how to segment" knowledge is preserved even as the "what to segment" list grows.

Experimental Evaluation

The framework was evaluated on the PASCAL VOC 2012 and ADE20K datasets using the overlapped protocol, where images may contain unlabeled future classes.

Key Results

DecoupleCSS significantly outperforms existing state-of-the-art (SOTA) methods:

  • PASCAL VOC 2012: In the challenging "10-1" incremental setting, DecoupleCSS achieved 83.12% mIoU, a 4.52% improvement over previous leaders.
  • ADE20K: On the "100-5" setting, it reached 56.89% mIoU, demonstrating robustness in complex, high-density scenes.
Qualitative comparison showing DecoupleCSS maintaining sharp boundaries and accurate labels compared to baseline methods.

Qualitative analysis confirms that DecoupleCSS maintains sharp object boundaries and accurate classification for both old and new categories, whereas traditional methods often suffer from blurred masks or misclassifications after multiple incremental steps.

Conclusion and Future Work

By separating semantics from geometry and leveraging foundation models like SAM and LLMs, DecoupleCSS provides a robust solution to catastrophic forgetting in CSS. While the current implementation faces inference latency due to sequential LoRA switching (~1.9s per image), future research into parameter merging could optimize performance for real-time applications.

Summary updated

BibTeX
@misc{guo2025decoupling,
  author = {Yifu Guo and Yuquan Lu and Wentao Zhang and Zishan Xu and Dexia Chen and Siyu Zhang and Yizhe Zhang and Ruixuan Wang},
  title = {{Decoupling Continual Semantic Segmentation}},
  year = {2025},
  eprint = {2508.05065},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.05065},
}
Figure