[Paper Review] Segment Anything is A Good Pseudo-label Generator for Weakly Supervised Semantic Segmentation
The paper investigates using Segment Anything Model (SAM) prompts derived from weak labels to generate high-quality pseudo labels for weakly supervised semantic segmentation, achieving strong results on PASCAL VOC 2012.
Weakly supervised semantic segmentation with weak labels is a long-lived ill-posed problem. Mainstream methods mainly focus on improving the quality of pseudo labels. In this report, we attempt to explore the potential of 'prompt to masks' from the powerful class-agnostic large segmentation model, segment-anything. Specifically, different weak labels are used as prompts to the segment-anything model, generating precise class masks. The class masks are utilized to generate pseudo labels to train the segmentation networks. We have conducted extensive experiments on PASCAL VOC 2012 dataset. Experiments demonstrate that segment-anything can serve as a good pseudo-label generator. The code will be made publicly available.
Motivation & Objective
- Motivate weakly supervised semantic segmentation where pixel-level annotations are costly.
- Investigate the potential of the segment-anything model (SAM) as a pseudo-label generator using various weak annotations as prompts.
- Quantitatively assess how different prompts (image-level labels, points, scribbles, bounding boxes) affect pseudo-label quality and final segmentation performance.
- Identify which prompt types and configurations yield the best trade-off between annotation effort and segmentation accuracy.
Proposed method
- Use SAM to convert weak annotations into precise object masks acting as pseudo labels for training segmentation networks.
- Explore multiple prompt types: image-level labels, points, scribbles, and bounding boxes, including their variants (e.g., sampling from CAMs, iterative prompts, negative prompts).
- Evaluate two CAM-based point-prompt strategies: sampling all confident CAM pixels versus sampling only confident pixels; analyze their impact on pseudo-label quality.
- Leverage SAM-generated masks with BLIP-2 classification to refine or classify masks for pseudo-label creation.
- Assess the impact of iterative prompt refinement and negative prompts on pseudo-label quality for different annotation types.
- Train a standard segmentation backbone (DeepLab-v2 with ResNet-101 initialization) using the generated pseudo labels and report on PASCAL VOC 2012.
Experimental results
Research questions
- RQ1Can SAM prompted by various weak labels produce high-quality pseudo labels suitable for training semantic segmentation models?
- RQ2Which prompt types (image-level labels, points, scribbles, bounding boxes) yield the best pseudo-label quality and downstream segmentation performance?
- RQ3Does iterative prompting or negative prompts improve the quality of SAM-generated masks for weak supervision?
- RQ4How do SAM-based pseudo-labels compare to traditional weakly supervised methods on PASCAL VOC 2012?
Key findings
- Scribble prompts with SAM achieve the highest pseudo-label quality, yielding 89.7% mIoU on the VOC 2012 training set and 76.6% mIoU on the test set when used to train DeepLab-v2.
- Bounding box prompts with SAM provide strong pseudo-labels, achieving 91.5% mIoU on the training set and competitive test performance.
- SAM-based pseudo-labels for image-level labels and CAM-derived prompts show considerable gains over traditional CAM-based methods, e.g., image-level labels + SAM reach 72.2% test mIoU, higher than several prior methods.
- Iterative prompt refinement does not consistently improve pseudo-label quality for image-level prompts, but can benefit scribble prompts and negative-point configurations.
- Point prompts can yield competitive results (69.0% val, 68.7% test) but are generally outperformed by scribble and bounding-box prompted SAM runs.
- Overall, SAM is demonstrated as a strong pseudo-label generator for weakly supervised semantic segmentation on PASCAL VOC 2012.
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.