Multi-Agent Tool-Integrated Policy Optimization

Zhanfeng Mo, Xingxuan Li, Yuntao Chen, Lidong Bing
10/6/2025
cs.CL

No official code found. Best implementation: mzf666/MATPO (82 stars, Apache-2.0, last commit 2025-10-31).

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.

View on arXivView PDF

Code Implementations(1)

mzf666/MATPOCommunity71%
Apache-2.0

Official implementation of MATPO: Multi-Agent Tool-Integrated Policy Optimization.

8238Roff, ShellOct 8, 202511 months agoApache-2.0

Similar Papers

Cite this paper

@article{mo2025multiagent,
  title  = {Multi-Agent Tool-Integrated Policy Optimization},
  author = {Zhanfeng Mo and Xingxuan Li and Yuntao Chen and Lidong Bing},
  year   = {2025},
  eprint = {2510.04678},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.04678v1}
}

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

Discussion