Research
RL's oldest blind spot just met a fix that lets agents learn from their own mistakes
SEED (Self-Evolving On-Policy Distillation) lets an LLM analyze its own past trajectories, extract reusable natural-language skills from them in hindsight, and distill those lessons back into its policy during RL. The result: denser, on-policy supervision that improves success rates by up to 22% on long-horizon tasks.
Emmanuel Fabrice Omgbwa Yasse AI-assisted
2026-07-25 · 4 min read

Reinforcement learning for large language models has a blind spot. When an agent takes twenty actions and only learns whether it succeeded or failed at the very end, the signal is too sparse to teach the model which of those decisions mattered. Outcome-based RL works, but it leaves a supervision gap between the episode-level reward and the token-level policy that produced it. This is the same kind of invisible wall that tripped up the autonomous agents in the Picbreeder reproduction experiment, according to a study on agentic creativity.
A team from the University of Hong Kong and Shanghai AI Laboratory proposes a workaround that feels almost too obvious in hindsight: let the model analyze its own completed trajectories and write down what it learned. Then feed those lessons back into the policy during training. They call it SEED (Self-Evolving On-Policy Distillation), and the preprint posted to arXiv on July 16, 2026, shows consistent gains on both text-based and vision-based agentic tasks.
From sparse reward to dense signal
The core insight is that an LLM, when prompted to examine a trajectory it just completed, can generate natural-language skills that capture reusable workflows, decisive observations, or failure-avoidance rules. These are not static templates written by a human; they emerge from whatever the current policy happens to do. A model that tends to overshoot in navigation tasks might generate a skill like "after three failed moves, check whether the target is still in the visible area."
SEED then uses those skills to create a dense token-level signal. It re-scores the same actions under two contexts: a baseline context and one augmented with the hindsight skills. The difference in token probabilities becomes a distillation target that pushes the policy toward the behavior implied by its own hindsight analysis. This signal runs alongside the outcome-based RL objective, so the model is not choosing between sparse rewards and dense hints; it gets both. This approach mirrors the philosophy behind noise-based agent training that improves real-world robustness.
Self-evolving supervision

The self-evolving part matters because the policy that collects trajectories today is better than the one that collected them yesterday. SEED does not freeze the analysis module after a first pass. The same model serves as both the actor and the hindsight analyst, so as the policy improves, the skills it extracts also improve. The distillation signal stays on-policy, meaning it reflects the current trajectory distribution rather than some outdated snapshot. This is similar to how Nous Research's open RL pipeline keeps its training process transparent and iterative.
This avoids a problem common in prior work on hindsight relabeling or skill extraction, where the auxiliary supervision falls out of sync with the behavior the model is actually producing. SEED's feedback loop keeps the two aligned.
What the experiments show
The paper reports experiments across both text-based environments (ALFWorld, ScienceWorld) and vision-based ones (Craftax, a dungeon-crawler benchmark). In all cases, SEED improves over both pure outcome-based RL and baselines that use fixed, pre-extracted skills. The gains are most pronounced on long-horizon tasks where the supervision gap is widest: ScienceWorld tasks requiring fifteen-plus steps show a 22% improvement in success rate over the best RL-only baseline.
Generalization to unseen scenarios, tested by holding out environment configurations during training, also improves. The authors argue that the hindsight skills capture genuinely reusable patterns rather than task-specific memorization, and the distillation step transfers those patterns to the policy without overfitting to the training distribution. This echoes findings from Alibaba's open-source world model, which also prioritizes reusable environment simulations.
One table tells the story
Across four environments and multiple difficulty levels, SEED beats the next-best method in nine out of twelve reported comparisons. The only losses come in very short episodes where the supervision gap is minimal anyway.
| Environment | Metric | RL Only | Fixed Skills | SEED |
|---|---|---|---|---|
| ALFWorld | Success Rate | 57.3% | 61.8% | 68.1% |
| ScienceWorld | Success Rate | 34.1% | 39.5% | 46.3% |
| Craftax (Vision) | Average Reward | 57.2 | 62.3 | 71.0 |
The improvements are not dramatic enough to call a breakthrough, but they are consistent and they compound over longer tasks. That is the kind of signal practitioners care about: a method that quietly lifts performance without requiring a fundamentally new architecture or a bigger training budget. Similar cost-efficient gains were the real story behind Mistral's OCR 4 benchmark audit.
Open questions
The paper leaves a few questions unaddressed. The skills produced by the hindsight analysis module are not validated by any external check; the model can generate plausible-sounding lessons that are wrong. The authors note that the distillation signal is computed only from the probability shift, so a bad skill contributes no useful gradient on average, but they do not analyze how often the model produces misleading hindsight skills or whether the failure mode is common enough to matter at scale.
The computational cost of running the analysis module on every trajectory during training is also nontrivial. The paper reports that the overhead is manageable because the analysis is a single forward pass per trajectory, but on very long episodes in complex environments, that extra pass adds up.
Still, SEED is one of the more practical proposals in the recent crop of agentic RL methods. It does not require human annotation, it keeps its supervision signal fresh, and it works on top of standard RL pipelines without invasive modifications. For teams training agentic models that struggle with long-horizon tasks, this is worth a conversation.
Get the tech essentials in 3 minutes every morning
One email, every weekday, with what actually matters in AI and tech.