cd /news/ai-agents/coremem-cost-internalizing-memory-fo… · home › topics › ai-agents › article
[ARTICLE · art-169083] src=arxiv.org ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

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

A paper submitted to arXiv on 12 November 2026 introduces CoReMem, a cost-internalizing memory framework for coding agents that raises a 27B actor's resolve rate on the ChainSWE benchmark from 21.0% to 25.7%. CoReMem uses prospective segment valuation to compare runs of the next task with and without individual trajectory segments from the same inherited repository state, building a compact memory around anchors such as repository locations and executable checks, and adds provenance-gated value credit during actor adaptation. The method also cuts steps by 17% and total cache-aware tokens by 11%, including memory-module calls, relative to the untrained actor model without memory.

read2 min views4 publishedNov 13, 2026
CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation
Image: source
  [Submitted on 12 Nov 2026]


[View PDF](http://arxiv.org/pdf/2611.17316v1)

[HTML (experimental)](https://arxiv.org/html/2611.17316v1)

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.

Additional Features

Current browse context:

cs.AI

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?) alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?) Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?) 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.

── more in #ai-agents 4 stories · sorted by recency
── more on @coremem 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/coremem-cost-interna…] indexed:0 read:2min 2026-11-13 · —