Abstract
Can large language models (LLMs) simulate social surveys? To answer this question, we conducted millions of simulations in which LLMs were asked to answer subjective questions. A comparison of different LLM responses with the European Social Survey (ESS) data suggests that the effect of prompts on bias and variability is fundamental, highlighting major cultural, age, and gender biases. We further discussed statistical methods for measuring the difference between LLM answers and survey data and proposed a novel measure inspired by Jaccard similarity, as LLM-generated responses are likely to have a smaller variance. Our experiments also reveal that it is important to analyze the robustness and variability of prompts before using LLMs to simulate social surveys, as their imitation abilities are approximate at best.
Introduction
Social surveys are the bedrock of sociology and political science, but they are expensive, time-consuming, and increasingly difficult to conduct. Researchers have proposed using Large Language Models (LLMs) to simulate these surveys by "prompting" the model to act as a specific persona (e.g., "You are a 30-year-old woman from Italy"). This concept of "silicon samples" could revolutionize social science if LLMs can truly act as "chameleons," adopting these personas accurately.
However, this ability is poorly understood, especially outside of US-centric contexts. This paper addresses the gap by testing LLMs against the European Social Survey (ESS), exploring how factors like culture, age, gender, and prompt structure influence the "opinions" these models express.
Methodology
The authors conducted millions of zero-shot simulations across several state-of-the-art models, including GPT-3.5, GPT-4o, LLaMA-2, LLaMA-3, Mistral-7B, and DeepSeek-V2. Their approach involved three levels of persona prompting:
- P1: Basic demographics (Gender, Birth Year, Country).
- P2: Added Occupation (using ISCO categories).
- P3: Basic demographics with the order of multiple-choice options reversed to test for framing bias.
To evaluate the models, the study introduced the J-index, a novel measure inspired by Jaccard similarity. The J-index calculates the "congruence" between the distribution of LLM answers and human answers. This is vital because LLMs often exhibit very low variance—frequently giving the same "stereotypical" answer—whereas human opinions are widely distributed.
Key Insights and Results
The Variance Gap
One of the most striking findings is that LLMs are "too certain." While a group of 100 humans might show a range of opinions from "Strongly Agree" to "Strongly Disagree," 100 simulations of the same persona often result in the exact same answer. This "regression to the mean" suggests LLMs provide stereotypical rather than representative responses.
Information Density and Prompt Fragility
Adding a persona's occupation (P2) significantly improved the J-index and increased the variability of responses. This suggests that the more specific the "identity" provided to the LLM, the less it relies on broad, biased averages. However, the models also showed significant sensitivity to the order of options (P3), highlighting a fragility that complicates their use as reliable social science tools.
Geographic and Model Performance
- Top Performers: GPT-3.5 and DeepSeek-V2 generally produced weighted averages closest to the real survey data.
- Bigger Isn't Always Better: Surprisingly, GPT-4o often performed worse than its predecessor, GPT-3.5, in terms of mean difference when occupation data was omitted.
- Digital Divide: The models performed consistently worse when simulating Bulgarian personas compared to Germans or Italians, likely reflecting a lack of Bulgarian-specific data in training sets.
Limitations and Future Work
A significant hurdle is "safety alignment"; models like LLaMA-2-13B frequently refused to answer sensitive questions regarding LGBTQ+ rights, creating gaps that don't exist in human survey data. Furthermore, a philosophical question remains: should LLMs reflect actual human distributions (including biases) or ideal values? For social simulation, the former is necessary, but current Reinforcement Learning from Human Feedback (RLHF) often pushes models toward the latter. Future research must expand the cultural and topical scope to better understand these "approximate chameleons."
Summary updated