Deriving Character Logic from Storyline as Codified Decision Trees
Letian Peng, Kun Zhou, Longfei Yun, Yupeng Hou, Jingbo Shang

TL;DR
This paper introduces Codified Decision Trees (CDT), a data-driven method for creating executable, interpretable behavioral profiles for RP agents from narrative data, improving reliability and validation over prior unstructured profiles.
Contribution
The paper presents a novel framework for inducing decision trees from narrative data to generate validated, interpretable behavioral profiles for RP agents.
Findings
CDT outperforms human-written profiles on multiple benchmarks.
Profiles support transparent inspection and principled updates.
Method yields more reliable agent grounding.
Abstract
Role-playing (RP) agents rely on behavioral profiles to act consistently across diverse narrative contexts, yet existing profiles are largely unstructured, non-executable, and weakly validated, leading to brittle agent behavior. We propose Codified Decision Trees (CDT), a data-driven framework that induces an executable and interpretable decision structure from large-scale narrative data. CDT represents behavioral profiles as a tree of conditional rules, where internal nodes correspond to validated scene conditions and leaves encode grounded behavioral statements, enabling deterministic retrieval of context-appropriate rules at execution time. The tree is learned by iteratively inducing candidate scene-action rules, validating them against data, and refining them through hierarchical specialization, yielding profiles that support transparent inspection and principled updates. Across…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsArtificial Intelligence in Games · Topic Modeling · AI-based Problem Solving and Planning
