All-in-One Memory: Process-Rewarded Reinforcement Learning for Memory Agents

Bingbing Wang, Jingjie Lin, Weiming Qiao, Jing Li, Ruifeng Xu
10/15/2026
cs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Large language models increasingly rely on external memory to answer queries grounded in long-horizon histories such as multi-session dialogues and lengthy documents. However, existing memory methods often optimize retrieval and memory construction separately, without a shared reward space for evaluating search, writing, and stopping decisions. To address this, we propose All-in-One Memory (AiO-Mem), which organizes these operations as transitions over a shared evidence state and directly evaluates the semantic quality of each action in a unified reward space. AiO-Mem compiles heterogeneous histories into source-traceable multi-view events, providing a shared substrate for retrieval and memory writing. A unified memory policy actor then rolls out complete interaction trajectories over this shared evidence state. A separate trajectory-conditioned process reward model is trained through evidence-grounded supervised fine-tuning and trajectory-level DPO to assign process scores to the collected trajectories. These scores are aggregated into an action-balanced trajectory reward and used by Process-Aligned DAPO (PA-DAPO) to optimize the memory policy. Across long-context memory benchmarks, AiO-Mem consistently improves answer accuracy over both static memory systems and RL-trained memory agents.

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. 1 weaker match is hidden by default — 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{wang2026allinone,
  title  = {All-in-One Memory: Process-Rewarded Reinforcement Learning for Memory Agents},
  author = {Bingbing Wang and Jingjie Lin and Weiming Qiao and Jing Li and Ruifeng Xu},
  year   = {2026},
  eprint = {2610.21147},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.21147v1}
}

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

Discussion