MasHost Builds It All: Autonomous Multi-Agent System Directed by Reinforcement Learning

Kuo Yang, Xingjie Yang, Linhui Yu, Qing Xu, Yan Fang +3 more
6/10/2025
cs.MAcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Large Language Model (LLM)-driven Multi-agent systems (Mas) have recently emerged as a powerful paradigm for tackling complex real-world tasks. However, existing Mas construction methods typically rely on manually crafted interaction mechanisms or heuristic rules, introducing human biases and constraining the autonomous ability. Even with recent advances in adaptive Mas construction, existing systems largely remain within the paradigm of semi-autonomous patterns. In this work, we propose MasHost, a Reinforcement Learning (RL)-based framework for autonomous and query-adaptive Mas design. By formulating Mas construction as a graph search problem, our proposed MasHost jointly samples agent roles and their interactions through a unified probabilistic sampling mechanism. Beyond the accuracy and efficiency objectives pursued in prior works, we introduce component rationality as an additional and novel design principle in Mas. To achieve this multi-objective optimization, we propose Hierarchical Relative Policy Optimization (HRPO), a novel RL strategy that collaboratively integrates group-relative advantages and action-wise rewards. To our knowledge, our proposed MasHost is the first RL-driven framework for autonomous Mas graph construction. Extensive experiments on six benchmarks demonstrate that MasHost consistently outperforms most competitive baselines, validating its effectiveness, efficiency, and structure rationality.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2025mashost,
  title  = {MasHost Builds It All: Autonomous Multi-Agent System Directed by Reinforcement Learning},
  author = {Kuo Yang and Xingjie Yang and Linhui Yu and Qing Xu and Yan Fang and Xu Wang and Zhengyang Zhou and Yang Wang},
  year   = {2025},
  eprint = {2506.08507},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.08507v2}
}

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

Discussion