Abstract
Weakly Supervised Semantic Segmentation (WSSS) aims to bridge the gap between low-cost image-level annotations and high-fidelity pixel-level predictions. Traditional methods often rely on adversarial erasing to expand Class Activation Maps (CAMs), but frequently suffer from a trade-off between under-activation of object regions and over-expansion into the background. This paper introduces Knowledge Transfer with Simulated Inter-Image Erasing (KTSE), a novel framework that shifts the paradigm from "information removal" to "simulated context addition." By leveraging inter-image relationships and self-supervised regularization, KTSE achieves state-of-the-art performance on PASCAL VOC and MS COCO benchmarks.
Introduction
Semantic segmentation is a cornerstone of computer vision, yet its reliance on dense, pixel-level annotations makes it prohibitively expensive for large-scale applications. Weakly Supervised Semantic Segmentation (WSSS) offers a compelling alternative by training models using only image-level labels.
The standard pipeline for WSSS begins with Class Activation Maps (CAMs), which identify discriminative regions used by a classification network. However, CAMs are notoriously "greedy," focusing only on the most salient features—such as a bird's beak rather than its entire body. While adversarial erasing (masking salient parts to force the model to find others) is a common remedy, it is difficult to calibrate. Erasing too little results in incomplete object coverage, while erasing too much causes the model to misidentify background pixels as part of the object. KTSE addresses this by rethinking how we "erase" information, moving toward a context-based simulation strategy.
Methodology
Simulated Inter-Image Erasing (SIE)
Rather than physically masking pixels within a single image, the KTSE framework introduces Simulated Inter-Image Erasing (SIE). This technique concatenates an "anchor" image with a paired image to create a synthetic, multi-object context. In this expanded view, the relative activation strength of the original object naturally diminishes because the model's attention is distributed across a larger, more complex scene. This "simulated erasing" effect allows the network to learn how to maintain robust object localization even when the primary signal is diluted, effectively transferring knowledge from the clear anchor branch to the weakened simulated branch.
Self-Supervised Regularization (SSR)
Learning from weakened signals can lead to model instability. To counteract this, the authors implement a Self-Supervised Regularization (SSR) module. This component generates high-quality pseudo-labels from the anchor branch to supervise the learning process. Furthermore, it incorporates an "inter-class loss" designed to sharpen the boundaries between different object categories, which is particularly vital for images containing multiple overlapping classes.
Multi-Granularity Alignment (MGA)
To refine the expansion of object regions, KTSE employs Multi-Granularity Alignment (MGA). While traditional intra-image erasing is still used as a supplementary tool, MGA ensures that the resulting expansion is constrained. By applying both global (image-level) and local (pixel-level) alignment, the model ensures that the expanded activation maps remain faithful to the actual object boundaries and do not bleed into the background.
Experimental Results
KTSE was rigorously evaluated on two primary benchmarks: PASCAL VOC 2012 and MS COCO.
- PASCAL VOC 2012: The method achieved a 73.0% mIoU on the validation set and 72.9% on the test set using a ResNet backbone. These results represent a significant improvement over previous state-of-the-art (SOTA) methods such as ACR and AEFT. Notably, the initial pseudo-masks generated by KTSE reached 67.0% mIoU, an 18.7% improvement over the baseline IRN method.
- MS COCO: On the more challenging COCO dataset, which features complex scenes and 80 semantic classes, KTSE achieved 45.9% mIoU. This performance confirms that the method scales effectively to high-complexity environments where multi-object interactions are common.
Discussion and Insights
The success of KTSE stems from a fundamental shift in perspective: Addition vs. Subtraction. By adding extra object information via image concatenation rather than simply subtracting it through masking, the framework creates a more stable learning signal. This "soft guidance" approach—where the anchor branch provides confidence-based supervision to the weakened branch—prevents the rigid over-expansion seen in earlier adversarial methods.
However, the authors acknowledge certain limitations. The multi-branch architecture (Anchor, Simulated, and Masked) increases computational overhead during the training phase. Additionally, while the SSR module improves boundary recognition, extremely crowded scenes with high degrees of occlusion remain a challenge.
Conclusion
KTSE represents a significant advancement in WSSS by demonstrating that context manipulation is a powerful alternative to traditional erasing. By simulating the dilution of object signals through inter-image concatenation, the framework produces highly accurate pseudo-labels that translate into superior segmentation performance. Future work may explore the application of this "simulated erasing" concept to other weakly supervised tasks, including object detection and instance segmentation.
Summary updated