[Paper Review] Complementary Patch for Weakly Supervised Semantic Segmentation
This paper proposes a Complementary Patch (CP) representation and CP Network (CPN) to enhance weakly supervised semantic segmentation using only image-level labels. By leveraging information theory, CPN uses paired images with complementary hidden patches to generate more informative CAMs, achieving state-of-the-art mIoU of 67.8% on VOC 2012 val and 68.5% on test set with CRF refinement.
Weakly Supervised Semantic Segmentation (WSSS) based on image-level labels has been greatly advanced by exploiting the outputs of Class Activation Map (CAM) to generate the pseudo labels for semantic segmentation. However, CAM merely discovers seeds from a small number of regions, which may be insufficient to serve as pseudo masks for semantic segmentation. In this paper, we formulate the expansion of object regions in CAM as an increase in information. From the perspective of information theory, we propose a novel Complementary Patch (CP) Representation and prove that the information of the sum of the CAMs by a pair of input images with complementary hidden (patched) parts, namely CP Pair, is greater than or equal to the information of the baseline CAM. Therefore, a CAM with more information related to object seeds can be obtained by narrowing down the gap between the sum of CAMs generated by the CP Pair and the original CAM. We propose a CP Network (CPN) implemented by a triplet network and three regularization functions. To further improve the quality of the CAMs, we propose a Pixel-Region Correlation Module (PRCM) to augment the contextual information by using object-region relations between the feature maps and the CAMs. Experimental results on the PASCAL VOC 2012 datasets show that our proposed method achieves a new state-of-the-art in WSSS, validating the effectiveness of our CP Representation and CPN.
Motivation & Objective
- Address the limitation of Class Activation Maps (CAMs) in weakly supervised semantic segmentation, which often miss complete object regions due to sparse activation.
- Overcome the inefficiency and instability of iterative region erasing or masking methods by introducing a principled information-theoretic approach.
- Improve CAM quality by exploiting complementary information from paired images with hidden (patched) regions, enhancing seed region discovery.
- Develop a novel CP Network (CPN) with triplet architecture and regularization to minimize the discrepancy between original and enhanced CAMs.
- Refine segmentation predictions using a Pixel-Region Correlation Module (PRCM) to better capture contextual relationships between features and object regions.
Proposed method
- Propose a Complementary Patch (CP) representation based on information theory, proving that the sum of CAMs from a CP pair (two images with complementary hidden patches) contains more information than the original CAM.
- Design a CP Network (CPN) using a triplet network with Triplet CP (TCP) loss and CP Cross Regularization (CPCR) to minimize the gap between the enhanced CAM and the original CAM.
- Generate CP pairs using grid-based or super-pixel-based patch templates to control the hidden region distribution and ensure complementarity.
- Introduce a Pixel-Region Correlation Module (PRCM) that models relationships between feature map pixels and object regions, enhancing CAM consistency and contextual awareness.
- Use Random Walk and CRF post-processing to further refine pseudo-segmentation masks, improving final mIoU scores.
- Train the model end-to-end using image-level labels, with no need for bounding boxes, scribbles, or pixel-level annotations.
Experimental results
Research questions
- RQ1Can the sum of CAMs from two images with complementary hidden patches provide more informative object seed regions than a single CAM?
- RQ2How does the patch size and hidden probability affect the information gain and segmentation performance in the CP framework?
- RQ3Can a triplet-based network with specific regularization effectively learn to enhance CAMs using CP pairs?
- RQ4To what extent does incorporating pixel-region relationships improve CAM quality and segmentation accuracy?
- RQ5Does the proposed CPN achieve state-of-the-art performance on standard benchmarks like PASCAL VOC 2012 under weak supervision?
Key findings
- The CP representation is theoretically justified via information theory, proving that the sum of CAMs from a CP pair contains at least as much information as the original CAM.
- The CPN achieves a new state-of-the-art mIoU of 67.8% on the PASCAL VOC 2012 validation set and 68.5% on the test set when using CRF refinement.
- Without CRF, the method still achieves 66.8% mIoU on val and 67.6% on test, outperforming MCIS and other SOTA methods without extra supervision.
- Performance degrades when the hidden probability $p_h$ is too low (e.g., 0.1), validating the theoretical extreme case where one image in the CP pair becomes nearly identical to the original.
- Grid-based patches are significantly faster (0.006 sec/image) than super-pixel patches (1.45 sec/image), making the former more suitable for real-time applications.
- The Pixel-Region Correlation Module (PRCM) contributes to improved CAM consistency and segmentation quality by modeling contextual relationships between features and object regions.
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.