2026-01-16 · 专家 · 自然语言处理 · 机器学习

Deriving Character Logic from Storyline as Codified Decision Trees

该论文提出了一种名为“编码决策树”(CDT)的数据驱动框架,通过从大规模叙事数据中诱导可执行和可解释的决策结构,从而为角色扮演(RP)提供更可靠的行为定位。

更新于 2026-02-24。作者:Letian Peng、Kun Zhou、Longfei Yun、Yupeng Hou、Jingbo Shang。

中文摘要

角色扮演(RP)代理依赖于行为档案在不同的叙事环境中保持一致的行为,然而现有的档案大多缺乏结构、不可执行,且验证度较低,导致代理行为脆弱。我们提出了编码决策树(CDT),这是一个基于数据驱动的框架,能够从大规模叙事数据中诱导出可执行和可解释的决策结构。CDT将行为档案表示为条件规则的树状结构,其中内部节点对应已验证的场景条件,叶子节点编码了基于事实的行为陈述,使得在执行时可以确定性地检索到与上下文相关的规则。该树通过迭代诱导候选场景-动作规则,验证它们与数据的一致性,并通过分层专业化的方式不断优化,从而生成支持透明检查和原则性更新的档案。在多个基准测试中,CDT在16个物品中的85个角色上显著优于人工编写的档案和先前的档案诱导方法,这表明编码和验证的行为表示能导致更可靠的代理锚定。

英文摘要

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 multiple benchmarks, CDT substantially outperforms human-written profiles and prior profile induction methods on 85 characters across 16 artifacts, indicating that codified and validated behavioral representations lead to more reliable agent grounding.

解读

一句话总结

该论文提出了一种名为“编码决策树”(CDT)的数据驱动框架,通过从大规模叙事数据中诱导可执行和可解释的决策结构,从而为角色扮演(RP)提供更可靠的行为定位。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源