Procedural Memory Distillation: Online Reflection for Self-Improving Language Models
Summary
Procedural Memory Distillation (PMD) is a novel method for self-improving language models by converting cross-episode signals into reusable procedural memory, which is then distilled into the policy's weights during training. Unlike traditional reinforcement learning with verifiable rewards (RLVR) or self-distillation variants like SDPO, PMD retains and reuses richer procedural information across episodes and epochs. This memory is organized at three abstraction levels: raw trajectories, self-reflected strategies/lessons, and higher-level behavioral patterns, all extracted online. A memory-conditioned self-teacher supervises the student model, enabling it to internalize procedural knowledge. The central design principle is co-evolution, where the policy generates rollouts that update the memory, and memory shapes the supervision that updates the policy. Empirically, PMD improves over SDPO by 3.8-5.5% on SCIKNOWEVAL and 7.9-13.6% on LIVECODEBENCH across Qwen3-8B and OLMo3-Instruct-7B models. Freezing either the memory or the policy trails PMD by more than 10% across SCIKNOWEVAL domains.
Key takeaway
For AI Scientists and Machine Learning Engineers developing self-improving language models, Procedural Memory Distillation (PMD) offers a significant performance uplift by leveraging cross-episode procedural memory. You should explore integrating PMD's co-evolutionary approach, as freezing either memory or policy substantially reduces gains, indicating the importance of dynamic interaction for optimal results in models like Qwen3-8B and OLMo3-Instruct-7B.
Key insights
PMD uses online reflection and cross-episode procedural memory to self-improve language models through co-evolution.
Principles
- Co-evolution of policy and memory is key.
- Procedural memory improves policy learning.
- Memory functions as a training scaffold.
Method
PMD converts cross-episode signals into multi-level procedural memory (trajectories, strategies, patterns) and distills it into the policy via a memory-conditioned self-teacher, enabling online self-improvement.
In practice
- Achieve 3.8-5.5% gain on SCIKNOWEVAL.
- Improve LIVECODEBENCH by 7.9-13.6%.
- Integrate online reflection for LMs.
Topics
- Procedural Memory Distillation
- Language Model Self-Improvement
- Online Reflection
- Reinforcement Learning
- Co-evolutionary Training
- Qwen3-8B
Best for: Research Scientist, AI Scientist, Machine Learning Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.