Iran University Fixes MedSAM's Fatal Flaw With a 1.6M-Parameter Click-to-Box Trick

A 1.6M-parameter Box Predictor module turns a single click into a bounding box, dramatically improving MedSAM segmentation across CT, MRI, and ultrasound

·
·
·
Iran University Fixes MedSAM's Fatal Flaw With a 1.6M-Parameter Click-to-Box TrickPRO
  • Core idea: A 1.6M-parameter MLP (Box Predictor) converts a single user click into a bounding box, fixing MedSAM's weakness with point prompts.
  • Dramatic frozen-model recovery: Without any fine-tuning, adding the Box Predictor lifts MedSAM Dice from near-zero (1–10%) to 72–89% across all four datasets.
  • Strong fine-tuned results: Dice scores of 0.89 (BUSI), 0.93 (FLARE22), 0.88 (BRISC), 0.98 (LungSegDB) — consistently beating point-only MedSAM baselines.
  • Negligible overhead: Only 1.6M extra parameters; inference time stays at ~62ms per image on a single GPU.
  • Key limitation: Hurts performance on very small lesions and high-contrast well-defined structures where point prompts already work well.
  • Open source: Code available at github.com/Amirhosseinmovahedi/MedSAM-BoxPredictor; paper on arXiv.

Getting an AI to accurately outline a tumor or organ in a medical scan is harder than it looks. The images are low-contrast, the structures are irregular, and the models are notoriously sensitive to how you tell them where to look. A new paper from Iran University of Science and Technology tackles one of the most persistent pain points in this space: the fragility of point-based prompting in MedSAM, the leading foundation model for medical image segmentation.

Why a single click isn't enough

MedSAM is a fine-tuned version of Meta's Segment Anything Model (SAM), trained on over 200,000 medical masks spanning 11 imaging modalities. While MedSAM improves over the original SAM by training on diverse medical imaging data, the heterogeneity across imaging modalities, anatomical regions, and acquisition protocols means that further domain-specific fine-tuning is often necessary to achieve optimal performance on particular clinical tasks.

The deeper problem is prompt design. SAM-based models are highly sensitive to the quality of input prompts, with this issue becoming particularly severe in medical imaging where regions of interest are often small, irregular, or poorly contrasted. Point prompts , where a user clicks somewhere inside the target region , are the most natural interaction, but they give the model almost no spatial context. A single dot in the middle of a brain MRI slice could mean a tumor, a ventricle, or healthy tissue. The model has to guess the extent of what you want.

There's also a subtler technical trap. MedSAM was fine-tuned with bounding box prompts as the primary prompt type, so its prompt encoder and mask decoder have learned to expect spatial inputs in this form. When you give it a point instead, you're not just providing less information , you're giving it the wrong kind of information entirely. The ablation results are stark: when MedSAM is used without any retraining, relying solely on a point prompt results in very poor performance across all datasets, with Dice scores ranging from 1.64 to 10.53.

One click, one box

The proposed fix is elegant in its simplicity. The team introduces a Box Predictor module: a small MLP (multi-layer perceptron , a basic feedforward neural network) that takes a single user click and automatically estimates a bounding box around the target structure. That predicted box is then fed into MedSAM's prompt encoder, restoring the geometric context the model was trained to expect.

Pro article

This story is for Pro members

You've reached the end of the free preview. Upgrade to AlphaSignal Pro to read the full article - and everything else behind the paywall.

Trending
  • No trending articles

Comments

avatar

Next Reads