GraCo: Granularity-Controllable Interactive Segmentation

Yian Zhao, Kehan Li, Zesen Cheng, Pengchong Qiao, Xiawu Zheng +4 more
2/9/2026

No official code found. Best implementation: Zhao-Yian/GraCo (62 stars, Apache-2.0, last commit 2025-03-11).

Abstract

Interactive Segmentation (IS) segments specific objects or parts in the image according to user input. Current IS pipelines fall into two categories: single-granularity out-put and multi-granularity output. The latter aims to allevi-ate the spatial ambiguity present in the former. However, the multi-granularity output pipeline suffers from limited interaction flexibility and produces redundant results. In this work, we introduce Granularity-Controllable Interactive Segmentation (GraCo), a novel approach that allows precise control of prediction granularity by introducing ad-ditional parameters to input. This enhances the customization of the interactive system and eliminates redundancy while resolving ambiguity. Nevertheless, the exorbitant cost of annotating multi-granularity masks and the lack of avail-able datasets with granularity annotations make it difficult for models to acquire the necessary guidance to control out-put granularity. To address this problem, we design an any-granularity mask generator that exploits the semantic property of the pre-trained IS model to automatically gen-erate abundant mask-granularity pairs without requiring additional manual annotation. Based on these pairs, we propose a granularity-controllable learning strategy that efficiently imparts the granularity controllability to the IS model. Extensive experiments on intricate scenarios at ob-ject and part levels demonstrate that our GraCo has signifi-cant advantages over previous methods. This highlights the potential of GraCo to be a flexible annotation tool, capable of adapting to diverse segmentation scenarios. The project page: https://zhao-yian.github.io/GraCo.

View on arXivView PDF

Code Implementations(1)

Zhao-Yian/GraCoCommunity100%
Apache-2.0

[CVPR 2024 Highlight] Official GraCo: Granularity-Controllable Interactive Segmentation.

622Shell, CythonApr 20, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhao2026graco,
  title  = {GraCo: Granularity-Controllable Interactive Segmentation},
  author = {Yian Zhao and Kehan Li and Zesen Cheng and Pengchong Qiao and Xiawu Zheng and Rongrong Ji and Chang Liu and Li-ming Yuan and Jie Chen},
  year   = {2026},
  eprint = {2405.00587},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2405.00587},
  journal = {CVPR 2024 2024}
}

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/2405.00587.svg)](https://codeofpaper.com/paper/2405.00587)

Discussion