OPD-Evolver: Cultivating Holistic Agent Evolver via On-Policy Distillation

Guibin Zhang, Xun Xu, Yanwei Yue, Zikun Su, Wangchunshu Zhou, Xiaobin Hu, Shuicheng YanarXiv 2026

TL;DR

OPD-Evolver moves beyond simple memory-augmented agents to create "agent evolvers"—models that systematically transform interaction history into persistent behavioral improvements. By employing a slow-fast co-evolution framework and on-policy distillation with privileged hindsight, a 9B parameter model can outperform giant models like Qwen-397B on complex, long-horizon tasks.

What Problem Does This Paper Address?

While many modern AI agents use "memory" to store past trajectories or reflections, they often treat it as a passive buffer. They lack the holistic competence to manage the entire experience lifecycle: identifying which memories are actually useful, grounding their actions in that experience, writing high-quality new knowledge, and pruning redundant or noisy data.

Most existing methods only optimize one fragment of this process (e.g., better retrieval or better reflection). Furthermore, training these coupled abilities is difficult because environment rewards provide direct feedback for execution, but not for memory management. The authors address this by asking: How can we train an agent to acquire the holistic competence of evolving through experience?

Methods

The authors introduce OPD-Evolver, a framework characterized by two interlocking loops:

  1. The Fast Evolution Loop (Online): The agent interacts with the environment using a four-level memory hierarchy: Trajectories (raw history), Tips (heuristics), Skills (abstract procedures), and Tools (executable code). It selects relevant memories, acts, and then writes new experiences back to the repository.
  2. The Slow Evolution Loop (Offline Training): This loop uses On-Policy Distillation (OPD) to internalize these behaviors. A "teacher" model is given privileged hindsight—it sees the final task outcome and a calculated "Outcome-Calibrated Attribution" score for every memory used. It then teaches a "student" policy (the deployable agent) to make the same high-quality decisions without needing to see the future outcome.
Figure 1: (Top) The fast loop lets the agent interact with environments and a four-level memory hierarchy; (Down) the slow loop converts outcome-calibrated hindsight into on-policy self-distillation signals for OPD-Evolver.

A key innovation is the Outcome-Calibrated Attribution, which estimates the value of a specific memory by comparing task performance when that memory was selected versus when it was retrieved but ignored. This turns sparse environment rewards into dense supervision for memory selection and writing.

Datasets

Training: The model was trained on 7,000 interactive tasks from:

  • Agent World Model (AWM): Synthetic tool-use environments.
  • nvidia/Nemotron-Terminal-Corpus: Terminal-style command execution data.
  • EnvScaler: Scalable tool-interactive environments.

Evaluation: The framework was tested across five diverse benchmarks:

  • LifelongAgentBench: Database (SQL) and OS (Bash) tasks.
  • MemoryArena: Multi-session Math and Physics reasoning.
  • AMA-Bench: Long-horizon causal inference and state abstraction.
  • InterCode: Interactive coding (Bash, CTF, SQL).
  • MiniHack: Procedurally generated grid-world navigation.

Key Insights and Ideas

  • Internalization leads to Efficiency: One of the most striking findings is that OPD-Evolver doesn't just get better at using external memory; it internalizes the lessons. As shown in Figure 4, the trained policy achieves higher success rates in fewer steps, effectively "compiling" experience into its weights.
  • Quality over Retrieval Volume: Distillation significantly shifts the distribution of selected memories toward high-value items. Instead of just retrieving similar-looking text, the agent learns to pick memories that actually drive success.
  • Causal Writing: Rather than writing generic "try harder" reflections, the distilled writer produces precise, causal tips (e.g., "Exploring adjacent tiles is insufficient for finding stairs").
Figure 4: Experience internalization effect. Each arrow starts from the vanilla backbone and ends at the cor- responding OPD-Evolver policy; rightward movement indicates higher task success and upward movement in the inverted axis indicates fewer steps.

Key Results

  • Challenging the Giants: The OPD-Evolver-9B model outperformed Qwen3.5-397B and Step-3.5-Flash on the majority of benchmarks, proving that a smaller, "smarter" evolver can beat massive models that lack systematic memory management.
  • Superiority over Baselines: It surpassed specialized memory systems like ReasoningBank by up to 11.5% and training-based methods like Skill0 by approximately 5.8%.
  • Selection & Writing Gains: Quantitative analysis showed that selection distillation raised the median memory score of selected items from ~0.66 to ~0.79 across various tasks, effectively filtering out retrieval noise.
Figure 5: Case study of experience selection and writing in OPD-Evolver. (Top) on LifelongAgentBench-OS, OPD-Evolver selects a compact task-matched subset from retrieved memories. (Bottom) on MiniHack-Room, OPD-Evolver writes a more causal and reusable mem- ory from a failed trajectory.

Limitations and Future Work

The authors note that while OPD-Evolver improves evolution capacity, it still operates within the standard risks of LLM agents, such as potential privacy leakage from memory or unintended task generalization.

Future work could explore:

  • Scaling the Memory Pool: Testing how these evolver capabilities hold up as repositories grow to millions of items.
  • Multi-Agent Evolution: How multiple "evolvers" might share and refine a collective memory pool.
  • Safety Constraints: Integrating explicit safety and auditing mechanisms directly into the memory management distillation process.

Summary updated

BibTeX
@misc{zhang2026opd,
  author = {Guibin Zhang and Xun Xu and Yanwei Yue and Zikun Su and Wangchunshu Zhou and Xiaobin Hu and Shuicheng Yan},
  title = {{OPD-Evolver: Cultivating Holistic Agent Evolver via On-Policy Distillation}},
  year = {2026},
  eprint = {2606.17628},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.17628},
}

Loading related content...

Figure