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

Generalized Few-shot Semantic Segmentation

About

Training semantic segmentation models requires a large amount of finely annotated data, making it hard to quickly adapt to novel classes not satisfying this condition. Few-Shot Segmentation (FS-Seg) tackles this problem with many constraints. In this paper, we introduce a new benchmark, called Generalized Few-Shot Semantic Segmentation (GFS-Seg), to analyze the generalization ability of simultaneously segmenting the novel categories with very few examples and the base categories with sufficient examples. It is the first study showing that previous representative state-of-the-art FS-Seg methods fall short in GFS-Seg and the performance discrepancy mainly comes from the constrained setting of FS-Seg. To make GFS-Seg tractable, we set up a GFS-Seg baseline that achieves decent performance without structural change on the original model. Then, since context is essential for semantic segmentation, we propose the Context-Aware Prototype Learning (CAPL) that significantly improves performance by 1) leveraging the co-occurrence prior knowledge from support samples, and 2) dynamically enriching contextual information to the classifier, conditioned on the content of each query image. Both two contributions are experimentally shown to have substantial practical merit. Extensive experiments on Pascal-VOC and COCO manifest the effectiveness of CAPL, and CAPL generalizes well to FS-Seg by achieving competitive performance. Code is available at https://github.com/dvlab-research/GFS-Seg.

Zhuotao Tian, Xin Lai, Li Jiang, Shu Liu, Michelle Shu, Hengshuang Zhao, Jiaya Jia• 2020

Related benchmarks

TaskDatasetResultRank
Semantic segmentationCOCO-20i
mIoU (Mean)50.4
132
Few-shot Semantic SegmentationCOCO-20i (test)--
79
Few-shot Semantic SegmentationPASCAL-5i (test)
5-Shot mIoU68.9
65
Semantic segmentationPASCAL-5 i (val)
Mean mIoU68.9
45
Few-shot SegmentationPascal VOC
mIoU68.9
40
Few-shot Semantic SegmentationPASCAL-5^i 1-shot
mIoU41.13
37
Few-shot SegmentationMS-COCO
mIoU50.4
36
Generalized Few-Shot Semantic SegmentationPASCAL-5^i (test)
Base mIoU65.43
34
Generalized Few-Shot Semantic SegmentationPASCAL-5 i (val)
Average Base mIoU66.14
22
Generalized Few-Shot Semantic SegmentationCOCO 20^i (test)
Base mIoU0.4371
19
Showing 10 of 22 rows

Other info

Code

Follow for update