From Facts to Insights: A Persona-Driven Dual Memory Framework and Dataset for Role-Playing Agents

Rongsheng Zhang, Ruofan Hu, Weijie Chen, Jiji Tang, Junnan Ren +5 more
5/25/2026
cs.CLcs.DBcs.MA

No confident code implementation found for this paper.

Abstract

While role-playing agents excel in short-term interactions, long-term conversations overwhelm context windows, motivating external memory frameworks. Current systems typically rely on persona-agnostic summarization, which records facts without persona-specific interpretation, yielding generic responses that compromise persona fidelity. To bridge this gap, we introduce RoleMemo, a dataset featuring four reasoning tasks where the factual fragments must be interpreted through the persona to reach the correct answer. Evaluation on RoleMemo exposes critical limitations of persona-agnostic frameworks. We thus propose DualMem, which decouples memory into two streams: factual cognition and persona-conditioned insight. Trained through Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL), our framework with a 4B-parameter model outperforms zero-shot persona-agnostic frameworks powered by DeepSeek-V3.2 for sustained persona fidelity. Our resources are available at https://github.com/role2026/rolememo.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026from,
  title  = {From Facts to Insights: A Persona-Driven Dual Memory Framework and Dataset for Role-Playing Agents},
  author = {Rongsheng Zhang and Ruofan Hu and Weijie Chen and Jiji Tang and Junnan Ren and Wanying Wu and Xunuoyan Chen and Tangjie Lv and Tao Jin and Zhou Zhao},
  year   = {2026},
  eprint = {2605.25693},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.25693v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.25693.svg)](https://codeofpaper.com/paper/2605.25693)

Discussion