CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation
- ID: 0e01cb2c
- 原文链接: https://arxiv.org/abs/2611.17316
- PDF: https://arxiv.org/pdf/2611.17316v1
- 作者: Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying
- 日期: 2026-11-12
- 更新: 2026-11-12
- arXiv 分类: cs.AI, cs.CL, cs.SE
- 来源类型: paper (arxiv)
- 标签: arxiv, agent-memory, coding-agents, long-horizon, reinforcement-learning
- 质量评分: 4/5
- 抓取时间: 2026-11-14T04:21:50Z
- 分类: agents
中文导读
Agent memory 研究大多默认"多记比少记好",CoReMem 把"下一个任务未知"与写/读记忆的成本这对约束放进框架本身:记忆按下一个任务的实测价值筛选,而不是越全越好。本页由 arXiv 元数据与摘要生成。
为什么值得关注
Agent memory 研究大多默认"多记比少记好",CoReMem 把"下一个任务未知"与写/读记忆的成本这对约束放进框架本身:记忆按下一个任务的实测价值筛选,而不是越全越好。锚点设计(仓库位置 + 可执行检查)也让记忆从自然语言摘要转向可验证的工程产物,provenance 门控则回答了"信用记给谁"的问题。
关键信息
- 论文标题:CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation
- 作者:Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying
- arXiv:https://arxiv.org/abs/2611.17316
- 发布时间:2026-11-12
- arXiv 分类:cs.AI, cs.CL, cs.SE
- 关联标签:arxiv, agent-memory, coding-agents, long-horizon, reinforcement-learning
English Abstract
Coding agents tackle successive tasks on an evolving repository, carrying forward edits and writing memory before the next task is known. Selecting memory for unknown next tasks requires balancing future usefulness against the costs of writing and reading it. The actor must also decide when acting on available memory saves effort as the task unfolds. We introduce Coding-Repository Memory (CoReMem), a cost-internalizing framework that guides memory design and actor adaptation through measured memory value on the next task. Prospective segment valuation compares runs of the next task with and without individual trajectory segments from the same inherited repository state, guiding a compact memory built around anchors: repository locations and executable checks. Actor adaptation estimates on-policy memory value within rollout groups with and without memory, using a reward that prioritizes resolution and penalizes step count in successful runs. Provenance-gated value credit assigns the additional value term to steps identified as using memory-supplied anchors, while every step retains outcome credit. On ChainSWE, CoReMem raises the 27B actor's resolve rate from 21.0% to 25.7%, with 17% fewer steps and 11% fewer total cache-aware tokens, including memory-module calls, relative to the untrained actor model without memory.
English Summary
CoReMem addresses what coding agents should memorize when tackling successive tasks on an evolving repository, where the next task is unknown and memory writes and reads carry costs. Prospective segment valuation compares next-task runs with and without individual trajectory segments from the same inherited repository state, keeping only valuable segments; the compact memory is built around anchors: repository locations plus executable checks. Actor adaptation estimates on-policy memory value within rollout groups with and without memory, using a reward that prioritizes resolution and penalizes steps in successful runs, with provenance-gated credit assigned to steps identified as using memory-supplied anchors. On ChainSWE, a 27B actor's resolve rate rises from 21.0% to 25.7% with 17% fewer steps and 11% fewer cache-aware tokens vs the untrained actor without memory.
Obsidian Notes
- 内容由
opencli arxiv paper拉取 arXiv 元数据与摘要生成。 - 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。