arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.02630cs.LGcs.AI
收藏

MASPOB: 基于图神经网络的多智能体系统提示优化方法

MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));South China University of Technology(华南理工大学);Ritsumeikan University(立命馆大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州))

Zhi Hong, Qian Zhang, Jiahang Sun, Zhiwei Shang, Mingze Kong, Xiangyi Wang, Yao Shu, Zhongxiang Dai

AI总结:

提出基于赌博机的样本高效框架MASPOB,利用UCB平衡探索与利用、GNN捕获拓扑先验、坐标上升分解优化,解决多智能体系统提示优化中的样本效率、拓扑耦合和组合爆炸问题。

摘要:

大型语言模型(LLMs)在许多实际应用中取得了巨大成功,尤其是作为多智能体系统(MAS)的认知骨干来编排复杂工作流。由于许多部署场景排除了MAS工作流修改,且其性能对输入提示高度敏感,提示优化成为提高性能的更自然方法。然而,实际中的MAS提示优化面临三个关键挑战:(1)由于评估成本高昂,需要样本效率;(2)提示之间的拓扑诱导耦合;(3)搜索空间的组合爆炸。为了解决这些挑战,我们引入了MASPOB(基于赌博机的多智能体系统提示优化),一种基于赌博机的新型样本高效框架。通过利用上置信界(UCB)量化不确定性,赌博机框架平衡了探索与利用,在严格有限的预算内最大化收益。为了处理拓扑诱导耦合,MASPOB集成了图神经网络(GNN)以捕获结构先验,学习提示语义的拓扑感知表示。此外,它采用坐标上升将优化分解为单变量子问题,将搜索复杂度从指数级降低到线性级。跨不同基准的大量实验表明,MASPOB实现了最先进的性能,持续优于现有基线。

英文摘要:

Large Language Models (LLMs) have achieved great success in many real-world applications, especially the one serving as the cognitive backbone of Multi-Agent Systems (MAS) to orchestrate complex workflows in practice. Since many deployment scenarios preclude MAS workflow modifications and its performance is highly sensitive to the input prompts, prompt optimization emerges as a more natural approach to improve its performance. However, real-world prompt optimization for MAS is impeded by three key challenges: (1) the need of sample efficiency due to prohibitive evaluation costs, (2) topology-induced coupling among prompts, and (3) the combinatorial explosion of the search space. To address these challenges, we introduce MASPOB (Multi-Agent System Prompt Optimization via Bandits), a novel sample-efficient framework based on bandits. By leveraging Upper Confidence Bound (UCB) to quantify uncertainty, the bandit framework balances exploration and exploitation, maximizing gains within a strictly limited budget. To handle topology-induced coupling, MASPOB integrates Graph Neural Networks (GNNs) to capture structural priors, learning topology-aware representations of prompt semantics. Furthermore, it employs coordinate ascent to decompose the optimization into univariate sub-problems, reducing search complexity from exponential to linear. Extensive experiments across diverse benchmarks demonstrate that MASPOB achieves state-of-the-art performance, consistently outperforming existing baselines.

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

↑