NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Procedural Memory Distillation: Online Reflection for Self-Improving Language Models

Ye Liu, Srijan Bansal, Bo Pang, Yang Li, Zeyu L Liu, Yifei Ming, Zixuan Ke, Shafiq Joty, Semih Yavuz

NeurIPS page · Open on the map

Category: LLM Post-Training: RL & Distillation › Self-Distillation for Reasoning · Type: new method · Keywords: procedural memory distillation, self-distillation, language model self-improvement, reinforcement learning with verifiable rewards, cross-episode knowledge

Areas: Memory › Agent Memory Systems › Memory Skills; RL for LLMs & Agents › Distillation Reinforcement Learning › Self distillation

Summary

Procedural Memory Distillation (PMD) distills cross-episode procedural knowledge into a self-improving language model via online reflection, yielding performance gains on reasoning and coding benchmarks.

Explained to a 5-year-old

A robot brain learns by remembering what it did before. It watches its own tries, picks out the good tricks, and stores them in a little notebook. Then it uses that notebook to help itself do new things faster. This helps it solve puzzles and write code better. The brain keeps getting better each time it plays.

Explained to a 5-year-old, longer

Imagine a computer brain that wants to get smarter all by itself. It runs many little experiments and writes down what happens each time. It looks for patterns in those experiments, like which steps work well and which don't. It sorts the good steps into a memory that can be reused later. This memory acts like a teacher that guides the brain while it tries new things. The brain and its memory improve together, each helping the other. Over time, the brain starts to know the best ways to solve problems without having to think from scratch. This makes the brain faster at answering questions and writing code. The brain also learns from its mistakes, so it avoids repeating the same errors. It can handle many different kinds of puzzles, not just one kind. The process happens while the brain is training, so it gets better each day. In the end, the brain works like a smart friend that remembers its own lessons.

For a technical reader

The system captures procedural knowledge from model rollouts and stores it in a reusable memory structure. This memory is organized at multiple abstraction levels and used as a self-teacher to supervise the model during training. The model and memory co-evolve, allowing the model to internalize learned strategies and operate without external memory at inference. Empirical results show consistent gains on reasoning and code-generation benchmarks compared to prior self-distillation methods. The approach also demonstrates the importance of preserving cross-episode signals for continual improvement.

Problem

Existing reinforcement-learning methods with verifiable rewards update policies based on episode-level signals, but they discard richer procedural information from rollouts, limiting the model’s ability to retain and reuse learned strategies across episodes.

Method

The approach extracts procedural information from model rollouts at multiple abstraction levels, organizes it into a reusable memory, and uses a memory-conditioned self-teacher to supervise the policy, enabling co-evolution of policy and memory during training.

Results

The approach achieves 3.8-5.5% gains on SciKnowEval and 7.9-13.6% gains on LiveCodeBench, and removing co-evolution reduces performance by over 10% across SciKnowEval domains.

Contributions

It introduces a mechanism to distill cross-episode procedural knowledge into language models, organizes memory at multiple abstraction levels, and demonstrates that co-evolution between policy and memory yields substantial improvements on reasoning and coding benchmarks.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction