NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Prompting Diffusion Models for Zero-Shot Instance Segmentation

İrem Zeynep Alagöz, Nils Morbitzer, Andrea Ramazzina, Nassir Navab, Federico Tombari, Stefano Gasperini

Abstract

Interactive instance segmentation enables users to identify and iteratively refine object masks, offering fine-grained control. Discriminative foundation models achieve strong zero-shot generalization across diverse natural-image domains at the cost of large-scale, task-specific mask annotations. On the other hand, early generative attempts demonstrate annotation-efficient fine-tuning but use prompts only during post-processing, yielding suboptimal segments. In this paper, we address this limitation with Prompt2Seg, a spatial prompt-conditioning branch that guides a frozen diffusion-based segmentation model. Our approach is prompted with 2D Gaussians as explicit input signals, and trains the conditioning branch to respond directly to user intent. Fine-tuned on a deliberately constrained set of synthetic data from Hypersim and Virtual KITTI 2, Prompt2Seg generalizes zero-shot to a wide range of real data, with diverse visual domains and unseen object types. Extensive experiments on seven datasets, including paintings, egocentric views, and X-ray data, show Prompt2Seg consistently outperforming the underlying diffusion segmentation backbone. Additionally, we show how Prompt2Seg can be prompted with uncertainty maps to identify unknown object instances.
BibTeX
@inproceedings{alagoz2026prompting,
  author = {İrem Zeynep Alagöz and Nils Morbitzer and Andrea Ramazzina and Nassir Navab and Federico Tombari and Stefano Gasperini},
  title = {{Prompting Diffusion Models for Zero-Shot Instance Segmentation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=3NQtKkQP2m},
}
Figure