C3: Long-Horizon Character Consistency via Causal-Continuous State Dynamics and Memory Rewriting
Abstract
Maintaining character consistency over long-horizon interactions is a critical bottleneck in deploying Large Language Models (LLMs) as Non-Player Characters (NPCs). Prevalent Affective State Machines (ASMs) suffer from two fundamental failure modes: (1) the "Cliff-edge Effect," where threshold-based state switching triggers jarring narrative discontinuities; and (2) "Auto-regressive Inertia," where accumulated dialogue history overrides updated state instructions. To address both challenges, we propose C3 (Causal-Continuous Characterization), a neuro-symbolic framework coupling a continuous, multi-faceted state space governed by hysteresis-aware dynamics with State-Conditioned Memory Rewriting, which re-interprets past events through the lens of the active relationship. Evaluated on CHRONOS-SIM across 100-turn dynamic simulations (5,000 turns per condition), C3 improves the State Adherence Rate (SAR) by 10.5 percentage points over a smoothed-ASM baseline and by 7.8 points over the strongest memory architecture. Extensive evaluations across multiple open-weights backbones, state-blind LLM judges, a human study with game designers, and a factual integrity audit confirm that C3 consistently enhances persona coherence and shifts narrative framing without corrupting objective facts, while cutting token usage by ~60%.