mlsanityData to 24 Nov 2026

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

arXiv 2611.17316 ↗Submitted 12 Nov 2026cs.AI cs.CL cs.SEcited by 0

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 68 of its 92 references that are in the map. Submitted 12 Nov 2026.

Builds on

68 of 92 references.

Closest ancestors · 18

Same direction, newest first

  1. 2026MemTrace: State-Consistent Memory for Long-Horizon Coding Agents4 Oct
  2. 2026Can Agent Memory Systems Track Evolving State?20 Aug
  3. 2026RoMeRL: Balancing Feedback Coverage and the Memory-Reward Trap in Self-Evolving Agent Memory via Reduced-Order Utility States3 Aug
  4. 2026ECHO: Prune To Act, Trace To Learn With Selective Turn Memory In Agentic RL30 Jun
  5. 2026MemDelta: Controlled Baselines and Hidden Confounds in Agent Memory Evaluation29 Jun
  6. 2026Decision-Aware Memory Cards: Counterfactual-Inspired Context Selection and Compression for Tool-Using LLM Agents6 Jun
  7. 2026InfoMem: Training Long-Context Memory Agents with Answer-Conditioned Information Gain2 Jun
  8. 2026Memory-R2: Fair Credit Assignment for Long-Horizon Memory-Augmented LLM Agents20 May
  9. 2026Causal Intervention-Based Memory Selection for Long-Horizon LLM Agents17 May
  10. 2026Learning When to Remember: Risk-Sensitive Contextual Bandits for Abstention-Aware Memory Retrieval in LLM-Based Coding Agents30 Apr
  11. 2026MemoryArena: Benchmarking Agent Memory in Interdependent Multi-Session Agentic Tasks18 Feb
  12. 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solving8 Jul
6 more
  1. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents18 Jun
  2. 2025SWE-Bench-CL: Continual Learning for Coding Agents13 Jun
  3. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
  4. 2025A-MEM: Agentic Memory for LLM Agents17 Feb
  5. 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
  6. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb

Other references · 50

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  2. 2023Let's Verify Step by Stepcited by 4,259
  3. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  5. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
  6. 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,502
  7. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
  8. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
  9. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 990
  10. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 909
  11. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 876
  12. 2017Counterfactual Multi-Agent Policy Gradientscited by 785
38 more
  1. 2019Data Shapley: Equitable Valuation of Data for Machine Learningcited by 664
  2. 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 582
  3. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 461
  4. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 414
  5. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 387
  6. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 371
  7. 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 357
  8. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 287
  9. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 278
  10. 2025Training Language Models to Reason Efficientlycited by 265
  11. 2024VinePPO: Refining Credit Assignment in RL Training of LLMscited by 225
  12. 2024ContextCite: Attributing Model Generation to Contextcited by 117
  13. 2020Counterfactual Credit Assignment in Model-Free Reinforcement Learningcited by 78
  14. 2022Mutual Information Alleviates Hallucinations in Abstractive Summarizationcited by 74
  15. 2026EverMemOS: A Self-Organizing Memory Operating System for Structured Long-Horizon Reasoningcited by 65
  16. 2025LongCodeBench: Evaluating Coding LLMs at 1M Context Windowscited by 41
  17. 2026Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?cited by 28
  18. 2026CompactionRL: Reinforcement Learning with Context Compaction for Long-Horizon Agentscited by 27
  19. 2025Improving Code Localization with Repository Memorycited by 26
  20. 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositoriescited by 25
  21. 2026Remember When It Matters: Proactive Memory Agent for Long-Horizon Agentscited by 23
  22. 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agentscited by 22
  23. 2026MemPO: Self-Memory Policy Optimization for Long-Horizon Agentscited by 17
  24. 2026SWE-Milestone: Evaluating AI Agents on Continuous Software Evolutioncited by 17
  25. 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agentscited by 15
  26. 2026SWE Context Bench: A Benchmark for Context Learning in Codingcited by 14
  27. 2026Exact Is Easier: Credit Assignment for Cooperative LLM Agentscited by 11
  28. 2026Handoff Debt: The Rediscovery Cost When Coding Agents Take Over Interrupted Taskscited by 11
  29. 2026UMEM: Unified Memory Extraction and Management Framework for Generalizable Memorycited by 10
  30. 2026ChainSWE: Benchmarking Coding Agents on Multi-Bug Software Maintenancecited by 10
  31. 2026RepoShapley: Shapley-Enhanced Context Filtering for Repository-Level Code Completioncited by 6
  32. 2026Your Code Agent Can Grow Alongside You with Structured Memorycited by 5
  33. 2026HiMPO: Hindsight-Informed Memory Policy Optimization for Less-Entangled Credit in Long-Horizon Agentscited by 5
  34. 2026SWE-Edit: Rethinking Code Editing for Efficient SWE-Agentcited by 4
  35. 2026VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Taskscited by 4
  36. 2026From Passive Retrieval to Active Memory Navigation: Learning to Use Memory as a Structured Action Spacecited by 3
  37. 2026Enhancing Software Engineering Through Closed-Loop Memory Optimizationcited by 1
  38. 2026AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repaircited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026REM: What to Store, When to Recall, What to Forget in Experience Memory for Coding Agents
  2. 2026AdMem: Expectation-Grounded Procedural Memory for Long-Horizon Task-Solving Agents
  3. 2026Stratum: Repository Memory for Coding Agents Beyond the Context Window
  4. 2026Measure Before You Manage: Evaluating Agent Working Memory in Coding Agents
  5. 2026Coding Agent Memory Post-Training II: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via On-Policy Distillation
  6. 2026CHIME: Credit-Aware Hierarchical Memory Evolution for Long-Horizon Agentic Planning
  7. 2026PROJECTMEM: A Local-First, Event-Sourced Memory and Judgment Layer for AI Coding Agents
  8. 2026Speculate with Memory: Lossless Acceleration for LLM Agents