Collaborative QA using Interacting LLMs. Impact of Network Structure, Node Capability and Distributed Data.

Adit Jain, Vikram Krishnamurthy, Yiming Zhang

TL;DR

This paper introduces a novel framework for understanding how networks of Large Language Models (LLMs) collaborate on question-answering tasks, specifically addressing the problem of "hallucination" (generating false information). By combining network science's mean-field dynamics with economics' randomized utility model, they create an analytical model to predict how truthfulness spreads and is influenced by network structure, data distribution, and LLM capabilities.

What Problem Does This Paper Address?

As LLMs become increasingly prevalent, they are not only used as standalone tools but also interact with each other, either implicitly through training data or explicitly in collaborative setups. This interaction is crucial for tasks like collaborative question-answering (CQA), where multiple LLMs work together to find an answer from distributed documents. A significant challenge in this domain is "hallucination," where LLMs generate plausible-sounding but factually incorrect information, especially when context is limited or ambiguous. This problem is exacerbated in networks, as hallucinations can spread from one LLM to another, leading to a collective decline in accuracy. The authors aim to model and understand this information diffusion, particularly the spread of truthfulness versus hallucination, within such LLM networks.

Methods

The core of the paper lies in a novel analytical model that combines two key ideas:

  • Mean-Field Dynamics (MFD): Borrowed from network science, MFD is used to model the collective behavior of a large number of interacting agents (LLMs) without tracking each individual. It approximates the system's evolution by focusing on the average state of the population. The authors derive a system of ordinary differential equations (ODEs) to describe how the proportion of LLMs in different states (truthful, hallucinating, don't know) evolves over time in a directed network.
  • Randomized Utility Model (RUM): From economics, RUM is employed to parameterize the transition probabilities between LLM states. It models LLMs as rational agents making decisions based on a utility function that considers factors like local context, neighbor opinions, and incentives. This allows for a more interpretable and analytically tractable way to define how an LLM decides whether to be truthful or hallucinate.

The authors then use these models to analyze the system's fixed points (equilibrium states) and their sensitivity to various parameters.

Datasets

The paper utilizes several datasets for experimental validation:

  • Semi-synthetic datasets:
    • Fiction Dataset: Constructed from 30 books of Project Gutenberg, similar to the NarrativeXL dataset.
  • Knowledge Cutoff Dataset: Curated using Wikipedia article edit histories to reflect information up to a specific date (December 3, 2023), simulating scenarios where LLMs might have outdated information.
  • Event Dataset: Created from news articles (BBC, Reuters, CNN) with synthetically generated narratives to introduce bias, inaccuracies, and framing variations.
  • Synthetic Stylized Problems: A set of five multiple-choice questions designed to study context-dependent response propagation. Each question is accompanied by supporting, misleading, or irrelevant contextual information.

Key Insights and Ideas

  • Hallucination is Contagious: The paper empirically demonstrates that hallucinations can spread within an LLM network, impacting even initially truthful LLMs.
  • Network Structure Matters: The topology of the LLM network significantly influences the spread of truthful information. Power-law (scale-free) networks, common in social systems, show distinct behaviors, with higher power-law exponents leading to less extreme population states.
  • Influential Nodes are Key: Placing correct information on "influential" nodes (those with higher degree centrality in power-law networks) leads to a higher proportion of truthful LLMs in the network.
  • Incentives Drive Truthfulness: Increasing incentives (like test-time compute or communication length) generally leads to a higher proportion of truthful LLMs, though with diminishing returns.
  • Model Capability Scales: Stronger LLMs (with more parameters) are more effective at spreading truthful information, especially when placed in influential positions within the network.
  • Robustness to Framing: The LLM network exhibits a degree of robustness to linguistic variations in question framing, suggesting that the core semantic intent is preserved.

Key Results

  • The developed MFD and RUM model accurately predicts the dynamics of the population state (truthful, hallucinating, don't know) in a network of 100 LLMs, achieving high correlation and low KL divergence with empirical results.
  • Experiments show that increasing communication overhead (tokens) leads to a higher proportion of truthful LLMs, with diminishing returns. For example, on the Event dataset, increasing tokens from 50 to 100 increased the truthful proportion from 0.589 to 0.656.
  • Placing correct context on influential nodes in a power-law network significantly boosts the truthful proportion compared to random placement or placement on less influential nodes.
  • The study found that stronger LLMs (e.g., 8 billion parameters vs. 3 billion) contribute more to truthfulness when they have higher centrality.
  • The network's final truthful proportion is relatively robust to different linguistic perturbations of the same question.

Limitations and Future Work

  • Limitations: The current model assumes a static network and sequential interactions for analytical tractability, though experiments are conducted in parallel. The "don't know" state is treated as a separate category, and its dynamics could be further explored. The paper acknowledges that while the model predicts truthfulness, it doesn't inherently detect hallucination without ground truth.
  • Future Work: The authors suggest extending the work to dynamic networks and preferential attachment, analyzing "Glass-Ceiling Effects" where influential nodes hoard information. They also propose studying optimal dataset distribution for knowledge retrieval, exploring LLM communities for collaborative problem-solving, and investigating agent incentivization through multi-agent reinforcement learning. A significant future direction is to make LLM networks more robust, safe, and reliable, as the current framework could potentially be misused to engineer echo chambers or spread misinformation.

Summary updated

BibTeX
@article{jain2025collaborative,
  author = {Adit Jain and Vikram Krishnamurthy and Yiming Zhang},
  title = {{Collaborative QA using Interacting LLMs. Impact of Network Structure, Node Capability and Distributed Data.}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=nyZ4JMrV8b},
}

Loading related content...

Figure