AM-SAM: Automated Prompting and Mask Calibration for Segment Anything Model
Not on the map. Why?
Abstract (arXiv)
Segment Anything Model (SAM) has gained significant recognition in the field of semantic segmentation due to its versatile capabilities and impressive performance. Despite its success, SAM faces two primary limitations: (1) it relies heavily on meticulous human-provided prompts like key points, bounding boxes or text messages, which is labor-intensive; (2) the mask decoder's feature representation is sometimes inaccurate, as it solely employs dot product operations at the end of mask decoder, which inadequately captures the necessary correlations for precise segmentation. Current solutions to these problems such as fine-tuning SAM often require retraining a large number of parameters, which needs huge amount of time and computing resources. To address these limitations, we propose an automated prompting and mask calibration method called AM-SAM based on a bi-level optimization framework. Our approach automatically generates prompts for an input image, eliminating the need for human involvement with a good performance in early training epochs, achieving faster convergence. Additionally, we freeze the main part of SAM, and modify the mask decoder with Low-Rank Adaptation (LoRA), enhancing the mask decoder's feature representation by incorporating advanced techniques that go beyond simple dot product operations to more accurately capture and utilize feature correlations. Our experimental results demonstrate that AM-SAM achieves significantly accurate segmentation, matching or exceeding the effectiveness of human-generated and default prompts. Notably, on the body segmentation dataset, our method yields a 5% higher dice score with a 4-example few-shot training set compared to the SOTA method, underscoring its superiority in semantic segmentation tasks.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 25 of its 49 references that are in the map. First posted on arXiv 13 Oct 2024.
Builds on
25 of 49 references.
References · 25
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 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
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2015SSD: Single Shot MultiBox Detectorcited by 3,125
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,784
- 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
13 more
- 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,218
- 2019UNet++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentationcited by 583
- 2017Skin Lesion Analysis Toward Melanoma Detection: A Challenge at the 2017 International Symposium on Biomedical Imaging (ISBI), Hosted by the International Skin Imaging Collaboration (ISIC)cited by 549
- 2023Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentationcited by 485
- 2019Panoptic-DeepLabcited by 362
- 2016Skin Lesion Analysis toward Melanoma Detection: A Challenge at the International Symposium on Biomedical Imaging (ISBI) 2016, hosted by the International Skin Imaging Collaboration (ISIC)cited by 197
- 2016End-to-end Learning of Driving Models from Large-scale Video Datasetscited by 147
- 2022Self-Support Few-Shot Semantic Segmentationcited by 96
- 2023AutoSAM: Adapting SAM to Medical Images by Overloading the Prompt Encodercited by 70
- 2024Large Language Models for Medicine: A Surveycited by 38
- 2022On the Real-World Adversarial Robustness of Real-Time Semantic Segmentation Models for Autonomous Drivingcited by 30
- 2024BLO-SAM: Bi-level Optimization Based Overfitting-Preventing Finetuning of SAMcited by 8
- 2021Semantic Scene Segmentation for Robotics Applicationscited by 7
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2025MemorySAM: Memorize Modalities and Semantics with Segment Anything Model 2 for Multi-modal Semantic Segmentationcited by 9
- 2024CoSAM: Self-Correcting SAM for Domain Generalization in 2D Medical Image Segmentationcited by 5
- 2025Med-K2N: Flexible K-to-N Modality Translation for Medical Image Synthesiscited by 0
- 2025Med-K2N: Flexible K-to-N Modality Translation for Medical Image Synthesis3 Oct 2025
- 2025MemorySAM: Memorize Modalities and Semantics with Segment Anything Model 2 for Multi-modal Semantic Segmentation9 Mar 2025
- 2024CoSAM: Self-Correcting SAM for Domain Generalization in 2D Medical Image Segmentation15 Nov 2024