Junyi Zhu
← All publications

PHASE-Tree: Modeling Character-State Evolution in Long-Horizon Role-Playing Dialogue

Bo Tang*, Jianan Yang*, Junyi Zhu, Yiquan Wu, Rui Zhao, Zhengyu Yang, Yang Zhang, Feiyu Xiong, Zhiyu Li, Jiajun Shen

arXiv 2026* = Co-first authors

PHASE-Tree character-state hierarchy: an immutable identity root (name, gender, backstory) branches into persona, session, and moment layers ordered from most stable to most dynamic, with per-field update resistance levels and frozen-versus-updating modes per time scale.

In brief

PHASE-Tree is a four-layer character-state tree so role-playing models speak from who the character is now, not a stale profile — plus a benchmark to prove it. An immutable identity root (name, gender, append-only backstory) branches into persona, session, and moment layers ordered by how fast they change; each mutable field updates independently, with long-term persona changes gated by resistance, evidence, and cooldown rules. The benchmark, LongEvoRoleBench, turns eight role-playing corpora — from Friends to Harry Potter — into a unified next-utterance test scored against the character's current state. Serialized into the prompt, PHASE-Tree beats every rival prompt-based method on all four long-dialogue corpora across all three metrics, and the code, benchmark, and models are publicly released.

Key takeaways

Abstract

Long-horizon role-playing demands that characters remain recognizable as they evolve with the narrative. Yet existing work falls short on two fronts: representations are typically static profiles that cannot be updated locally without destabilizing unchanged traits, and benchmarks mainly test persona preservation and memory recall rather than whether a model speaks from a character’s currently evolved state. We address both. PHASE-Tree is a multi-timescale character-state tree with an immutable identity root and mutable persona, session, and moment layers, making each mutable field an addressable target for localized within- and cross-episode updates. It conditions generation through explicit textual provision or implicit parametric adaptation. To measure evolved-state generation, we introduce LongEvoRoleBench, which pairs four long-dialogue corpora for cross-episode evolution with four short-dialogue corpora as within-scene state-tracking checks, under a unified next-utterance protocol. On the long-dialogue core, textual PHASE-Tree ranks first in 11 of 12 dataset–metric cells against internal variants and all 12 cells against external textual baselines, improving character-level, semantic, and embedding scores by 19.7%, 12.4%, and 15.1% respectively. In a blinded 200-response study, human ratings correlate with the GPT-4.1 judge (Pearson r = 0.65); on descriptive n = 10 PT and NR prompt subsets, the Overall difference is +0.20. The long-dialogue Sem advantage persists across LLM judges and generation backbones.

BibTeX

@misc{phasetree,
  title     = {{PHASE-Tree}: Modeling {Character-State} Evolution in {Long-Horizon} {Role-Playing} Dialogue},
  author    = {Tang, Bo and Yang, Jianan and Zhu, Junyi and Wu, Yiquan and Zhao, Rui and Yang, Zhengyu and Zhang, Yang and Xiong, Feiyu and Li, Zhiyu and Shen, Jiajun},
  year      = {2026},
  eprint    = {2608.06975},
  archivePrefix = {arXiv},
  primaryClass = {cs.CL},
  doi       = {10.48550/arXiv.2608.06975},
  url       = {https://arxiv.org/abs/2608.06975},
}