Abstract
Modern incremental learning for semantic segmentation methods usually learn new categories based on dense annotations. Although achieve promising results, pixel-by-pixel labeling is costly and time-consuming. Weakly incremental learning for semantic segmentation (WILSS) is a novel and attractive task, which aims at learning to segment new classes from cheap and widely available image-level labels. Despite the comparable results, the image-level labels can not provide details to locate each segment, which limits the performance of WILSS. This inspires us to think how to improve and effectively utilize the supervision of new classes given image-level labels while avoiding forgetting old ones. In this work, we propose a novel and data-efficient framework for WILSS, named FMWISS. Specifically, we propose pre-training based co-segmentation to distill the knowledge of complementary foundation models for generating dense pseudo labels. We further optimize the noisy pseudo masks with a teacher-student architecture, where a plug-in teacher is optimized with a proposed dense contrastive loss. Moreover, we introduce memory-based copy-paste augmentation to improve the catastrophic forgetting problem of old classes. Extensive experiments on Pascal VOC and COCO datasets demonstrate the superior performance of our framework, e.g., FMWISS achieves 70.7% and 73.3% in the 15-5 VOC setting, outperforming the state-of-the-art method by 3.4% and 6.1%, respectively.
Introduction
Semantic segmentation typically requires massive amounts of pixel-level annotations, which are incredibly expensive and slow to produce. Incremental Learning attempts to add new categories to a model over time, but usually still relies on these "dense" labels.
The authors focus on a more challenging and practical scenario: Weakly Incremental Learning (WILSS). Here, the model is first trained on a set of "old" classes with full pixel labels, but when "new" classes are introduced, only cheap image-level labels (e.g., "this image contains a horse") are available. The core challenge is twofold:
- Localization: Image-level labels don't tell the model where the object is, leading to blurry or incomplete segmentations.
- Catastrophic Forgetting: As the model learns new classes from weak supervision, it tends to forget the precise boundaries of the old classes it previously mastered.
Methods
The FMWISS framework introduces three key innovations to address these challenges.
1. Foundation Model Co-segmentation
To bridge the gap between image-level tags and pixel-level masks, FMWISS combines two types of foundation models. It uses CLIP (a vision-language model) to identify "what" is in the image and generate a rough initial mask. Then, it uses self-supervised models (like iBOT or DINO) to provide "category-agnostic" structural details. By using "seeds" from the CLIP mask to guide the self-supervised attention maps, the framework produces much cleaner, denser pseudo-labels for training.
2. Teacher-Student Optimization with Dense Contrastive Loss
The framework employs a teacher-student setup where a "plug-in" teacher module learns to refine the noisy pseudo-labels. A novel Dense Contrastive Loss ($L_{DCL}^{new}$) is introduced. Instead of just looking at pixels individually, this loss forces the model to cluster pixels of the same class together in feature space while pushing different classes apart, leading to more robust feature representations.
3. Memory-based Copy-Paste Augmentation
To mitigate catastrophic forgetting, the framework maintains a small memory bank of old class instances. During training on new classes, it randomly "pastes" these old objects into new images. This provides a constant reminder to the model of what the old classes look like, stabilizing the learning process.
Experimental Results
The framework was evaluated on standard computer vision benchmarks: Pascal VOC 2012 (15-5 and 10-10 settings), COCO, and a COCO-to-VOC cross-dataset scenario.
FMWISS sets a new state-of-the-art (SoTA) across all tested benchmarks:
- Pascal VOC (15-5 setting): Achieved 70.7% mIoU in the disjoint setting and 73.3% in the overlap setting, outperforming the previous best method (WILSON) by 3.4% and 6.1%, respectively.
- Pascal VOC (10-10 setting): Improved performance by roughly 4% over prior work.
- COCO-to-VOC: Achieved a 41.6% mIoU, a 1.0% improvement over the previous SoTA.
Qualitative visualizations demonstrate that FMWISS produces much sharper boundaries and more complete object masks compared to earlier methods that relied solely on Class Activation Maps (CAMs). Furthermore, the method is remarkably data-efficient; FMWISS trained on only 30% of the data could still outperform previous SoTA methods using 100% of the training data.
Conclusion
FMWISS demonstrates that vision-language models (CLIP) and self-supervised vision transformers (iBOT) are highly complementary for the WILSS task. While CLIP provides semantic grounding, self-supervised models offer the spatial precision needed for segmentation. Combining them via seeds guidance, along with dense contrastive learning and memory-based augmentation, creates a robust framework for incremental learning with weak supervision. Future work may address the dependency on negative samples for contrastive learning and explore zero-shot incremental learning scenarios.
Summary updated