arXiv:2608.05170cs.CLcs.AI2026-08KDD

用事件图结构提升角色扮演的连贯性与一致性

DREAM: LLM-based Dynamic Role-playing via Event-Aware Memory Graph

论文配图:DREAM: LLM-based Dynamic Role-playing via Event-Aware Memory Graph
图 1 · 摘自论文原文
  • 构建事件感知记忆图,将文本转化为时序因果事件网络
  • 在三个基准上达最优,长期叙事一致性显著提升
  • 适合需要逻辑自洽角色的交互式应用开发者

角色扮演智能体(RPAs)已成为大语言模型的重要应用,能实现沉浸式、高保真的角色模拟。准确再现既有角色不仅需风格模仿,还需行为推理的时间一致性和因果关联性。然而现有RPAs主要依赖静态描述和无结构记忆,难以维持长期叙事与人格连贯性。本文提出DREAM,一种受激活事件-信念-后果(ABC)认知模型启发的结构化记忆框架。DREAM将非结构化文学文本转化为事件感知记忆图(EMG),将角色经历组织为时序有序、因果关联的事件图谱。该表示支持构建动态双粒度角色画像,同时捕捉稳定人格特征与事件驱动的行为演化。我们还提出时间因果记忆(TCM)基准,用于评估时间一致性与长程因果叙事连贯性。DREAM在CoSER、LIFECHOICE和TCM三个基准上均达到当前最优表现,优于多个强基线模型。结果表明,结构化记忆能有效提升角色扮演智能体的可解释性与一致性。

原文摘要 · Abstract (English)

Role-playing agents (RPAs) have emerged as a key application of large language models, enabling immersive and high-fidelity character simulation. Accurate role-playing of established characters requires not only stylistic imitation but also temporally consistent and causally grounded behavioral reasoning. However, existing RPAs primarily rely on static character descriptions and unstructured memory, limiting their ability to maintain long-term narrative and personality coherence. We introduce DREAM, a structured memory framework for role-playing agents inspired by the Activating Event-Belief-Consequence (ABC) cognitive model. DREAM transforms unstructured literary text into an Event-aware Memory Graph (EMG) that organizes character experiences into temporally ordered and causally linked event graph. This representation enables the construction of dynamic, dual-granularity character profiles that capture both stable personality traits and event-driven behavioral evolution. We further propose the Temporal Causal Memory (TCM) benchmark to evaluate temporal consistency and long-range causal narrative coherence. DREAM achieves state-of-the-art performance across CoSER, LIFECHOICE, and TCM, outperforming multiple strong baselines. Our approach demonstrates the effectiveness of structured memory in enhancing the interpretability and consistency of role-playing agents.

角色扮演结构化记忆因果推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。