Attentional Prototype Inference for Few-Shot Segmentation

Haoliang Sun, Xiankai Lu, Haochen Wang, Yilong Yin, Xiantong Zhen +2 more
5/14/2021
cs.CV

Official code: haolsun/API (0 stars, Python, last commit 2023-02-26).

Abstract

This paper aims to address few-shot segmentation. While existing prototype-based methods have achieved considerable success, they suffer from uncertainty and ambiguity caused by limited labeled examples.

Show full abstract

In this work, we propose attentional prototype inference (API), a probabilistic latent variable framework for few-shot segmentation. We define a global latent variable to represent the prototype of each object category, which we model as a probabilistic distribution. The probabilistic modeling of the prototype enhances the model's generalization ability by handling the inherent uncertainty caused by limited data and intra-class variations of objects. To further enhance the model, we introduce a local latent variable to represent the attention map of each query image, which enables the model to attend to foreground objects while suppressing the background. The optimization of the proposed model is formulated as a variational Bayesian inference problem, which is established by amortized inference networks. We conduct extensive experiments on four benchmarks, where our proposal obtains at least competitive and often better performance than state-of-the-art prototype-based methods. We also provide comprehensive analyses and ablation studies to gain insight into the effectiveness of our method for few-shot segmentation.

View on arXivView PDF

Code Implementations(1)

haolsun/APIOfficial100%
01Python, ShellDec 23, 20223 years ago

Similar Papers

Cite this paper

@article{sun2021attentional,
  title  = {Attentional Prototype Inference for Few-Shot Segmentation},
  author = {Haoliang Sun and Xiankai Lu and Haochen Wang and Yilong Yin and Xiantong Zhen and Cees G. M. Snoek and Ling Shao},
  year   = {2021},
  eprint = {2105.06668},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.06668}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.06668.svg)](https://codeofpaper.com/paper/2105.06668)

Discussion