arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.18493cs.LGcs.AI
收藏

学习记忆:为长上下文推理端到端训练记忆代理

Learning to Remember: End-to-End Training of Memory Agents for Long-Context Reasoning

Key Laboratory of Intelligent Information Processing, Institute of Computing Technology, Chinese Academy of Sciences (ICT/CAS)(智能信息处理重点实验室,计算技术研究所,中国科学院);Key Laboratory of AI Safety, Chinese Academy of Sciences(人工智能安全重点实验室,中国科学院);University of Chinese Academy of Sciences, Beijing, China(中国科学院大学,北京,中国);Li Auto Inc.(利亚德公司)

Kehao Zhang, Shangtong Gui, Sheng Yang, Wei Chen, Yang Feng

AI总结:

UMA通过端到端强化学习框架,整合记忆操作与问答,提升长上下文推理任务的性能。

摘要:

长上下文大语言模型和检索增强生成(RAG)系统对信息进行被动处理,在查询时间才进行状态跟踪、矛盾解决和证据聚合,这在超长流中频繁更新时变得脆弱。我们提出了统一记忆代理(UMA),一种端到端强化学习框架,将记忆操作和问答整合到单一策略中。UMA维护双记忆表示:一个紧凑的核心摘要用于全局上下文,一个结构化的内存银行支持对关键值条目的显式CRUD(创建、更新、删除、重新组织)操作,使在流式处理中能够主动整合。为了评估长周期记忆行为,我们引入了Ledger-QA,一个用于连续状态跟踪的诊断基准,其中答案是通过累积更新得出的隐含值,而不是局部跨度检索。在涵盖Ledger-QA、Test-Time Learning和Accurate Retrieval的13个数据集中,UMA在动态推理和学习任务上显著优于长上下文和RAG基线,同时在标准检索基准上保持竞争力,凸显了学习端到端记忆管理的重要性。

英文摘要:

Long-context LLMs and Retrieval-Augmented Generation defer state tracking and evidence consolidation to query time, which is brittle when facts evolve and answers depend on latent states. We introduce Unified Memory Agent (UMA) for a one-to-many setting: query-agnostic external memory is constructed once from a stream and reused across multiple future QA sessions. A single policy maintains a structured Memory Bank through CRUD operations and answers using both the Memory Bank and raw context. Task-Stratified GRPO uses the mean reward of QA trajectories branching from each sampled memory state to supervise memory maintenance, while normalizing memory and per-question QA groups separately. We also introduce Ledger-QA, a diagnostic benchmark for long-horizon state tracking over accumulated updates. At the 16k budget, UMA-Generalist achieves the highest average score among compared methods across the test-time-learning and accurate-retrieval benchmarks and transfers to Ledger-QA without task-specific training; UMA-Specialist further improves long-horizon tracking after task adaptation. These results support learned proactive memory management for long-context reasoning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑