Introduction
Few-shot segmentation (FSS) is a critical task in computer vision that requires a model to segment novel objects in a "query" image based on only a few labeled "support" examples. While traditional FSS has seen significant progress, it relies heavily on the availability of precise, pixel-level ground-truth masks for training. The labor-intensive and expensive nature of creating these masks has led to the emergence of Weakly-Supervised Few-Shot Segmentation (WS-FSS). In this paradigm, models are trained using only image-level category labels (e.g., "this image contains a car"), significantly reducing the annotation burden.
The primary challenge in WS-FSS is learning robust correlations between support and query images when the initial masks generated by the model are inherently noisy. This paper introduces CORENet (Correlation Enhancement Network), a framework designed to leverage the rich spatial and semantic priors of foundation models to overcome the limitations of weak supervision.
The CORENet Framework
CORENet addresses the noise in WS-FSS through three specialized modules that refine object detection and correlation learning without human-labeled masks.
1. Correlation-Guided Transformer (CGT)
The CGT module utilizes a pre-trained, self-supervised Vision Transformer (DINO) to extract robust structural features. Unlike traditional methods that treat backgrounds as a uniform entity, CGT employs Voronoi diagrams to divide the background into distinct regions, allowing for a more nuanced understanding of complex scenes. It calculates correlations from both local (pixel-to-pixel) and global (object-to-background) perspectives. To ensure high-quality correlation maps early in training, the authors implement a unique self-distillation loss, encouraging the model to converge on accurate spatial relationships.
2. Class-Guided Module (CGM)
To provide semantic grounding, CORENet incorporates CLIP, a foundation model trained on vast image-text pairs. By using text prompts such as "a photo of [class]," the CGM generates coarse attention maps. These maps act as a semantic filter, guiding the model to focus on relevant object areas and effectively suppressing background noise that might otherwise lead to false correlations.
3. Embedding-Guided Module (EGM)
Correlation calculations can sometimes lead to a loss of fine-grained spatial information. The EGM mitigates this by re-introducing the original image embeddings into the pipeline. This serves as a structural safety net, ensuring that the final segmentation masks maintain sharp boundaries and retain the intricate details of the original image.
Finally, the system employs Pixel-Adaptive Refinement (PAR) to iteratively clean its own generated pseudo-masks, facilitating a self-teaching process that improves accuracy over time.
Experimental Results
CORENet was evaluated on two primary benchmarks: PASCAL-5ⁱ and COCO-20ⁱ. The results demonstrate a significant leap in performance for weakly-supervised methods:
- PASCAL-5ⁱ: CORENet achieved a mean Intersection over Union (mIoU) of 47.2% for 1-shot and 47.5% for 5-shot tasks. This represents a substantial improvement over previous state-of-the-art weakly-supervised methods like CST, which reached 42.5%.
- COCO-20ⁱ: On this more challenging dataset featuring complex, multi-object scenes, CORENet reached 22.7% mIoU in the 1-shot setting, proving its generalizability.
Qualitative analysis shows that CORENet excels at capturing fine details—such as the specific limbs of an animal or the distinct edges of a vehicle—where previous weakly-supervised models often produced fragmented or "blobby" results.
Key Insights and Conclusion
The success of CORENet highlights the potential of foundation models as a source of "free" supervision. By combining the structural priors of DINO with the semantic guidance of CLIP, the model establishes a robust framework that can distinguish objects from diverse backgrounds without ever seeing a human-annotated mask during training.
While CORENet sets a new standard for WS-FSS, performance on highly cluttered datasets like COCO suggests that further research into background modeling and multi-object interaction is needed. Future work will likely explore more sophisticated ways to leverage zero-shot capabilities to further reduce, or entirely eliminate, the need for manual labeling in complex segmentation tasks.
Summary updated