MSDNet: Multi-Scale Decoder for Few-Shot Semantic Segmentation via Transformer-Guided Prototyping
arXiv:2409.11316 · doi:10.1016/j.imavis.2025.105672
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 competitive 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
References in corpus (9)
- BEiT: BERT Pre-Training of Image Transformers
- Self-Regularized Prototypical Network for Few-Shot Semantic Segmentation
- Consistency-Regularized Region-Growing Network for Semantic Segmentation of Urban Scenes with Point-Level Annotations
- Enhancing Few-Shot Image Classification through Learnable Multi-Scale Embedding and Attention Mechanisms
- Prediction Calibration for Generalized Few-shot Semantic Segmentation
- ReMaX: Relaxing for Better Training on Efficient Panoptic Segmentation
- Prototype as Query for Few Shot Semantic Segmentation
- Efficient and Accurate Pneumonia Detection Using a Novel Multi-Scale Transformer Approach
- Prompt-and-Transfer: Dynamic Class-aware Enhancement for Few-shot Segmentation