Agent 与自动化 4.0 · 优秀 2026-10-18 · 论文

Let Them Sleep: Recursive Self-Pruning Memory for Long-Horizon LLM Agents

长时间运行的 agent 有个多数系统没优化的记忆问题:全存轨迹加最近邻检索早期有效后期悄悄失效存储堆满 agent 照着再错一遍的失败轨迹和早已过期的事实RSPM(递归自剪枝记忆)借用生物睡眠机制:周期性入睡,把最近失败聚成簇每簇压成一条短规则随即删除原始轨迹;规则无新证据强化就衰减,跨场景复现的规则升级为通用规则在 SWE-bench 模拟12 个对话基准时序一致性LoCoMo-10 长程 QA 三个几乎无交集的设置上分别提升 9.111.97.6 个点;两个独立插桩研究收敛到几乎同一工作点:重试循环减约 93%存储条目减约 30%

打开原文回到归档

Let Them Sleep: Recursive Self-Pruning Memory for Long-Horizon LLM Agents

  • ID: 07cdd72e
  • 原文链接: https://arxiv.org/abs/2610.25561
  • PDF: https://arxiv.org/pdf/2610.25561v1
  • 作者: Kargi Chauhan, Sadiba Nusrat Nur, Pratibha Revankar, Kyle Montgomery, Chenguang Wang
  • 日期: 18 Oct 2026
  • 更新: 18 Oct 2026
  • 分类: agents
  • 来源类型: paper
  • 标签: agent-memory, memory-consolidation, forgetting, self-pruning, long-horizon
  • 质量评分: 4/5
  • 抓取时间: 2026-10-28T15:46:42Z

中文导读

长时间运行的 agent 有个多数系统没优化的记忆问题:全存轨迹加最近邻检索早期有效、后期悄悄失效——存储堆满 agent 照着再错一遍的失败轨迹和早已过期的事实。RSPM(递归自剪枝记忆)借用生物睡眠机制:周期性入睡,把最近失败聚成簇、每簇压成一条短规则、随即删除原始轨迹;规则无新证据强化就衰减,跨场景复现的规则升级为通用规则。在 SWE-bench 模拟、12 个对话基准时序一致性、LoCoMo-10 长程 QA 三个几乎无交集的设置上分别提升 9.1、11.9、7.6 个点;两个独立插桩研究收敛到几乎同一工作点:重试循环减约 93%、存储条目减约 30%。

为什么值得关注

长时间运行的 agent 有个多数系统没优化的记忆问题:全存轨迹加最近邻检索早期有效、后期悄悄失效——存储堆满 agent 照着再错一遍的失败轨迹和早已过期的事实。RSPM(递归自剪枝记忆)借用生物睡眠机制:周期性入睡,把最近失败聚成簇、每簇压成一条短规则、随即删除原始轨迹;规则...

Extra grounding: arXiv v1 submitted 18 Oct 2026; subjects cs.NE.

Obsidian 摘要摘录

摘自 Agent实践探索 2026-10-28:

UCSC 的 RSPM 论文(arXiv:2610.25561)把故障描述得很准:存储里堆满失败轨迹,Agent 检索到之后照着再错一遍;还有的事实五十轮之前成立,现在早已过期。他们的修法是给记忆装上睡眠周期:每处理 10 个任务、或失败率突然升高时触发一轮整理,把最近的失败聚成簇,每簇压成一条短规则,随即删掉产生规则的原始轨迹;规则带半衰期,没有新证据就衰减,在三个场景都成立才从单例升级为类别规则。

关键信息

  • 论文标题:Let Them Sleep: Recursive Self-Pruning Memory for Long-Horizon LLM Agents
  • 作者:Kargi Chauhan, Sadiba Nusrat Nur, Pratibha Revankar, Kyle Montgomery, Chenguang Wang
  • arXiv:https://arxiv.org/abs/2610.25561
  • PDF:https://arxiv.org/pdf/2610.25561v1
  • 发布时间:18 Oct 2026
  • 更新时间:18 Oct 2026
  • arXiv 分类:Neural and Evolutionary Computing (cs.NE)
  • 备注:Baylearn2026 paper accepted for Oral Presentation
  • 关联标签:agent-memory, memory-consolidation, forgetting, self-pruning, long-horizon

English Abstract

Agents that run for a long time have a memory problem, and it is not the one most systems optimize for. Storing every trace and retrieving the nearest neighbors works early and quietly stops working later: the store fills up with failures the agent then repeats, and with facts that were true fifty turns ago. RSPM (Recursive Self-Pruning Memory) borrows the fix biology already found. At intervals the agent sleeps. It clusters its recent failures, distills each cluster into a short rule, and deletes the raw episodes it just learned from. Rules decay unless something reinforces them, and rules that recur across many contexts get promoted into general ones. We tested this on three settings with little in common: a difficulty-calibrated SWE-bench simulation, temporal consistency across 12 conversational benchmarks, and long-horizon QA on LoCoMo-10. All three improve, by 9.1, 11.9, and 7.6 points respectively. More interestingly, the two studies that instrument the store itself converge on nearly the same operating point without being tuned toward it: roughly 93% fewer retry loops and roughly 30% fewer stored entries. That hints that knowing what to forget is a general property of agent memory rather than a benchmark-specific trick.