Skip to main content
QUICK REVIEW

[Paper Review] Self-Guided and Cross-Guided Learning for Few-Shot Segmentation

Bingfeng Zhang, Jimin Xiao|arXiv (Cornell University)|Mar 30, 2021
Domain Adaptation and Few-Shot LearningComputer Science39 references10 citations
TL;DR

This paper proposes Self-Guided and Cross-Guided Learning (SCL), a novel framework for few-shot image segmentation that mitigates information loss from masked Global Average Pooling (GAP) by introducing a self-guided module to extract primary and auxiliary support vectors from annotated support images. It further introduces a cross-guided module for multi-shot segmentation that adaptively fuses predictions based on support image quality, achieving state-of-the-art performance on PASCAL-5i (61.8% mIoU for 1-shot, 62.9% for 5-shot) and COCO-20i (37.0% for 1-shot, 39.9% for 5-shot).

ABSTRACT

Few-shot segmentation has been attracting a lot of attention due to its effectiveness to segment unseen object classes with a few annotated samples. Most existing approaches use masked Global Average Pooling (GAP) to encode an annotated support image to a feature vector to facilitate query image segmentation. However, this pipeline unavoidably loses some discriminative information due to the average operation. In this paper, we propose a simple but effective self-guided learning approach, where the lost critical information is mined. Specifically, through making an initial prediction for the annotated support image, the covered and uncovered foreground regions are encoded to the primary and auxiliary support vectors using masked GAP, respectively. By aggregating both primary and auxiliary support vectors, better segmentation performances are obtained on query images. Enlightened by our self-guided module for 1-shot segmentation, we propose a cross-guided module for multiple shot segmentation, where the final mask is fused using predictions from multiple annotated samples with high-quality support vectors contributing more and vice versa. This module improves the final prediction in the inference stage without re-training. Extensive experiments show that our approach achieves new state-of-the-art performances on both PASCAL-5i and COCO-20i datasets.

Motivation & Objective

  • Address the critical limitation of masked Global Average Pooling (GAP) in few-shot segmentation, which discards discriminative information due to averaging.
  • Overcome the performance drop in 1-shot segmentation when using standard GAP by mining lost foreground information through a self-guided mechanism.
  • Improve multi-shot segmentation by enabling adaptive fusion of multiple support image predictions, where higher-quality predictions contribute more.
  • Design a cross-guided module that enhances inference-time performance without requiring model retraining or architectural changes.
  • Achieve state-of-the-art results across standard few-shot segmentation benchmarks, demonstrating generalization across different baselines.

Proposed method

  • Propose a Self-Guided Module (SGM) that performs an initial prediction on the support image using a prototype, then uses masked GAP to extract both primary (covered) and auxiliary (uncovered) foreground feature vectors.
  • Train the SGM using two cross-entropy losses: $\mathcal{L}_{ce}^{s1}$ to supervise the initial prediction and $\mathcal{L}_{ce}^{s2}$ to refine the auxiliary vector by treating the support image as a query.
  • Aggregate both primary and auxiliary support vectors during inference to improve query image segmentation beyond standard GAP-based prototypes.
  • Introduce a Cross-Guided Module (CGM) that evaluates prediction quality from each support image using other support images as a reference during inference.
  • Apply a weighted fusion strategy in inference where predictions from higher-quality support images are given greater contribution, without retraining the model.
  • Use the combined support vectors from SGM as input to the query network, enabling richer feature aggregation for improved segmentation.

Experimental results

Research questions

  • RQ1Can we recover discriminative information lost during masked GAP in few-shot segmentation by leveraging initial predictions on the support image?
  • RQ2How can we effectively represent both covered and uncovered foreground regions in a support image to improve segmentation accuracy?
  • RQ3Does a dynamic, quality-aware fusion of multiple support image predictions in multi-shot segmentation outperform simple averaging?
  • RQ4Can a post-inference module improve segmentation performance without retraining the model or modifying its architecture?
  • RQ5To what extent can the proposed SGM and CGM improve state-of-the-art performance on standard few-shot segmentation benchmarks?

Key findings

  • The proposed Self-Guided Module (SGM) improves 1-shot segmentation mIoU by 2.1% and FB-IoU by 4.1% over the baseline using only the initial support vector.
  • On PASCAL-5i, the full SCL framework achieves 59.2% mIoU for 5-shot segmentation, a 3.3% improvement over the baseline using average fusion.
  • The Cross-Guided Module (CGM) increases mIoU by 0.5% over average fusion when combined with SGM, demonstrating its effectiveness in inference-time refinement.
  • Using both $v_{pri}$ and $v_{aux}$ vectors together in SGM yields 57.5% mIoU, significantly outperforming individual use or baseline, proving their complementary nature.
  • The ablation study confirms that $\mathcal{L}_{ce}^{s1}$ and $\mathcal{L}_{ce}^{s2}$ are both essential: using only one leads to a 1.9% drop in mIoU compared to using both.
  • The method achieves new state-of-the-art results on PASCAL-5i (61.8% mIoU for 1-shot, 62.9% for 5-shot) and COCO-20i (37.0% for 1-shot, 39.9% for 5-shot), with no retraining required during inference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.