Procedural Memory Distillation: Online Reflection for Self-Improving Language Models
Summary
Procedural Memory Distillation (PMD) converts cross-episode signals from reinforcement learning rollouts into reusable procedural memory that is distilled into the policy weights during training, enabling self-improving language models without memory at inference. Experiments show PMD outperforms SDPO by 3.8-5.5% on SCIKNOWEVAL and 7.9-13.6% on LIVECODEBENCH.
View Cached Full Text
Cached at: 07/03/26, 05:44 AM
# Procedural Memory Distillation: Online Reflection for Self-Improving Language Models Source: [https://arxiv.org/abs/2607.01480](https://arxiv.org/abs/2607.01480) [View PDF](https://arxiv.org/pdf/2607.01480) > 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\. However, the richer procedural information in the rollout is rarely retained or reused\. Across episodes and epochs, the model repeatedly encounters related problems under a changing policy, producing cross\-episode signals that episode\-local updates cannot capture: which strategies consistently pass verification, which failure modes persist, which patterns recur\. We propose Procedural Memory Distillation \(PMD\), which converts these crossepisode signals into reusable procedural memory and distills it into the policy's weights during training\. This memory functions as a training scaffold, absorbed into the policy itself, yielding a memory\-free model at inference\. PMD organizes the memory at three levels of abstraction: raw trajectories, self\-reflected strategies and lessons, and higher\-level behavioral patterns that recur across problems, all extracted online from the model's own trajectories\. A memory\-conditioned self\-teacher draws on the accumulated experience to supervise the student on its own rollouts, enabling student to progressively internalize procedural knowledge within its parameters\. The central design principle is co\-evolution: the policy generates rollouts that update the memory, and memory shapes the supervision that updates the policy\. Empirically, across Qwen3\-8B and OLMo3\-Instruct\-7B, PMD improves over SDPO by 3\.8\-5\.5% on SCIKNOWEVAL and 7\.9\-13\.6% on LIVECODEBENCH\. Co\-evolution powers these gains: freezing either the memory or the policy trails PMD by more than 10% across SCIKNOWEVAL domains\. ## Submission history From: Semih Yavuz \[[view email](https://arxiv.org/show-email/9c696e1f/2607.01480)\] **\[v1\]**Wed, 1 Jul 2026 21:20:57 UTC \(696 KB\)
Similar Articles
@dair_ai: // Neural procedural memory // Good paper on agent memory beyond prompt retrieval. NPM stores procedural skills as acti…
This paper introduces Neural Procedural Memory (NPM), a training-free framework that stores procedural skills as activation steering vectors distilled from contrastive historical experience, enabling LLM agents to execute skills without relying solely on textual instructions.
OPRD: On-Policy Representation Distillation
OPRD proposes a new knowledge distillation method that aligns student and teacher hidden states across layers during on-policy rollouts, eliminating sampling variance from token-space KL estimation. Empirically, OPRD outperforms output-space baselines on math reasoning benchmarks (AIME 2024/2025, AIMO) while being 1.44x faster and using 54% less memory.
@michalwols: Amazing talk on on policy self distillation on @yacinelearning 's channel
This talk introduces self-distillation methods (SDPO and SDFT) that use model-generated rollouts and rich environment feedback (e.g., compiler errors) to create dense token-level learning signals, achieving 6× faster convergence than GRPO and 11× shorter reasoning traces, while also enabling sequential skill learning without forgetting.
dOPSD: On-Policy Self-Distillation for Diffusion Language Models
This paper introduces dOPSD, an on-policy self-distillation method for diffusion language models that leverages internal denoising trajectories to improve mathematical reasoning and code generation.
OPID: On-Policy Skill Distillation for Agentic Reinforcement Learning
OPID proposes an on-policy skill distillation framework that extracts dense hindsight supervision from completed trajectories, combining outcome-based RL with token-level self-distillation to improve language agent training efficiency and performance on multi-turn tasks.