基本信息

要点解读

这是什么

CoReMem 是一种面向连续编程任务的记忆框架,在写入、读取记忆时权衡成本与未来收益。它通过比较下一任务在不同记忆条件下的表现,筛选更有价值的代码库位置与可执行检查。

用在哪里

适用于需要在一个持续演化的代码仓库上连续处理任务、并把先前修改和经验传递给后续任务的编程智能体。ChainSWE 实验中,27B 编程智能体的解决率从 21.0% 提升至 25.7%,同时减少了步骤数和缓存感知令牌消耗。

可以推断的

  • 推测:对于任务目标尚不明确的连续编程场景,按实际收益筛选记忆可能比无条件保留全部经验更节省计算资源。
  • 推测:把记忆内容限定为代码库位置和可执行检查,可能有助于增强记忆与后续修改之间的可验证性。

来源摘要/节选

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.

来源说明

当前保存的是来源摘要,不代表论文全文。请以原始来源为准。

「要点解读」由 AI Stack 依据上方已保存内容整理,不代表来源的完整表述;标注「推测:」的判断来自编辑,不是来源陈述。