G-Designer:通过图神经网络构建多智能体通信拓扑
G-Designer: Architecting Multi-agent Communication Topologies via Graph Neural Networks
AI总结:
G-Designer 利用变分图自编码器动态设计任务自适应的多智能体通信拓扑,在多个基准上实现高性能、大幅降低令牌消耗并具备对抗鲁棒性。
摘要:
近年来,基于大语言模型(LLM)的智能体研究进展表明,集体智能可以显著超越单个智能体的能力,这主要归功于精心设计的智能体间通信拓扑。尽管已有多种多样且性能优异的设计,实践者在为特定任务选择最有效的流程时仍常常面临困惑:哪种拓扑最适合我的任务,既能避免不必要的通信令牌开销,又能确保高质量的解决方案?针对这一困境,我们提出了 G-Designer,这是一种面向多智能体部署的自适应、高效且鲁棒的解决方案,能够动态设计任务感知的定制化通信拓扑。具体而言,G-Designer 将多智能体系统建模为一个多智能体网络,利用变分图自编码器对节点(智能体)和一个任务特定的虚拟节点进行编码,并解码出任务自适应且性能优异的通信拓扑。在六个基准上的大量实验表明,G-Designer 具有以下特点:(1)高性能,在 MMLU 上取得了 84.50% 的准确率,在 HumanEval 上取得了 89.90% 的 pass@1;(2)任务自适应,能够根据任务难度构建通信协议,在 HumanEval 上最多减少 95.33% 的令牌消耗;(3)对抗鲁棒性,在仅 0.3% 的准确率下降下抵御智能体对抗攻击。
英文摘要:
Recent advancements in large language model (LLM)-based agents have demonstrated that collective intelligence can significantly surpass the capabilities of individual agents, primarily due to well-crafted inter-agent communication topologies. Despite the diverse and high-performing designs available, practitioners often face confusion when selecting the most effective pipeline for their specific task: \textit{Which topology is the best choice for my task, avoiding unnecessary communication token overhead while ensuring high-quality solution?} In response to this dilemma, we introduce G-Designer, an adaptive, efficient, and robust solution for multi-agent deployment, which dynamically designs task-aware, customized communication topologies. Specifically, G-Designer models the multi-agent system as a multi-agent network, leveraging a variational graph auto-encoder to encode both the nodes (agents) and a task-specific virtual node, and decodes a task-adaptive and high-performing communication topology. Extensive experiments on six benchmarks showcase that G-Designer is: \textbf{(1) high-performing}, achieving superior results on MMLU with accuracy at $84.50\%$ and on HumanEval with pass@1 at $89.90\%$; \textbf{(2) task-adaptive}, architecting communication protocols tailored to task difficulty, reducing token consumption by up to $95.33\%$ on HumanEval; and \textbf{(3) adversarially robust}, defending against agent adversarial attacks with merely $0.3\%$ accuracy drop.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。