ICML 2026poster0 citations

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

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

Abstract

Text-guided object segmentation requires both cross-modal reasoning and pixel grounding abilities. Most recent methods treat it as a single forward pass, where the model directly predicts pixel prompts to a segmentation model, 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 visual toolbox, observes feedback, and revises its pixel 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.

LLMRLVisionMultimodalBenchmark
BibTeX
@inproceedings{
he2026rsagent,
title={{RSA}gent: Learning to Reason and Act via Multi-Turn Tool Invocations for Text-Guided Segmentation},
author={Xingqi He and Yujie Zhang and Shuyong Gao and Wenjie Li and Lingyi Hong and Mingxi Chen and Kaixun Jiang and Jiyuan Fu and Wenqiang Zhang},
booktitle={Forty-third International Conference on Machine Learning},
year={2026},
url={https://openreview.net/forum?id=YYm8Cwn1J3}
}