[Paper Review] Expansion and Shrinkage of Localization for Weakly-Supervised Semantic Segmentation
This paper introduces an Expansion and Shrinkage (ESOL) framework that uses deformable convolutions with offset learning to first expand CAM-based localization to cover the full object, then shrink to refine precision, achieving state-of-the-art results in weakly-supervised semantic segmentation on VOC2012 and COCO2014.
Generating precise class-aware pseudo ground-truths, a.k.a, class activation maps (CAMs), is essential for weakly-supervised semantic segmentation. The original CAM method usually produces incomplete and inaccurate localization maps. To tackle with this issue, this paper proposes an Expansion and Shrinkage scheme based on the offset learning in the deformable convolution, to sequentially improve the recall and precision of the located object in the two respective stages. In the Expansion stage, an offset learning branch in a deformable convolution layer, referred as "expansion sampler" seeks for sampling increasingly less discriminative object regions, driven by an inverse supervision signal that maximizes image-level classification loss. The located more complete object in the Expansion stage is then gradually narrowed down to the final object region during the Shrinkage stage. In the Shrinkage stage, the offset learning branch of another deformable convolution layer, referred as "shrinkage sampler", is introduced to exclude the false positive background regions attended in the Expansion stage to improve the precision of the localization maps. We conduct various experiments on PASCAL VOC 2012 and MS COCO 2014 to well demonstrate the superiority of our method over other state-of-the-art methods for weakly-supervised semantic segmentation. Code will be made publicly available here https://github.com/TyroneLi/ESOL_WSSS.
Motivation & Objective
- Address the partial localization problem in CAM-based weakly-supervised semantic segmentation with image-level labels.
- Develop a two-stage training pipeline (Expansion then Shrinkage) to improve recall and then precision of object localization.
- Leverage deformable convolution with offset learning to sample less discriminative regions and exclude false positives.
- Showcase state-of-the-art localization and segmentation performance on PASCAL VOC 2012 and MS COCO 2014 datasets.
Proposed method
- Embed an expansion sampler deformable convolution after the feature extractor to learn offsets that sample increasingly less discriminative object regions under inverse image-level supervision.
- Use an inverse optimization signal that maximizes image-level classification loss while freezing backbone features during Expansion.
- Apply a feature clipping strategy after Expansion to mitigate activation bias before Shrinkage.
- Introduce a shrinkage sampler deformable convolution in Shrinkage stage to exclude false positive background regions, trained with classification and area losses.
- Generate pseudo ground-truths by refining CAM-seeds with IRN/other refinement methods and train final segmentation with DeepLab-v2-ResNet101.
Experimental results
Research questions
- RQ1Can the Expansion stage recover the full extent of target objects beyond the most discriminative regions?
- RQ2Can the Shrinkage stage prune false positives and background areas to enhance localization precision?
- RQ3How does the ESOL approach impact weakly-supervised semantic segmentation performance on VOC2012 and COCO2014 compared to state-of-the-art methods?
Key findings
- Expansion improves the initial CAM seeds by about 5.2% mIoU on VOC2012 over the original CAM baseline.
- With refinement, the final pseudo ground-truths reach higher mIoU scores (e.g., 66.4% with PSA and 68.7% with IRN on VOC2012).
- VOC2012 validation/test segmentation achieves 71.1%/70.4% mIoU when using explicit saliency cues for supervision.
- MS COCO 2014 validation mIoU reaches 42.6% with ESOL, outperforming IRN by 1.2 percentage points.
- ESOL initial seeds on VOC2012 (Seed mIoU) improve to 53.6% (VOC) before refinement, surpassing several prior methods.
- Overall, ESOL demonstrates competitive or superior performance on VOC2012 and COCO2014 against contemporary WSSS methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.