TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/AutoSAM: Adapting SAM to Medical Images by Overloading the...

AutoSAM: Adapting SAM to Medical Images by Overloading the Prompt Encoder

Tal Shaharabany, Aviad Dahan, Raja Giryes, Lior Wolf

2023-06-10Video Polyp SegmentationSegmentationSemantic SegmentationImage Segmentation
PaperPDF

Abstract

The recently introduced Segment Anything Model (SAM) combines a clever architecture and large quantities of training data to obtain remarkable image segmentation capabilities. However, it fails to reproduce such results for Out-Of-Distribution (OOD) domains such as medical images. Moreover, while SAM is conditioned on either a mask or a set of points, it may be desirable to have a fully automatic solution. In this work, we replace SAM's conditioning with an encoder that operates on the same input image. By adding this encoder and without further fine-tuning SAM, we obtain state-of-the-art results on multiple medical images and video benchmarks. This new encoder is trained via gradients provided by a frozen SAM. For inspecting the knowledge within it, and providing a lightweight segmentation solution, we also learn to decode it into a mask by a shallow deconvolution network.

Results

TaskDatasetMetricValueModel
Medical Image SegmentationSUN-SEG-Easy (Unseen)Dice0.753AutoSAM
Medical Image SegmentationSUN-SEG-Easy (Unseen)S measure0.815AutoSAM
Medical Image SegmentationSUN-SEG-Easy (Unseen)Sensitivity0.672AutoSAM
Medical Image SegmentationSUN-SEG-Easy (Unseen)mean E-measure0.855AutoSAM
Medical Image SegmentationSUN-SEG-Easy (Unseen)mean F-measure0.774AutoSAM
Medical Image SegmentationSUN-SEG-Easy (Unseen)weighted F-measure0.716AutoSAM
Medical Image SegmentationSUN-SEG-Hard (Unseen)Dice0.759AutoSAM
Medical Image SegmentationSUN-SEG-Hard (Unseen)S-Measure0.822AutoSAM
Medical Image SegmentationSUN-SEG-Hard (Unseen)Sensitivity0.726AutoSAM
Medical Image SegmentationSUN-SEG-Hard (Unseen)mean E-measure0.866AutoSAM
Medical Image SegmentationSUN-SEG-Hard (Unseen)mean F-measure0.764AutoSAM
Medical Image SegmentationSUN-SEG-Hard (Unseen)weighted F-measure0.714AutoSAM

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21Deep Learning-Based Fetal Lung Segmentation from Diffusion-weighted MRI Images and Lung Maturity Evaluation for Fetal Growth Restriction2025-07-17DiffOSeg: Omni Medical Image Segmentation via Multi-Expert Collaboration Diffusion Model2025-07-17From Variability To Accuracy: Conditional Bernoulli Diffusion Models with Consensus-Driven Correction for Thin Structure Segmentation2025-07-17Unleashing Vision Foundation Models for Coronary Artery Segmentation: Parallel ViT-CNN Encoding and Variational Fusion2025-07-17SCORE: Scene Context Matters in Open-Vocabulary Remote Sensing Instance Segmentation2025-07-17Unified Medical Image Segmentation with State Space Modeling Snake2025-07-17A Privacy-Preserving Semantic-Segmentation Method Using Domain-Adaptation Technique2025-07-17