Opinion Consensus Formation Among Networked Large Language Models
Iris Yazici, Mert Kayaalp, Stefan Taga, Ali H. Sayed
TL;DR
The paper tests whether DeGroot-style consensus can predict group behavior in networked LLMs by simulating multi-round interactions on directed graphs and mapping messages to sentiment-based opinions. It finds that consensus emerges with disagreement decaying exponentially, but the limiting opinion deviates from the DeGroot weighted average and is biased by topic and pretraining. Convergence rates match spectral graph theory, scaling with the second-largest eigenvalue magnitude $|\lambda_2|$, with a halving-time relation $t_{1/2} = \ln 2 / (- \ln |\lambda_2|)$. An open dataset of 764 experiments across 8 topics and prompting strategies is released to support future research and guide resource-efficient multi-agent LLM deployments.
Abstract
Can classical consensus models predict the group behavior of large language models (LLMs)? We examine multi-round interactions among LLM agents through the DeGroot framework, where agents exchange text-based messages over diverse communication graphs. To track opinion evolution, we map each message to an opinion score via sentiment analysis. We find that agents typically reach consensus and the disagreement between the agents decays exponentially. However, the limiting opinion departs from DeGroot's network-centrality-weighted forecast. The consensus between LLM agents turns out to be largely insensitive to initial conditions and instead depends strongly on the discussion subject and inherent biases. Nevertheless, transient dynamics align with classical graph theory and the convergence rate of opinions is closely related to the second-largest eigenvalue of the graph's combination matrix. Together, these findings can be useful for LLM-driven social-network simulations and the design of resource-efficient multi-agent LLM applications.
