Sense and Sensitivity: Evaluating the simulation of social dynamics via Large Language Models
Preprint
Abstract
Large language models have increasingly been proposed as a powerful replacement for classical agent-based models (ABMs) to simulate social dynamics. By using LLMs as a proxy for human behavior, the hope of this new approach is to be able to simulate significantly more complex dynamics than with classical ABMs and gain new insights in fields such as social science, political science, and economics. However, due to the black box nature of LLMs, it is unclear whether LLM agents actually execute the intended semantics that are encoded in their natural language instructions and, if the resulting dynamics of interactions are meaningful. To study this question, we propose a new evaluation framework that grounds LLM simulations within the dynamics of established reference models of social science. By treating LLMs as a black-box function, we evaluate their input-output behavior relative to this reference model, which allows us to evaluate detailed aspects of their behavior. Our results show that, while it is possible to engineer prompts that approximate the intended dynamics, the quality of these simulations is highly sensitive to the particular choice of prompts. Importantly, simulations are even sensitive to arbitrary variations such as minor wording changes and whitespace. This puts into question the usefulness of current versions of LLMs for meaningful simulations, as without a reference model, it is impossible to determine a priori what impact seemingly meaningless changes in prompt will have on the simulation.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Systematic Biases in LLM Simulations of Debates2024
- Agent-Based Computational Economics: Overview and Brief History2023
- Robustness of Named-Entity Replacements for In-Context Learning2023
- Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?2022
- Do Prompt-Based Models Really Understand the Meaning of Their Prompts?2022
- Challenges, tasks, and opportunities in modeling agent-based complex systemsEcological Modelling, 2021
- Asset Pricing Under Endogenous Expectations in an Artificial Stock Market2018
- Agent-Based Modeling in Public Health: Current Applications and Future DirectionsAnnual Review of Public Health, 2018
- How to build and use agent-based models in social scienceMind & Society, 2000
- Emergence of Scaling in Random NetworksScience, 1999