Skip to main content
QUICK REVIEW

[Paper Review] Universal Weakly Supervised Segmentation by Pixel-to-Segment Contrastive Learning

Tsung-Wei Ke, Jyh-Jing Hwang|arXiv (Cornell University)|May 3, 2021
Domain Adaptation and Few-Shot LearningComputer Science53 references36 citations
TL;DR

The paper formulates weakly supervised segmentation as semi-supervised pixel-wise metric learning and introduces four pixel-to-segment contrastive relations to learn universal features from partial annotations, achieving strong gains on Pascal VOC and DensePose.

ABSTRACT

Weakly supervised segmentation requires assigning a label to every pixel based on training instances with partial annotations such as image-level tags, object bounding boxes, labeled points and scribbles. This task is challenging, as coarse annotations (tags, boxes) lack precise pixel localization whereas sparse annotations (points, scribbles) lack broad region coverage. Existing methods tackle these two types of weak supervision differently: Class activation maps are used to localize coarse labels and iteratively refine the segmentation model, whereas conditional random fields are used to propagate sparse labels to the entire image. We formulate weakly supervised segmentation as a semi-supervised metric learning problem, where pixels of the same (different) semantics need to be mapped to the same (distinctive) features. We propose 4 types of contrastive relationships between pixels and segments in the feature space, capturing low-level image similarity, semantic annotation, co-occurrence, and feature affinity They act as priors; the pixel-wise feature can be learned from training images with any partial annotations in a data-driven fashion. In particular, unlabeled pixels in training images participate not only in data-driven grouping within each image, but also in discriminative feature learning within and across images. We deliver a universal weakly supervised segmenter with significant gains on Pascal VOC and DensePose. Our code is publicly available at https://github.com/twke18/SPML.

Motivation & Objective

  • Motivate learning a semantic segmenter from partially labeled training images (tags, boxes, points, scribbles).
  • Propagate and refine pixel-level semantics via a unified contrastive learning framework that uses unlabeled data effectively.
  • Extend a discriminative, non-parametric SegSort-based approach to weak supervision.
  • Demonstrate consistent gains over SOTA on Pascal VOC and DensePose across annotation types.

Proposed method

  • Frame weakly supervised segmentation as semi-supervised pixel-wise metric learning.
  • Propose four pixel-to-segment contrastive relationships: low-level image similarity, semantic annotation, semantic co-occurrence, and feature affinity.
  • Define positive/negative segment sets per pixel using these relations and expand supervision beyond labeled pixels.
  • Optimize a unified pixel-wise contrastive loss L(i) that aggregates four terms with weights λI, λC, λO, λA.
  • Leverage unlabeled pixels and segments during training to learn discriminative, cross-image feature structures.

Experimental results

Research questions

  • RQ1Can a single pixel-to-segment contrastive framework handle all forms of weak supervision (tags, boxes, points, scribbles) in semantic segmentation?
  • RQ2Do unlabeled pixels and segments contribute meaningfully to learning via multiple relation-based priors?
  • RQ3How does the proposed SPML approach perform compared with SOTA under different weak supervision settings on standard datasets?
  • RQ4Is the learned feature space effectively discriminative within and across images for accurate segmentation?

Key findings

  • SPML achieves state-of-the-art or strong gains on Pascal VOC for image tags (+4.4% without saliency, +5.1% without saliency) and bounding boxes (+3.2%).
  • For scribble supervision on Pascal VOC, SPML attains 74.2% mIoU on validation and 76.1% on test, reaching 97.5% and 98.4% of full supervision, respectively.
  • On DensePose with point supervision, SPML reaches 77.1% WvF and 44.2 mIoU, outperforming the prior baseline by 12.9% mIoU (to 77.1% WvF).
  • SPML demonstrates robustness across annotation sparsity, maintaining high fractions of full-supervision performance as supervision becomes sparser (e.g., from scribbles to points).
  • Qualitative results show better alignment with region boundaries and improved visual similarity to fully supervised methods, with improvements growing as more regularization relations are added.

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.