SAM Fewshot Finetuning for Anatomical Segmentation in Medical Images
Not on the map. Why?
Abstract (arXiv)
We propose a straightforward yet highly effective few-shot fine-tuning strategy for adapting the Segment Anything (SAM) to anatomical segmentation tasks in medical images. Our novel approach revolves around reformulating the mask decoder within SAM, leveraging few-shot embeddings derived from a limited set of labeled images (few-shot collection) as prompts for querying anatomical objects captured in image embeddings. This innovative reformulation greatly reduces the need for time-consuming online user interactions for labeling volumetric images, such as exhaustively marking points and bounding boxes to provide prompts slice by slice. With our method, users can manually segment a few 2D slices offline, and the embeddings of these annotated image regions serve as effective prompts for online segmentation tasks. Our method prioritizes the efficiency of the fine-tuning process by exclusively training the mask decoder through caching mechanisms while keeping the image encoder frozen. Importantly, this approach is not limited to volumetric medical images, but can generically be applied to any 2D/3D segmentation task. To thoroughly evaluate our method, we conducted extensive validation on four datasets, covering six anatomical segmentation tasks across two modalities. Furthermore, we conducted a comparative analysis of different prompting options within SAM and the fully-supervised nnU-Net. The results demonstrate the superior performance of our method compared to SAM employing only point prompts (approximately 50% improvement in IoU) and performs on-par with fully supervised methods whilst reducing the requirement of labeled data by at least an order of magnitude.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 21 of its 26 references that are in the map. First posted on arXiv 5 Jul 2024.
Builds on
21 of 26 references.
References · 21
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 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
- 2023Segment Anythingcited by 8,158
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
- 20163D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotationcited by 1,471
- 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,218
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
9 more
- 2021UNETR: Transformers for 3D Medical Image Segmentationcited by 954
- 2021The Medical Segmentation Decathloncited by 620
- 2023Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentationcited by 485
- 2022AMOS: A Large-Scale Abdominal Multi-Organ Benchmark for Versatile Medical Image Segmentationcited by 347
- 2022Generalized Decoding for Pixel, Image, and Languagecited by 292
- 2018nnU-Net: Self-adapting Framework for U-Net-Based Medical Image Segmentationcited by 291
- 2023Segment Anything in Medical Imagescited by 226
- 2020VerSe: A Vertebrae Labelling and Segmentation Benchmark for Multi-detector CT Imagescited by 111
- 2023SAM on Medical Images: A Comprehensive Study on Three Prompt Modescited by 81
Built on by
Citing papers per year: 2024: 6; 2025: 5; 2026: 1.
12 papers.
- 2024Robust Box Prompt based SAM for Medical Image Segmentationcited by 9
- 2025Vision Foundation Models in Medical Image Analysis: Advances and Challengescited by 9
- 2024A Federated Learning-Friendly Approach for Parameter-Efficient Fine-Tuning of SAM in 3D Segmentationcited by 5
- 2024Shadow Removal Refinement via Material-Consistent Shadow Edgescited by 5
- 2024Scribbles for All: Benchmarking Scribble Supervised Segmentation Across Datasetscited by 4
- 2024CycleSAM: Few-Shot Surgical Scene Segmentation with Cycle- and Scene-Consistent Feature Matchingcited by 3
- 2025SurgiSAM2: Fine-tuning a foundational model for surgical video anatomy segmentation and detectioncited by 2
- 2025DescriptorMedSAM: Language-Image Fusion with Multi-Aspect Text Guidance for Medical Image Segmentationcited by 1
- 2025Landmark Detection for Medical Images using a General-purpose Segmentation Modelcited by 1
- 2024PAM: A Propagation-Based Model for Segmenting Any 3D Objects across Multi-Modal Medical Imagescited by 0
- 2025Riverbank Erosion Analysis in Bangladesh Using Spatiotemporal Segmentationcited by 0
- 2026A Few Cases Are All You Need: An Empirical Study of Annotation-Efficient LoRA Fine-Tuning of MedSAM3cited by 0
- 2026A Few Cases Are All You Need: An Empirical Study of Annotation-Efficient LoRA Fine-Tuning of MedSAM319 Aug 2026
- 2025Riverbank Erosion Analysis in Bangladesh Using Spatiotemporal Segmentation20 Oct 2025
- 2025Landmark Detection for Medical Images using a General-purpose Segmentation Model13 Jul 2025
- 2025DescriptorMedSAM: Language-Image Fusion with Multi-Aspect Text Guidance for Medical Image Segmentation18 Mar 2025
- 2025SurgiSAM2: Fine-tuning a foundational model for surgical video anatomy segmentation and detection5 Mar 2025
- 2025Vision Foundation Models in Medical Image Analysis: Advances and Challenges20 Feb 2025
- 2024Shadow Removal Refinement via Material-Consistent Shadow Edges10 Sep 2024
- 2024PAM: A Propagation-Based Model for Segmenting Any 3D Objects across Multi-Modal Medical Images25 Aug 2024
- 2024Scribbles for All: Benchmarking Scribble Supervised Segmentation Across Datasets22 Aug 2024
- 2024A Federated Learning-Friendly Approach for Parameter-Efficient Fine-Tuning of SAM in 3D Segmentation31 Jul 2024
- 2024Robust Box Prompt based SAM for Medical Image Segmentation31 Jul 2024
- 2024CycleSAM: Few-Shot Surgical Scene Segmentation with Cycle- and Scene-Consistent Feature Matching9 Jul 2024