Deterministic Narrative Gravity: Bridging Theory of Mind and Historical Simulation through ABM-LLM Architectures
Abstract
Historical social simulation faces a fundamental reproducibility challenge: the stochastic nature of large language models (LLMs) introduces a digital butterfly effect that prevents exact replication across multi-turn runs. Furthermore, the inability to control low-level server parameters in commercial LLM hosting environments severely limits reproducibility. To overcome this opacity, we present a deterministic multi-agent framework coupling LLMs to an Agent-Based Modelling (ABM) pipeline grounded in Theory of Mind (ToM) and Cognitive Archaeology, and validate exact artifact identity within local, pinned execution environments using SHA-256 hashing. Run locally at temperature zero with clean per-call model reloads, the system injects differentiated cognitive states per turn through dissonance-driven behavioural modes and gated internal voices. Evaluating seven model configurations spanning 4B to 31B parameters against an ablated baseline reveals clear operational boundaries. Small models (8B) suffer from context capacity overload, producing repetitive, specular dialogue loops. However, at 12B parameters, the ABM scaffolding breaks the monotonous response patterns seen in ablation. Crucially, these scaffolded models exhibit spontaneous diegetic expansion: they coherently expand scenario lore through tactically motivated, anachronism-free details rather than escalating into aggression. By resisting the structural pull toward premature scene closure, scaffolded sessions sustain an open terminal Narrative Vector ( in 12/21 overall; 9/9 in official 12B configurations) whereas unscaffolded ablation never does (0/21). This framework provides a transparent, auditable benchmark architecture for virtual archaeology, with the full pipeline released as open-source software to enable independent replication.
Create a lesson
Related papers
The Butterfly Effect in LLM Social Simulations: From Architecture Sensitivity to Robustness Audits
Shared title terminology · Jinyi Ye, Lei Cao, Ding Chen et al.
Factory-simulator: A process-oriented environment for evaluating manufacturing decisions against optimisation-based references
Shared title terminology · Andrzej Wodecki, Wojciech Godlewski, Michał Chojna
Who Speaks for the Water? Simulating Discursive Closure and Power Asymmetries in Hydrosocial Governance
Shared title terminology · Mario Lillo-Saavedra, Marcela Salgado-Vargas, Ángel García-Pedrero et al.
Communication-constrained multiagent risk estimation: a simulation benchmark for adult sore throat
Shared title terminology · Anas H. Alzahrani
ABCoord: An Artificial Bee Colony (ABC)-Based Decentralized Distributed Two-Layer Decision-Making Architecture for the Coordination of AI Agents
Shared title terminology · Dervis Karaboga, Bugra Alperen Uluirmak
OAK-Mind: Zero-Training Mental Health Change Inference from Passive Sensing via Knowledge-Grounded Multi-Agent LLMs
Shared title terminology · Yishu Ji, Zhihan Jiang, Will Ke Wang et al.