From Passive Retrieval to Active Memory Navigation: Learning to Use Memory as a Structured Action Space

Yue Xu, Yutao Sun, Yihao Liu, Mengyu Zhou, Jiayi Qiao +5 more
7/7/2026
cs.AI
rl

No confident code implementation found for this paper.

Abstract

Long-term user memory is essential for personalized conversational agents, yet many memory systems still expose memory through passive retrieval interfaces, making the model a consumer of pre-selected evidence. We introduce NapMem, a framework for learning to use long-term user memory as a structured action space rather than passively retrieved context.

Show full abstract

NapMem organizes user history into a linked multi-granularity memory pyramid, where raw conversations, typed memory records, topic tracks, and user profiles are connected through provenance relations, and exposes these levels through memory tools. The agent is trained to select memory according to the query and intermediate evidence, allowing it to inspect different memory granularities before answering. Experiments on PersonaMem-v2, LongMemEval, and LoCoMo show that a NapMem agent trained with memory-tool reinforcement learning is competitive across diverse memory-intensive tasks, while evaluations on non-memory tasks suggest that the learned policy largely preserves general reasoning and tool-use abilities. Additional analyses examine storage, inference cost, tool-use behavior, and ablations over navigation, memory granularity, and RL training. Our results suggest that long-term user memory benefits from coupling structured storage with a learned policy for using memory at the appropriate granularity.

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{xu2026from,
  title  = {From Passive Retrieval to Active Memory Navigation: Learning to Use Memory as a Structured Action Space},
  author = {Yue Xu and Yutao Sun and Yihao Liu and Mengyu Zhou and Jiayi Qiao and Lu Ma and Kai Tang and Wenjie Wang and Xiaoxi Jiang and Guanjun Jiang},
  year   = {2026},
  eprint = {2607.05794},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.05794v1}
}

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

Discussion