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

Simpler is Better: Few-shot Semantic Segmentation with Classifier Weight Transformer

About

A few-shot semantic segmentation model is typically composed of a CNN encoder, a CNN decoder and a simple classifier (separating foreground and background pixels). Most existing methods meta-learn all three model components for fast adaptation to a new class. However, given that as few as a single support set image is available, effective model adaption of all three components to the new class is extremely challenging. In this work we propose to simplify the meta-learning task by focusing solely on the simplest component, the classifier, whilst leaving the encoder and decoder to pre-training. We hypothesize that if we pre-train an off-the-shelf segmentation model over a set of diverse training classes with sufficient annotations, the encoder and decoder can capture rich discriminative features applicable for any unseen classes, rendering the subsequent meta-learning stage unnecessary. For the classifier meta-learning, we introduce a Classifier Weight Transformer (CWT) designed to dynamically adapt the supportset trained classifier's weights to each query image in an inductive way. Extensive experiments on two standard benchmarks show that despite its simplicity, our method outperforms the state-of-the-art alternatives, often by a large margin.Code is available on https://github.com/zhiheLu/CWT-for-FSS.

Zhihe Lu, Sen He, Xiatian Zhu, Li Zhang, Yi-Zhe Song, Tao Xiang• 2021

Related benchmarks

TaskDatasetResultRank
Few-shot SegmentationPASCAL-5i
mIoU (Fold 0)62.6
325
Few-shot Semantic SegmentationPASCAL-5^i (test)
FB-IoU63.7
177
Semantic segmentationCOCO-20i
mIoU (Mean)45.8
132
Few-shot Semantic SegmentationCOCO-20i
mIoU42
115
Semantic segmentationPASCAL-5i
Mean mIoU64.7
111
Few-shot Semantic SegmentationPASCAL-5i
mIoU64.7
96
Few-shot Semantic SegmentationCOCO 5-shot 20i
mIoU42
85
Few-shot Semantic SegmentationCOCO-20i (test)--
79
Few-shot Semantic SegmentationCOCO 20i 1-shot
mIoU (Overall)32.9
77
Semantic segmentationPASCAL-5^i Fold-2
mIoU68.8
75
Showing 10 of 28 rows

Other info

Code

Follow for update