Seg-Zero: Reasoning-Chain Guided Segmentation via Cognitive Reinforcement

Yuqi Liu, Bohao Peng, Zhisheng Zhong, Zihao Yue, Fanbin Lu +2 more
3/9/2025
cs.CVcs.MM

No official code found. Best implementation: JIA-Lab-research/Seg-Zero (633 stars, Apache-2.0, last commit 2026-01-17). 1 more below.

Abstract

Traditional methods for reasoning segmentation rely on supervised fine-tuning with categorical labels and simple descriptions, limiting its out-of-domain generalization and lacking explicit reasoning processes. To address these limitations, we propose Seg-Zero, a novel framework that demonstrates remarkable generalizability and derives explicit chain-of-thought reasoning through cognitive reinforcement. Seg-Zero introduces a decoupled architecture consisting of a reasoning model and a segmentation model. The reasoning model interprets user intentions, generates explicit reasoning chains, and produces positional prompts, which are subsequently used by the segmentation model to generate precious pixel-level masks. We design a sophisticated reward mechanism that integrates both format and accuracy rewards to effectively guide optimization directions. Trained exclusively via reinforcement learning with GRPO and without explicit reasoning data, Seg-Zero achieves robust zero-shot generalization and exhibits emergent test-time reasoning capabilities. Experiments show that Seg-Zero-7B achieves a zero-shot performance of 57.5 on the ReasonSeg benchmark, surpassing the prior LISA-7B by 18\%. This significant improvement highlights Seg-Zero's ability to generalize across domains while presenting an explicit reasoning process. Code is available at https://github.com/dvlab-research/Seg-Zero.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Project Page For "Seg-Zero: Reasoning-Chain Guided Segmentation via Cognitive Reinforcement"

63330Shell, PythonMar 7, 20259 months agoApache-2.0
multimodalmultimodel-large-language-modelreasoning-language-modelsreinforcement-learningsegmentation
Apache-2.0

Project Page For "Seg-Zero: Reasoning-Chain Guided Segmentation via Cognitive Reinforcement"

00Shell, PythonMay 21, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{liu2025segzero,
  title  = {Seg-Zero: Reasoning-Chain Guided Segmentation via Cognitive Reinforcement},
  author = {Yuqi Liu and Bohao Peng and Zhisheng Zhong and Zihao Yue and Fanbin Lu and Bei Yu and Jiaya Jia},
  year   = {2025},
  eprint = {2503.06520},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.06520v2}
}

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

Discussion