arXiv:2604.17148cs.AI2026-04ICLR被引 12

用图结构优化多大模型协作,选对人、传好信息、合并结果。

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

论文配图:Graph-of-Agents: A Graph-based Framework for Multi-Agent LLM Collaboration
图 1 · 摘自论文原文
  • 构建图结构,按能力匹配并连接最相关的模型
  • 双向消息传递提升响应质量,3个模型效果超6个模型的基线
  • 适合需要高效协作的复杂任务场景

随着大模型和评测基准不断增多,如何协调多个模型以提升任务表现愈发关键。现有框架如混合专家(MoA)在选择相关模型、促进模型间通信和整合结果方面存在不足。本文提出图-代理框架(GoA),通过模型卡片筛选出最相关的6个大模型中的3个,基于响应互评构建有向图关系,执行双向消息传递增强响应,并采用图池化(如最大值或均值池化)生成统一答案。在多领域(MMLU、MMLU-Pro、GPQA)和特定领域(MATH、HumanEval、MedMCQA)基准上测试,仅用3个模型即超越使用全部6个模型的最新多代理基线。图结构实现高效且可扩展的消息传递,为应对日益增长的大模型生态提供了有效方案。代码已开源。

原文摘要 · Abstract (English)

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.

多智能体大模型协作图神经网络

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。