Learning to Prompt Segment Anything Models
Not on the map. Why?
Abstract (arXiv)
Segment Anything Models (SAMs) like SEEM and SAM have demonstrated great potential in learning to segment anything. The core design of SAMs lies with Promptable Segmentation, which takes a handcrafted prompt as input and returns the expected segmentation mask. SAMs work with two types of prompts including spatial prompts (e.g., points) and semantic prompts (e.g., texts), which work together to prompt SAMs to segment anything on downstream datasets. Despite the important role of prompts, how to acquire suitable prompts for SAMs is largely under-explored. In this work, we examine the architecture of SAMs and identify two challenges for learning effective prompts for SAMs. To this end, we propose spatial-semantic prompt learning (SSPrompt) that learns effective semantic and spatial prompts for better SAMs. Specifically, SSPrompt introduces spatial prompt learning and semantic prompt learning, which optimize spatial prompts and semantic prompts directly over the embedding space and selectively leverage the knowledge encoded in pre-trained prompt encoders. Extensive experiments show that SSPrompt achieves superior image segmentation performance consistently across multiple widely adopted datasets.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 53 of its 71 references that are in the map. First posted on arXiv 9 Jan 2024.
Builds on
53 of 71 references.
References · 53
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2023Segment Anythingcited by 8,158
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2021Learning to Prompt for Vision-Language Modelscited by 2,269
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
38 more
- 2018BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learningcited by 1,282
- 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,021
- 2019How Can We Know What Language Models Know?cited by 953
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2022MaPLe: Multi-modal Prompt Learningcited by 685
- 2021DenseCLIP: Language-Guided Dense Prediction with Context-Aware Promptingcited by 530
- 2021Tip-Adapter: Training-free CLIP-Adapter for Better Vision-Language Modelingcited by 429
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 379
- 2022Prompt-aligned Gradient for Prompt Tuningcited by 339
- 2022Visual Classification via Description from Large Language Modelscited by 331
- 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimizationcited by 307
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
- 2022What does a platypus look like? Generating customized prompts for zero-shot image classificationcited by 263
- 2023Personalize Segment Anything Model with One Shotcited by 250
- 2022Prompt Distribution Learningcited by 235
- 2022Focal Modulation Networkscited by 186
- 2023Semantic-SAM: Segment and Recognize Anything at Any Granularitycited by 185
- 2022DaViT: Dual Attention Vision Transformerscited by 174
- 2022Unified Vision and Language Prompt Learningcited by 145
- 2023Matcher: Segment Anything with One Shot Using All-Purpose Feature Matchingcited by 142
- 2022Unsupervised Prompt Learning for Vision-Language Modelscited by 125
- 2022Task Residual for Tuning Vision-Language Modelscited by 122
- 2022SuS-X: Training-Free Name-Only Transfer of Vision-Language Modelscited by 118
- 2020f-BRS: Rethinking Backpropagating Refinement for Interactive Segmentationcited by 117
- 2023SAM-CLIP: Merging Vision Foundation Models towards Semantic and Spatial Understandingcited by 111
- 2022CALIP: Zero-Shot Enhancement of CLIP with Parameter-free Attentioncited by 103
- 2022DualCoOp: Fast Adaptation to Multi-Label Recognition with Limited Annotationscited by 102
- 2022PLOT: Prompt Learning with Optimal Transport for Vision-Language Modelscited by 64
- 2022Multitask Vision-Language Prompt Tuningcited by 51
- 2022Texts as Images in Prompt Tuning for Multi-Label Image Recognitioncited by 51
- 2021VT-CLIP: Enhancing Vision-Language Models with Visual-guided Textscited by 42
- 2021Cross-View Regularization for Domain Adaptive Panoptic Segmentationcited by 41
- 2022Understanding and Mitigating Overfitting in Prompt Tuning for Vision-Language Modelscited by 40
- 2022SVL-Adapter: Self-Supervised Adapter for Vision-Language Pretrained Modelscited by 34
- 2022SgVA-CLIP: Semantic-guided Visual Adapting of Vision-Language Models for Few-shot Image Classificationcited by 34
- 2022Improving Zero-Shot Models with Label Distribution Priorscited by 14
- 2022Prompt Tuning with Soft Context Sharing for Vision-Language Modelscited by 13
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 6; 2026: 4.
13 papers.
Sort:
By area:
- 2024Historical Test-time Prompt Tuning for Vision Foundation Modelscited by 21
- 2025No time to train! Training-Free Reference-Based Instance Segmentationcited by 9
- 2024There is no SAMantics! Exploring SAM as a Backbone for Visual Understanding Taskscited by 7
- 2024Segmentation by registration-enabled SAM prompt engineering using five reference imagescited by 4
- 2025SAM-MI: A Mask-Injected Framework for Enhancing Open-Vocabulary Semantic Segmentation with SAMcited by 4
- 2025Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challengescited by 3
- 2026Few-Shot Semantic Segmentation Meets SAM3cited by 3
- 2025SCING:Towards More Efficient and Robust Person Re-Identification through Selective Cross-modal Prompt Tuningcited by 2
- 2025Leveraging Text-Driven Semantic Variation for Robust OOD Segmentationcited by 1
- 2025Attack for Defense: Adversarial Agents for Point Prompt Optimization Empowering Segment Anything Modelcited by 0
- 2026SPDA-SAM: A Self-prompted Depth-Aware Segment Anything Model for Instance Segmentationcited by 0
- 2026Learning from Noisy Prompts: Saliency-Guided Prompt Distillation for Robust Segmentation with SAMcited by 0
1 more
- 2026Enhancing MedSAM with a Lightweight Box Predictor for Medical Image Segmentation3 Jun 2026
- 2026Learning from Noisy Prompts: Saliency-Guided Prompt Distillation for Robust Segmentation with SAM25 Apr 2026
- 2026Few-Shot Semantic Segmentation Meets SAM37 Apr 2026
- 2026SPDA-SAM: A Self-prompted Depth-Aware Segment Anything Model for Instance Segmentation6 Feb 2026
- 2025SAM-MI: A Mask-Injected Framework for Enhancing Open-Vocabulary Semantic Segmentation with SAM25 Nov 2025
- 2025Leveraging Text-Driven Semantic Variation for Robust OOD Segmentation10 Nov 2025
- 2025Attack for Defense: Adversarial Agents for Point Prompt Optimization Empowering Segment Anything Model23 Sep 2025
- 2025Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challenges13 Jul 2025
- 2025No time to train! Training-Free Reference-Based Instance Segmentation3 Jul 2025
- 2025SCING:Towards More Efficient and Robust Person Re-Identification through Selective Cross-modal Prompt Tuning1 Jul 2025
- 2024There is no SAMantics! Exploring SAM as a Backbone for Visual Understanding Tasks22 Nov 2024
- 2024Historical Test-time Prompt Tuning for Vision Foundation Models27 Oct 2024
- 2024Historical Test-time Prompt Tuning for Vision Foundation Modelscited by 21
- 2025No time to train! Training-Free Reference-Based Instance Segmentationcited by 9
- 2024There is no SAMantics! Exploring SAM as a Backbone for Visual Understanding Taskscited by 7
- 2024Segmentation by registration-enabled SAM prompt engineering using five reference imagescited by 4
- 2025SAM-MI: A Mask-Injected Framework for Enhancing Open-Vocabulary Semantic Segmentation with SAMcited by 4
- 2025Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challengescited by 3
- 2026Few-Shot Semantic Segmentation Meets SAM3cited by 3
- 2025Leveraging Text-Driven Semantic Variation for Robust OOD Segmentationcited by 1
- 2025Attack for Defense: Adversarial Agents for Point Prompt Optimization Empowering Segment Anything Modelcited by 0
- 2026SPDA-SAM: A Self-prompted Depth-Aware Segment Anything Model for Instance Segmentationcited by 0
- 2026Learning from Noisy Prompts: Saliency-Guided Prompt Distillation for Robust Segmentation with SAMcited by 0
- 2026Enhancing MedSAM with a Lightweight Box Predictor for Medical Image Segmentationcited by 0
- 2026Enhancing MedSAM with a Lightweight Box Predictor for Medical Image Segmentation3 Jun 2026
- 2026Learning from Noisy Prompts: Saliency-Guided Prompt Distillation for Robust Segmentation with SAM25 Apr 2026
- 2026Few-Shot Semantic Segmentation Meets SAM37 Apr 2026
- 2026SPDA-SAM: A Self-prompted Depth-Aware Segment Anything Model for Instance Segmentation6 Feb 2026
- 2025SAM-MI: A Mask-Injected Framework for Enhancing Open-Vocabulary Semantic Segmentation with SAM25 Nov 2025
- 2025Leveraging Text-Driven Semantic Variation for Robust OOD Segmentation10 Nov 2025
- 2025Attack for Defense: Adversarial Agents for Point Prompt Optimization Empowering Segment Anything Model23 Sep 2025
- 2025Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challenges13 Jul 2025
- 2025No time to train! Training-Free Reference-Based Instance Segmentation3 Jul 2025
- 2024There is no SAMantics! Exploring SAM as a Backbone for Visual Understanding Tasks22 Nov 2024
- 2024Historical Test-time Prompt Tuning for Vision Foundation Models27 Oct 2024
- 2024Segmentation by registration-enabled SAM prompt engineering using five reference images25 Jul 2024