MSANet: Multi-Similarity and Attention Guidance for Boosting Few-Shot Segmentation

Ehtesham Iqbal, Sirojbek Safarov, Seongdeok Bang
6/20/2022
cs.CV
transformer-attention

Official code: AIVResearch/MSANet (69 stars, Python, last commit 2025-07-30).

Abstract

Few-shot segmentation aims to segment unseen-class objects given only a handful of densely labeled samples. Prototype learning, where the support feature yields a singleor several prototypes by averaging global and local object information, has been widely used in FSS.

Show full abstract

However, utilizing only prototype vectors may be insufficient to represent the features for all training data. To extract abundant features and make more precise predictions, we propose a Multi-Similarity and Attention Network (MSANet) including two novel modules, a multi-similarity module and an attention module. The multi-similarity module exploits multiple feature-maps of support images and query images to estimate accurate semantic relationships. The attention module instructs the network to concentrate on class-relevant information. The network is tested on standard FSS datasets, PASCAL-5i 1-shot, PASCAL-5i 5-shot, COCO-20i 1-shot, and COCO-20i 5-shot. The MSANet with the backbone of ResNet-101 achieves the state-of-the-art performance for all 4-benchmark datasets with mean intersection over union (mIoU) of 69.13%, 73.99%, 51.09%, 56.80%, respectively. Code is available at https://github.com/AIVResearch/MSANet

View on arXivView PDF

Code Implementations(1)

AIVResearch/MSANetOfficial100%

Official Pytorch implementation of Multi-Similarity and Attention Guidence for Boosting Few-Shot Segmentation.

6912PythonMay 11, 20221 years ago
computer-visiondeep-learningfew-shot-learningfew-shot-segmentationpytorch-implementation+1 more

Similar Papers

Cite this paper

@article{iqbal2022msanet,
  title  = {MSANet: Multi-Similarity and Attention Guidance for Boosting Few-Shot Segmentation},
  author = {Ehtesham Iqbal and Sirojbek Safarov and Seongdeok Bang},
  year   = {2022},
  eprint = {2206.09667},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.09667}
}

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/2206.09667.svg)](https://codeofpaper.com/paper/2206.09667)

Discussion