TL;DR
The paper introduces PHASE-Tree, a psychology-grounded, multi-timescale character-state tree designed to help LLMs track character evolution in long-horizon role-playing. By separating immutable identity traits from mutable persona, session, and moment layers, it prevents "stale-state failure"—where a character fails to reflect narrative growth. Evaluated on a new benchmark, LongEvoRoleBench, PHASE-Tree significantly outperforms existing static profile and retrieval baselines across character consistency and semantic coherence.
What Problem Does This Paper Address?
In long-term role-playing (like interactive fiction or AI companions), characters need to evolve. For example, Friends' Chandler Bing starts as a sarcastic, commitment-phobic individual but grows into a trusting husband. Current LLM role-playing methods rely on static profiles or simple memory retrieval, leading to stale-state failure: the model might still use commitment as a punchline during a marriage scene because it retains the character's "voice" but forgets the character's narrative growth.
Furthermore, updating a traditional static profile globally can destabilize unchanged traits. Existing benchmarks also fail to evaluate whether an LLM is speaking from a character's currently evolved state rather than a frozen persona.
Methods
The authors propose PHASE-Tree (Psychology-grounded Hierarchical Attribute-Structured Evolving Tree), which models a character's state across four distinct, independently addressable strata:
- Identity Root (Immutable): Fixed facts like name, gender, and append-only backstory.
- Persona Layer (High Resistance): Long-term traits (personality, speaking style) that change slowly under sustained evidence.
- Session Layer (Moderate Resistance): Within-scene adaptations (newly learned info, stance changes).
- Moment Layer (Low Resistance): Transient affect (dominant emotion and intensity), refreshed turn-by-turn or at scene boundaries.
To govern how traits evolve across episodes, PHASE-Tree uses a resistance-evidence-cooldown policy. Core traits (like personality) require evidence spanning multiple episodes ($\ge 16$) and high-significance events before an LLM-driven validator approves an update, preventing rapid flip-flopping.
The state tree can condition text generation via two paradigms:
- Explicit Textual Provision: Serializing the tree directly into the prompt.
- Implicit Parametric Adaptation: Encoding the tree into LoRA adapter weights via a hypernetwork for token efficiency.
Datasets
The authors introduce LongEvoRoleBench, a unified benchmark combining eight role-playing corpora under a next-utterance prediction protocol:
- Short-Dialogue Corpora (Within-scene tracking checks): RAIDEN, CharacterEval, SimsConv, and ChatHaruhi.
- Long-Dialogue Corpora (Cross-episode evolution core): Friends, The Office, Star Trek, and Harry Potter. Each tracks six main characters whose relationships and behaviors shift across seasons or books.
Key Insights and Ideas
- Differential Plasticity is Essential: Not all character traits change at the same speed. Relationships can alter based on a single scene, whereas core personality shifts require long-term, accumulated evidence.
- The Parametric Compression Bottleneck: While implicit parametric adaptation (profile-to-LoRA) is highly token-efficient, it currently suffers from a compression bottleneck. It tends to "wash out" fine-grained state details, meaning explicit textual prompts still yield superior character alignment.
- Structure Beats Raw Text: Separating stable identity markers from evolving state attributes provides cleaner conditioning for LLMs than raw, unstructured text rewrites.
Key Results
Under the explicit textual provision paradigm, the full PHASE-Tree pipeline (PT) achieved dominant results on the long-dialogue core of LongEvoRoleBench:
- Baseline Comparison: PT ranked first in 11 out of 12 dataset-metric cells against internal ablation variants and swept all 12 cells against external textual baselines (like RAG and Profile-Augmented Prompts).
- Quantitative Gains: Compared to the strongest external textual baseline, PHASE-Tree improved character consistency (Char) by 19.7%, semantic coherence (Sem) by 12.4%, and embedding similarity (Emb) by 15.1%.
- Human Alignment: A blinded human study confirmed that PHASE-Tree generations better aligned with evolved character states, correlating strongly with the automated GPT-4 judge ($r = 0.65$).
Limitations and Future Work
- Manual Hyperparameters: The thresholds for the resistance-gated policy (e.g., the number of episodes or significance levels required for an update) are currently manually tuned based on narrative-pacing priors. Automatically learning these thresholds is an open area for research.
- Hypernetwork Bottleneck: As noted in the insights, the profile-to-LoRA hypernetwork architecture struggles to capture fine-grained tree updates. Developing more expressive parametric encoders is a necessary next step to make token-efficient deployment as accurate as prompt-based methods.
Summary updated