[Paper Review] Adaptive Prototype Learning and Allocation for Few-Shot Segmentation
This paper proposes ASGNet, a novel few-shot segmentation framework that uses superpixel-guided clustering (SGC) to learn multiple, adaptive prototypes from support images and guided prototype allocation (GPA) to dynamically assign the most relevant prototypes to query features. The method achieves state-of-the-art performance, surpassing prior methods by 5% in 5-shot COCO segmentation with no additional computational cost.
Prototype learning is extensively used for few-shot segmentation. Typically, a single prototype is obtained from the support feature by averaging the global object information. However, using one prototype to represent all the information may lead to ambiguities. In this paper, we propose two novel modules, named superpixel-guided clustering (SGC) and guided prototype allocation (GPA), for multiple prototype extraction and allocation. Specifically, SGC is a parameter-free and training-free approach, which extracts more representative prototypes by aggregating similar feature vectors, while GPA is able to select matched prototypes to provide more accurate guidance. By integrating the SGC and GPA together, we propose the Adaptive Superpixel-guided Network (ASGNet), which is a lightweight model and adapts to object scale and shape variation. In addition, our network can easily generalize to k-shot segmentation with substantial improvement and no additional computational cost. In particular, our evaluations on COCO demonstrate that ASGNet surpasses the state-of-the-art method by 5% in 5-shot segmentation.
Motivation & Objective
- To address the limitations of single-prototype methods in few-shot segmentation, which lose spatial and discriminative information due to global averaging.
- To enable content-adaptive prototype learning by dynamically adjusting the number and spatial extent of prototypes based on object scale and shape.
- To improve feature matching accuracy in query images by selectively allocating the most relevant prototypes using a similarity-aware mechanism.
- To develop a lightweight, generalizable model that performs well across k-shot settings without additional training or inference cost.
Proposed method
- Superpixel-guided clustering (SGC) performs feature-based superpixel segmentation on support features, using spatial and feature similarity to group pixels into adaptive regions that serve as multiple prototypes.
- The SGC module is parameter-free and training-free, leveraging superpixel centroids as representative prototypes that adapt to object shape and scale.
- Guided Prototype Allocation (GPA) uses cosine similarity to assign the most relevant prototype to each query feature pixel, enabling dynamic, context-aware prototype selection.
- The GPA mechanism acts as a lightweight attention module, prioritizing prototypes that best match visible parts of the object in the query image.
- ASGNet integrates SGC and GPA into a unified, lightweight architecture that maintains high performance across 1-shot and k-shot settings.
- The framework requires no post-processing and scales efficiently to k-shot segmentation with no additional computational cost.
Experimental results
Research questions
- RQ1Can multiple, adaptive prototypes improve few-shot segmentation performance compared to single-prototype methods?
- RQ2How can prototype learning be made spatially-aware and content-adaptive to object scale and shape variations?
- RQ3Can a lightweight, training-free module like SGC effectively extract representative prototypes without relying on learnable parameters?
- RQ4How does dynamic prototype allocation improve feature matching accuracy in the presence of occlusion or appearance variation?
- RQ5Can the proposed method generalize effectively to k-shot segmentation with no additional computational cost?
Key findings
- ASGNet achieves a 5.0% improvement in FB-IoU over the previous state-of-the-art on Pascal-5i in 5-shot segmentation, with a 5.05% increment over 1-shot results.
- On COCO-20i, ASGNet achieves a mean IoU of 42.48% in 5-shot segmentation, outperforming the prior SOTA method RPMMs by 6.96%.
- The model achieves 75.2% FB-IoU on Pascal-5i in 5-shot setting, surpassing the previous SOTA by 1.3 percentage points.
- ASGNet maintains a small parameter count (10.4M) while outperforming methods with significantly larger architectures, such as PFENet (10.8M) and PANet (14.7M).
- The ablation study confirms that both SGC and GPA contribute significantly to performance, with SGC enabling adaptive prototype generation and GPA improving matching accuracy.
- Qualitative results show robust segmentation under large appearance, pose, and occlusion variations, demonstrating strong generalization to unseen categories.
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.