Modeling Event-Conditioned Emotional Expression Response with LLM Agents in a Synthetic Social Simulation
Organizations: Carnegie Mellon University, Pittsburgh, Pennsylvania, USA
Abstract
Emotions are central drivers of human behavior, yet most behavioral models fail to capture their role in shaping perception, decision-making, and collective action. Application areas such as emergency response and public health are especially constrained by the lack of emotion-aware modeling. While large language models (LLMs) are increasingly integrated into agent-based models (ABMs), little work has examined how to endow LLM agents with emotional reasoning or validated their ability to reproduce empirically observed emotional patterns. This study addresses this gap by introducing a hierarchical prompting framework that conditions LLM agents with demographic, psychological, and contextual cues to generate event-conditioned emotional responses to real-world events. We validate the resulting event-conditioned emotional responses against large-scale social media reaction data derived from the Social Science One Facebook URL Shares Dataset, complemented by demographic and personality benchmarks. Our simulation results reproduce both polarized and consensus-driven emotional patterns with significant fidelity, supporting the application of LLM agents for emotion-aware modeling in behavioral simulations. We also find, however, that systematic gaps in emotional expression of LLM agents and human populations exist, such as the underexpression of anger relative to human baselines. As such, these findings highlight the need for continued calibration if LLM agents are to serve as proxies for human populations in behavioral modeling. By quantifying their divergence from human populations in terms of emotional expression, we hope that our methods can aid in this effort.
Figures & tables
| Symbol | Description |
|---|---|
| Hierarchically synthesized persona. | |
| Persona index, . | |
| Set of synthetic personas. | |
| Country-level descriptors. | |
| Community-level descriptors. | |
| Psychological attributes (OCEAN and Moral Foundations). |
| Attribute | Canada | United States | Total | ||
|---|---|---|---|---|---|
| Sample | Ref.% | Sample | Ref.% | Sample | |
| Total Personas | 270 | – | 267 | – | 537 |
| Age Distribution a | |||||
| 18–24 | 17 (6.3%) | 6.4 | 16 (6.0%) | 6.0 | 33 (6.1%) |
| 25–34 | 36 (13.3%) | 13.3 | 40 (15.0%) | 14.9 | 76 (14.2%) |
| 35–44 | 35 (13.0%) | 12.8 | 33 (12.4%) | 12.5 | 68 (12.7%) |
| Condition | Description | Fields Included |
|---|---|---|
| D | No emotional or psychological context. | – |
| D+B | Adds baseline emotions from trait–affect mapping. | Baseline emotions |
| D+B+M | Adds moral foundations to baseline emotions. | Baseline emotions; moral values |
| D+B+M+O | Adds OCEAN traits to baseline emotions and moral values. | Baseline emotions; moral values; personality traits |
| D+M+O+E | Combines moral values, event-conditioned emotion cues, and OCEAN traits. | Moral values; event-conditioned cues; personality traits |
| Persona (Country) | Joy | Trust | Fear | Sad. | Ang. | Ant. | Disg. | Surp. |
|---|---|---|---|---|---|---|---|---|
| Roe v. Wade Overturn (June 2022) | ||||||||
| Ethan Roberts (U.S.) | 0.166 | 0.187 | 0.578 | 0.584 | 0.629 | 0.515 | 0.510 | 0.591 |
| Amina N’Diaye (Canada) | 0.360 | 0.310 | 0.390 | 0.460 | 0.280 | 0.290 | 0.300 | 0.330 |
| 988 Suicide Hotline (July 2022) | ||||||||
| Ethan Roberts (U.S.) | 0.157 | 0.359 | 0.118 | 0.422 | 0.191 | 0.437 | 0.116 | 0.178 |
| Amina N’Diaye (Canada) | 0.350 | 0.580 | 0.260 | 0.620 | 0.300 | 0.490 | 0.270 | 0.380 |
| Condition | Emotional Intensity | Topical Relevance | Persona consistency Score | Overall Quality a |
|---|---|---|---|---|
| D | 0.086 | 0.414 | 0.363 | 0.287 |
| D+B | 0.172 | 0.488 | 0.424 | 0.361 |
| D+B+M | 0.236 | 0.516 | 0.485 | 0.412 |
| D+B+M+O | 0.253 | 0.534 | 0.514 | 0.434 |
| D+M+O+E | 0.288 | 0.577 | 0.580 | 0.482 |
| Improvement b | +237% | +40% | +60% | +68% |
| Topic | Emotion | D+M+O+E Score | Change vs D |
|---|---|---|---|
| Roe v. Wade | Fear | 0.457 | +665% |
| Sadness | 0.566 | +464% | |
| Anger | 0.100 | –56% | |
| Suicide Hotline | Joy | 0.441 | +528% |
| Fear | 0.152 | +271% | |
| Neutral | 0.022 | –97% |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Political Group | Care | Fairness | Loyalty | Authority | Sanctity | Liberty |
|---|---|---|---|---|---|---|
| Left (n=139) | 0.89 | 0.89 | 0.50 | 0.50 | 0.31 | 0.70 |
| Center Left (n=150) | 0.72 | 0.72 | 0.51 | 0.52 | 0.48 | 0.69 |
| Center (n=78) | 0.71 | 0.71 | 0.51 | 0.52 | 0.49 | 0.69 |
| Center Right (n=124) | 0.70 | 0.70 | 0.68 | 0.88 | 0.88 | 0.52 |
| Right (n=46) | 0.70 | 0.70 | 0.68 | 0.86 | 0.86 | 0.52 |
| Centrist Overlap Demonstration | ||||||
| Trait | U.S. | Canada | Deviation a | |||
|---|---|---|---|---|---|---|
| LLM | Obs. | LLM | Obs. | U.S. | CA | |
| Openness | 0.492 | 0.500 | 0.485 | 0.487 | -0.008 | -0.002 |
| Conscientiousness | 0.495 | 0.500 | 0.486 | 0.490 | -0.005 | -0.004 |
| Extraversion | 0.493 | 0.500 | 0.490 | 0.483 | -0.007 | +0.007 |
| Agreeableness | 0.500 | 0.500 | 0.501 | 0.491 | 0.000 | +0.010 |
| Neuroticism | 0.486 | 0.500 | 0.502 | 0.506 | -0.014 | -0.004 |
| Component | D | D+B | D+B+M | D+BMO | DMOE |
|---|---|---|---|---|---|
| Persona Identity | ✓ | ✓ | ✓ | ✓ | ✓ |
| OCEAN Traits | – | – | – | ✓ | ✓ |
| Moral Foundations | – | – | ✓ | ✓ | ✓ |
| Baseline Emotions | – | ✓ | ✓ | ✓ | – |
| Event Emo. | – | – | – | – | ✓ |
| Event Context | ✓ | ✓ | ✓ | ✓ | ✓ |
| Country | Variable | JSD | Interpretation |
|---|---|---|---|
| Canada | Gender | 0.006 | Excellent agreement |
| Canada | Age Distribution | 0.028 | High agreement |
| United States | Gender | 0.008 | Excellent agreement |
| United States | Age Distribution | 0.021 | High agreement |
| Attribute | ICC | Interpretation |
|---|---|---|
| Political Leaning | 0.91 | Strong consistency |
| Age | 0.83 | Strong consistency |
| Education Level | 0.86 | Strong consistency |
| Metric | Value | Interpretation |
|---|---|---|
| Pearson Correlation ( ) | -0.84 | Strong negative relationship |
| Coefficient of Determination ( ) | 0.71 | High explanatory power |
Human Behavior Simulation
Human behavior simulation models how individuals and groups decide, interact, move, and adapt in social, economic, educational, and physical settings.
See all 258 papers