Abstract
Few-shot segmentation (FSS) remains a challenging task due to the inherent difficulty of generalizing to unseen categories with limited supervision. This paper identifies two primary bottlenecks in existing FSS frameworks: object scale variance and information dilution during the decoding process. To address these, we present a novel framework featuring a Rich Prototype Generation Module (RPGM) and a Recurrent Prediction Enhancement Module (RPEM). RPGM leverages dual clustering strategies to capture diverse geometric representations, while RPEM introduces a parameter-free feedback loop to iteratively refine segmentation masks. Experimental results on PASCAL-5$^i$ and COCO-20$^i$ demonstrate that our approach achieves state-of-the-art performance, effectively bridging the gap between support and query features.
Introduction
Semantic segmentation has seen remarkable progress with the advent of deep convolutional neural networks and large-scale datasets. However, the requirement for dense pixel-level annotations makes scaling to new categories expensive. Few-shot segmentation (FSS) aims to alleviate this by learning to segment novel classes using only a few annotated support images.
Despite recent advancements, two significant challenges persist. First, scale mismatch occurs when the size of the target object in the support image differs significantly from its counterpart in the query image. Conventional methods often rely on a single prototype, which fails to capture the multi-scale nature of objects. Second, information dilution occurs in standard "one-way" feed-forward decoders, where the specific features of the target object are progressively lost or "washed out" as they pass through the network layers.
Methodology
The proposed framework introduces two key modules designed to enhance the robustness and precision of FSS.
Rich Prototype Generation Module (RPGM)
To address the scale mismatch problem, the RPGM moves beyond single-prototype representations. It employs a dual-clustering strategy to generate a "rich" set of prototypes that capture both local structural details and global statistical properties:
- Superpixel-guided Clustering (SGC): This method generates a variable number of prototypes based on the local spatial structure of the image, ensuring that fine-grained details are preserved.
- K-means Clustering (KMC): This approach generates a fixed number of prototypes, providing a stable statistical summary of the object features regardless of the object's size.
By concatenating the outputs of SGC and KMC, the model constructs a comprehensive feature set that reduces the geometric "scale gap" between the support and query images.
Recurrent Prediction Enhancement Module (RPEM)
To mitigate information dilution, the RPEM replaces the traditional linear decoder with a "round-way" feedback mechanism. This module is notably parameter-free, allowing it to be integrated into existing architectures without increasing the model's size. It consists of two components:
- Multi-scale Iterative Enhancement (MSIE): This component extracts multi-level spatial information from the previous iteration's prediction to guide the current step.
- Query Self-contrast Enhancement (QSCE): QSCE uses the current prediction to generate a "pseudo-mask" and a corresponding query prototype. It then calculates the similarity between this prototype and the query features to refine the segmentation boundaries.
This recurrent process allows the model to iteratively "polish" the mask, filling in missing foreground regions and filtering out background noise.
Experimental Evaluation
The framework was evaluated on two standard benchmarks: PASCAL-5$^i$ and COCO-20$^i$.
Quantitative Results
The proposed method demonstrates superior performance over previous state-of-the-art models like ASGNet and PFENet.
- PASCAL-5$^i$: Using a ResNet-101 backbone, the model achieved a mean Intersection over Union (mIoU) of 60.94% in the 1-shot setting and 67.17% in the 5-shot setting. This represents a 2.81% improvement over the baseline in the 5-shot scenario.
- COCO-20$^i$: On the more complex COCO dataset, the model reached 35.93% (1-shot) and 43.73% (5-shot) mIoU, consistently outperforming competitors across various test folds.
Qualitative Analysis
Visual inspections confirm that the recurrent refinement process significantly improves the capture of fine details. The model is particularly effective at segmenting thin or complex structures, such as the legs of a chair or the neck of a bottle, which are often lost in one-way decoding architectures.
Discussion and Conclusion
This research highlights the importance of prototype diversity and iterative refinement in few-shot learning. By combining structural and statistical clustering, the RPGM provides a more robust reference for the model. Simultaneously, the RPEM demonstrates that a parameter-efficient feedback loop can significantly enhance prediction quality by re-examining features.
However, the study notes that the benefits of recurrence are not infinite; performance typically peaks at four iterations (n=4), after which the model may begin to "over-refine" and drift from the original features. Future research could explore adaptive stopping criteria to optimize the number of iterations dynamically based on the image complexity.
Summary updated