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

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

TL;DR

Graph-of-Agents (GoA) is a new framework that treats multi-LLM collaboration as a dynamic graph problem rather than a simple ensemble. By selectively sampling the most relevant models and using bidirectional "message passing" to refine answers, GoA achieves state-of-the-art performance using only 3 agents. It outperforms existing methods that use twice as many models, all at a fraction of the computational cost.

What Problem Does This Paper Address?

As the "LLM zoo" expands, researchers are moving away from single-model solutions toward Multi-Agent Collaboration. The idea is simple: combine specialized models (e.g., one for code, one for math, one for medical) to solve complex, multi-domain problems.

However, current state-of-the-art frameworks like Mixture-of-Agents (MoA) face three major hurdles:

  1. Agent Selection: They often use every available model for every query, which is computationally expensive and introduces "noise" from irrelevant models.
  2. Communication: They typically use simple many-to-one aggregation, missing out on fine-grained, one-to-one interactions between models.
  3. Integration: Concatenating responses from dozens of models leads to "token explosion," driving up costs and latency.

The central challenge is: How can we design a "playground" where diverse LLMs interact synergistically without drowning in noise and cost?

Methods

Comparison of Mixture-of-Agents (MoA) and Graph-of-Agents (GoA) architectures.

The authors propose Graph-of-Agents (GoA), which models the collaboration as a directed graph $\mathcal{G} = (\mathcal{V}, \mathcal{E})$. The process follows four distinct stages:

  • Node Sampling: Instead of using the whole pool, a "Meta-LLM" analyzes the user query and selects the top-$k$ most relevant agents based on their model cards (metadata describing their strengths).
  • Edge Sampling: The selected agents generate initial responses and then rank each other's work. This creates a hierarchy where "higher-ranked" agents (those with more relevant answers) are connected to "lower-ranked" ones.
  • Bidirectional Message Passing:
    • Source-to-Target: High-ranked agents pass their insights to lower-ranked ones to help them improve.
  • Target-to-Source: Lower-ranked agents then pass their refined responses back to the "experts" for a final sanity check and consensus building.
  • Graph Pooling: Finally, the responses are aggregated using either Max-Pooling (selecting the most influential agent's refined answer) or Mean-Pooling (a weighted synthesis guided by the Meta-LLM).

Datasets

The framework was evaluated across a massive range of benchmarks to test both general and specialized reasoning:

  • Multi-Domain: MMLU, MMLU-Pro, and GPQA (graduate-level reasoning).
  • Domain-Specific: MATH (mathematics), HumanEval (Python coding), and MedMCQA (medical entrance exams).
  • Agent Pool: A diverse set of 7-8B parameter models including Qwen2.5, Mathstral, Bio-Medical-Llama, and Saul-7B (legal).

Key Insights and Ideas

  • The "Less is More" Paradox: Surprisingly, GoA with just 3 selected agents outperformed baselines that used all 6 agents. This suggests that "noise" from irrelevant models is a significant bottleneck in multi-agent systems.
  • Relevance-Aware Hierarchy: Communication shouldn't be democratic. By letting agents rank each other, GoA ensures that the most capable models for a specific query lead the discussion.
  • Bidirectional Flow is Crucial: Ablation studies showed that reversing the message-passing direction (letting weak models lead) caused a massive performance drop. The feedback loop from "target to source" is essential for reaching a robust consensus.
  • Efficiency as a First-Class Citizen: Because GoA prunes irrelevant agents and uses structured communication, it significantly reduces the number of LLM calls and total tokens processed compared to MoA.

Key Results

  • Superior Accuracy: On MMLU-Pro, GoA achieved 54.78% accuracy, beating MoA (53.33%) and all single-agent baselines.
  • Massive Efficiency Gains: In efficiency tests on MMLU-Pro, GoA required ~42% fewer LLM calls and used ~65% fewer tokens than MoA, while also cutting latency (time-to-answer) by more than half.
  • Scalability: When tested with proprietary models like GPT-4o, GoA continued to show gains, proving the framework isn't just for small, open-source models.
  • Robustness: Even when "noisy" (irrelevant) agents were intentionally added to the pool, GoA's thresholding mechanism filtered them out, maintaining high performance where other methods degraded.

Limitations and Future Work

  • Model Card Dependency: The current system relies on the quality of Hugging Face model cards. If a model card is vague or inaccurate, the "Meta-LLM" might pick the wrong experts.
  • Text-Only: The study focused on text-based reasoning. The authors suggest that extending GoA to multimodal domains (vision + text) is a promising next step.
  • Static vs. Interactive: The current benchmarks are "one-shot" reasoning tasks. Future work could explore GoA in interactive environments, such as web navigation or software engineering, where agents must use tools and take actions.

Summary updated

BibTeX
@inproceedings{yun2026graph,
  author = {Sukwon Yun and Jie Peng and Pingzhi Li and Wendong Fan and Jie Chen and James Zou and Guohao Li and Tianlong Chen},
  title = {{Graph-of-Agents: A Graph-based Framework for Multi-Agent LLM Collaboration}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=34cANdsHKV},
}
Figure