mlsanityData to 14 Oct 2026

nnSAM: Plug-and-play Segment Anything Model Improves nnUNet Performance

arXiv 2309.16967 ↗First posted 29 Sep 2023cs.CV eess.IVcited by 12

Not on the map. Why?

Abstract (arXiv)

Automatic segmentation of medical images is crucial in modern clinical workflows. The Segment Anything Model (SAM) has emerged as a versatile tool for image segmentation without specific domain training, but it requires human prompts and may have limitations in specific domains. Traditional models like nnUNet perform automatic segmentation during inference and are effective in specific domains but need extensive domain-specific training. To combine the strengths of foundational and domain-specific models, we propose nnSAM, integrating SAM's robust feature extraction with nnUNet's automatic configuration to enhance segmentation accuracy on small datasets. Our nnSAM model optimizes two main approaches: leveraging SAM's feature extraction and nnUNet's domain-specific adaptation, and incorporating a boundary shape supervision loss function based on level set functions and curvature calculations to learn anatomical shape priors from limited data. We evaluated nnSAM on four segmentation tasks: brain white matter, liver, lung, and heart segmentation. Our method outperformed others, achieving the highest DICE score of 82.77% and the lowest ASD of 1.14 mm in brain white matter segmentation with 20 training samples, compared to nnUNet's DICE score of 79.25% and ASD of 1.36 mm. A sample size study highlighted nnSAM's advantage with fewer training samples. Our results demonstrate significant improvements in segmentation performance with nnSAM, showcasing its potential for small-sample learning in medical image segmentation.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 19 of its 28 references that are in the map. First posted on arXiv 29 Sep 2023.

Builds on

19 of 28 references.

References · 19

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  3. 2023Segment Anythingcited by 8,234
  4. 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,558
  5. 2018Attention U-Net: Learning Where to Look for the Pancreascited by 1,435
  6. 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,222
  7. 2019UNet++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentationcited by 586
  8. 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 352
  9. 2023Segment Anything Model for Medical Image Analysis: an Experimental Studycited by 291
  10. 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 234
  11. 2020Semi-supervised Medical Image Segmentation through Dual-task Consistencycited by 216
  12. 2020U-Net and its variants for medical image segmentation: theory and applicationscited by 169
7 more
  1. 2022LViT: Language meets Vision Transformer in Medical Image Segmentationcited by 111
  2. 2019Evaluation of Algorithms for Multi-Modality Whole Heart Segmentation: An Open-Access Grand Challengecited by 100
  3. 2023AutoSAM: Adapting SAM to Medical Images by Overloading the Prompt Encodercited by 70
  4. 2019Deep Distance Transform for Tubular Structure Segmentation in CT Scanscited by 52
  5. 2021GT U-Net: A U-Net Like Group Transformer Network for Tooth Root Segmentationcited by 20
  6. 2021AGMB-Transformer: Anatomy-Guided Multi-Branch Transformer Network for Automated Evaluation of Root Canal Therapycited by 10
  7. 2020Learning Euler's Elastica Model for Medical Image Segmentationcited by 6

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 5; 2025: 4.

12 papers.