Abstract
Can we simulate a sandbox society with generative agents to model human behavior, thereby reducing the over-reliance on real human trials for assessing public policies? In this work, we investigate the feasibility of simulating health-related decision-making, using vaccine hesitancy as a case study. We introduce the VacSim framework with 100 generative agents powered by Large Language Models (LLMs). VacSim simulates vaccine policy outcomes by: 1) instantiating a population based on census data; 2) modeling vaccine attitudes through social dynamics and information flow; and 3) evaluating public health interventions. To align with real-world results, we introduce simulation warmup and attitude modulation. Experiments indicate that models like Llama and Qwen can simulate aspects of human behavior but also highlight challenges such as inconsistent responses with demographic profiles. This exploration serves as a call for action to examine social simulation for policy development.
Introduction
Public health officials frequently encounter a "cold start" problem: when a new crisis emerges, determining the most effective policy—be it financial incentives, ambassador programs, or mandates—is difficult. Traditional Agent-Based Models (ABMs) often rely on rigid mathematical rules that fail to capture the nuances of human conversation and social influence. Conversely, real-world trials are slow, expensive, and ethically complex.
This research investigates whether generative agents powered by LLMs can bridge this gap. By imbuing agents with diverse personas and allowing them to interact within a simulated social network, the authors explore if these "silicon subjects" can provide a realistic testing ground for high-stakes public health interventions.
The VACSIM Framework
The researchers developed VACSIM, a framework designed to model the complex dynamics of vaccine hesitancy through several integrated stages:
- Population Synthesis: 100 agents are instantiated with demographic profiles (age, education, occupation, religion, etc.) sampled from real-world U.S. census and survey data.
- The Social Sandbox: Agents are connected via a generated social network. In each "week" (simulation step), agents read news, view tweets from neighbors, post their own thoughts, and update their internal "memory."
- Saliency-Based Memory: A memory module ranks "lessons" based on recency and importance, simulating human information prioritization.
- Attitude Modulation: To counteract the "pro-social" bias in safety-tuned LLMs, the authors apply temperature scaling to the agents' probability distributions for vaccine attitudes, allowing the simulation to match real-world baseline hesitancy levels.
- Simulation Warmup: A "warmup" period allows agents to interact and form initial opinions before policies are introduced, ensuring responses reflect established social dynamics rather than immediate "shocks."
Experimental Setup and Data
The study utilized several key datasets to ensure realism:
- Delphi Survey: A massive COVID-19 survey (13 million responses) provided agent demographics and longitudinal benchmarks for vaccine hesitancy.
- CDC Data: Real-world emergency department visit rates simulated "perceived disease risk."
- Custom News Corpus: 10,000 news articles generated by Llama-3-8B, categorized by stance (pro-vaccine, anti-vaccine, neutral).
- Expert Ranking Survey: 18 university researchers ranked policy effectiveness to create a "human expert" baseline.
Results and Discussion
The simulation demonstrated a remarkable ability to mirror real-world trends. Using Llama-3.1-8B, VACSIM achieved a 2.82% Mean Absolute Error (MAE) compared to real-world vaccine hesitancy trends over a 35-week period.
Key Insights:
- Qualitative Reasoning: Unlike traditional ABMs, LLM agents provide reasoning for their shifts in attitude. Researchers can "interview" agents to understand why specific interventions, like a $10 incentive, might fail for certain demographics.
- Policy Sensitivity: Agents correctly distinguished between "strong" and "weak" interventions (e.g., $50 vs. $10 incentives), demonstrating an understanding of magnitude.
- Model Alignment: Llama-3.1 and Qwen-2.5 showed high alignment with human expert rankings (Kendall’s Tau of 0.733 and 0.690, respectively).
- Bias Challenges: Some models, such as GPT-4o mini, exhibited such strong training-induced pro-vaccine bias that they were unsuitable for simulating skeptical populations.
Conclusion and Future Work
While VACSIM shows promise as a "soft" ABM for policy prototyping, several limitations remain. The current scale of 100 agents is computationally efficient but misses the "long tail" of behavior in larger populations. Furthermore, the "safety" guardrails of modern LLMs can make it difficult to simulate extreme or anti-social behaviors critical to public health modeling.
Future research should focus on developing "controllable social agents" that require less prompt engineering and exploring the direct integration of these simulations into the policymaking workflow. This study serves as a foundational step toward using generative societies to inform real-world public health strategies.
Reference: Hou, A. B., et al. (2025). Can A Society of Generative Agents Simulate Human Behavior and Inform Public Health Policy? — A Case Study on Vaccine Hesitancy. Published as a conference paper at COLM 2025.
Summary updated