跳到正文
arXiv (AI + Vision + Imaging)· Fanyu Zhao, Ruike Cao, Liang Dong, Fugen Yao, Jian Xu, Guanjun Jiang, Yinsheng Li, Yifei Zhao, Han Zhang·· 8 天前AI 评分49

RPMem:为LLM智能体提供跨会话长期循环参数化记忆

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

AI 导读

研究团队提出RPMem,一种两阶段架构,将每次会话经前向计算编译为与模型无关的潜在记忆,再通过任务训练的循环门控与保留记忆选择性整合,最终映射为骨干相关的LoRA参数。在Qwen3-8B与PERMA基准上达到85.52%,分别超过最强参数化基线和文本基线5.32与12.98个百分点,并在三个长期记忆基准、五种骨干上验证了泛化性,更新成本与内存占用接近恒定。

正文 · 原文

arXiv:2609.23466v4 Announce Type: replace 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 code is available at https://github.com/Quark-Medical/rpmem/tree/main.

来源:arXiv (AI + Vision + Imaging) · arxiv.org