MOOM: Maintenance, Organization and Optimization of Memory in Ultra-Long Role-Playing Dialogues

Weishu Chen, Jinyi Tang, Zhouhui Hou, Shihao Han, Mingjie Zhan +5 more
9/15/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Memory extraction is crucial for maintaining coherent ultra-long dialogues in human-robot role-playing scenarios. However, existing methods often exhibit uncontrolled memory growth. To address this, we propose MOOM, the first dual-branch memory plugin that leverages literary theory by modeling plot development and character portrayal as core storytelling elements. Specifically, one branch summarizes plot conflicts across multiple time scales, while the other extracts the user's character profile. MOOM further integrates a forgetting mechanism, inspired by the ``competition-inhibition'' memory theory, to constrain memory capacity and mitigate uncontrolled growth. Furthermore, we present ZH-4O, a Chinese ultra-long dialogue dataset specifically designed for role-playing, featuring dialogues that average 600 turns and include manually annotated memory information. Experimental results demonstrate that MOOM outperforms all state-of-the-art memory extraction methods, requiring fewer large language model invocations while maintaining a controllable memory capacity.

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{chen2025moom,
  title  = {MOOM: Maintenance, Organization and Optimization of Memory in Ultra-Long Role-Playing Dialogues},
  author = {Weishu Chen and Jinyi Tang and Zhouhui Hou and Shihao Han and Mingjie Zhan and Zhiyuan Huang and Delong Liu and Jiawei Guo and Zhicheng Zhao and Fei Su},
  year   = {2025},
  eprint = {2509.11860},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.11860v2}
}

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/2509.11860.svg)](https://codeofpaper.com/paper/2509.11860)

Discussion