ContrastMask: Contrastive Learning to Segment Every Thing

Xuehui Wang, Kai Zhao, Ruixin Zhang, Shouhong Ding, Yan Wang +1 more
3/18/2022
cs.CV
contrastive-ssl

Official code: huiserwang/ContrastMask (35 stars, Python, last commit 2022-05-01).

Abstract

Partially-supervised instance segmentation is a task which requests segmenting objects from novel unseen categories via learning on limited seen categories with annotated masks thus eliminating demands of heavy annotation burden. The key to addressing this task is to build an effective class-agnostic mask segmentation model.

Show full abstract

Unlike previous methods that learn such models only on seen categories, in this paper, we propose a new method, named ContrastMask, which learns a mask segmentation model on both seen and unseen categories under a unified pixel-level contrastive learning framework. In this framework, annotated masks of seen categories and pseudo masks of unseen categories serve as a prior for contrastive learning, where features from the mask regions (foreground) are pulled together, and are contrasted against those from the background, and vice versa. Through this framework, feature discrimination between foreground and background is largely improved, facilitating learning of the class-agnostic mask segmentation model. Exhaustive experiments on the COCO dataset demonstrate the superiority of our method, which outperforms previous state-of-the-arts.

View on arXivView PDF

Code Implementations(1)

Official code for "ContrastMask: Contrastive Learning to Segment Every Thing" (CVPR2022)

353Python, Jupyter NotebookMar 4, 20224 years ago

Similar Papers

Cite this paper

@article{wang2022contrastmask,
  title  = {ContrastMask: Contrastive Learning to Segment Every Thing},
  author = {Xuehui Wang and Kai Zhao and Ruixin Zhang and Shouhong Ding and Yan Wang and Wei Shen},
  year   = {2022},
  eprint = {2203.09775},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.09775}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.09775.svg)](https://codeofpaper.com/paper/2203.09775)

Discussion