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

图-智能体:一种基于图的多智能体LLM协作框架

Graph-of-Agents: A Graph-based Framework for Multi-Agent LLM Collaboration

UNC Chapel Hill(UNC夏洛茨维尔分校);Eigent AI(Eigent人工智能);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);Stanford University(斯坦福大学)

Sukwon Yun, Jie Peng, Pingzhi Li, Wendong Fan, Jie Chen, James Zou, Guohao Li, Tianlong Chen

AI总结:

本文提出Graph-of-Agents框架,通过节点采样、边构建和消息传递提升多智能体协作效率,仅用3个智能体在多个基准测试中优于使用全部6个智能体的基线方法。

摘要:

随着LLM和基准的持续增长,协调多个模型以提升任务性能的需求愈发迫切。尽管混合智能体(MoA)等框架试图协调LLM,但在选择相关智能体、促进智能体间有效通信和高效整合响应方面往往不足。本文提出Graph-of-Agents(GoA),一种基于图的多智能体LLM通信建模框架。我们的方法首先通过模型卡片选择最相关的智能体,然后通过评估智能体间的响应确定相关性排序。接着,通过定向消息传递从高相关性智能体到低相关性智能体增强响应,再通过反向消息传递细化原始响应。最后,通过图池化(如最大或平均池化)聚合更新后的响应,生成单一统一答案。我们在多样化的多领域基准(MMLU、MMLU-Pro、GPQA)和领域特定基准(MATH、HumanEval、MedMCQA)上评估GoA,使用6个跨领域的LLM池。令人惊讶的是,GoA仅用3个选定的智能体就实现了优于使用全部6个智能体的基线方法的性能。通过采用图结构,GoA通过结构化消息传递实现了可扩展性和有效性,使其成为应对持续增长的LLM动物园挑战的有力候选。代码可在https://github.com/UNITES-Lab/GoA获取。

英文摘要:

With an ever-growing zoo of LLMs and benchmarks, the need to orchestrate multiple models for improved task performance has never been more pressing. While frameworks like Mixture-of-Agents (MoA) attempt to coordinate LLMs, they often fall short in terms of (1) selecting relevant agents, (2) facilitating effective intra-agent communication, and (3) integrating responses efficiently. In this work, we propose Graph-of-Agents (GoA), a new graph-based framework for modeling multi-agent LLM communication. Our approach begins with node sampling, selecting only the most relevant agents by leveraging model cards that summarize each model's domain, task specialization, and other characteristics. Next, we construct edges between the selected agents by evaluating their responses against one another to determine relevance ordering. Directed message passing is then performed from highly relevant agents to less relevant ones to enhance their responses, followed by reverse message passing to refine the original responses of the more relevant agents. Finally, the updated responses are aggregated via graph-based pooling (e.g., max or mean pooling) to produce a single, unified answer. We evaluate GoA on diverse multi-domain benchmarks (MMLU, MMLU-Pro, GPQA) and domain-specific benchmarks (MATH, HumanEval, MedMCQA), with an agent pool of 6 LLMs spanning multiple domains. Surprisingly, GoA achieves superior performance using only 3 selected agents, outperforming recent multi-agent LLM baselines that utilize all 6 agents simultaneously. By adopting a graph structure, GoA offers both scalability and effectiveness through structured message passing-positioning it as a strong candidate for navigating the challenges of the ever-growing LLM zoo. Code is available at: https://github.com/UNITES-Lab/GoA.

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

↑