Abstract
Continual Image Segmentation (CIS) requires models to learn new object categories sequentially without forgetting previous ones. Current query-based transformers often struggle with a trade-off between stability (remembering old classes) and plasticity (learning new ones), frequently relying on freezing parameters which limits their adaptability. We present SimCIS (Simple Continual Image Segmentation), a framework that replaces fixed learned queries with a dynamic feature-selection mechanism and an efficient virtual query replay. SimCIS achieves state-of-the-art performance on the ADE20K benchmark, demonstrating significant improvements in both panoptic and semantic segmentation while remaining robust to data ordering.
Introduction
In the field of computer vision, Continual Image Segmentation (CIS) poses two primary challenges: Catastrophic Forgetting, where new knowledge overwrites existing information, and Background Semantic Shift, where previously learned target objects are relabeled as "background" in subsequent tasks as the model focuses on new categories.
Modern query-based transformers, such as Mask2Former, possess an inherent "objectness"—the ability to identify object-like regions regardless of class. While existing state-of-the-art methods attempt to preserve this by freezing mask-generation components, this decoupling severely hampers the model's "plasticity" (the ability to learn new classes well) and makes performance highly sensitive to the specific order of training data.
Methodology: The SimCIS Framework
SimCIS moves away from parameter freezing, opting instead for a strategy of "perfect alignment" between object queries and image features through three core modules:
- Lazy Query Pre-Alignment (QPA): Rather than using random learnable vectors, SimCIS initializes queries by selecting them "lazily" from the image feature map. By comparing pixels to class prototypes, the model identifies semantically significant locations to serve as spatial anchors, ensuring queries are grounded in the image's actual content from the start.
- Consistent Selection Loss (CSL): This loss function ensures temporal consistency. It constrains the model to select the same spatial locations for a given image across different training stages, even as the target categories evolve.
- Virtual Query (VQ) Replay: To avoid the storage and privacy issues of saving raw images, SimCIS stores mathematical embeddings of objects (query features) in a "virtual bank." During new tasks, these virtual queries are replayed to the decoder, effectively reminding it of old classes without requiring original pixel data. This mechanism is 10x more disk-efficient than traditional image-based replay.
Key Insights and Qualitative Analysis
The central insight of SimCIS is that "objectness" in transformers is a product of query alignment with semantic priors in image features, rather than a property of frozen weights. By selecting queries directly from these features, SimCIS preserves objectness naturally while maintaining the flexibility to learn.
As shown in the qualitative comparison above, the model maintains stable segmentation of objects (such as the person highlighted) even after fine-tuning on new tasks. This suggests that the "concept" of an object, stored in the query embedding, is more critical for the decoder's memory than raw pixel data.
Experimental Results
SimCIS was evaluated on the ADE20K dataset across various incremental scenarios (e.g., 100-5, 100-10). It consistently outperformed state-of-the-art methods like ECLIPSE in both panoptic and semantic segmentation tasks.
Notably, in the 100-5 panoptic task, SimCIS achieved a Panoptic Quality (PQ) of 35.4, surpassing ECLIPSE's 32.9. As illustrated in the box plots, the gains are particularly pronounced for new classes, where SimCIS nearly doubled the performance of some competitors. Furthermore, SimCIS remained stable across random order splits, proving it is more reliable for real-world applications where data sequences are unpredictable.
Conclusion
SimCIS demonstrates that flexible query selection and virtual replay can resolve the stability-plasticity dilemma in CIS. While the current model relies on a pre-trained backbone, future research will focus on adapting the image encoder more aggressively to further enhance performance as the number of sequential tasks scales.
Summary updated