Per-Pixel Classification is Not All You Need for Semantic Segmentation

Bowen Cheng, Alexander G. Schwing, Alexander Kirillov
7/13/2021
cs.CV

Official code: facebookresearch/MaskFormer (1,459 stars, last commit 2022-03-11).

Abstract

Modern approaches typically formulate semantic segmentation as a per-pixel classification task, while instance-level segmentation is handled with an alternative mask classification. Our key insight: mask classification is sufficiently general to solve both semantic- and instance-level segmentation tasks in a unified manner using the exact same model, loss, and training procedure. Following this observation, we propose MaskFormer, a simple mask classification model which predicts a set of binary masks, each associated with a single global class label prediction. Overall, the proposed mask classification-based method simplifies the landscape of effective approaches to semantic and panoptic segmentation tasks and shows excellent empirical results. In particular, we observe that MaskFormer outperforms per-pixel classification baselines when the number of classes is large. Our mask classification-based method outperforms both current state-of-the-art semantic (55.6 mIoU on ADE20K) and panoptic segmentation (52.7 PQ on COCO) models.

View on arXivView PDF

Code Implementations(1)

Per-Pixel Classification is Not All You Need for Semantic Segmentation (NeurIPS 2021, spotlight)

1,459156PythonJun 18, 20214 years agoNOASSERTION

Similar Papers

Cite this paper

@article{cheng2021perpixel,
  title  = {Per-Pixel Classification is Not All You Need for Semantic Segmentation},
  author = {Bowen Cheng and Alexander G. Schwing and Alexander Kirillov},
  year   = {2021},
  eprint = {2107.06278},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.06278}
}

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/2107.06278.svg)](https://codeofpaper.com/paper/2107.06278)

Discussion