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

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

About

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.

Bowen Cheng, Alexander G. Schwing, Alexander Kirillov• 2021

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)
mIoU55.6
2731
Instance SegmentationCOCO 2017 (val)--
1144
Semantic segmentationADE20K
mIoU46.7
936
Semantic segmentationCityscapes
mIoU78.5
578
Semantic segmentationCityscapes (val)
mIoU79.7
572
Semantic segmentationCityscapes (val)
mIoU80.3
332
Semantic segmentationPASCAL Context (val)
mIoU53.7
323
Panoptic SegmentationCOCO (val)
PQ52.7
219
Semantic segmentationCOCO Stuff
mIoU41.9
195
Semantic segmentationCoco-Stuff (test)
mIoU33.8
184
Showing 10 of 63 rows

Other info

Code

Follow for update