Abstract
Semantic segmentation typically requires dense pixel-level annotations, which are costly to obtain. This paper presents WILSON (Weakly Incremental Segmentation ONline), a framework designed for Weakly Incremental Learning for Semantic Segmentation (WILSS). WILSON enables models to learn new object categories using only image-level labels while mitigating catastrophic forgetting of previously learned classes. By generating supervision online and utilizing a localization prior from the previous model state, WILSON achieves performance comparable to, and in some cases exceeding, methods that utilize full pixel-level supervision for new classes.
Introduction
Semantic segmentation is a fundamental computer vision task that involves assigning a category label to every pixel in an image. However, updating these models with new classes is challenging due to the high cost of pixel-level masks and the risk of "catastrophic forgetting," where the model loses its ability to recognize old classes while learning new ones. Traditional incremental learning often requires retraining on the entire combined dataset or using expensive annotations for all new data.
Existing weakly supervised methods often rely on a static, two-stage process (generating masks offline, then training) that fails to leverage the model's existing knowledge. WILSON addresses this by integrating weak supervision directly into the incremental training loop, treating the "background" as a moving target that the model must refine over time.
Methodology
The WILSON framework introduces several key components to facilitate online supervision from image-level labels instead of pre-generated masks.
- The Localizer: A small module added to the encoder that produces Class Activation Maps (CAMs). It is trained using a classification loss to identify which classes are present in an image.
- Localization Prior ($L_{LOC}$): This is a critical component that uses the previous version of the model to guide the localizer. It tells the system where old classes and background are located, preventing new classes from incorrectly claiming pixels that belong to known categories.
- Soft-Label Smoothing: To handle the inherent noise in pseudo-labels generated from image labels, WILSON uses a convex combination of the localizer's probability scores and hard labels, providing a more nuanced target for the model.
- Knowledge Distillation: To prevent forgetting, the model replaces the localizer's predictions for old classes with the actual outputs from the previous iteration of the model.
Experimental Evaluation and Results
The researchers evaluated WILSON on major benchmarks including Pascal VOC 2012 and COCO. They also introduced a challenging COCO-to-VOC scenario to test the model's ability to transfer knowledge across different dataset distributions.
Key findings include:
- Outperforming Full Supervision: On the Pascal VOC 15-5 "disjoint" task, WILSON achieved a 67.3% mIoU, outperforming specialized incremental methods like SDR and RECALL, despite those methods having access to full pixel-wise supervision for new classes.
- Superior Weak Supervision: Compared to standard weakly-supervised methods (like EPS or SEAM) adapted for incremental learning, WILSON showed a performance boost of +5.1% to +7.2% mIoU.
- Resilience to Forgetting: In the cross-dataset COCO-to-VOC task, WILSON maintained high performance on old classes, surpassing the pixel-supervised ILT method by 2.8%.
Conclusion
WILSON demonstrates that generating pseudo-labels online during the training loop allows a model to use its evolving understanding of the world to refine its own supervision. This approach proves that weak supervision can rival full supervision in incremental settings. Future work will investigate Few-Shot Incremental Learning, aiming to learn new classes from just a handful of image-level labels.
Summary updated