How to build the best medical image segmentation algorithm using foundation models: a comprehensive empirical study with Segment Anything Model

Automated segmentation is a fundamental medical image analysis task, which enjoys significant advances due to the advent of deep learning. While foundation models have been useful in natural language processing and some vision tasks for some time, the foundation model developed with image segmentation in mind—Segment Anything Model (SAM)—has been developed only recently and has shown similar promise. However, there are still no sys- tematic analyses or “best-practice” guidelines for optimal fine-tuning of SAM for medical image segmentation. This work summarizes existing fine-tuning strategies with various backbone architectures, model components, and finetuning algorithms across 18 combinations and evaluates them on 17 datasets covering all common radiology modalities. Our study reveals that (1) fine-tuning SAM leads to slightly better performance than previous segmentation methods, (2) fine-tuning strategies that use parameterefficient learning in both the encoder and decoder are superior to other strategies, (3) network architecture has a small impact on final performance, and (4) further training SAM with self-supervised learning can improve final model performance. We also demonstrate the ineffectiveness of some methods popular in the literature and further expand our experiments into few-shot and prompt-based settings. Lastly, we released our code and MRI-specific fine-tuned weights, which consistently obtained superior performance over the original SAM, at <a href='https://github.com/mazurowski-lab/finetune-SAM'>https://github.com/mazurowskilab/finetune-SAM</a>

Authors

Institutions

Publication Details

Journal
The Journal of Machine Learning for Biomedical Imaging
Published
2025-05-08
DOI
https://doi.org/10.59275/j.melba.2025-86a6
Citations
15
Primary Topic
Smart Systems and Machine Learning
Type
article
Field-Weighted Citation Impact
22.31
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

How to build the best medical image segmentation algorithm using foundation models: a comprehensive empirical study with Segment Anything Model

Maciej A. Mazurowski, Haoyu Dong, Hanxue Gu, Jichen Yang
15 citations
The Journal of Machine Learning for Biomedical Imaging
Smart Systems and Machine Learning
22.31
article

How to build the best medical image segmentation algorithm using foundation models: a comprehensive empirical study with Segment Anything Model

Maciej A. Mazurowski, Haoyu Dong, Hanxue Gu, Jichen Yang
article en
15 citations

Abstract

Automated segmentation is a fundamental medical image analysis task, which enjoys significant advances due to the advent of deep learning. While foundation models have been useful in natural language processing and some vision tasks for some time, the foundation model developed with image segmentation in mind—Segment Anything Model (SAM)—has been developed only recently and has shown similar promise. However, there are still no sys- tematic analyses or “best-practice” guidelines for optimal fine-tuning of SAM for medical image segmentation. This work summarizes existing fine-tuning strategies with various backbone architectures, model components, and finetuning algorithms across 18 combinations and evaluates them on 17 datasets covering all common radiology modalities. Our study reveals that (1) fine-tuning SAM leads to slightly better performance than previous segmentation methods, (2) fine-tuning strategies that use parameterefficient learning in both the encoder and decoder are superior to other strategies, (3) network architecture has a small impact on final performance, and (4) further training SAM with self-supervised learning can improve final model performance. We also demonstrate the ineffectiveness of some methods popular in the literature and further expand our experiments into few-shot and prompt-based settings. Lastly, we released our code and MRI-specific fine-tuned weights, which consistently obtained superior performance over the original SAM, at <a href='https://github.com/mazurowski-lab/finetune-SAM'>https://github.com/mazurowskilab/finetune-SAM</a>

The Journal of Machine Learning for Biomedical ImagingVol. 3(May 2025)
Duke University (US)
Openalex Percentile: Top 1%
Smart Systems and Machine Learning
22.31
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

How to build the best medical image segmentation algorithm using foundation models: a comprehensive empirical study with Segment Anything Model — Maciej A. Mazurowski, Haoyu Dong, et al. · The Journal of Machine Learning for Biomedical Imaging (2025) | TGRS Research Map | TGRS