Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Universal Weakly Supervised Segmentation by Pixel-to-Segment Contrastive Learning

About

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.

Tsung-Wei Ke, Jyh-Jing Hwang, Stella X. Yu• 2021

Related benchmarks

TaskDatasetResultRank
Semantic segmentationPASCAL VOC 2012 (val)
Mean IoU77.3
2040
Semantic segmentationPASCAL VOC 2012 (test)
mIoU76.4
1342
Weakly supervised semantic segmentationPASCAL VOC 2012 (test)--
158
Weakly supervised semantic segmentationPASCAL VOC 2012 (val)--
154
Semantic segmentationPascal VOC 21 classes (val)
mIoU74.2
103
Semantic segmentationVOC 2012 (val)
mIoU69.5
67
Semantic segmentationPascal VOC Image Tags 2012 (test)
mIoU71.6
6
Semantic segmentationDensePose 2014 (minival)
mIoU44.2
2
Semantic segmentationPascal VOC Bounding Boxes 2012 (test)
mIoU0.747
1
Showing 9 of 9 rows

Other info

Code

Follow for update