arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.07475cs.CL
收藏

MAPRO:将多智能体提示优化重构为最大后验推断

MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inference

University of Notre Dame(诺丁汉大学);University of Connecticut(康奈尔大学);Amazon(亚马逊)

Zheyuan Zhang, Lin Ge, Hongjiang Li, Weicheng Zhu, Chuxu Zhang, Yanfang Ye

AI总结:

MAPRO将多智能体提示优化重构为最大后验推断问题,采用语言引导的置信传播算法和拓扑感知细化机制,实现协调的智能体提示策略,在多项基准上达到最先进性能。

摘要:

大型语言模型(LLM)已在多种任务中展现出卓越能力,基于LLM的智能体进一步将这些能力扩展到各种实际工作流程中。尽管近期进展表明,多智能体系统(MAS)通过协调专业化角色可以超越单智能体,但由于提示敏感性和MAS带来的复合不稳定性,设计有效的MAS仍然困难。为应对这一挑战,近期自动化提示设计方面的努力减少了人工工作量。然而,多智能体提示优化在很大程度上仍未得到探索。指数级扩大的搜索空间和模糊的信用分配等挑战,使得没有原则性方法的系统化设计变得难以处理。因此,我们引入了多智能体提示优化(MAPRO),这是一个四阶段框架,首先将MAS提示优化表述为最大后验(MAP)推断问题,并使用语言引导的max-product置信传播算法变体来求解。为了解决信用分配并迭代更新系统,MAPRO采用了一种拓扑感知的细化机制,该机制整合执行反馈和下游归因,以选择性地更新智能体提示。通过这一过程,MAPRO逐步收敛到一组协调的智能体特定提示策略。在多种任务的基准测试中,MAPRO实现了最先进的性能,持续超越人工设计的基线和近期的自动化替代方案。除了性能之外,我们基于MAP的表述还为未来构建更可靠和更有原则性的多智能体系统提供了通用指南。

英文摘要:

Large language models (LLMs) have demonstrated remarkable capabilities across diverse tasks, and LLM-based agents further extend these abilities to various practical workflows. While recent progress shows that multi-agent systems (MAS) can outperform single agents by coordinating specialized roles, designing effective MAS remains difficult due to prompt sensitivity and the compounded instability MAS creates. To cope with the challenge, recent efforts in automated prompt design have reduced manual effort. However, multi-agent prompt optimization remains largely unexplored. Challenges like exponentially expanding search space and ambiguous credit assignment together make systematic design intractable without principled methods. Therefore, we introduce M}ulti-Agent PRompt Optimization (MAPRO), a four-stage framework that first formulates MAS prompt optimization as a Maximum a Posteriori (MAP) inference problem and solves it using a language-guided variant of max-product belief propagation algorithm. To address credit assignment and updates the system iteratively, MAPRO employs a topology-aware refinement mechanism that integrates execution feedback and downstream blames to selectively update agent prompts. Through this process, MAPRO progressively converges to a coordinated set of agent-specific prompt policies. Across benchmarks in various tasks, MAPRO achieves state-of-the-art performance, consistently surpassing manually engineered baselines and recent automated alternatives. Beyond performance, our MAP-based formulation also delivers general guidelines for building more reliable and principled multi-agent systems in the future

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

↑