Simulating Generative Social Agents via Theory-Informed Workflow Design

Yuwei Yan, Jinghua Piao, Xiaochong Lan, Chenyang Shao, Pan Hui, Yong LiarXiv 2025 · OpenReview

Abstract

Recent advances in large language models (LLMs) have demonstrated strong reasoning and role-playing capabilities, opening new opportunities for agent-based social simulations. However, most existing agents' implementations are scenario-tailored, without a unified framework to guide the design. This lack of a general social agent limits their ability to generalize across different social contexts and to produce consistent, realistic behaviors. To address this challenge, we propose a theory-informed framework that provides a systematic design process for LLM-based social agents. Our framework is grounded in principles from Social Cognition Theory and introduces three key modules: motivation, action planning, and learning. These modules jointly enable agents to reason about their goals, plan coherent actions, and adapt their behavior over time, leading to more flexible and contextually appropriate responses. Comprehensive experiments demonstrate that our theory-driven agents reproduce realistic human behavior patterns under complex conditions, achieving up to 75% lower deviation from real-world behavioral data across multiple fidelity metrics compared to classical generative baselines. Ablation studies further show that removing motivation, planning, or learning modules increases errors by 1.5 to 3.2 times, confirming their distinct and essential contributions to generating realistic and coherent social behaviors.

Introduction

While Large Language Models (LLMs) have shown great promise in role-playing and reasoning, current social agents used in simulations are often built ad hoc. Developers typically create handcrafted prompts tailored to specific scenarios, leading to "fragmented" agents that lack a unified cognitive architecture. Without grounding in behavioral science, these agents fail to produce consistent, realistic behaviors across different social contexts and often lack long-term coherence. This paper addresses these gaps by introducing a unified, theory-grounded framework for building social agents that behave like real humans across diverse scenarios.

Methodology: A Theory-Informed Workflow

The core contribution of this work is a framework grounded in Social Cognition Theory (SCT). Instead of simple prompting, the agent’s architecture is structured into three core modules that interact with the environment and social simulation scenarios.

Overview of the theory-informed social agent framework, integrating motivation, action planning, and learning modules grounded in Social Cognition Theory.
  1. Motivation (Maslow’s Hierarchy of Needs): The agent tracks internal states. Physiological needs (e.g., hunger, fatigue) are managed via drive-reduction models, while higher-level needs (e.g., social belonging) are managed by LLM-based reasoning that evaluates environmental events.
  2. Action Planning (Theory of Planned Behavior - TPB): Triggered needs lead to a three-phase process: candidate option generation, evaluation based on Attitude (personal preference), Social Norms, and Perceived Control, and finally, the generation of a detailed execution sequence.
  3. Learning (Social Learning Theory - SLT): A structured memory system maintains Stream, Action Space, and State memories. It utilizes an "Asking Retrieval" mechanism where agents generate internal questions to find relevant past experiences before making a decision.

Experimental Evaluation

The framework was evaluated using three real-world-inspired scenarios: Daily Mobility in Beijing, Social Interaction in New York City, and Pandemic Adaptation using SafeGraph and U.S. Census data.

Key Results

The theory-driven agents achieved 65–80% lower deviation from real human behavioral data compared to classical generative baselines. Ablation studies confirmed that removing any module increased errors significantly. For instance, removing the motivation module led to a 10× increase in errors regarding mobility coherence, as agents failed to follow biological rhythms.

Comparison of mobility patterns (Radius of Gyration) and temporal need levels between real data, the proposed model, and an ablated version without the motivation module (-woM).

In the NYC scenario, the model generated social trips at a frequency (12.3%) very close to real-world data (15.4%), whereas versions without structured planning overestimated social trips by over 50%. During pandemic simulations, agents successfully reproduced the "sharp drop and gradual stabilization" of human mobility, maintaining observed socioeconomic gaps between high-income and low-income groups.

Discussion and Conclusion

Grounding agents in established social science theories acts as a stabilizer, preventing the erratic patterns seen in standard LLM agents. While the framework shows high fidelity, agents appeared slightly more sensitive to environmental changes than humans in long-term simulations. Future work will explore scaling this framework to thousands of agents to study emergent collective phenomena in urban planning and public health.

Summary updated

BibTeX
@misc{yan2025simulating,
  author = {Yuwei Yan and Jinghua Piao and Xiaochong Lan and Chenyang Shao and Pan Hui and Yong Li},
  title = {{Simulating Generative Social Agents via Theory-Informed Workflow Design}},
  year = {2025},
  eprint = {2508.08726},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.08726},
}
Figure