Label Anything: Multi-Class Few-Shot Semantic Segmentation with Visual Prompts
Not on the map. Why?
Abstract (arXiv)
Few-shot semantic segmentation aims to segment objects from previously unseen classes using only a limited number of labeled examples. In this paper, we introduce Label Anything, a novel transformer-based architecture designed for multi-prompt, multi-way few-shot semantic segmentation. Our approach leverages diverse visual prompts -- points, bounding boxes, and masks -- to create a highly flexible and generalizable framework that significantly reduces annotation burden while maintaining high accuracy. Label Anything makes three key contributions: (textiti) we introduce a new task formulation that relaxes conventional few-shot segmentation constraints by supporting various types of prompts, multi-class classification, and enabling multiple prompts within a single image; (textitii) we propose a novel architecture based on transformers and attention mechanisms; and (textitiii) we design a versatile training procedure allowing our model to operate seamlessly across different N-way K-shot and prompt-type configurations with a single trained model. Our extensive experimental evaluation on the widely used COCO-20i benchmark demonstrates that Label Anything achieves state-of-the-art performance among existing multi-way few-shot segmentation methods, while significantly outperforming leading single-class models when evaluated in multi-class settings. Code and trained models are available at https://github.com/pasqualedem/LabelAnything.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 38 of its 45 references that are in the map. First posted on arXiv 2 Jul 2024.
Builds on
38 of 45 references.
References · 38
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2023Segment Anythingcited by 8,158
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
26 more
- 20163D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotationcited by 1,471
- 2018Attention U-Net: Learning Where to Look for the Pancreascited by 1,420
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
- 2023Segment Everything Everywhere All at Oncecited by 546
- 2019PANet: Few-Shot Image Semantic Segmentation with Prototype Alignmentcited by 449
- 2017One-Shot Learning for Semantic Segmentationcited by 337
- 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 317
- 2023Segment Anything Model for Medical Image Analysis: an Experimental Studycited by 291
- 2020Prior Guided Feature Enrichment Network for Few-Shot Segmentationcited by 271
- 2023Inpaint Anything: Segment Anything Meets Image Inpaintingcited by 233
- 2019CANet: Class-Agnostic Segmentation Networks with Iterative Refinement and Attentive Few-Shot Learningcited by 217
- 2021Adaptive Prototype Learning and Allocation for Few-Shot Segmentationcited by 207
- 2021Hypercorrelation Squeeze for Few-Shot Segmentationcited by 193
- 2023SegGPT: Segmenting Everything In Contextcited by 193
- 2019Feature Weighting and Boosting for Few-Shot Segmentationcited by 189
- 2018SG-One: Similarity Guidance Network for One-Shot Semantic Segmentationcited by 169
- 2020Part-aware Prototype Network for Few-shot Semantic Segmentationcited by 162
- 2021Few-Shot Segmentation via Cycle-Consistent Transformercited by 133
- 2021Self-Guided and Cross-Guided Learning for Few-Shot Segmentationcited by 92
- 2022Dense Cross-Query-and-Support Attention Weighted Mask Aggregation for Few-Shot Segmentationcited by 65
- 2022Feature-Proxy Transformer for Few-Shot Segmentationcited by 58
- 2022Intermediate Prototype Mining Transformer for Few-Shot Semantic Segmentationcited by 37
- 2023Edit Everything: A Text-Guided Generative System for Images Editingcited by 33
- 2019Differentiable Meta-learning Model for Few-shot Semantic Segmentationcited by 31
- 2022Integrative Few-Shot Learning for Classification and Segmentationcited by 25
- 2021MFNet: Multi-class Few-shot Segmentation Network with Pixel-wise Metric Learningcited by 10
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 2.
9 papers.
- 2024MultiverSeg: Scalable Interactive Segmentation of Biomedical Imaging Datasets with In-Context Guidancecited by 11
- 2025Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challengescited by 3
- 2026Revealing the Semantic Selection Gap in DINOv3 through Training-Free Few-Shot Segmentationcited by 3
- 2025Take a Peek: Efficient Encoder Adaptation for Few-Shot Semantic Segmentation via LoRAcited by 1
- 2024Segment Any Class (SAC): Multi-Class Few-Shot Semantic Segmentation via Class Region Proposalscited by 0
- 2025Matching-Based Few-Shot Semantic Segmentation Models Are Interpretable by Designcited by 0
- 2025Boundary-Aware Test-Time Adaptation for Zero-Shot Medical Image Segmentationcited by 0
- 2025DistillFSS: Synthesizing Few-Shot Knowledge into a Lightweight Segmentation Modelcited by 0
- 2026SADe: Sparse-Atom Support Decontamination for Few-Shot Segmentation with Weak Support Annotationscited by 0
- 2026SADe: Sparse-Atom Support Decontamination for Few-Shot Segmentation with Weak Support Annotations27 Jul 2026
- 2026Revealing the Semantic Selection Gap in DINOv3 through Training-Free Few-Shot Segmentation7 Feb 2026
- 2025Take a Peek: Efficient Encoder Adaptation for Few-Shot Semantic Segmentation via LoRA11 Dec 2025
- 2025DistillFSS: Synthesizing Few-Shot Knowledge into a Lightweight Segmentation Model5 Dec 2025
- 2025Boundary-Aware Test-Time Adaptation for Zero-Shot Medical Image Segmentation4 Dec 2025
- 2025Matching-Based Few-Shot Semantic Segmentation Models Are Interpretable by Design22 Nov 2025
- 2025Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challenges13 Jul 2025
- 2024MultiverSeg: Scalable Interactive Segmentation of Biomedical Imaging Datasets with In-Context Guidance19 Dec 2024
- 2024Segment Any Class (SAC): Multi-Class Few-Shot Semantic Segmentation via Class Region Proposals21 Nov 2024