From Interactions to Principles: Experience-Driven Self-Distillation for Evolving LLM Agents

Rong Wu, Xiaoman Wang, Jianbiao Mei, Pinlong Cai, Daocheng Fu, Cheng Yang, Licheng Wen, Xuemeng Yang, Yufan Shen, Yuxin Wang, Botian ShiICML 2026

Introduction

Large Language Model (LLM) agents have demonstrated remarkable proficiency in tool-augmented reasoning. However, most contemporary agents suffer from "operational amnesia"—treating every new task as a blank slate regardless of past successes or failures. After completing an episode, they discard interaction traces and fail to accumulate reusable strategies.

Prior attempts to solve this issue typically fall into three traps:

  1. Statelessness: Discarding all experience after a task concludes.
  2. Raw Retrieval: Storing entire past trajectories. These are bulky, difficult to generalize, and often lead to agents mimicking past actions rather than understanding the underlying reasoning.
  3. External Teachers: Relying on a more powerful model (e.g., GPT-4) to provide reflections. While this boosts performance, it leaves the agent's intrinsic policy unchanged, and the external "advice" may not align with the smaller agent's actual capabilities.

To address these limitations, researchers introduce EvolveR, an experience-driven framework that enables an agent to autonomously distill its own interaction histories into a library of "strategic principles" and use reinforcement learning to evolve its decision-making policy.

The EvolveR Framework

EvolveR implements a closed-loop, three-stage "Experience-Driven Self-Evolution" lifecycle, allowing the agent to build its own expertise over time.

1. Offline Self-Distillation

Instead of relying on an external teacher, the agent reviews its own past trajectories—both successes and failures. It converts these raw experiences into concise "principles." These principles consist of a natural language description paired with structured knowledge triples (e.g., (Comparison, needs, data on both sides)), making them highly generalizable.

2. Experience Base Management

To prevent the principle library from degrading into a noisy, unmanageable dataset, EvolveR employs strict maintenance protocols:

  • Semantic Deduplication: The system checks if a newly generated principle is merely a rephrase of an existing one, ensuring diversity.
  • Dynamic Scoring: Each principle is assigned an empirical utility score based on its retrieval frequency and its contribution to successful outcomes. Low-scoring principles are periodically pruned, maintaining a high-quality experience base.

3. Online Interaction & Policy Evolution

During active tasks, the agent can invoke a <search_experience> tool to retrieve relevant principles from its base. Crucially, EvolveR goes beyond simply prompting the model with these principles. It utilizes Group Relative Policy Optimization (GRPO)—a reinforcement learning algorithm—to update the agent’s weights. This trains the agent to effectively retrieve, interpret, and apply its own distilled wisdom, reinforcing behaviors that lead to successful task completion.

Experimental Setup

The researchers evaluated EvolveR across seven diverse multi-hop question-answering benchmarks to test both learning and generalization:

  • In-Domain (for building the experience base): Natural Questions (NQ) and HotpotQA.
  • Out-of-Domain (for testing generalization): TriviaQA, PopQA, 2WikiMultiHopQA, Musique, and the adversarial Bamboogle dataset.

Key Insights and Results

Superior Performance and Scaling

EvolveR-7B achieved an average score of 0.417 across all benchmarks, significantly outperforming strong agentic baselines like Search-R1 and standard RAG setups. Furthermore, the framework demonstrated clear scaling laws, showing consistent improvements as the base model size increased from 0.5B to 7B parameters.

Cognitive Alignment: Self-Taught vs. Teacher-Taught

One of the most striking findings is the concept of "cognitive alignment." At the 3B parameter scale, principles self-distilled by the agent actually outperformed principles written by a significantly smarter teacher model (GPT-4o-mini). This suggests that an agent understands its own reasoning shortcuts, capabilities, and failure modes better than an external observer does.

The Advantage of Reinforcement Learning

The study found that Reinforcement Learning (RL) vastly outperforms Supervised Fine-Tuning (SFT) for policy evolution. While SFT merely teaches the model to mimic successful surface-level actions, RL helps the model grasp the underlying utility of its actions and learn what to avoid from failed attempts.

High Efficiency and Quality Control

Despite maintaining an experience base of up to 50,000 principles, EvolveR's retrieval latency remained exceptionally low at just 0.20 seconds, making it highly viable for real-time deployment. Additionally, manual annotations revealed that the dynamic scoring system successfully concentrated high-quality, actionable principles—increasing the proportion of "Ideal" principles from 26% to 82% in the highest-scoring tier.

The "Aha" Moment on Internalization

Interestingly, attempting to force the model to "absorb" the principles directly into its weights (by not masking the loss on retrieved principles during training) actually decreased performance. The authors hypothesize that treating principles as external, retrieved "context" is currently a more stable approach than forcing parametric memorization.

Limitations and Future Directions

While EvolveR presents a comprehensive blueprint for continuously improving autonomous systems, it has a few limitations:

  • Base Model Dependency: The quality of self-distillation is inherently tied to the base model's reasoning capacity. Very small models (e.g., 0.5B) struggle to accurately reflect on their mistakes and still benefit more from external teachers.
  • Internalization Challenges: Future work requires more sophisticated loss functions (such as targeted likelihood maximization) to help agents truly internalize principles into their parameters without destabilizing their core policy.
  • Safety and Alignment: As agents become increasingly autonomous in evolving their policies, the risk of "reward hacking" or developing misaligned strategies grows. Integrating robust safety guardrails into the self-evolution loop will be critical for future iterations.

Conclusion: EvolveR successfully demonstrates that LLM agents can evolve by learning from the consequences of their own actions, paving the way for more autonomous, self-improving AI systems.

Summary updated

BibTeX
@inproceedings{wu2026from,
  author = {Rong Wu and Xiaoman Wang and Jianbiao Mei and Pinlong Cai and Daocheng Fu and Cheng Yang and Licheng Wen and Xuemeng Yang and Yufan Shen and Yuxin Wang and Botian Shi},
  title = {{From Interactions to Principles: Experience-Driven Self-Distillation for Evolving LLM Agents}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=BamDfCP5R3},
}
Figure