RPMem: Learning Long-Term Recurrent Parametric Memory Across Sessions for LLM Agents

📅 2026-09-20
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
为了解决长期运行的LLM代理跨会话记忆问题,提出RPMem架构,通过两阶段处理编译和整合会话记忆,并支持模型替换后的记忆重用。
📝 Abstract
Long-running LLM agents require memory that persists and evolves across sessions. Text-based memory retrieves and reconstructs past interactions at every query, making long-horizon performance increasingly dependent on retrieval quality and contextual reasoning as histories grow. Parametric memory encodes experience directly into model computation, but existing approaches provide limited support for cross-session memory evolution. Their coupling to a specific backbone further restricts memory reuse after model replacement. We introduce RPMem, a two-stage architecture that compiles each session into a model-independent latent memory through forward computation and selectively integrates it with retained memory via a task-trained recurrent gate. The consolidated memory is then mapped to backbone-specific low-rank adaptation (LoRA) parameters, allowing the encoding capability to transfer when the backbone is replaced. Evaluation across three long-term memory benchmarks and five diverse backbones demonstrates broad generalization with near-constant update cost and memory footprint. With Qwen3-8B on PERMA, RPMem reaches 85.52%, outperforming the strongest parametric and text-based baselines by 5.32 and 12.98 percentage points, respectively. Ablations validate the complementary roles of session compilation and cross-session consolidation, while dynamics analyses reveal that the gate acquires task-specific memory integration strategies. These results establish RPMem as a lifecycle-independent parametric memory framework that maintains evolving cross-session memory that remains reusable across backbone replacements. Our implementation is available at https://github.com/Quark-Medical/rpmem/tree/main.
Problem

Research questions and friction points this paper is trying to address.

long-term memory
cross-session
memory evolution
parametric memory
model replacement
Innovation

Methods, ideas, or system contributions that make the work stand out.

parametric memory
cross-session memory evolution
model-independent latent memory
low-rank adaptation (LoRA)
reusable memory
🔎 Similar Papers
No similar papers found.
F
Fanyu Zhao
1Fudan University,2Qwen Applications Business Group, Alibaba Group
R
Ruike Cao
2Qwen Applications Business Group, Alibaba Group
L
Liang Dong
2Qwen Applications Business Group, Alibaba Group
F
Fugen Yao
2Qwen Applications Business Group, Alibaba Group
Jian Xu
Jian Xu
Senior Director, Ad Platform, Alibaba Group
Computational AdvertisingMachine LearningData MiningData Privacy
G
Guanjun Jiang
2Qwen Applications Business Group, Alibaba Group
H
Han Zhang
1Fudan University
Yifei Zhao
Yifei Zhao
上海科技大学
Y
Yinsheng Li
1Fudan University