Skip to main content
QUICK REVIEW

[Paper Review] AutoProSAM: Automated Prompting SAM for 3D Multi-Organ Segmentation

Chengyin Li, Prashant Khanduri|arXiv (Cornell University)|Aug 28, 2023
Advanced Neural Network ApplicationsComputer Science11 citations
TL;DR

This paper adapts the 2D Segment Anything Model (SAM) for 3D CT-based multi-organ medical image segmentation via parameter-efficient adapters, an automated prompt generator, and knowledge distillation to lightweight models, achieving state-of-the-art results on multiple datasets.

ABSTRACT

Segment Anything Model (SAM) is one of the pioneering prompt-based foundation models for image segmentation and has been rapidly adopted for various medical imaging applications. However, in clinical settings, creating effective prompts is notably challenging and time-consuming, requiring the expertise of domain specialists such as physicians. This requirement significantly diminishes SAM's primary advantage, its interactive capability with end users, in medical applications. Moreover, recent studies have indicated that SAM, originally designed for 2D natural images, performs suboptimally on 3D medical image segmentation tasks. This subpar performance is attributed to the domain gaps between natural and medical images and the disparities in spatial arrangements between 2D and 3D images, particularly in multi-organ segmentation applications. To overcome these challenges, we present a novel technique termed AutoProSAM. This method automates 3D multi-organ CT-based segmentation by leveraging SAM's foundational model capabilities without relying on domain experts for prompts. The approach utilizes parameter-efficient adaptation techniques to adapt SAM for 3D medical imagery and incorporates an effective automatic prompt learning paradigm specific to this domain. By eliminating the need for manual prompts, it enhances SAM's capabilities for 3D medical image segmentation and achieves state-of-the-art (SOTA) performance in CT-based multi-organ segmentation tasks. The code is in this {\href{https://github.com/ChengyinLee/AutoProSAM_2024}{link}}.

Motivation & Objective

  • Bridge the gap between 2D SAM and 3D medical images for multi-organ CT segmentation.
  • Eliminate manual prompting by introducing an automated prompt generation module.
  • Achieve high segmentation accuracy with a parameter-efficient adaptation and lightweight decoding.
  • Demonstrate transfer of learned knowledge to smaller models suitable for on-device / POCT scenarios.

Proposed method

  • Modify the 2D SAM image encoder with 3D-aware positional encoding and lightweight adapters to enable 3D processing while reusing pre-trained weights.
  • Introduce an Auto Prompt Generator (APG) that learns prompts from feature maps via a lightweight 3D UNet–like encoder-decoder, removing manual prompts.
  • Replace the 2D mask decoder with a 3D, lightweight decoder using multi-layer aggregation (MLAM) and skip connections to better preserve details.
  • Apply a knowledge distillation (KD) framework to transfer AutoSAM Adapter knowledge to smaller models (e.g., SwinUNETR tiny/small) for resource-constrained deployment.
  • Train with a combination of Dice loss and Cross-Entropy loss; use a KD loss (MSE between teacher and student) with a tunable lambda to balance learning from ground truth and teacher.
  • Adopt a two-stage training strategy: freeze most of the pre-trained components while training adapters, prompts, and decoder parameters.
Figure 1 : Challenges associated with using SAM for medical image segmentation include: (A) a T-SNE plot of embeddings encoded by SAM’s image encoder, showcasing differences between medical image datasets such as AMOS [ 15 ] and BTCV [ 19 ] , and natural image datasets like ADE20K [ 48 ] and COCO [
Figure 1 : Challenges associated with using SAM for medical image segmentation include: (A) a T-SNE plot of embeddings encoded by SAM’s image encoder, showcasing differences between medical image datasets such as AMOS [ 15 ] and BTCV [ 19 ] , and natural image datasets like ADE20K [ 48 ] and COCO [

Experimental results

Research questions

  • RQ1Can a 2D foundation model (SAM) be effectively adapted to 3D medical image segmentation with minimal fine-tuning?
  • RQ2Does an automated prompt generation module improve multi-organ 3D segmentation performance compared to manual prompts?
  • RQ3Can a lightweight 3D adapter, combined with a 3D decoder and MLAM, outperform state-of-the-art 3D medical segmentation models on CT data?
  • RQ4Is knowledge distillation effective to transfer AutoSAM Adapter knowledge to smaller, on-device segmentation models for POCT scenarios?

Key findings

  • AutoSAM Adapter generally outperforms state-of-the-art 3D medical segmentation methods (Dice, NSD) across multiple CT datasets.
  • On BTCV, gains include up to 3% in Dice and 3–7% in NSD compared to baselines; AMOS shows larger gains with increased data
  • On CT-ORG, AutoSAM Adapter achieves the highest NSD and competitive Dice scores among baselines.
  • Compared to SAM-based methods, the proposed P&M (prompt and mask) fine-tuning with AutoPROMOTER surpasses MedSAM and other SAM-based adapters, including full MedSAM in some metrics.
  • Knowledge Distillation enables transferring learned 3D capabilities to lightweight SwinUNETR variants, yielding notable Dice improvements (e.g., ~4% on BTCV).
  • Ablation studies show APG and MLAM are critical for achieving high Dice and NSD; KD parameter lambda around 0.5 balances learning from teacher and ground truth.
Figure 2 : (A) The overall architecture of the AutoSAM Adapter , (B) the design of the Spatial Adapter module, which utilizes parameter-efficient model fine-tuning, (C) the architecture of the Auto Prompt Generator , featuring a U-Net-like encoder-decoder design, and (D) the pipeline for deriving a
Figure 2 : (A) The overall architecture of the AutoSAM Adapter , (B) the design of the Spatial Adapter module, which utilizes parameter-efficient model fine-tuning, (C) the architecture of the Auto Prompt Generator , featuring a U-Net-like encoder-decoder design, and (D) the pipeline for deriving a

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.