Ref-Diff: Zero-shot Referring Image Segmentation with Generative Models

Minheng Ni, Yabo Zhang, Kailai Feng, Xiaoming Li, Yiwen Guo +1 more
8/31/2023
47 citations
cs.CV

Official code: kodenii/Ref-Diff (21 stars, Python, MIT, last commit 2025-05-29).

Abstract

Zero-shot referring image segmentation is a challenging task because it aims to find an instance segmentation mask based on the given referring descriptions, without training on this type of paired data. Current zero-shot methods mainly focus on using pre-trained discriminative models (e.g., CLIP).

Show full abstract

However, we have observed that generative models (e.g., Stable Diffusion) have potentially understood the relationships between various visual elements and text descriptions, which are rarely investigated in this task. In this work, we introduce a novel Referring Diffusional segmentor (Ref-Diff) for this task, which leverages the fine-grained multi-modal information from generative models. We demonstrate that without a proposal generator, a generative model alone can achieve comparable performance to existing SOTA weakly-supervised models. When we combine both generative and discriminative models, our Ref-Diff outperforms these competing methods by a significant margin. This indicates that generative models are also beneficial for this task and can complement discriminative models for better referring segmentation. Our code is publicly available at https://github.com/kodenii/Ref-Diff.

View on arXivView PDF

Code Implementations(1)

kodenii/Ref-DiffOfficial100%
MIT

Ref-Diff: Zero-shot Referring Image Segmentation with Generative Models

210PythonAug 30, 20231 years agoMIT

Similar Papers

Cite this paper

@article{ni2023refdiff,
  title  = {Ref-Diff: Zero-shot Referring Image Segmentation with Generative Models},
  author = {Minheng Ni and Yabo Zhang and Kailai Feng and Xiaoming Li and Yiwen Guo and Wangmeng Zuo},
  year   = {2023},
  eprint = {2308.16777},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.16777v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.16777.svg)](https://codeofpaper.com/paper/2308.16777)

Discussion