[Paper Review] SAM as the Guide: Mastering Pseudo-Label Refinement in Semi-Supervised Referring Expression Segmentation
This paper proposes SemiRES, a semi-supervised referring expression segmentation framework that leverages Segment Anything Model (SAM) to refine noisy pseudo-labels, especially at object boundaries. By employing IoU-based Optimal Matching and Composite Parts Integration for mask selection, and Pixel-Wise Adjustment for uncertain cases, SemiRES achieves +18.64% mAP gain over supervised baselines using only 1% labeled data on RefCOCO.
In this paper, we introduce SemiRES, a semi-supervised framework that effectively leverages a combination of labeled and unlabeled data to perform RES. A significant hurdle in applying semi-supervised techniques to RES is the prevalence of noisy pseudo-labels, particularly at the boundaries of objects. SemiRES incorporates the Segment Anything Model (SAM), renowned for its precise boundary demarcation, to improve the accuracy of these pseudo-labels. Within SemiRES, we offer two alternative matching strategies: IoU-based Optimal Matching (IOM) and Composite Parts Integration (CPI). These strategies are designed to extract the most accurate masks from SAM's output, thus guiding the training of the student model with enhanced precision. In instances where a precise mask cannot be matched from the available candidates, we develop the Pixel-Wise Adjustment (PWA) strategy, guiding the student model's training directly by the pseudo-labels. Extensive experiments on three RES benchmarks--RefCOCO, RefCOCO+, and G-Ref reveal its superior performance compared to fully supervised methods. Remarkably, with only 1% labeled data, our SemiRES outperforms the supervised baseline by a large margin, e.g. +18.64% gains on RefCOCO val set. The project code is available at \url{https://github.com/nini0919/SemiRES}.
Motivation & Objective
- Address the high annotation cost of referring expression segmentation (RES) by enabling semi-supervised learning with limited labeled data.
- Overcome the challenge of noisy and imprecise pseudo-labels, particularly at object boundaries, which degrade model performance.
- Leverage the strong zero-shot generalization of Segment Anything Model (SAM) to improve pseudo-label quality without requiring fine-tuning.
- Develop a flexible framework that combines multiple refinement strategies to maximize performance across diverse referring expressions.
- Demonstrate the effectiveness of SAM-guided pseudo-label refinement in low-data regimes, reducing dependency on expensive human annotations.
Proposed method
- Construct a proposal library by generating multi-scale masks from original images using the pre-trained Segment Anything Model (SAM).
- Apply IoU-based Optimal Matching (IOM) to directly select the most similar mask from the SAM-generated library to replace noisy pseudo-labels.
- Implement Composite Parts Integration (CPI) to assemble a complete, accurate mask by combining multiple part-specific proposals from the SAM library.
- When no suitable SAM mask matches the pseudo-label, default to training with the original pseudo-label and apply Pixel-Wise Adjustment (PWA) to reweight loss per pixel based on confidence.
- Integrate mutual learning training (MLT), data augmentation (DA), and the above components into a unified training pipeline to enhance robustness and generalization.
- Use thresholded matching criteria (IoU ≥ 0.5 for IOM, intersection thresholds of 0.7 for CPI) to balance precision and recall in mask retrieval.
Experimental results
Research questions
- RQ1Can SAM be effectively leveraged to refine noisy pseudo-labels in semi-supervised referring expression segmentation, especially at object boundaries?
- RQ2How do different matching strategies—IoU-based Optimal Matching and Composite Parts Integration—compare in reconstructing accurate masks from SAM outputs?
- RQ3What is the impact of Pixel-Wise Adjustment (PWA) on model convergence and performance when SAM cannot provide a suitable mask match?
- RQ4To what extent does the proposed framework reduce reliance on labeled data while maintaining or surpassing supervised performance?
- RQ5How do the individual components (e.g., SAM matching, PWA, data augmentation) contribute to the overall performance gain in low-shot settings?
Key findings
- SemiRES achieves 50.90% mAP on the 1% labeled RefCOCO validation set, representing a +18.64% improvement over the supervised baseline (32.26%).
- On the full RefCOCO test set, SemiRES achieves 57.54% mAP, outperforming the supervised baseline by 21.83 percentage points.
- The ablation study shows that SAM-based pseudo-label refinement alone contributes a 7.34% performance gain (from 42.62% to 49.96%) when replacing the baseline.
- The combination of all components—including mutual learning, data augmentation, PWA, and SAM refinement—achieves the highest performance (50.90% mAP on RefCOCO val).
- Qualitative results demonstrate that SemiRES successfully corrects localization errors in both supervised and baseline models, particularly for complex phrases like 'far right' or 'smile'.
- The method achieves superior performance on three benchmarks—RefCOCO, RefCOCO+, and G-Ref—confirming its generalization across diverse datasets and referring expression types.
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.