Skip to main content
QUICK REVIEW

[Paper Review] Weak-shot Semantic Segmentation by Transferring Semantic Affinity and Boundary

Siyuan Zhou, Li Niu|arXiv (Cornell University)|Oct 4, 2021
Domain Adaptation and Few-Shot LearningComputer Science45 references6 citations
TL;DR

This paper proposes RETAB, a novel weak-shot semantic segmentation method that transfers class-agnostic semantic affinity and boundary knowledge from fully-annotated base categories to improve segmentation of novel categories using only image-level labels. By leveraging base-category pixel-level annotations to train a boundary network and a mixed-supervised affinity network, RETAB enhances class activation map (CAM) refinement via boundary-aware two-stage propagation, achieving state-of-the-art performance on PASCAL VOC 2012, with novel category mIoU reaching 83.7–97.5% of the fully-supervised upper bound.

ABSTRACT

Weakly-supervised semantic segmentation (WSSS) with image-level labels has been widely studied to relieve the annotation burden of the traditional segmentation task. In this paper, we show that existing fully-annotated base categories can help segment objects of novel categories with only image-level labels, even if base categories and novel categories have no overlap. We refer to this task as weak-shot semantic segmentation, which could also be treated as WSSS with auxiliary fully-annotated categories. Recent advanced WSSS methods usually obtain class activation maps (CAMs) and refine them by affinity propagation. Based on the observation that semantic affinity and boundary are class-agnostic, we propose a method under the WSSS framework to transfer semantic affinity and boundary from base to novel categories. As a result, we find that pixel-level annotation of base categories can facilitate affinity learning and propagation, leading to higher-quality CAMs of novel categories. Extensive experiments on PASCAL VOC 2012 dataset prove that our method significantly outperforms WSSS baselines on novel categories.

Motivation & Objective

  • To address the limitation of weakly supervised semantic segmentation (WSSS) in generalizing to novel categories without any pixel-level annotations.
  • To explore whether knowledge from fully-annotated base categories can improve segmentation performance for novel categories with only image-level supervision.
  • To propose a new paradigm—weak-shot semantic segmentation—where base-category annotations are used as auxiliary supervision to enhance novel category segmentation.
  • To develop a method that transfers class-agnostic semantic affinity and boundary information from base to novel categories to improve CAM refinement.

Proposed method

  • A boundary network is trained on base samples using ground-truth segmentation labels to predict semantic boundaries, which are used to identify confident and unconfident pixels for improved affinity learning.
  • An affinity network is trained in a mixed-supervised manner using ground-truth labels from base samples and CAMs from novel samples to learn semantic affinities between pixel pairs.
  • The method employs a two-stage propagation strategy that integrates learned semantic boundaries and affinities to refine initial CAMs, improving response expansion and boundary localization.
  • Confidence-aware affinity learning treats boundary pixels as unconfident and non-boundary pixels as confident, reducing noise in affinity estimation for novel categories.
  • Boundary-aware random walk propagation uses both transferred boundaries and learned affinities to generate more accurate pseudo-segmentation masks.
  • The framework is integrated into existing WSSS baselines (e.g., PSA, SEAM, CPN) by replacing standard random walk with RETAB’s two-stage propagation, preserving the original architecture.

Experimental results

Research questions

  • RQ1Can semantic affinity and boundary knowledge, which are class-agnostic, be effectively transferred from fully-annotated base categories to improve segmentation of novel categories with only image-level labels?
  • RQ2Does transferring boundary and affinity information from base categories lead to more accurate and boundary-aware CAM refinement for novel categories?
  • RQ3How does the proposed RETAB method compare to standard WSSS baselines and naive weak-shot baselines in terms of segmentation performance on novel categories?
  • RQ4To what extent can RETAB generalize to novel categories appearing in the background of base samples or with limited base-category annotations?

Key findings

  • RETAB significantly outperforms standard WSSS baselines on novel categories, achieving 83.7–97.5% of the fully-supervised upper bound (Fully Oracle) in mIoU on PASCAL VOC 2012.
  • The method recovers 97.7–100% of the fully-supervised performance on base categories, demonstrating effective knowledge transfer.
  • Visualizations show that RETAB-generated pseudo-segmentation masks better conform to object boundaries than standard random walk, especially in complex or fine-grained regions.
  • Ablation studies confirm that both boundary transfer and affinity learning contribute significantly to performance gains, with boundary-aware propagation being particularly effective.
  • RETAB generalizes well to novel categories in the background of base images, achieving improved performance with a simple self-training step.
  • The method remains effective even when only a small number of base samples are available, showing strong data efficiency for few-shot transfer.

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.