PSD: Pseudo Self-Distillation of Memory Representation Capabilities for LLM Agents
Read the original on arXiv Machine Learning →The Flow has not summarised this story yet — read it at arXiv Machine Learning.
The Flow has not summarised this story yet — read it at arXiv Machine Learning.
arXiv:2607. 01480v1 Announce Type: new Abstract: Reinforcement learning with verifiable rewards (RLVR), along with recent selfdistillation variants such as SDPO, evaluates each rollout against a verifier and updates the policy from that episode-level signal.
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.
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.
Bootstrapped On-Policy Distillation (BOPD) is a two‑stage framework that first uses on‑policy self‑distillation (OPSD) to capture task‑relevant knowledge from reference‑conditioned supervision into an intermediate model, and then distills this intermediate model into a fresh copy of the initial model. The approach addresses the degradation observed in OPSD during continued training, which is caused by a growing mismatch between the evolving student and the frozen teacher. Experiments demonstrate that BOPD improves mathematical reasoning and code generation beyond both the initial models and the constructed OPSD teachers.
The paper introduces masked self‑distillation, a post‑training framework that trains a language model to internalize portions of its own intermediate reasoning traces. By varying the fraction of trace internalized, the authors demonstrate that models can achieve higher inference efficiency and improved task performance on math and graph‑coloring problems. Experiments on Qwen3‑4B and Qwen3‑8B show that the method generalizes well to in‑domain out‑of‑distribution cases without catastrophic forgetting, and that supervised fine‑tuning alone can reduce trace length at the expense of generalization.
arXiv:2607. 02234v1 Announce Type: new Abstract: On-policy self-distillation (OPSD) has emerged as a promising paradigm for improving LLM reasoning, where a privileged teacher with access to reference solutions provides token-level supervision on the student's own generated trajectories.