Beyond Background Shift: Rethinking Instance Replay in Continual Semantic Segmentation

Hongmei Yin, Tingliang Feng, Fan Lyu, Fanhua Shang, Hongying Liu +2 more
2/10/2026

No official code found. Best implementation: YikeYin97/EIR (8 stars, last commit 2025-04-27).

Abstract

In this work, we focus on continual semantic segmentation (CSS), where segmentation networks are required to continuously learn new classes without erasing knowledge of previously learned ones. Although storing images of old classes and directly incorporating them into the training of new models has proven effective in mitigating catastrophic forgetting in classification tasks, this strategy presents notable limitations in CSS. Specifically, the stored and new images with partial category annotations leads to confusion between unannotated categories and the background, complicating model fitting. To tackle this issue, this paper proposes a novel Enhanced Instance Replay (EIR) method, which not only preserves knowledge of old classes while simultaneously eliminating background confusion by instance storage of old classes, but also mitigates background shifts in the new images by integrating stored instances with new images. By effectively resolving background shifts in both stored and new images, EIR alleviates catastrophic forgetting in the CSS task, thereby enhancing the model’s capacity for CSS. Experimental results validate the efficacy of our approach, which significantly outperforms state-of-the-art CSS methods. The code is available at https://github.com/YikeYin97/EIR.

View on arXivView PDF

Code Implementations(1)

YikeYin97/EIRCommunity100%
81Shell, PythonMar 17, 20251 years ago

Similar Papers

Cite this paper

@article{yin2026beyond,
  title  = {Beyond Background Shift: Rethinking Instance Replay in Continual Semantic Segmentation},
  author = {Hongmei Yin and Tingliang Feng and Fan Lyu and Fanhua Shang and Hongying Liu and Wei Feng and Liang Wang},
  year   = {2026},
  eprint = {2503.22136},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.22136},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.22136.svg)](https://codeofpaper.com/paper/2503.22136)

Discussion