Skip to main content
QUICK REVIEW

[Paper Review] Few-shot Semantic Segmentation with Self-supervision from Pseudo-classes

Yiwen Li, Gratianus Wesley Putra Data|arXiv (Cornell University)|Oct 22, 2021
Domain Adaptation and Few-Shot LearningComputer Science29 references9 citations
TL;DR

This paper proposes a self-supervised few-shot semantic segmentation method that generates pseudo-classes from high-activation superpixels in query image backgrounds to improve generalization on unseen classes. By training the model to distinguish these pseudo-classes from background, it achieves significant performance gains—up to 6.7% higher meanIoU on COCO 5-shot and 5.1% on PASCAL-5i 1-shot—especially improving segmentation accuracy in images with multiple object classes.

ABSTRACT

Despite the success of deep learning methods for semantic segmentation, few-shot semantic segmentation remains a challenging task due to the limited training data and the generalisation requirement for unseen classes. While recent progress has been particularly encouraging, we discover that existing methods tend to have poor performance in terms of meanIoU when query images contain other semantic classes besides the target class. To address this issue, we propose a novel self-supervised task that generates random pseudo-classes in the background of the query images, providing extra training data that would otherwise be unavailable when predicting individual target classes. To that end, we adopted superpixel segmentation for generating the pseudo-classes. With this extra supervision, we improved the meanIoU performance of the state-of-the-art method by 2.5% and 5.1% on the one-shot tasks, as well as 6.7% and 4.4% on the five-shot tasks, on the PASCAL-5i and COCO benchmarks, respectively.

Motivation & Objective

  • To address the performance drop in few-shot semantic segmentation when query images contain multiple object classes beyond the target class.
  • To mitigate the lack of background class supervision in existing few-shot segmentation methods that treat all non-target pixels as uniform background.
  • To improve model generalization by introducing self-supervised training signals from pseudo-classes derived from superpixel segmentation of query image backgrounds.
  • To demonstrate that learning to distinguish non-target classes enhances feature disentanglement and improves segmentation accuracy on unseen classes.
  • To validate the method's robustness to novel classes by masking test-class pixels during training, showing minimal performance drop.

Proposed method

  • The method generates pseudo-classes by identifying superpixels in the query image background with high activation scores from the feature map.
  • For each episode, a pseudo-class is formed from the top-5 superpixels with highest activation values, creating an additional image-mask pair for self-supervised training.
  • The self-supervised loss is scaled by a learnable hyperparameter α, which balances the pseudo-supervision with ground-truth supervision.
  • The model is trained using a combination of standard segmentation loss on the target class and the self-supervised loss on the pseudo-classes.
  • Superpixel segmentation is used to ensure spatial coherence and reduce over-segmentation artifacts compared to random pixel sampling.
  • The approach is architecture-agnostic and can be applied to any few-shot segmentation model, such as PFENet or PANet, by adding the self-supervision head.

Experimental results

Research questions

  • RQ1Does the presence of multiple object classes in query images degrade few-shot semantic segmentation performance, and if so, why?
  • RQ2Can self-supervised pseudo-classes derived from background superpixels improve model generalization to unseen classes in few-shot segmentation?
  • RQ3How does the choice of pseudo-class sampling strategy (e.g., top-1, top-5, random) affect performance and robustness?
  • RQ4To what extent does the model benefit from learning to distinguish non-target classes when those classes are not present in the support set?
  • RQ5Can the self-supervised signal generalize to completely novel classes not seen during training, even when their pixels are masked in the training data?

Key findings

  • The proposed method improved meanIoU by 5.1% on the PASCAL-5i 1-shot benchmark and 6.7% on the COCO 5-shot benchmark compared to the state-of-the-art PFENet.
  • The top-5 superpixel sampling strategy outperformed top-1 and random sampling, achieving 63.2% meanIoU on PASCAL-5i 1-shot with ResNet-50 PFENet.
  • Masking test-class pixels during training reduced performance by only 0.4% on PFENet, indicating strong generalization to unseen classes.
  • The optimal self-supervision loss scaling factor α was found to be 0.5, balancing pseudo-label inaccuracy with effective supervision.
  • The method mitigated performance imbalance across classes and improved feature disentanglement in the embedding space.
  • The ablation study confirmed that the improvement stems from better background representation learning, not from data leakage or overlap with test classes.

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.