NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Problem-Solving in Language Model Networks

Ciaran M. Regan, Alexandre Gournail, Mizuki Oka2024

Abstract

Multi-agent debate has emerged as a robust method for improving the reasoning capabilities of Large Language Models (LLMs). However, standard fully connected architectures suffer from quadratic communication overhead, leading to significant token bloat and information overload. This paper investigates how network topology—the structural arrangement of communication links—affects the accuracy and efficiency of LLM collectives. By testing various configurations on the MMLU high school mathematics benchmark, we demonstrate that sparse random networks match the performance of fully connected systems at a fraction of the token cost. Furthermore, we identify the critical role of "hubs" in scale-free networks, where the placement of accurate agents in central positions significantly enhances global performance.

Introduction

While Large Language Models (LLMs) like GPT-3.5-Turbo are powerful, they remain susceptible to hallucinations and logical fallacies. Recent research into "multi-agent debate" suggests that collective intelligence can mitigate these issues: when multiple LLM instances discuss a problem and vote on an answer, the group often outperforms the individual.

However, most existing multi-agent systems utilize a "fully connected" approach where every agent observes every other agent's response. This creates a massive bottleneck as the system scales. With $n$ agents, the number of communication links grows quadratically ($n^2$), leading to:

  1. Token Bloat: Context windows fill rapidly, increasing latency and API costs.
  2. Information Overload: Agents may lose focus when processing dozens of conflicting reasonings.

This study asks whether the "shape" of the network matters. Can we achieve the benefits of collective intelligence without the overhead of a total "town hall" meeting?

Methodology

The researchers modeled the multi-agent system as an undirected graph where nodes represent agents (GPT-3.5-Turbo) and edges represent communication channels. They evaluated four primary topologies:

  • Fully Connected: Every agent communicates with every other agent.
  • Fully Disconnected: Agents only "self-reflect" (viewing their own previous answers) without peer input.
  • Random (Erdős–Rényi): Agents are connected via a fixed number of random links.
  • Scale-Free (Barabási–Albert): A "hub-and-spoke" model where a few nodes (hubs) have many connections while most have few.

The debate followed a structured four-round process. In Round 1, agents answered independently. In Rounds 2 through 4, agents received their own previous reasoning plus the reasoning of their immediate neighbors in the network. A final majority vote across all 25 agents determined the system's answer.

Experimental Setup

The study utilized the MMLU (Massive Multitask Language Understanding) benchmark, specifically the high school mathematics subset. The researchers administered 100 questions, each repeated three times to ensure statistical reliability, across 25-agent networks.

Key Insights and Results

1. The Efficiency of Randomness

One of the most striking findings was that sparse random networks achieved an accuracy of 68.2%, slightly outperforming fully connected networks (67.7%). This suggests that global information is not necessary for consensus; as long as information can flow through the network, agents can reach the correct conclusion. Crucially, the random network used only ~28,600 tokens per round, compared to 125,000 tokens for the fully connected model—a massive improvement in cost-effectiveness.

2. The Power of the "Hub" Effect

In scale-free networks, central agents (hubs) act as powerful influencers. The researchers found that the system's performance was highly sensitive to the quality of these hubs. When the two most central hubs were manually forced to be correct, the system's accuracy jumped to 88.1%. Conversely, when forced to be incorrect, accuracy plummeted to 43.8%. This indicates that in hierarchical structures, the "leadership" of central nodes can either catalyze or compromise the collective.

3. Social Influence vs. Self-Reflection

The study highlighted a delicate balance between internal reasoning and social pressure. Peer input helps an agent correct itself when it is wrong but its neighbors are right. However, in fully disconnected networks (self-reflection only), accuracy actually decreased over time. Without peer input, agents tended to provide shorter, lower-quality responses in later rounds, suggesting that social interaction is necessary to maintain the depth of reasoning.

4. Consensus as a Confidence Metric

By measuring the Simpson Index (a diversity metric), the authors found a strong correlation between consensus and correctness. When the network reached a strong agreement, the answer was highly likely to be correct. This provides a built-in mechanism for quantifying the system's uncertainty without requiring external validation.

Discussion and Future Work

While the study provides a roadmap for more efficient multi-agent systems, several limitations remain. The research was limited to 25 agents and 100 math problems; larger-scale simulations or more subjective tasks (like creative writing) might yield different dynamics.

A promising future direction is the implementation of "Brainy Hubs." Instead of using the same model for every node, developers could place a high-reasoning model (like GPT-4) at the hubs and smaller, cheaper models at the edges. This would optimize the cost-to-performance ratio by leveraging the structural influence of the network. Additionally, exploring dynamic topologies—where agents choose to listen to neighbors who have been historically accurate—could further enhance the robustness of LLM networks.

Summary updated

BibTeX
@misc{regan2024problem,
  author = {Ciaran M. Regan and Alexandre Gournail and Mizuki Oka},
  title = {{Problem-Solving in Language Model Networks}},
  year = {2024},
  doi = {10.1162/isal\_a\_00802},
}

Loading related content...

Figure