arXiv AI By Lirui Luo, Kelong Mao, Xinwei Yang, Rongqing Li, Luyu Chen, Kieran Wong, Yudong Guo, Xinrui Wang, Jiayin Zhu, Gu Simiu, Sulong Xu, Cong Fang

Coding Agent Memory Post-Training II: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via On-Policy Distillation

Read the original on arXiv AI →

The paper introduces Coding Agent Memory Gym II (CAMG-II), a set of long‑horizon reinforcement learning environments that provide both native task interfaces and Bash access with an episode‑persistent workspace for file‑based memory. It also presents Coding Agent Memory Post‑Training II (CAMP‑II), a policy trained via fully asynchronous on‑policy distillation to learn file‑based memory behaviors directly from a frozen teacher. CAMP‑II achieves nearly three times the performance of the strongest baseline on CAMG‑II and shows improved success rates on external benchmarks Terminal‑Bench 2.1 and SWE‑Bench Pro V2.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

Hugging Face Trending Papers
Nov 10

Coding Agent Memory Post-Training II: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via On-Policy Distillation

The paper introduces Coding Agent Memory Post-Training II (CAMP-II), a method that trains a single policy across five long‑horizon RL environments using fully asynchronous on‑policy distillation (OPD) to learn file‑based memory behavior. CAMP-II leverages a frozen teacher with a prior for file operations, enabling the policy to create, revise, search, and reuse files as memory across context replacements. On the new Coding Agent Memory Gym II (CAMG‑II) benchmark, CAMP‑II achieves nearly three times the performance of the strongest OPD baseline and its learned memory strategy generalizes to external benchmarks Terminal‑Bench 2.1 and SWE‑Bench Pro V2, improving success rates.

arXiv AI
Oct 1

Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning

arXiv:2609.34422v2 Announce Type: replace-cross Abstract: Language-model agents increasingly tackle long-horizon tasks whose interaction histories exceed the model's active context. Recent work has b...

By Lirui Luo, Kelong Mao, Heming Xia, Rongqing Li, Xinwei Yang, Luyu Chen, Kieran Wong, Yudong Guo, Xinrui Wang, Jiayin Zhu, Simiu Gu, Sulong Xu, Cong Fang
arXiv AI
Oct 21

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

The paper introduces REM (Reusable Experience Memory), a framework that manages the lifecycle of experience for large language model agents performing long-horizon coding tasks. REM consolidates completed trajectories into compact, phase-structured documents, injects them at task start, and evicts them after a single exposure, making the memory system responsive to the agent’s needs. Experiments on repository-level bug fixing show REM outperforms state‑of‑the‑art memory systems in retrieval accuracy and task resolution while reducing cost.

By Xinyi Lisa Chen, Pedro Herrero-Vidal, Xiaohan Chen, Xiaojing Yu, Cris Liu, Bingqing Song, Bin Xu, Suleiman A. Khan, You-Lin Chen
arXiv Computation and Language
Sep 21

MemoryArena: Benchmarking Agent Memory in Interdependent Multi-Session Agentic Tasks

MemoryArena is a new evaluation gym that benchmarks agent memory in interdependent multi‑session tasks. Unlike prior benchmarks that test memorization or single‑session action in isolation, MemoryArena requires agents to acquire memory while interacting with the environment and then use that memory to guide future decisions across a range of tasks such as web navigation, planning, information search, and formal reasoning. The benchmark reveals that agents excelling on existing long‑context memory tests perform poorly here, highlighting a gap in current memory evaluation methods.

By Zexue He, Yu Wang, Churan Zhi, Yuanzhe Hu, Tzu-Ping Chen, Lang Yin, Ze Chen, Tong Arthur Wu, Siru Ouyang, Zihan Wang, Jiaxin Pei, Julian McAuley, Yejin Choi, Alex Pentland