Simulating Opinion Dynamics with Networks of LLM-based Agents

Yun-Shiuan Chuang, Agam Goyal, Nikunj Harlalka, Siddharth Suresh, Robert Hawkins +4 more
11/16/2023
242 citations
physics.soc-phcs.CL

Official code: yunshiuan/llm-agent-opinion-dynamics (52 stars, Python, MIT, last commit 2024-06-26).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

The repository for the scripts and materials for the paper "Simulating Opinion Dynamics with Networks of LLM-based Agents"."

524Python, RMar 31, 20242 years agoMIT

Similar Papers

Cite this paper

@article{chuang2023simulating,
  title  = {Simulating Opinion Dynamics with Networks of LLM-based Agents},
  author = {Yun-Shiuan Chuang and Agam Goyal and Nikunj Harlalka and Siddharth Suresh and Robert Hawkins and Sijia Yang and Dhavan Shah and Junjie Hu and Timothy T. Rogers},
  year   = {2023},
  eprint = {2311.09618},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09618v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.09618.svg)](https://codeofpaper.com/paper/2311.09618)

Discussion