Self-evolving language models can continuously acquire useful experience through test-time interaction, reflection, and prompt optimization, yet turning such experience into model itself to ensure self improvement remains challenging. On-policy self-distillation (OPSD) provides a natural mechanism for internalizing test-time information into model parameters, yet it largely assumes that the gener- ated experience is worth learning. We show that this assumption does not always hold: experiences that improve test-time performance may provide limited or even harmful training signals. To better characterize which experience should be inter- nalized, we systematically analyze diverse mutated experiences across multiple tasks and reflection models, and find that gradient-based alignment is a more reli- able indicator of downstream distillation gains than immediate test-time improve- ment. Based on this finding, we propose E2L, a self-evolution framework that iteratively generates, evaluates, and distills experiences according to their esti- mated training utility. E2L closes the loop between experience generation and parameter learning, enabling agents to autonomously produce experience suitable for self-improvement.
Figures & tables
Figure 1: Identical inference-time accuracy can lead to different internalization outcomes. (a) Two experiences generated by GLM-5.2 achieve the same context-conditioned accuracy on AIME25 (20.83%). After 20 steps of on-policy self-distillation, the higher-alignment experience (top) yields 21.11% accuracy, compared with 18.06% for the lower-alignment experience (bottom), a gap of 3.06 percentage points. (b–c) Across 33 candidate experiences, instruction-following accuracy shows almost no correlation with post-distillation accuracy ( ρ=−0.059 ), whereas gradient alignment on model errors correlates with post-distillation accuracy ( ρ=0.484 ).
Figure 2: Overview of the E2L framework, including iterative experience selection, internalization through distillation, and the corresponding gradient-alignment geometry.
Method
AIME25
AIME26
HotPotQA
JailbreakBench
Base
0.1972
0.1556
0.5208
0.6236
OPCD
0.2046
0.1639
0.5211
0.6358
OPSD
0.1815
0.1565
0.4914
0.4629
OEL
0.2065
0.1685
0.5367
0.5623
E2L-Alignment (Ours)
0.2203
0.1824
0.5614
0.7205
Table 1: Main results for Qwen3-8B, averaged across three random seeds. AIME25 and AIME26 report mean accuracy over 12 samples per question. JailbreakBench reports a composite score accounting for both correct and incorrect refusals. The best result in each column is bold and the second-best is underlined.
Figure 3: Pre-evaluation metrics vs. post-training AIME performance. Spearman correlations with post-test pass@1 across 33 candidates, pooled and grouped by teacher. Cells report ρ , permutation p , and BH-adjusted q ; blue/red indicates positive/negative correlations.
Figure 4: Ablation of experience search and final selection. Scores are shown as percentages.
Selection Methods
AIME25
AIME26
LiveBench Math
HotPotQA
Random
0.2072
0.1555
0.4736
0.5133
Iteration count
0.2099
0.1585
0.4730
0.5250
Accuracy-Top3
0.2259
0.1574
0.4742
0.5228
Alignment-Top3
0.2194
0.1667
0.4802
0.5381
Table 2: Fixed-pool experience selection.
Strategy
No. of experiences
Tree depth
Max. accuracy
Max. alignment
Gate acceptance
AIME25 after distillation
Pareto-only
23
5
0.2222
0.8557
20%
0.2194
Alignment-only
6
2
0.2055
0.7462
4%
0.1944
E2L
27
6
0.2222
0.8809
31%
0.2305
Table 3: Ablation of tree construction strategies under a search budget of 2,000. The final column reports AIME25 accuracy after distillation; the other columns describe experience search. The best post-distillation result is shown in bold.
Method
AIME25
AIME26
LiveBench Math
Base
0.2055
0.1527
0.4762
Gt-OPSD
0.1638
0.1388
0.4642
SFT
0.2055
0.1555
0.4702
E2L-Alignment (Ours)
0.2305
0.1777
0.5000
Table 4: Comparison with direct answer supervision.
Objective
Prompt
AIME25
AIME26
LiveBench Math
JSD
OPCD Prompt
0.1972
0.1389
0.4940
GEPA Prompt
0.2028
0.1611
0.5059
E2L Prompt
0.2250
0.1833
0.5178
PW-OPSD
OPCD Prompt
0.1806
0.1389
0.4702
GEPA Prompt
0.2056
0.1611
0.4702
E2L Prompt
0.1944
0.1833
0.5239
Table 5: Performance across training objectives. The best result for each objective and benchmark is shown in bold. E2L Prompt denotes the experience selected by E2L-Alignment.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Setting
Value
Additional sampling weight
0.3
Top- N admission
N=3
Context-search seed
42
Appendix
Table 6: Additional E2L search settings.
Setting
Value
Correlation and fixed-pool steps
20
Main-experiment steps (except JailbreakBench)
50
JailbreakBench main-table steps
20
Global batch size (except JailbreakBench)
32
JailbreakBench global batch size
64
Learning rate
10−6
Appendix
Table 7: Self-distillation settings. JailbreakBench main-table results use 20 updates and a global batch size of 64; other main experiments use 50 updates.
Setting
Value
Thinking mode
Disabled
Temperature
0.6
Top- p
0.95
Top- k
20
max_model_len
8192
max_tokens
8192
Appendix
Table 8: Evaluation decoding settings. Length limits are in tokens.
Figure 13
Dataset
Reflection model
Budget configured/actual
Tree depth
Max. task score
Max. alignment
Math/AIME
DeepSeek-V4-Pro
1839/1839
5
22.22%
0.8213
Math/AIME
GLM-5.2
1839/1839
6
22.22%
0.8449
HotPotQA
DeepSeek-V4-Pro
13742/13860
7
0.7785
0.0339
HotPotQA
GLM-5.2
13742/14040
6
0.7872
−0.0384
Appendix
Table 9: Experience search statistics. Budget is reported as configured/actual. Maximum alignment is reported with the root included/with the root excluded. Task scores are accuracy for Math/AIME and Answer F1 for HotPotQA. The archived HotPotQA trees include three reflection models; these F1 statistics are separate from the main-results Answer EM.
Large language models (LLMs) capable of self-improvement require not only effective policy optimization, but also a principled mechanism for transforming transient interaction experience into persistent model capabilities. Existing self-improvement paradigms remain fragmented: test-time methods can explicitly extract experience but cannot internalize it into model parameters, whereas training-time optimization methods can update model parameters but lack an explicit mechanism for accumulating transferable experience. Bridging these two paradigms requires a critical intermediate stage that remains underexplored, namely experience distillation. To address this gap, we propose SPEE (Self-Progressive Experience Evolution), a unified post-training framework that sequentially performs explicit experience evolution followed by implicit policy optimization. During explicit experience evolution, SPEE reflects on trajectories collected from multiple interactions to extract, verify, and progressively evolve transferable experience, which is subsequently internalized into the policy through privilege-guided On-Policy Self-Distillation (OPSD). During implicit policy optimization, reward-driven reinforcement learning leverages these internalized priors to explore novel solution strategies. In the experience evolution stage, a continuously evolving global experience pool consolidates knowledge from both successful and failed trajectories, filters out low-utility experience, and mitigates post-hoc rationalization induced by individual trajectories. Experiments on five mathematical reasoning benchmarks demonstrate that SPEE consistently outperforms both test-time and training-time self-evolution baselines across three model scales. The source code is available at https://github.com/rrrsj/SPEE.
Shijie Ren, Xiting Wang, Meng Li +8
Gaoling School of Artificial Intelligence, Renmin University of China · Weixin AI, Tencent Inc, China
Experience-driven self-evolving agents aim to overcome the static nature of large language models by distilling reusable experience from past interactions, thus enabling adaptation to novel tasks at deployment time. This process places substantial demands on the foundation model's capacities for abstraction, generalization, and in-context learning. However, most existing studies focus primarily on system-level design choices, such as how experience is represented and managed, neglecting the inherent capabilities of the underlying model. While some recent works have started to optimize the experience utilization stage via reinforcement learning, they still fail to treat self-evolution as a unified process to be jointly optimized. To this end, we propose Evolving-RL, an efficient algorithmic framework that jointly improves the experience extraction and utilization capabilities required for self-evolution. Specifically, we center the learning process on experience extraction and evaluation, using the two supervisory signals derived from evaluation to optimize the extractor and solver separately and thus enable their coordinated co-evolution. Experiments on ALFWorld and Mind2Web show that Evolving-RL effectively enhances LLMs' ability to extract and reuse experience, leading to strong performance gains on out-of-distribution tasks (up to 98.7% relative improvement over the GRPO baseline on ALFWorld unseen tasks and 35.8% on Mind2Web), and these gains are fully unlocked only through the coordinated co-evolution of experience extraction and utilization. Furthermore, Evolving-RL inherently functions as an experience-augmented RL algorithm. By internalizing reusable experience patterns directly into model parameters, it achieves remarkable performance gains over standard baselines on both seen and unseen tasks, even in the absence of test-time experience accumulation.
Zhiyuan Fan, Wenwei Jin, Feng Zhang +4
1Xiaohongshu Inc. · School of Computer Science, Peking University
Self-evolving agents aim to improve from their own experience rather than remain fixed after deployment, but naturally collected trajectories often lack ground-truth solutions or verifier-derived rewards. We introduce Retrospective Self-Distillation (RSD), a multi-round framework that turns such experience into dense supervision using privileged retrospective context. For each on-policy trajectory, the same underlying model acts as both student and teacher: the teacher re-scores the student's realized actions while conditioning on cross-task precedents and lessons, together with turn-level reflection and future hindsight from the completed trajectory. The resulting teacher distribution is distilled back into the policy through on-policy self-distillation. Across rounds, the experience bank grows and the retrospective context is refreshed, allowing the model, its data, and its supervision to co-evolve. We further introduce frontier-guided context-policy evolution, where a stronger frontier model proposes constrained edits to how privileged context is constructed. Across ALFWorld, ScienceWorld, and SearchQA with Qwen3-8B and Qwen3-14B, RSD improves performance by up to 59.7% relative to the base model, while frontier-guided context-policy evolution adds up to a further 44.7% relative improvement over a fixed context policy. These results show that naturally accumulated experience can be converted into persistent model capability without ground-truth trajectories or verifier-derived rewards for the core policy update.