Skip to main content
QUICK REVIEW

[Paper Review] Generalized Few-Shot Semantic Segmentation: All You Need is Fine-Tuning

Josh Myers-Dean, Yinan Zhao|arXiv (Cornell University)|Dec 21, 2021
Domain Adaptation and Few-Shot LearningComputer Science8 citations
TL;DR

This paper proposes a simple two-stage fine-tuning approach for generalized few-shot semantic segmentation, demonstrating that fine-tuning the classifier head while freezing feature extractors achieves state-of-the-art performance on PASCAL-5i and COCO-20i. It further shows that triplet loss regularization improves performance balance between base and novel classes, eliminating performance saturation seen in prior meta-learning methods.

ABSTRACT

Generalized few-shot semantic segmentation was introduced to move beyond only evaluating few-shot segmentation models on novel classes to include testing their ability to remember base classes. While the current state-of-the-art approach is based on meta-learning, it performs poorly and saturates in learning after observing only a few shots. We propose the first fine-tuning solution, and demonstrate that it addresses the saturation problem while achieving state-of-the-art results on two datasets, PASCAL-5i and COCO-20i. We also show that it outperforms existing methods, whether fine-tuning multiple final layers or only the final layer. Finally, we present a triplet loss regularization that shows how to redistribute the balance of performance between novel and base categories so that there is a smaller gap between them.

Motivation & Objective

  • To address the performance saturation and poor generalization of existing meta-learning-based generalized few-shot semantic segmentation models.
  • To investigate whether fine-tuning, successful in other few-shot learning tasks, can be effective in generalized few-shot semantic segmentation.
  • To evaluate the impact of fine-tuning different network components (e.g., only the final layer vs. all layers) on model performance.
  • To explore whether triplet loss regularization can rebalance performance between base and novel categories.
  • To establish a new state-of-the-art baseline for generalized few-shot semantic segmentation using simple, scalable fine-tuning.

Proposed method

  • The method uses a two-stage training process: first pre-training on base classes with abundant annotations, then fine-tuning on both base and novel classes using few-shot support sets.
  • During fine-tuning, all layers before the classifier are frozen, and only the classifier head is updated using support-set annotations.
  • The approach evaluates two variants: fine-tuning only the final layer (Ours-Vanilla) and fine-tuning all layers after the backbone (Ours-TripletAll).
  • A triplet loss is introduced to explicitly model similarity and dissimilarity between pixel features, improving feature discrimination for both base and novel classes.
  • The triplet loss is applied during fine-tuning to encourage feature embeddings of the same class to be closer than those of different classes.
  • Performance is evaluated using mean Intersection over Union (mIoU) on PASCAL-5i and COCO-20i across 1, 5, 10, and 100-shot settings.

Experimental results

Research questions

  • RQ1Can a simple fine-tuning approach outperform the state-of-the-art meta-learning method in generalized few-shot semantic segmentation?
  • RQ2Does fine-tuning only the final classifier layer or all layers after the backbone yield better performance?
  • RQ3Can triplet loss regularization improve the balance of performance between base and novel categories?
  • RQ4Does performance saturation occur with increasing shot numbers in fine-tuned models, as seen in meta-learning baselines?
  • RQ5How does the ratio of base to novel classes during training affect model generalization and performance balance?

Key findings

  • The proposed fine-tuning approach achieves new state-of-the-art mIoU on both PASCAL-5i and COCO-20i, outperforming the prior meta-learning baseline GFS-Seg.
  • The method shows no performance saturation, with mIoU increasing steadily from 1 to 10 shots, unlike GFS-Seg which shows only a 0.3 percentage point gain.
  • Fine-tuning all layers after the backbone (Ours-TripletAll) yields better performance than fine-tuning only the final layer, especially in balancing base and novel class performance.
  • The triplet loss regularization reduces the performance gap between base and novel classes, improving mIoU on novel categories while maintaining strong base class performance.
  • Using cosine similarity for contrastive learning (Ours-Cosine) leads to a 1.04 and 5.39 percentage point drop in total mIoU at 5 and 10 shots, respectively, compared to the vanilla fine-tuning baseline.
  • Performance degrades with higher ratios of novel classes, primarily due to reduced base class performance, indicating sensitivity to class distribution during training.

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.