HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

PANet: Few-Shot Image Semantic Segmentation with Prototype Alignment

Kaixin Wang; Jun Hao Liew; Yingtian Zou; Daquan Zhou; Jiashi Feng

PANet: Few-Shot Image Semantic Segmentation with Prototype Alignment

Abstract

Despite the great progress made by deep CNNs in image semantic segmentation, they typically require a large number of densely-annotated images for training and are difficult to generalize to unseen object categories. Few-shot segmentation has thus been developed to learn to perform segmentation from only a few annotated examples. In this paper, we tackle the challenging few-shot segmentation problem from a metric learning perspective and present PANet, a novel prototype alignment network to better utilize the information of the support set. Our PANet learns class-specific prototype representations from a few support images within an embedding space and then performs segmentation over the query images through matching each pixel to the learned prototypes. With non-parametric metric learning, PANet offers high-quality prototypes that are representative for each semantic class and meanwhile discriminative for different classes. Moreover, PANet introduces a prototype alignment regularization between support and query. With this, PANet fully exploits knowledge from the support and provides better generalization on few-shot segmentation. Significantly, our model achieves the mIoU score of 48.1% and 55.7% on PASCAL-5i for 1-shot and 5-shot settings respectively, surpassing the state-of-the-art method by 1.8% and 8.6%.

Code Repositories

fanq15/ssp
pytorch
Mentioned in GitHub
kaixin96/PANet
Official
pytorch
Mentioned in GitHub
LiheYoung/MiningFSS
pytorch
Mentioned in GitHub
RogerQi/pascal-5i
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-semantic-segmentation-on-coco-20i-1PANet (VGG-16)
FB-IoU: 59.2
Mean IoU: 20.9
few-shot-semantic-segmentation-on-coco-20i-2-1PANet (ResNet-50)
mIoU: 18.0
few-shot-semantic-segmentation-on-coco-20i-5PANet (VGG-16)
FB-IoU: 63.5
Mean IoU: 29.7
few-shot-semantic-segmentation-on-pascal-5i-1PANet (VGG-16)
FB-IoU: 66.5
Mean IoU: 48.1
few-shot-semantic-segmentation-on-pascal-5i-5PANet (VGG-16)
FB-IoU: 70.7
Mean IoU: 55.7

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp