All-in-One Memory: Process-Rewarded Reinforcement Learning for Memory Agents
Bingbing Wang, Jingjie Lin, Weiming Qiao, Jing Li, Ruifeng Xu
Key points
From the paper's conclusion- Across long-context memory benchmarks, AiO-Mem consistently improves answer accuracy over both static memory systems and RL-trained memory agents.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Hy-Memory-30B-A3B: Attributed Reinforcement Learning for Long-Term Memory WritingarXiv · 2026
- MEMOIR: A Training-Free Memory Lifecycle for Long-Horizon LLM AgentsarXiv · 2026
- Learning to remember: advances in memory mechanisms for large language modelsVicinagearth. · 2026
- Learning What to Remember: Long-horizon Counterfactual Memory OptimizationarXiv · 2026
- MemComposer: Learning to Assemble Memories for LLM Agents via Reinforcement LearningarXiv · 2026
- FlexA-Mem: Budget-Adaptive Agentic Memory for LLM AgentsarXiv · 2026