Simulating Opinion Dynamics with Networks of LLM-based Agents
Yun-Shiuan Chuang, Agam Goyal, Nikunj Harlalka, Siddharth Suresh, Robert Hawkins, Sijia Yang, Dhavan Shah, Junjie Hu, Timothy T. Rogers
TL;DR
This work investigates how to simulate human opinion dynamics using populations of large language model (LLM) agents, contrasting their capabilities with traditional agent-based models. It reveals an intrinsic bias in LLMs toward accurate, ground-truth information, which drives consensus aligned with scientific reality, and shows that prompting for confirmation bias can induce opinion fragmentation similar to ABM results. The study implements a dyadic interaction framework where agents maintain persona-driven memories and update beliefs through natural-language exchanges, across 15 topics and two memory schemes, evaluating framing and bias effects with Bias and Diversity metrics. While promising for capturing nuanced linguistic interactions, the findings also highlight limitations in reproducing diverse, fact-resistant viewpoints and underline the need for further tuning of LLMs with real-world discourse and more realistic network structures.
Abstract
Accurately simulating human opinion dynamics is crucial for understanding a variety of societal phenomena, including polarization and the spread of misinformation. However, the agent-based models (ABMs) commonly used for such simulations often over-simplify human behavior. We propose a new approach to simulating opinion dynamics based on populations of Large Language Models (LLMs). Our findings reveal a strong inherent bias in LLM agents towards producing accurate information, leading simulated agents to consensus in line with scientific reality. This bias limits their utility for understanding resistance to consensus views on issues like climate change. After inducing confirmation bias through prompt engineering, however, we observed opinion fragmentation in line with existing agent-based modeling and opinion dynamics research. These insights highlight the promise and limitations of LLM agents in this domain and suggest a path forward: refining LLMs with real-world discourse to better simulate the evolution of human beliefs.
