Summary (Overview)
- Key contribution: The paper identifies that inference-time accuracy (instruction-following performance) is a poor predictor of how much a language model improves after self-distillation of an experience, and proposes gradient alignment as a more reliable distillability criterion.
- Core finding: Across 33 candidate experiences, inference-time accuracy shows essentially no correlation with post-distillation accuracy (ρ = −0.059, p = 0.746), whereas gradient alignment on model errors correlates significantly (ρ = 0.484, p = 0.006).
- Proposed framework: E2L (Evolve-to-Learn) combines Pareto-based exploration with gradient-alignment-based candidate admission and selection, enabling agents to autonomously generate experiences suitable for self-improvement via on-policy self-distillation.
- Empirical results: E2L-Alignment achieves the best results on all four benchmarks (AIME25, AIME26, HotPotQA, JailbreakBench), improving Qwen3-8B from 0.1972 → 0.2203 on AIME25 and from 0.6236 → 0.7205 on JailbreakBench.
- Generality: E2L-selected experiences outperform baseline-selected prompts across three different distillation objectives (JSD, position-weighted OPSD, and rule-reward OPD), demonstrating robustness across training paradigms.
Introduction and Theoretical Foundation
Background and Motivation
Large language model (LLM) agents can acquire task-specific experience through test-time interaction, reflection, and prompt optimization. However, such experience typically remains confined to external context, forcing the model to repeatedly retrieve the same experience and making behavior vulnerable to retrieval failures while increasing inference cost. Context distillation methods (e.g., OPSD) address this by transferring textual experience into model parameters, enabling a loop for continual self-improvement.
The Central Problem
Not every experience is worth internalizing. The paper demonstrates a striking example (Fig. 1a): two experiences generated by GLM-5.2 achieve identical context-conditioned accuracy on AIME25 (20.83%), yet after 20 steps of on-policy self-distillation, the resulting models achieve 21.11% and 18.06% accuracy respectively—a gap of 3.06 percentage points.
Theoretical Insight
The authors argue that inference-time accuracy cannot separate what the experience supplies from what the model has actually acquired—a model reading an answer looks the same as a model that has learned to derive it. Since the experience does not survive distillation (only the parameter update it induced survives), the value of an experience must be assessed through the parameter updates it induces.
Methodology
1. On-Policy Self-Distillation (OPSD)
Given input and experience , the student generates responses without observing , while a conditioned teacher provides token-level supervision:
The student is trained by minimizing reverse KL divergence:
where stops gradients through the teacher distribution.
2. Gradient Alignment as a Distillability Criterion
Reference gradient: Using a fixed subset of labeled reference questions answered incorrectly by the initial student:
Alignment computation (using parameters of the last four Transformer layers ):
Local interpretation: For one SGD step :
Higher alignment predicts a larger local decrease in the reference loss.
3. E2L Framework (Algorithm 1)
- Candidate generation: Mutate parent experiences using execution traces and feedback:
- Dual admission criteria: Candidates enter the pool if they satisfy ParetoAccept (non-dominated on validation instances) OR rank among the alignment Top-N:
- Final selection: Choose the experience with highest valid alignment: c^{\star} = \arg\max_{c \in \mathcal{P}_{\mathrm{valid}}} A(c).\tag{10}
- Internalization: Distill using Equation 2.
Empirical Validation / Results
Main Results (RQ1)
Table 1: Main results for Qwen3-8B, averaged across three random seeds
| 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 |
E2L achieves the best results on all four benchmarks, while baselines show mixed or even negative results (e.g., OPSD degrades performance on all tasks).
Metric Correlation Analysis (RQ2)
Figure 3: Among 13 evaluated metric families (entropy, KL gap, reward, accuracy, etc.), gradient alignment is the only metric showing statistically significant positive correlation with post-distillation performance across teachers (ρ = 0.484, p = 0.006 for AIME25).
Fixed-Pool Selection (Table 2)
| Selection Method | 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 |
Alignment-Top3 is most consistent across datasets; Accuracy-Top3 wins only on AIME25.
Tree Construction Ablation (Table 3)
| Strategy | No. 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 |
E2L's combined strategy produces the deepest tree, highest acceptance rate, and best post-distillation accuracy.
Robustness Across Distillation Objectives (Table 5)
E2L-selected experiences achieve the best results in 8 of 9 objective–benchmark settings across JSD, position-weighted OPSD, and rule-reward OPD variants.
Direct Answer Supervision Comparison (Table 4)
| 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 |
Direct answer supervision (Gt-OPSD) actually degrades performance below base, while E2L improves it—demonstrating the value of evolved experiences beyond directly using reference answers.
Theoretical and Practical Implications
Theoretical Implications
-
Distillability ≠ Inference Performance: The paper challenges the prevailing assumption that experiences improving test-time performance are necessarily worth internalizing. The two objectives (inference accuracy vs. learning utility) are shown to be essentially uncorrelated.
-
Gradient Geometry as a Selection Signal: The alignment between experience-induced gradients and reference gradients provides a theoretically grounded criterion (via first-order expansion in Eq. 7) for predicting distillation gains before actually distilling.
-
Search-Select Trade-off: The finding that alignment-only search fails (6 experiences, 4% acceptance) while Pareto-only search underperforms demonstrates that exploration (Pareto diversity) and exploitation (alignment quality) must be balanced during experience evolution.
Practical Implications
-
Autonomous Self-Improvement: E2L enables agents to generate, evaluate, and internalize their own experiences without human annotation, closing the loop between experience generation and parameter learning.
-
Inference Efficiency: Gains from E2L are retained without requiring the selected experience at inference time, eliminating retrieval costs and vulnerabilities.
-
Task Generality: The method works across mathematical reasoning, multi-hop QA, and safety alignment, suggesting broad applicability.
-
Objective-Agnostic: E2L-selected experiences transfer across different distillation objectives (JSD, PW-OPSD, rule-reward), indicating the selection signal captures intrinsic experience quality.
Conclusion
Main Takeaways
- Gradient alignment is a reliable, statistically significant predictor of self-distillation gains, while inference-time accuracy is not (ρ = −0.059 vs. ρ = 0.484).
- E2L combines Pareto-based exploration with alignment-based admission and selection, achieving the best results on all four benchmarks and outperforming three self-distillation baselines.
- The framework enables fully autonomous self-improvement: the agent generates, evaluates, and internalizes its own experiences, with gains persisting without the experience at inference time.
Future Directions
- Scaling: Extending E2L to other model scales and repeated self-evolution cycles.
- Efficiency: Reducing the computational cost of computing reference gradients during experience search.
- Alternative reference signals: Exploring reference signals beyond labeled diagnostic examples.
- Stability: Improving the stability of the underlying self-distillation process to reduce training variability.
Reproducibility
Code and configuration files are available at https://anonymous.4open.science/r/Evolve2Learn-123456, with detailed dataset splits, prompts, and training configurations in the appendix.
Related papers
- When Every Rollout Fails: Splicing Learner-Conditioned Options into Long-Horizon Agent RL
SPLICE recovers learning signal from all-fail RL groups by splicing local proposal-model options into failed trajectories, beating GRPO by up to 9.8 points with 17.5% less computation.
- You don't need long context
Compaction and selective input reading let frontier models match full-context accuracy on long-context benchmarks while cutting context length and cost by up to 233x.
- FlyingStart: Learned Cross-Token Warm Starts for Fixed-Point Decoding in Recurrent-Depth Language Models
FlyingStart learns a linear warm-start map for recurrent-depth language models, cutting decoding layers by 14–19% while matching accuracy and preserving the exit rule's safety certificate.