hiw3c 日报精选
arXiv cs.AI/CL/LG 网页快照

CoReMem:用于连续编码任务的成本内部化记忆及未来价值评估

原文标题 · CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation

作者: 李佩文、哈什特·维玛、周索菲亚 | 编码智能体在不断演变的存储库上处理连续任务,在下一个任务尚不可知之前即可延续编辑操作并写入记忆。为未知的下一个任务选择记忆,需在未来实用性与写入与读取该记忆的成本之间进行平衡。智能体还需决定,在可用记忆上执行操作何时能节省努力,随着任务推进而言。我们引入编码存储库记忆(CoReMem)。

来源:arXiv cs.AI/CL/LG · arxiv.org

正文为英文,可一键机器翻译(仅首次需要等待)

Computer Science > Artificial Intelligence

Title: CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation

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.

Submission history

Access Paper:

Additional Features

Current browse context:

References & Citations

BibTeX formatted citation

Bookmark

Bibliographic and Citation Tools

Code, Data and Media Associated with this Article

Demos

Recommenders and Search Tools

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs .