Introduction
Video Instance Segmentation (VIS) requires a model to simultaneously detect, segment, and track individual objects across video frames. Continual VIS (CVIS) introduces a significant additional challenge: the model must learn new object categories over time without suffering from "catastrophic forgetting" of previously learned classes.
Current CVIS methods often struggle with three types of semantic confusion:
- Instance-wise confusion: Losing track of individual objects or merging distinct objects of the same class.
- Category-wise confusion: Misclassifying objects into visually similar categories (e.g., mistaking a sedan for a motorbike).
- Task-wise confusion: New object queries becoming indistinguishable from old ones, leading to a lack of specificity for new tasks.
The CRISP Framework
To address these challenges, we propose CRISP (Contrastive Residual Injection and Semantic Prompting). Built upon the Mask2Former architecture, CRISP introduces three core innovations designed to stabilize the model's semantic space.
Adaptive Residual Semantic Prompt (ARSP)
Rather than relying solely on visual features, CRISP leverages a CLIP-based text encoder to generate "semantic prompts" from category names. These prompts are injected into the model's attention layers as stable anchors. An adaptive matching mechanism ensures that each object query is paired with the most relevant semantic information, preventing visual features from drifting during fine-tuning.
PCA-guided Initialization
A common failure point in CVIS is the "average trap," where new task queries are initialized by averaging old ones, leading to high correlation and semantic drift. CRISP instead employs Principal Component Analysis (PCA) on existing queries to identify the most significant feature directions. By initializing new queries to be decorrelated from old ones, CRISP provides a "clean slate" for new tasks while respecting the existing query manifold.
Contrastive Learning Objectives
CRISP utilizes two specific contrastive losses to maintain separability:
- Instance Semantic Consistency Loss ($L_{ISC}$): Aligns object queries with their corresponding semantic prompts while distancing them from other classes.
- Instance Correlation Loss ($L_{IC}$): Ensures that object queries remain distinct, which is vital for tracking multiple instances of the same category.
Experimental Evaluation
CRISP was evaluated on the YouTube-VIS 2019 and 2021 benchmarks. In a typical 20-2 scenario (starting with 20 classes and adding 2 at a time), CRISP achieved a state-of-the-art 25.14 mAP, significantly outperforming the previous best, ECLIPSE (19.09 mAP).
Beyond accuracy, CRISP demonstrated superior stability. Its Forgetting Ratio (FR) was only 1.13% in the 20-2 scenario, compared to 3.21% for ECLIPSE and over 15% for other baseline methods. Qualitative results confirm that CRISP is robust enough to track overlapping objects and identify unlabeled instances.
Conclusion and Future Work
CRISP effectively mitigates catastrophic forgetting in CVIS by anchoring visual features to text-based semantic prompts and ensuring query decorrelation through PCA-guided initialization. While the current framework uses a frozen backbone to maintain stability, future research may explore increasing model plasticity or extending these techniques to Continual Panoptic Segmentation, encompassing both objects and background elements.
Summary updated