> Paper: Learning from Your Own Mistakes: Constructing Learnable Micro-Reflective Trajectories for Self-Distillation > Authors: Zhilin Huang (Alibaba Tongyi + Tsinghua), Hang Gao, Ziqiang Dong, Yuan Chen, Yifeng Luo, Chujun Qin (Peking University), Jingyi Wang, Yang Yang, Guanjun Jiang (Alibaba Tongyi) > Paper link: https://arxiv.org/abs/2606.18844 > Keywords: self-distillation, reinforcement learning, math reasoning, GRPO, micro-reflective trajectories
Key points
- The problem with self-distillation: Standard approaches use KL divergence to align model outputs toward correct answers. This only tells the model "what the answer should be", never "why your previous answer was wrong". The model never sees its own errors during training and is never taught how to fix them.
- TAPO's core idea (Trajectory-Augmented Policy Optimization): Treat the model's mistakes as the most valuable learning material. Your errors are not garbage — they are the highest-density training signal.
- DCS (Difficulty-aware Candidate Selection): Keeps only moderate-difficulty problems — the "zone of proximal development". Too-easy problems yield no error samples; too-hard ones are dominated by wrong trajectories. The curriculum automatically escalates as the model improves.
- DAE (Decoupled Advantage Estimation): Computes advantages for corrected trajectories separately from original ones, so reward inflation from the correction does not pollute the gradient signal of original trajectories.
- OOD Token Suppression: Down-weights out-of-distribution tokens to prevent training divergence.
- TAPO consistently outperforms GRPO and traditional self-distillation at equal training steps.
- First-solve accuracy improves — a counterintuitive finding: rehearsing error scenarios during training also improves initial reasoning quality (like pilot simulator training improving routine flying).
- Self-correction success rate increases when the first attempt fails.
- Diagnosis quality depends on the correction generator (correct in-group answers serve as reference).
- Trajectory construction adds training-time compute beyond plain GRPO.
- Validated mainly on math reasoning; "error" and "correction" are fuzzier for open-ended tasks.
- Future directions: cross-task transfer (code, logic), tool-augmented verification during reflection, human-in-the-loop corrections, and combining with multi-agent frameworks like HiVA (TAPO trains individual agents; HiVA organizes agent networks).
Micro-Reflective Trajectories
TAPO exploits paired correct/incorrect samples produced by GRPO group sampling and constructs explicit, learnable micro-reflective trajectories:
1. Keep the erroneous prefix — the trajectory starts from the model's own wrong reasoning up to the exact failure point, preserving the on-policy distribution. 2. Insert a natural-language diagnosis — teaching the model *how to diagnose* mistakes (metacognition), not just the right answer. 3. Insert guided correction — the diagnosis and fix are guided by a correct answer from the same sampling group. 4. Zero inference cost — reflection is internalized during training; at inference the model self-corrects within a single-pass output, unlike multi-turn methods such as Self-Refine.
The "micro" design means diagnosis and correction are inserted only at the exact error location, keeping trajectories compact, gradient signals strong, and the pattern transferable to unseen error types.
Three stability mechanisms
Results
Tested on AIME 2024, AIME 2025, and HMMT 2025 (competition-level math):
Comparison with related methods
| Dimension | GRPO | TAPO | |---|---|---| | Signal source | Correct trajectories only | Correct + corrected error trajectories | | Alignment | Implicit KL | Explicit trajectory construction | | Inference cost | Single-pass | Single-pass | | Metacognition | Weak | Strong |
Unlike multi-turn reflection methods, TAPO moves reflection from inference time into training time — the model "learns to reflect" during training and becomes "instinctively correct" at inference.
Why learning from mistakes is hard — and powerful
Error samples carry far higher information density than correct ones: a mistake exposes the fuzzy boundary of the model's knowledge. TAPO's design — keep the wrong context, diagnose in natural language, bridge to the correct answer, then internalize — mirrors how human experts develop intuition: novices need explicit checklists, experts avoid errors instinctively.
Limitations and outlook
One-line takeaway
> The highest form of learning is not memorizing correct answers, but making mistakes part of you — a reflex that returns you to the right track the instant you drift.
Reference [1] Huang, Z., et al. Learning from Your Own Mistakes: Constructing Learnable Micro-Reflective Trajectories for Self-Distillation. https://arxiv.org/abs/2606.18844