Beyond Mask: Rethinking Guidance Types in Few-shot Segmentation
Shijie Chang, Youwei Pang, Xiaoqi Zhao, Lihe Zhang, Huchuan Lu
TL;DR
This work reframes few-shot segmentation by systematically analyzing seven guidance patterns and introducing UniFSS, a universal vision-language framework that fuses visual and textual cues via CLIP embeddings. Its four core components—Visual-Textual Correlation (VTC), High-level Spatial Correction (HSCU), Multi-Scale Correlation Aggregation (MSCA), and a Cross-modal Decoder with Embedding Interactive Unit (EIU)—enable robust cross-modal matching across image, mask, box, and text guidance. Empirical results on PASCAL-$5^i$, COCO-$20^i$, FSS-1000, and iSAID-$5^i$ demonstrate state-of-the-art performance across seven task patterns, with weakly supervised box guidance sometimes surpassing finely annotated masks. The approach highlights the practical value of flexible, multi-granularity prompts and lays groundwork for unified, prompt-driven segmentation models with broad applicability.
Abstract
Existing few-shot segmentation (FSS) methods mainly focus on prototype feature generation and the query-support matching mechanism. As a crucial prompt for generating prototype features, the pair of image-mask types in the support set has become the default setting. However, various types such as image, text, box, and mask all can provide valuable information regarding the objects in context, class, localization, and shape appearance. Existing work focuses on specific combinations of guidance, leading FSS into different research branches. Rethinking guidance types in FSS is expected to explore the efficient joint representation of the coupling between the support set and query set, giving rise to research trends in the weakly or strongly annotated guidance to meet the customized requirements of practical users. In this work, we provide the generalized FSS with seven guidance paradigms and develop a universal vision-language framework (UniFSS) to integrate prompts from text, mask, box, and image. Leveraging the advantages of large-scale pre-training vision-language models in textual and visual embeddings, UniFSS proposes high-level spatial correction and embedding interactive units to overcome the semantic ambiguity drawbacks typically encountered by pure visual matching methods when facing intra-class appearance diversities. Extensive experiments show that UniFSS significantly outperforms the state-of-the-art methods. Notably, the weakly annotated class-aware box paradigm even surpasses the finely annotated mask paradigm.
