Stable Segment Anything Model
Not on the map. Why?
Abstract (arXiv)
The Segment Anything Model (SAM) achieves remarkable promptable segmentation given high-quality prompts which, however, often require good skills to specify. To make SAM robust to casual prompts, this paper presents the first comprehensive analysis on SAM's segmentation stability across a diverse spectrum of prompt qualities, notably imprecise bounding boxes and insufficient points. Our key finding reveals that given such low-quality prompts, SAM's mask decoder tends to activate image features that are biased towards the background or confined to specific object parts. To mitigate this issue, our key idea consists of calibrating solely SAM's mask attention by adjusting the sampling locations and amplitudes of image features, while the original SAM model architecture and weights remain unchanged. Consequently, our deformable sampling plugin (DSP) enables SAM to adaptively shift attention to the prompted target regions in a data-driven manner, facilitated by our effective robust training strategy (RTS). During inference, dynamic routing plugin (DRP) is proposed that toggles SAM between the deformable and regular grid sampling modes, conditioned on the input prompt quality. Thus, our solution, termed Stable-SAM, offers several advantages: 1) improved SAM's segmentation stability across a wide range of prompt qualities, while 2) retaining SAM's powerful promptable segmentation efficiency and generality, with 3) minimal learnable parameters (0.08 M) and fast adaptation (by 1 training epoch). Extensive experiments across multiple datasets validate the effectiveness and advantages of our approach, underscoring Stable-SAM as a more robust solution for segmenting anything. Codes will be released upon acceptance. https://github.com/fanq15/Stable-SAM
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 53 of its 68 references that are in the map. First posted on arXiv 27 Nov 2023.
Builds on
53 of 68 references.
References · 53
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Segment Anythingcited by 8,234
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2018CBAM: Convolutional Block Attention Modulecited by 2,477
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,351
- 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,292
38 more
- 2017Deformable Convolutional Networkscited by 1,488
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
- 2018BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learningcited by 1,288
- 2018Deformable ConvNets v2: More Deformable, Better Resultscited by 670
- 2020Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentationcited by 596
- 2019PointRend: Image Segmentation as Renderingcited by 440
- 2023Segment Anything in High Qualitycited by 376
- 2022Vision Transformer with Deformable Attentioncited by 295
- 2022Generalized Decoding for Pixel, Image, and Languagecited by 294
- 2023Segment Anything Model for Medical Image Analysis: an Experimental Studycited by 291
- 2021Coordinate Attention for Efficient Mobile Network Designcited by 241
- 2019Few-Shot Object Detection with Attention-RPN and Multi-Relation Detectorcited by 206
- 2019iSAID: A Large-scale Dataset for Instance Segmentation in Aerial Imagescited by 197
- 2022Focal Modulation Networkscited by 186
- 2023Semantic-SAM: Segment and Recognize Anything at Any Granularitycited by 185
- 2020FloodNet: A High Resolution Aerial Imagery Dataset for Post Flood Scene Understandingcited by 181
- 2021Reviving Iterative Training with Mask Guidance for Interactive Segmentationcited by 163
- 2022DETRs with Hybrid Matchingcited by 150
- 2020CascadePSP: Toward Class-Agnostic and Very High-Resolution Segmentation via Global and Local Refinementcited by 113
- 2022Highly Accurate Dichotomous Image Segmentationcited by 110
- 2022Self-Support Few-Shot Semantic Segmentationcited by 96
- 2020Semantic Segmentation of Underwater Imagery: Dataset and Benchmarkcited by 95
- 2023Vision-Language Models in Remote Sensing: Current Progress and Future Trendscited by 93
- 2019Towards High-Resolution Salient Object Detectioncited by 92
- 2019PST900: RGB-Thermal Calibration, Dataset and Segmentation Networkcited by 85
- 2021Mask Transfiner for High-Quality Instance Segmentationcited by 64
- 2023Adapting Segment Anything Model for Change Detection in HR Remote Sensing Imagescited by 56
- 2020Kvasir-Instrument: Diagnostic and therapeutic tool segmentation dataset in gastrointestinal endoscopycited by 54
- 2021CryoNuSeg: A Dataset for Nuclei Instance Segmentation of Cryosectioned H&E-Stained Histological Imagescited by 51
- 2021ZeroWaste Dataset: Towards Deformable Object Segmentation in Cluttered Scenescited by 47
- 2021DPT: Deformable Patch-based Transformer for Visual Recognitioncited by 43
- 2021High Quality Segmentation for Ultra High-resolution Imagescited by 31
- 2022Video Mask Transfiner for High-Quality Video Instance Segmentationcited by 28
- 2022Detailed Annotations of Chest X-Rays via CT Projection for Report Understandingcited by 26
- 2023What a MESS: Multi-Domain Evaluation of Zero-Shot Semantic Segmentationcited by 24
- 2022Semantic Segmentation in Art Paintingscited by 23
- 2018Semantic Segmentation Refinement by Monte Carlo Region Growing of High Confidence Detectionscited by 14
- 2021ATLANTIS: A Benchmark for Semantic Segmentation of Waterbody Imagescited by 10
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 3.
6 papers.
- 2024Robust Box Prompt based SAM for Medical Image Segmentationcited by 9
- 2024SAM-PD: How Far Can SAM Take Us in Tracking and Segmenting Anything in Videos by Prompt Denoisingcited by 4
- 2025RP-SAM2: Refining Point Prompts for Stable Surgical Instrument Segmentationcited by 2
- 2026Seeing Through the Tool: A Controlled Benchmark for Occlusion Robustness in Foundation Segmentation Modelscited by 0
- 2026PinPoint: Prompting with Informative Interior Pointscited by 0
- 2026DGSeg: Dynamic Gating of Semantic-Spatial Guided Predictions for Reasoning Segmentationcited by 0
- 2026DGSeg: Dynamic Gating of Semantic-Spatial Guided Predictions for Reasoning Segmentation6 Jul 2026
- 2026PinPoint: Prompting with Informative Interior Points26 May 2026
- 2026Seeing Through the Tool: A Controlled Benchmark for Occlusion Robustness in Foundation Segmentation Models13 Apr 2026
- 2025RP-SAM2: Refining Point Prompts for Stable Surgical Instrument Segmentation25 Mar 2025
- 2024Robust Box Prompt based SAM for Medical Image Segmentation31 Jul 2024
- 2024SAM-PD: How Far Can SAM Take Us in Tracking and Segmenting Anything in Videos by Prompt Denoising7 Mar 2024