Multi-Agent Tool-Integrated Policy Optimization
Zhanfeng Mo, Xingxuan Li, Yuntao Chen, Lidong Bing
TL;DR
The paper tackles the challenge of enabling robust, knowledge-intensive reasoning with LLMs by addressing context length and tool response noise in single-agent TIP. It introduces MATPO, a multi-agent-in-one-model reinforcement learning framework that trains planner and worker roles within a single LLM instance through role-specific prompts and a principled credit assignment mechanism. The authors provide a theoretical basis and concrete implementation, demonstrating that MATPO outperforms single-agent baselines on multiple benchmarks with an average relative improvement of 18.38% and improved robustness to noisy tool outputs. The work offers practical guidance for stable multi-agent RL training and highlights future directions for expanding agent roles and improving RL infrastructure for multi-turn tool integration.
Abstract
Large language models (LLMs) increasingly rely on multi-turn tool-integrated planning for knowledge-intensive and complex reasoning tasks. Existing implementations typically rely on a single agent, but they suffer from limited context length and noisy tool responses. A natural solution is to adopt a multi-agent framework with planner- and worker-agents to manage context. However, no existing methods support effective reinforcement learning post-training of tool-integrated multi-agent frameworks. To address this gap, we propose Multi-Agent Tool-Integrated Policy Optimization (MATPO), which enables distinct roles (planner and worker) to be trained within a single LLM instance using role-specific prompts via reinforcement learning. MATPO is derived from a principled credit assignment mechanism across planner and worker rollouts. This design eliminates the need to deploy multiple LLMs, which would be memory-intensive, while preserving the benefits of specialization. Experiments on GAIA-text, WebWalkerQA, and FRAMES show that MATPO consistently outperforms single-agent baselines by an average of 18.38% relative improvement in performance and exhibits greater robustness to noisy tool outputs. Our findings highlight the effectiveness of unifying multiple agent roles within a single LLM and provide practical insights for stable and efficient multi-agent RL training.
