Introduction
Few-Shot Segmentation (FSS) aims to segment novel object categories in a query image using only a few annotated support examples. Traditional approaches have focused on engineering complex matching modules to bridge support and query features. However, these methods often rely on backbones pre-trained for image classification, which may prioritize high-level category labels over the fine-grained spatial correspondences essential for segmentation. This study shifts the focus toward the choice of pre-trained backbones, demonstrating that leveraging the implicit knowledge in foundation models like DINOv2 and DFN can yield significant performance gains with a remarkably simple architecture.
Methodology: Harnessing Implicit Knowledge
The authors propose a streamlined framework that prioritizes high-quality feature extraction over architectural complexity.
The framework consists of four main components:
- Implicit Knowledge Extraction: The model computes 4D similarity maps via cosine similarity between query features and masked support features. Additionally, it extracts "vision-language" knowledge by measuring the similarity between visual features and textual embeddings of the target category name.
- Foundation Model Selection: A systematic evaluation of various models—including DINOv2, MAE, CLIP, SigLIP, and DFN—was conducted to identify the most effective sources of implicit knowledge.
- Knowledge Fusion: An "early fusion" strategy is employed, where 2D textual activation maps are broadcasted and concatenated with 4D vision similarity maps, outperforming traditional late-stage fusion.
- Lightweight Knowledge Decoder: To process the fused knowledge, the authors introduce a Depth-wise Separable 4D Convolution Module (DSCM). This decoder is highly efficient, containing only 0.6M learnable parameters, yet it effectively refines coarse correspondences into precise segmentation masks.
Key Insights: The Superiority of DINOv2 and DFN
The empirical study reveals several critical insights into the behavior of foundation models in FSS:
- DINOv2 for Localization: Features from DINOv2, trained via self-supervision, are far superior for localization tasks compared to those from MAE or classification-trained ViTs. The study found that even the last layer of DINOv2 can accurately locate targets with minimal additional processing.
- DFN for Clean VL Knowledge: Among vision-language models, the Deep Filtering Network (DFN) provided the most accurate and noise-free target localization, likely due to its cleaner training data.
- Feature Quality vs. Architecture: A simple decoder paired with powerful foundation model features consistently outperforms parameter-heavy architectures paired with weaker classification-based features.
Experimental Results
The framework was evaluated on the standard PASCAL-5i and the more challenging COCO-20i benchmarks.
As shown in the results table, the combination of DINOv2 and DFN achieves state-of-the-art performance. On the COCO-20i 1-shot task, it reaches a 58.5 mIoU, representing a 17.5% relative improvement over the previous best method, UniFSS. Notably, this performance is achieved with only 0.6 million learnable parameters, a fraction of the 8.1M required by UniFSS. The results also indicate that this framework scales more effectively from 1-shot to 5-shot settings than previous methods.
Conclusion and Future Work
This research demonstrates that the bottleneck in Few-Shot Segmentation often lies in the backbone's pre-training rather than the matching module's complexity. By utilizing the rich, implicit knowledge within modern foundation models, high-performance FSS can be achieved with lightweight decoders.
While the decoder is parameter-efficient, the computational cost of 4D convolutions remains a consideration for real-time applications. Future work may explore more efficient ways to harness foundation model knowledge or adapt these techniques to specialized domains like medical imaging. Ultimately, this study encourages a shift in the FSS community toward better utilization of foundation model features.
Summary updated