Adaptive Automatic Prompt Generation Assistant for Segmentation Foundation Models

Lurz D, Neubig L, Kist A (2026)


Publication Type: Conference contribution

Publication year: 2026

Journal

Publisher: Springer Science and Business Media Deutschland GmbH

Pages Range: 259-266

Conference Proceedings Title: Informatik aktuell

Event location: Lübeck DE

ISBN: 9783658510992

DOI: 10.1007/978-3-658-51100-5_52

Abstract

A variety of interactive segmentation foundation models are available, achieving strong performance in various domains of medical image segmentation. Many of these models, such as MedSAM2, require input prompts in the form of point coordinates or boxes. This prompt creation, however, is a time-consuming and error-prone task. To address this, we propose BOB, the Bounding-box Oracle for Biomedicine. By training lightweight 2D object detection models on the bounding boxes of annotated medical segmentation datasets, it can generate box prompts for medical images, videos, and volumes, allowing faster prompt generation while still keeping a human-in-the-loop architecture. We trained YOLOv12n and D-FINE-N with 30 classes on around 50k diverse images across more than 10 modalities. An algorithm to cluster the prompts and filter by object and prompt quality ensures appropriate behavior in multi-dimensional images. By combining the generated prompts with a segmentation foundation model, we are able to quickly perform semantic and instance segmentation with optional human-in-the-loop. Compared to theoretically perfect box prompts generated from the ground truth, we could achieve around 90-110% mIoU performance across scenarios, rivaling state-of-the-art specialized deep neural networks. To allow prompt generation, visualization, interactive refinement, and subsequent segmentation of the prompts, we provide a napari plugin. Our code and full results are openly available at https://github.com/DavidL-11/BOB.

Authors with CRIS profile

How to cite

APA:

Lurz, D., Neubig, L., & Kist, A. (2026). Adaptive Automatic Prompt Generation Assistant for Segmentation Foundation Models. In Heinz Handels, Katharina Breininger, Thomas Deserno, Andreas Maier, Klaus Maier-Hein, Christoph Palm, Thomas Tolxdorff (Eds.), Informatik aktuell (pp. 259-266). Lübeck, DE: Springer Science and Business Media Deutschland GmbH.

MLA:

Lurz, David, Luisa Neubig, and Andreas Kist. "Adaptive Automatic Prompt Generation Assistant for Segmentation Foundation Models." Proceedings of the Bildverarbeitung für die Medizin Workshop, BVM 2026, Lübeck Ed. Heinz Handels, Katharina Breininger, Thomas Deserno, Andreas Maier, Klaus Maier-Hein, Christoph Palm, Thomas Tolxdorff, Springer Science and Business Media Deutschland GmbH, 2026. 259-266.

BibTeX: Download