CoReMem lifts a 27B coding agent's resolve rate on ChainSWE
Original title: CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation
Resolve rate rises from 21.0% to 25.7%, with 17% fewer steps and 11% fewer cache-aware tokens.
CoReMem designs memory for successive coding tasks by measuring each memory segment's value on the next task before that task is known. Prospective valuation builds compact memory around repository locations and executable checks, and actor training credits steps that use those anchors. On ChainSWE the 27B actor resolves more tasks while using fewer steps and tokens than the untrained actor without memory.
- Memory is written before the next repository task is known.
- The reward prioritizes resolution and penalizes steps on successful runs.
- Extra value credit goes only to steps that use memory-supplied anchors.
- The 11% token cut includes memory-module calls.
From the original article
1 min read at arxiv.orgCoding 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.
By Peiwen Li · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.