arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.06623cs.AIcs.CLcs.LGcs.MA
收藏

MASPO:基于大语言模型的多智能体系统的联合提示优化

MASPO: Joint Prompt Optimization for LLM-based Multi-Agent Systems

Institute of Computing and Intelligence, Harbin Institute of Technology, Shenzhen, China(哈尔滨工业大学深圳研究院)

Zhexuan Wang, Xuebo Liu, Li Wang, Zifei Shan, Yutong Wang, Zhenxi Song, Min Zhang

AI总结:

本文提出MASPO框架,通过联合评估机制和数据驱动的进化束搜索,优化多智能体系统中的提示,提升整体性能,实验显示在6个任务中平均准确率提升2.9。

摘要:

基于大语言模型(LLM)的多智能体系统(MAS)在处理复杂协作任务中展现出潜力,其中智能体通常通过角色特定的提示进行协调。尽管提示质量至关重要,但跨交互智能体的联合优化仍具挑战性,主要由于局部智能体目标与整体系统目标之间的不一致。为此,我们引入MASPO,一种新的框架,旨在自动且迭代地优化整个系统的提示。MASPO的核心创新是其联合评估机制,该机制不仅评估提示的局部有效性,还评估其促进后续智能体下游成功的能力。这有效弥合了局部交互与全局结果之间的鸿沟,而无需依赖地面真实标签。此外,MASPO采用数据驱动的进化束搜索,以高效地导航高维提示空间。在六个多样化任务上的广泛实验证明,MASPO在6个任务中均优于最先进的提示优化方法,平均准确率提升2.9。我们已发布代码至https://github.com/wangzx1219/MASPO。

英文摘要:

Large language model (LLM)-based Multi-agent systems (MAS) have shown promise in tackling complex collaborative tasks, where agents are typically orchestrated via role-specific prompts. While the quality of these prompts is pivotal, jointly optimizing them across interacting agents remains a non-trivial challenge, primarily due to the misalignment between local agent objectives and holistic system goals. To address this, we introduce MASPO, a novel framework designed to automatically and iteratively refine prompts across the entire system. A core innovation of MASPO is its joint evaluation mechanism, which assesses prompts not merely by their local validity, but by their capacity to facilitate downstream success for successor agents. This effectively bridges the gap between local interactions and global outcomes without relying on ground-truth labels. Furthermore, MASPO employs a data-driven evolutionary beam search to efficiently navigate the high-dimensional prompt space. Extensive empirical evaluations across 6 diverse tasks demonstrate that MASPO consistently outperforms state-of-the-art prompt optimization methods, achieving an average accuracy improvement of 2.9. We release our code at https://github.com/wangzx1219/MASPO.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑