Scaling Large Language Model-based Multi-Agent Collaboration

Chen Qian, Zihao Xie, YiFei Wang, Wei Liu, Kunlun Zhu, Hanchen Xia, Yufan Dang, Zhuoyun Du, Weize Chen, Cheng Yang, Zhiyuan Liu, Maosong Sun

TL;DR

This paper introduces MACNET, a framework that organizes large language model (LLM) agents into Directed Acyclic Graphs (DAGs) to solve complex tasks. The authors discover a collaborative scaling law—a logistic growth pattern in performance as the number of agents increases—and demonstrate that multi-agent systems can exhibit "emergent" capabilities at much smaller scales than traditional neural network training.

What Problem Does This Paper Address?

While LLMs have shown incredible reasoning capabilities, they often hit a ceiling when working in isolation. Multi-agent collaboration has emerged as a way to push these boundaries, but most existing research is limited to small teams of fewer than ten agents.

The authors ask a fundamental question: Does adding more agents lead to better performance in a predictable way, similar to how adding more neurons or data improves base models? To answer this, they needed to overcome two major hurdles:

  1. Orchestration: How do you organize hundreds or thousands of agents without the system devolving into chaos?
  2. Context Explosion: Standard multi-agent dialogues quickly exceed the token limits of LLMs. If every agent hears everything everyone else said, the system crashes.

Methods

The researchers developed MACNET (Multi-Agent Collaboration Network), which treats agent interaction as a graph problem.

  • Topology as a DAG: Agents are organized into Directed Acyclic Graphs. This structure prevents information "backflow" (infinite loops) and allows for clear task progression.
  • Bipartite Roles: The system uses a functional split. Actors (assigned to nodes) generate artifacts (code, text, etc.), while Critics (assigned to edges) provide instructions and feedback to refine those artifacts.
Figure 3: Assign functionally bipartite agents on nodes and edges, respectively.
  • Topological Orchestration: Reasoning follows a strict topological order. Each pair of edge-connected agents engages in a multi-turn "reflection and refinement" loop before passing the result forward.
Figure 4: Orchestrating the agents’ reasoning process involves a series of dual-agent interactions. The topological order serves as the control flow, while the original connectivity governs the data flow.
  • Memory Control: To solve the context explosion problem, MACNET uses a "long-term memory" mechanism where only the final refined artifact is passed to the next agent, rather than the entire dialogue history. This reduces token consumption from quadratic ($O(n^2)$) to linear ($O(n)$) relative to the number of agents.

Datasets

The framework was evaluated across four diverse and challenging benchmarks:

  • MMLU: General world knowledge and logical inference (multiple-choice).
  • HumanEval: Function-level code generation.
  • SRDD: Complex, repository-level software development requirements.
  • CommonGen-Hard: Creative writing and contextual understanding.

Key Insights and Ideas

  • The Collaborative Scaling Law: Performance follows a logistic growth pattern. Initially, adding agents helps slowly, then there is a rapid leap in quality (emergence), followed by a saturation point.
  • Early Emergence: Unlike neural scaling laws that require billions of parameters and massive compute, collaborative emergence in MACNET happens at a much smaller scale—often around $2^4$ to $2^6$ agents.
  • Irregularity Wins: Counter-intuitively, irregular "random" topologies often outperform regular ones (like chains or trees). The authors suggest this is due to "small-world" properties—random shortcuts reduce the average path length between agents, preventing information from getting lost.
Figure 2: Representative topologies.
  • Divergence > Convergence: Topologies that branch out (divergent) generally perform better than those that merge many inputs into one (convergent). It is easier for agents to explore different facets of a problem independently than to perfectly synthesize many conflicting viewpoints into one artifact.
Figure 6: Comparison between topologies and their reversed counterparts.
  • The "Tail Aspect" Theory: Why does scaling work? The authors argue that agent interactions follow a Zipf-like long-tail distribution. Scaling up the number of agents increases the mathematical probability of "sampling" rare but critical considerations (e.g., edge-case bugs or specific security vulnerabilities) that a single agent or small team would likely miss.

Key Results

  • Scalability: MACNET successfully supported collaboration among over 1,000 agents.
  • Superior Performance: MACNET-CHAIN consistently outperformed baselines like Chain-of-Thought (CoT), AutoGPT, and AgentVerse across most metrics.
  • Efficiency: The memory control mechanism allowed the system to scale to 50+ nodes while maintaining a density that would have otherwise crashed standard LLM context windows.
Figure 5: Density of different topologies at different scales.

Limitations and Future Work

The authors acknowledge that there is a saturation point; eventually, adding more agents provides diminishing returns or even introduces noise. The current scaling law is also a general fit—future work could refine this by accounting for different agent "profiles," specialized tools, and more complex communication protocols. Ultimately, the researchers view multi-agent collaboration as a potential "shortcut" to higher intelligence that bypasses the need for resource-intensive model retraining.

Summary updated

BibTeX
@inproceedings{qian2025scaling,
  author = {Chen Qian and Zihao Xie and YiFei Wang and Wei Liu and Kunlun Zhu and Hanchen Xia and Yufan Dang and Zhuoyun Du and Weize Chen and Cheng Yang and Zhiyuan Liu and Maosong Sun},
  title = {{Scaling Large Language Model-based Multi-Agent Collaboration}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=K3n5jPkrU6},
}
Figure