SOTAVerified

MSDNet: Multi-Scale Decoder for Few-Shot Semantic Segmentation via Transformer-Guided Prototyping

2024-09-17Code Available1· sign in to hype

Amirreza Fateh, Mohammad Reza Mohammadi, Mohammad Reza Jahed Motlagh

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Few-shot Semantic Segmentation addresses the challenge of segmenting objects in query images with only a handful of annotated examples. However, many previous state-of-the-art methods either have to discard intricate local semantic features or suffer from high computational complexity. To address these challenges, we propose a new Few-shot Semantic Segmentation framework based on the transformer architecture. Our approach introduces the spatial transformer decoder and the contextual mask generation module to improve the relational understanding between support and query images. Moreover, we introduce a multi-scale decoder to refine the segmentation mask by incorporating features from different resolutions in a hierarchical manner. Additionally, our approach integrates global features from intermediate encoder stages to improve contextual understanding, while maintaining a lightweight structure to reduce complexity. This balance between performance and efficiency enables our method to achieve state-of-the-art results on benchmark datasets such as PASCAL-5^i and COCO-20^i in both 1-shot and 5-shot settings. Notably, our model with only 1.5 million parameters demonstrates competitive performance while overcoming limitations of existing methodologies. https://github.com/amirrezafateh/MSDNet

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
COCO-20i (1-shot)MSDNet (ResNet-50)Mean IoU46.5Unverified
COCO-20i (1-shot)MSDNet (ResNet-101)Mean IoU48.5Unverified
COCO-20i (5-shot)MSDNet (ResNet-101)Mean IoU55.3Unverified
COCO-20i (5-shot)MSDNet (ResNet-50)Mean IoU54.5Unverified
COCO-20i -> Pascal VOC (1-shot)MSDNet (ResNet-50)Mean IoU72.1Unverified
COCO-20i -> Pascal VOC (1-shot)MSDNet (ResNet-101)Mean IoU73.9Unverified
COCO-20i -> Pascal VOC (5-shot)MSDNet (ResNet-50)Mean IoU74.2Unverified
COCO-20i -> Pascal VOC (5-shot)MSDNet (ResNet-101)Mean IoU76.4Unverified
PASCAL-5i (1-Shot)MSDNet (ResNet-101)Mean IoU64.7Unverified
PASCAL-5i (1-Shot)MSDNet (ResNet-50)Mean IoU64.3Unverified
PASCAL-5i (5-Shot)MSDNet (ResNet-50)Mean IoU68.7Unverified
PASCAL-5i (5-Shot)MSDNet (ResNet-101)Mean IoU70.8Unverified

Reproductions