Prompting Diffusion Models for Zero-Shot Instance Segmentation
İrem Z Alagöz, Nils Morbitzer, Andrea Ramazzina, Nassir Navab, Federico Tombari, Stefano Gasperini
NeurIPS page · Open on the map
Category: Diffusion & Image Generation › Diffusion Model Manipulation · Type: new method · Keywords: zero-shot instance segmentation, diffusion models, spatial conditioning, promptable segmentation, interactive computer vision
Areas: Multimodal › Multimodal Alignment › Zero-Shot Segmentation; Generative Models (Diffusion & Flows) › Pixel-Space Diffusion › Representation Learning and Conditioning; Computer Vision & 3D › Visual Multimodal Perception › Visual Segmentation
Summary
Prompt2Seg introduces a spatial conditioning framework that directly incorporates user prompts into diffusion-based segmentation, enabling zero-shot instance segmentation across diverse visual domains without large mask supervision.
Explained to a 5-year-old
We want a computer to cut out objects in pictures when we point to them. Existing computers sometimes cut too much or include extra stuff. This paper makes a new way where the computer looks at our pointing marks directly while drawing pictures, so it can better separate objects. It learns from a few kinds of objects and then works on many new kinds of pictures, like paintings, camera views, and medical X-rays. It works better than the old method.
Explained to a 5-year-old, longer
In computer pictures, we sometimes want to separate one object from the background. We can tell the computer where the object is by drawing a dot or a shape. Some computers already try to do this, but they often include extra stuff or miss parts. The old way uses the pointing only after the picture is made, which is not very helpful. This paper creates a new idea where the computer looks at the pointing marks while it is making the picture. It learns how to use those marks to draw a better outline of the object. The computer is trained on a small set of objects from two simulated worlds. After training, it can cut out objects it has never seen before, like in paintings, on a camera that moves with a person, or in medical X-ray images. It works on many different kinds of pictures without needing a huge collection of labeled masks. The new method beats the old method on all the tests they ran. This makes it easier for people to edit pictures or help doctors see things better. Overall, the idea is a smarter way to combine drawing hints with picture creation for better object cutting.
For a technical reader
The work addresses the limitation of foundation models in promptable segmentation by integrating spatial conditioning directly into a diffusion segmentation pipeline. A conditioning branch receives user prompts such as 2D Gaussians or confidence maps, allowing the model to respond to user intent during generation. The model is fine-tuned on a constrained set of categories and evaluated zero-shot on a variety of datasets, consistently outperforming the underlying diffusion backbone. This approach demonstrates that generative priors combined with principled conditioning can achieve broad interactive segmentation without extensive mask supervision.
Problem
Promptable segmentation using foundation models often fails to precisely isolate object regions, producing false positives and over-segmentation. Existing approaches that incorporate generative priors typically apply prompts only after generation, limiting their ability to align with user intent.
Method
The approach augments a frozen diffusion segmentation model with a conditioning branch that receives spatial prompts such as 2D Gaussians or confidence maps, training the model to directly incorporate user intent. It is fine-tuned on a limited set of object categories and then evaluated zero-shot on diverse datasets.
Results
Prompt2Seg achieves superior segmentation performance compared to the baseline diffusion segmentation model on all evaluated benchmarks.
Contributions
The paper introduces a spatial conditioning framework that directly incorporates user prompts into diffusion models, enabling zero-shot instance segmentation across diverse visual domains without large mask supervision.
Practical relevance
This approach could enable more flexible and annotation-efficient interactive segmentation tools for a variety of real-world vision tasks.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction