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

Few-Shot Segmentation Without Meta-Learning: A Good Transductive Inference Is All You Need?

About

We show that the way inference is performed in few-shot segmentation tasks has a substantial effect on performances -- an aspect often overlooked in the literature in favor of the meta-learning paradigm. We introduce a transductive inference for a given query image, leveraging the statistics of its unlabeled pixels, by optimizing a new loss containing three complementary terms: i) the cross-entropy on the labeled support pixels; ii) the Shannon entropy of the posteriors on the unlabeled query-image pixels; and iii) a global KL-divergence regularizer based on the proportion of the predicted foreground. As our inference uses a simple linear classifier of the extracted features, its computational load is comparable to inductive inference and can be used on top of any base training. Foregoing episodic training and using only standard cross-entropy training on the base classes, our inference yields competitive performances on standard benchmarks in the 1-shot scenarios. As the number of available shots increases, the gap in performances widens: on PASCAL-5i, our method brings about 5% and 6% improvements over the state-of-the-art, in the 5- and 10-shot scenarios, respectively. Furthermore, we introduce a new setting that includes domain shifts, where the base and novel classes are drawn from different datasets. Our method achieves the best performances in this more realistic setting. Our code is freely available online: https://github.com/mboudiaf/RePRI-for-Few-Shot-Segmentation.

Malik Boudiaf, Hoel Kervadec, Ziko Imtiaz Masud, Pablo Piantanida, Ismail Ben Ayed, Jose Dolz• 2020

Related benchmarks

TaskDatasetResultRank
Few-shot SegmentationPASCAL-5i
mIoU (Fold 0)76.8
325
Few-shot Semantic SegmentationPASCAL-5^i (test)--
177
Few-shot SegmentationCOCO 20^i (test)
mIoU41.6
174
Semantic segmentationCOCO-20i
mIoU (Mean)41.6
132
Few-shot Semantic SegmentationCOCO-20i
mIoU42.1
115
Semantic segmentationPASCAL-5i
Mean mIoU66.6
111
Semantic segmentationPASCAL-5^i (test)--
107
Few-shot Semantic SegmentationPASCAL-5i
mIoU66.8
96
Few-shot Semantic SegmentationCOCO 5-shot 20i
mIoU42.1
85
Few-shot SegmentationPASCAL 5i (val)--
83
Showing 10 of 58 rows

Other info

Code

Follow for update