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

Context Prior for Scene Segmentation

About

Recent works have widely explored the contextual dependencies to achieve more accurate segmentation results. However, most approaches rarely distinguish different types of contextual dependencies, which may pollute the scene understanding. In this work, we directly supervise the feature aggregation to distinguish the intra-class and inter-class context clearly. Specifically, we develop a Context Prior with the supervision of the Affinity Loss. Given an input image and corresponding ground truth, Affinity Loss constructs an ideal affinity map to supervise the learning of Context Prior. The learned Context Prior extracts the pixels belonging to the same category, while the reversed prior focuses on the pixels of different classes. Embedded into a conventional deep CNN, the proposed Context Prior Layer can selectively capture the intra-class and inter-class contextual dependencies, leading to robust feature representation. To validate the effectiveness, we design an effective Context Prior Network (CPNet). Extensive quantitative and qualitative evaluations demonstrate that the proposed model performs favorably against state-of-the-art semantic segmentation approaches. More specifically, our algorithm achieves 46.3% mIoU on ADE20K, 53.9% mIoU on PASCAL-Context, and 81.3% mIoU on Cityscapes. Code is available at https://git.io/ContextPrior.

Changqian Yu, Jingbo Wang, Changxin Gao, Gang Yu, Chunhua Shen, Nong Sang• 2020

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)
mIoU46.27
2731
Semantic segmentationCityscapes (test)
mIoU81.3
1145
Semantic segmentationPASCAL Context (val)
mIoU53.9
323
Semantic segmentationPascal Context (test)
mIoU53.9
176
Semantic segmentationPASCAL-Context 59 class (val)
mIoU53.9
125
Semantic segmentationPascal Context 59--
67
Semantic segmentationPASCAL-Context 60 classes (test)
mIoU53.9
54
Semantic segmentationPascal Context 60 classes (val)
mIoU53.9
11
Showing 8 of 8 rows

Other info

Code

Follow for update