Metraipolis › archive › dc_3b10ba401f88

REM: What to Store, When to Recall, What to Forget in Experience Memory for Coding Agents — arXiv:2610.27377

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.27377
License (as archived)
CC0-1.0
Archived
2026-10-21T07:06:30.293Z
SHA-256 of the archived text
7298e3a77618df2a10388d5ed1b6fc29afcd4ca665f7376c7192bb14cf1278d3
Stable URL of this page
https://metraipolis.com/documento/dc_3b10ba401f88

How to cite

REM: What to Store, When to Recall, What to Forget in Experience Memory for Coding Agents — arXiv:2610.27377 — arXiv (en), https://arxiv.org/abs/2610.27377 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_3b10ba401f88 (Metraipolis archive dc_3b10ba401f88, sha256 7298e3a77618df2a10388d5ed1b6fc29afcd4ca665f7376c7192bb14cf1278d3)
BibTeX
@misc{dc3b10ba401f88,
  title = {REM: What to Store, When to Recall, What to Forget in Experience Memory for Coding Agents — arXiv:2610.27377},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.27377},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_3b10ba401f88; sha256 7298e3a77618df2a10388d5ed1b6fc29afcd4ca665f7376c7192bb14cf1278d3},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.27377. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language model (LLM) agents now autonomously complete long-horizon tasks, such as repository-level coding, through hundreds of think-act steps, yet the experience each run produces is rarely reused on the next. Prior memory systems concentrate on retrieval, finding the most relevant past trajectory. Retrieval cannot observe the running agent, so it cannot decide whether the agent needs an experience, at which point, or for how long. We introduce REM (Reusable Experience Memory), a framework that manages the memory lifecycle from inside the agent's think-act loop through three explicit decisions. What to store: each completed trajectory is consolidated into a phase-structured document, two orders of magnitude smaller than the trajectory. When to recall: the document is injected at the start of the task; the costlier implementation record is withheld until an in-loop gate detects the agent struggling. What to forget: the record is evicted after a single exposure. On repository-level bug fixing (SWE-ContextBench Lite), REM retrieves the related trajectory more accurately than every state-of-the-art memory system (68.7% vs. 55.6% match@1) and improves, in every replicate, end-task resolution (27.6% vs. 24.9%) at 17% lower cost. Injecting the same experience as a summary or raw trajectory, even when oracle-retrieved, does not. Ablating any of the three decisions reduces resolution. Altogether, these results demonstrate that the bottleneck in experience reuse is not retrieval fidelity but how experience is stored and governed across its lifecycle, opening a control-theoretic perspective on agent memory.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.27377 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-21T07:05:43.402Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).