Enhancing SAM with Efficient Prompting and Preference Optimization for Semi-supervised Medical Image Segmentation
Aishik Konwer, Zhijian Yang, Erhan Bas, Cao Xiao, Prateek Prasanna, Parminder Bhatia, Taha Kass-Hout
TL;DR
This work tackles the data-hungry nature of medical image segmentation by extending SAM with annotation-efficient, unsupervised prompts derived from BiomedCLIP, MedVInT, and GPT-4, capturing semantic, locational, and structural cues. It then introduces a Direct Preference Optimization–based virtual annotator to simulate human feedback and guide end-to-end training on largely unlabeled data, removing the need for an explicit reward function. Across lung, breast tumor, and abdominal organ segmentation tasks in X-ray, ultrasound, and CT, the approach achieves state-of-the-art performance in low-annotation regimes, demonstrating strong generalization and robustness to rating noise. The method reduces annotation costs while maintaining high fidelity segmentations, with practical impact for scalable clinical imaging analysis.
Abstract
Foundational models such as the Segment Anything Model (SAM) are gaining traction in medical imaging segmentation, supporting multiple downstream tasks. However, such models are supervised in nature, still relying on large annotated datasets or prompts supplied by experts. Conventional techniques such as active learning to alleviate such limitations are limited in scope and still necessitate continuous human involvement and complex domain knowledge for label refinement or establishing reward ground truth. To address these challenges, we propose an enhanced Segment Anything Model (SAM) framework that utilizes annotation-efficient prompts generated in a fully unsupervised fashion, while still capturing essential semantic, location, and shape information through contrastive language-image pretraining and visual question answering. We adopt the direct preference optimization technique to design an optimal policy that enables the model to generate high-fidelity segmentations with simple ratings or rankings provided by a virtual annotator simulating the human annotation process. State-of-the-art performance of our framework in tasks such as lung segmentation, breast tumor segmentation, and organ segmentation across various modalities, including X-ray, ultrasound, and abdominal CT, justifies its effectiveness in low-annotation data scenarios.
