Object-level Correlation for Few-Shot Segmentation

Chunlin Wen, Yu Zhang, Jie Fan, Hongyuan Zhu, Xiu-Shen Wei, Yijun Wang, Zhiqiang Kou, Shuzhou Sun

TL;DR

This paper introduces OCNet, a novel approach to few-shot semantic segmentation that moves beyond image-level correlations to focus on object-level correlations. By mimicking biological vision, OCNet effectively identifies target objects and suppresses background noise, achieving state-of-the-art results on benchmark datasets.

What Problem Does This Paper Address?

Semantic segmentation, the task of classifying each pixel in an image, typically requires vast amounts of pixel-level annotated data. This is a significant bottleneck for applications where data is scarce. Few-shot semantic segmentation (FSS) aims to address this by enabling models to segment novel object categories with only a few annotated examples (support images). Existing FSS methods often rely on image-level correlations between support and query images. However, this approach struggles with "hard pixel noise" – irrelevant background objects or even other novel objects in the scene – leading to misclassifications. The paper tackles the challenge of accurately segmenting target objects in the presence of such noise and multiple novel classes.

Methods

The core innovation of OCNet is its shift from image-level to object-level correlation. This is achieved through two main modules:

  • General Object Mining Module (GOMM): This module aims to identify "general objects" within the query image, which include both the target object and other salient objects. It leverages a combination of Class Activation Maps (CAM), high-level similarity cues, and cross-attention to generate a robust general object feature representation. The use of a moderately incomplete general object mask is argued to aid generalization.
  • Correlation Construction Module (CCM): This module establishes the object-level correlation. It first extracts rich support prototypes using multi-frequency pooling, distinguishing between foreground (target) and background prototypes. Then, it employs an Optimal Transport (OT) approach, guided by a prototype allocating mask, to model how support prototypes should align with the query general object features. This allows for precise matching of the target object while actively suppressing irrelevant background noise. The final object-level correlation is then fed into a decoder for prediction.

Datasets

The paper evaluates OCNet on two widely-used benchmark datasets for few-shot semantic segmentation:

  • PASCAL-5²: Built from PASCAL VOC 2012 with additional annotations.
  • COCO-20²: Constructed from MSCOCO dataset.

The standard cross-validation approach is used, where categories are split into training and testing folds to ensure generalization to unseen classes.

Key Insights and Ideas

  • Biological Vision Inspiration: The paper draws a strong parallel to how biological vision systems process information – first identifying salient regions (general objects) and then focusing attention based on task-specific cues (support object) – to guide the design of the FSS model.
  • Object-Level Correlation is Key: Moving beyond image-level correlations is crucial for handling "hard pixel noise" and accurately segmenting target objects, especially when multiple novel classes are present.
  • Foreground and Background Prototypes Complementary: Explicitly modeling both foreground and background prototypes in CCM is shown to be more effective than using only foreground prototypes, as background prototypes help suppress noise.
  • Moderately Incomplete Masks Aid Generalization: The paper suggests that using slightly imperfect general object masks can actually improve the model's ability to generalize and reconstruct object information.

Key Results

OCNet demonstrates state-of-the-art performance on both PASCAL-5² and COCO-20² datasets.

  • On PASCAL-5², OCNet achieves improvements of up to 1% in mean Intersection over Union (mIoU) compared to previous best results, using both VGG-16 and ResNet-50 backbones.
  • On COCO-20², OCNet achieves mIoU scores of 51.5% (1-shot) and 57.0% (5-shot) with a ResNet-50 backbone, surpassing existing methods.
  • Qualitative results show OCNet effectively segments target objects while suppressing background noise and irrelevant objects, outperforming baseline methods and BAM.

Limitations and Future Work

  • Limitations: The paper acknowledges that while the general object mask is improved, it can still be incomplete. The reliance on pre-trained backbones and the episodic meta-training paradigm are standard in FSS but represent inherent limitations of the field.
  • Future Work: The authors suggest that exploring further possibilities of object-level correlations in other few-shot scenarios is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{wen2025object,
  author = {Chunlin Wen and Yu Zhang and Jie Fan and Hongyuan Zhu and Xiu-Shen Wei and Yijun Wang and Zhiqiang Kou and Shuzhou Sun},
  title = {{Object-level Correlation for Few-Shot Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure