UltraSam: A Foundation Model for Ultrasound using Large Open-Access Segmentation Datasets

Adrien Meyer, Aditya Murali, Didier Mutter, Nicolas Padoy · DOI

Abstract

UltraSam is a foundation model designed for ultrasound (US) imaging, addressing the significant domain shift between natural images and medical sonography. By leveraging US-43d, a newly curated dataset of over 282,000 image-mask pairs from 43 open-access sources, UltraSam achieves state-of-the-art performance in interactive segmentation. Furthermore, the model introduces a "prompted classification" framework that utilizes spatial context to improve diagnostic accuracy.

Introduction

Ultrasound is a critical diagnostic tool due to its safety and real-time capabilities. However, automated analysis is hindered by high levels of speckle noise, acoustic shadows, and artifacts. While general-purpose foundation models like Meta’s Segment Anything Model (SAM) have transformed computer vision, their zero-shot performance on ultrasound is often poor due to the drastic difference in image characteristics. UltraSam bridges this gap by fine-tuning the SAM architecture on a massive, diverse collection of ultrasound data.

The US-43d Dataset

The authors compiled US-43d, the largest open-access ultrasound segmentation resource to date. It aggregates data from 43 distinct sources, covering 58 anatomical structures and 20 clinical applications, including cardiac, thyroid, and fetal imaging. This scale allows the model to learn a robust representation of ultrasound-specific features across various probe types and pathologies.

Summary of the US-43d dataset, showcasing its scale and diversity across clinical applications.

Methods

UltraSam is built upon the SAM ViT-b architecture. Unlike previous approaches that use parameter-efficient fine-tuning (PEFT) like adapters, the authors found that full end-to-end fine-tuning was necessary to truly adapt the model to the ultrasound domain.

A key innovation is the Prompted Classification task. In this workflow, the model receives a prompt (point or box) to identify a region of interest. It then combines object-specific features from the mask decoder with global image features to classify the finding. This approach mimics clinical practice, where a radiologist focuses on a specific lesion to determine its pathology.

UltraSam architecture highlighting the prompt-based segmentation and the novel prompted classification workflow.

Results and Discussion

UltraSam was evaluated on several "unseen" downstream datasets, including breast lesions (BUS-BRA) and ovarian tumors (MMOTU2D).

  • Segmentation Performance: On the BUS-BRA dataset, UltraSam achieved a mean Average Precision (mAP) of 67.1 using point prompts, a dramatic improvement over the original SAM's 14.2. This demonstrates the effectiveness of domain-specific fine-tuning.
  • Classification Boost: The prompted classification approach yielded an F1-score improvement of up to 2.7 points compared to standard global classifiers. By focusing on the relevant tissue prompted by the user, the model avoids noise from irrelevant parts of the image.
  • Generalization: The model showed robust performance even on anatomical structures not present in the training set, indicating it has learned a generalized representation of ultrasound imagery rather than just memorizing specific shapes.

Despite its strengths, the model's performance dips on radial ultrasound views, which are underrepresented in current open-access data. This highlights the need for continued community contribution of diverse datasets.

Conclusion

UltraSam demonstrates that large-scale, prompt-based foundation models can be successfully adapted to specialized medical domains like ultrasound. By unifying fragmented open-access data into the US-43d dataset, the authors have created a powerful tool for interactive medical image analysis. The code and pretrained weights have been released to facilitate further research in the community.

Summary updated

BibTeX
@article{meyer2026ultrasam,
  author = {Adrien Meyer and Aditya Murali and Didier Mutter and Nicolas Padoy},
  title = {{UltraSam: A Foundation Model for Ultrasound using Large Open-Access Segmentation Datasets}},
  journal = {Int. J. Comput. Assist. Radiol. Surg.},
  year = {2026},
  doi = {10.1007/s11548-025-03517-8},
}
Figure