Introduction
Semantic segmentation requires dense, pixel-level annotations, which are costly to obtain. Incremental learning further complicates this by requiring models to learn new classes sequentially without forgetting previously learned ones. This paper introduces Teddy, a framework designed for Weakly Supervised Incremental Semantic Segmentation (WILSS). In this setting, initial classes are learned with full supervision, while subsequent classes are introduced using only image-level labels (e.g., presence/absence of an object).
The Teddy Framework
The primary challenge in WILSS is the conflict between reliable predictions for old classes and noisy "seed areas" generated for new classes. Teddy addresses this through three core components:
Tendency-driven Mutual Exclusivity (TME)
TME enforces a logical constraint: a single pixel cannot belong to both an old and a new class simultaneously. Unlike symmetric constraints, TME is "tendency-driven," prioritizing the predictions of the old model. Since the old model was trained on high-quality pixel-level data, its predictions are treated as more reliable. If the old model identifies a pixel as an old class, the new class's seed area is constrained to treat that pixel as background, preventing the new, noisy data from overwriting established knowledge.
Bi-level Optimization
Teddy utilizes a bi-level optimization strategy to integrate pseudo-label generation and model parameter updates. This unified workflow allows the model to refine its internal representations while simultaneously producing more accurate pseudo-labels for the new classes in a single, integrated process.
SAM-Guided Refinement
To improve geometric precision, Teddy integrates the Segment Anything Model (SAM). While SAM is class-agnostic, it provides sharp object boundaries. Teddy uses SAM to binarize old class predictions and fuse them with new class heatmaps, resulting in pseudo-labels that combine semantic accuracy with high-fidelity boundaries.
Experimental Results
The framework was evaluated on the Pascal VOC 2012 and MS COCO datasets. Teddy demonstrated significant improvements over existing state-of-the-art methods:
- Pascal VOC 15-5 Split: Teddy achieved a 7.1% mIoU improvement over the previous best method (WILSON), with a notable 23.3% gain in new class performance.
- Comparison to Full Supervision: Remarkably, Teddy outperformed several fully supervised incremental learning methods (e.g., PLOP, SDR) by approximately 2.7% in the 15-5 setting, despite using only image-level labels for new classes.
- Multi-step Robustness: In the 10-2 multi-step setting (adding 2 classes over 5 steps), Teddy exceeded the baseline by 32.6%, showcasing its resilience against the compounding "forgetting" effect typical of multi-stage training.
Discussion and Conclusion
The success of Teddy hinges on the "Asymmetry of Trust"—the realization that old-class knowledge, derived from pixel-level labels, should anchor the learning process for new, weakly supervised classes. By combining this semantic trust with the geometric precision of SAM and a bi-level optimization framework, Teddy effectively mitigates catastrophic forgetting. Future work may address the computational complexity of bi-level optimization and the challenges of modeling the evolving "background" class in incremental scenarios.
Summary updated