Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

RSAgent: Learning to Reason and Act for Text-Guided Segmentation via Multi-Turn Tool Invocations

About

Text-guided object segmentation requires both cross-modal reasoning and pixel grounding abilities. Most recent methods treat text-guided segmentation as one-shot grounding, where the model predicts pixel prompts in a single forward pass to drive an external segmentor, which limits verification, refocusing and refinement when initial localization is wrong. To address this limitation, we propose RSAgent, an agentic Multimodal Large Language Model (MLLM) which interleaves reasoning and action for segmentation via multi-turn tool invocations. RSAgent queries a segmentation toolbox, observes visual feedback, and revises its spatial hypothesis using historical observations to re-localize targets and iteratively refine masks. We further build a data pipeline to synthesize multi-turn reasoning segmentation trajectories, and train RSAgent with a two-stage framework: cold-start supervised fine-tuning followed by agentic reinforcement learning with fine-grained, task-specific rewards. Extensive experiments show that RSAgent achieves a zero-shot performance of 66.5% gIoU on ReasonSeg test, improving over Seg-Zero-7B by 9%, and reaches 81.5% cIoU on RefCOCOg, demonstrating state-of-the-art performance on both in-domain and out-of-domain benchmarks.

Xingqi He, Yujie Zhang, Shuyong Gao, Wenjie Li, Lingyi Hong, Mingxi Chen, Kaixun Jiang, Jiyuan Fu, Wenqiang Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Referring Expression SegmentationRefCOCO (testA)
cIoU83.1
257
Referring Expression SegmentationRefCOCO+ (testA)
cIoU83
230
Referring Expression SegmentationRefCOCO+ (val)
cIoU80.1
223
Referring Expression SegmentationRefCOCO (testB)
cIoU82.2
213
Referring Expression SegmentationRefCOCO (val)
cIoU83.7
212
Referring Expression SegmentationRefCOCO+ (testB)
cIoU74.7
210
Reasoning SegmentationReasonSeg (val)
gIoU69
193
Reasoning SegmentationReasonSeg (test)
gIoU66.5
145
Referring Expression SegmentationRefCOCOg (val)
cIoU81.3
129
Referring Expression SegmentationRefCOCOg (test)
cIoU81.8
118
Showing 10 of 12 rows

Other info

Follow for update