Metraipolis › archive › dc_b131286cd885
COUNTERMEM: World-Model Verified Counter-Factual Memory for Language Agents — arXiv:2609.31874
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.31874
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T20:54:57.662Z
- SHA-256 of the archived text
c234278dfce49c7a9cc9540d74a3fd547810a78098a48d9e838bcc4a4cb92e0d- Stable URL of this page
https://metraipolis.com/documento/dc_b131286cd885
How to cite
COUNTERMEM: World-Model Verified Counter-Factual Memory for Language Agents — arXiv:2609.31874 — arXiv (en), https://arxiv.org/abs/2609.31874 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b131286cd885 (Metraipolis archive dc_b131286cd885, sha256 c234278dfce49c7a9cc9540d74a3fd547810a78098a48d9e838bcc4a4cb92e0d)
BibTeX
@misc{dcb131286cd885,
title = {COUNTERMEM: World-Model Verified Counter-Factual Memory for Language Agents — arXiv:2609.31874},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.31874},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b131286cd885; sha256 c234278dfce49c7a9cc9540d74a3fd547810a78098a48d9e838bcc4a4cb92e0d},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.31874. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Existing agent memory frameworks mainly create memory through an agent's interaction with the factual world, e.g., remembering feedback from actions taken to improve performance on future tasks. However, these frameworks seldom ask the "what if" question during memory construction: what if a different action had been taken, would the feedback have changed, and how could this feedback become useful memory? Obtaining such feedback directly in an active environment can be expensive and can alter the state needed for comparison. In this work, we introduce COUNTERMEM, a reinforcement-learning framework for constructing and using verified counterfactual memory across tasks. After a failed action, COUNTERMEM evaluates local alternatives from a copy or reset of the original state using executable world models, such as tests, proof checkers, and solvers. It stores improvements with the original and corrected actions, checked outcomes, and conditions for reuse. A learned memory-use policy selects a retrieved record or skips memory to balance task success and interaction cost, while the base LLM remains fixed. Both memory and policy are frozen during held-out evaluation. We evaluate COUNTERMEM on 12 benchmark settings across six domains. With gpt-oss-120b, COUNTERMEM improves both ReAct and Reflexion on all 12 benchmarks across six domains, averaging a gain of 12.6 percentage points over their unaugmented versions. In the four-domain comparison across two backbones, task-run tokens decrease by 7.7-42.0%, excluding offline selector-training costs. Further analyses show that removing verification or persistent storage weakens the gains, while applying verified corrections to unsuitable decisions can reverse them. Code will be released upon acceptance. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.31874 — 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-07T20:29:00.657Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).