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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: He, Xingqi, Zhang, Yujie, Gao, Shuyong, Li, Wenjie, Hong, Lingyi, Chen, Mingxi, Jiang, Kaixun, Fu, Jiyuan, Zhang, Wenqiang
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909978594377728
author He, Xingqi
Zhang, Yujie
Gao, Shuyong
Li, Wenjie
Hong, Lingyi
Chen, Mingxi
Jiang, Kaixun
Fu, Jiyuan
Zhang, Wenqiang
author_facet He, Xingqi
Zhang, Yujie
Gao, Shuyong
Li, Wenjie
Hong, Lingyi
Chen, Mingxi
Jiang, Kaixun
Fu, Jiyuan
Zhang, Wenqiang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2512_24023
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RSAgent: Learning to Reason and Act for Text-Guided Segmentation via Multi-Turn Tool Invocations
He, Xingqi
Zhang, Yujie
Gao, Shuyong
Li, Wenjie
Hong, Lingyi
Chen, Mingxi
Jiang, Kaixun
Fu, Jiyuan
Zhang, Wenqiang
Computer Vision and Pattern Recognition
Artificial Intelligence
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.
title RSAgent: Learning to Reason and Act for Text-Guided Segmentation via Multi-Turn Tool Invocations
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2512.24023