Skip to main navigation Skip to search Skip to main content

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

  • Zhihao Xiao
  • , Mengting Li
  • , Xintao Wang
  • , Linfeng Li
  • , Limin Shui
  • , Mengqi Ji
  • , Borui Cai*
  • *Corresponding author for this work
  • Beihang University
  • School of Computer Science
  • Fudan University

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

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 a 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 or competitive 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.

Original languageEnglish
Title of host publicationKDD 2026 - Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2
PublisherAssociation for Computing Machinery
Pages5686-5697
Number of pages12
ISBN (Electronic)9798400722592
DOIs
StatePublished - 8 Aug 2026
Event32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1, KDD 2026 - Jeju Island, Korea, Republic of
Duration: 9 Aug 2026 → 13 Aug 2026

Publication series

NameProceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining
Volume2-B
ISSN (Print)2154-817X

Conference

Conference32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1, KDD 2026
Country/TerritoryKorea, Republic of
CityJeju Island
Period9/08/26 → 13/08/26

Keywords

  • causal narrative modeling
  • knowledge graph
  • large language models
  • role-playing agents
  • temporal memory retrieval

Fingerprint

Dive into the research topics of 'DREAM: LLM-based Dynamic Role-playing via Event-Aware Memory Graph'. Together they form a unique fingerprint.

Cite this