Reinforcement Learning via Self-Distillation
About
Large language models are increasingly post-trained with reinforcement learning in verifiable domains such as code and math. Yet, current methods for reinforcement learning with verifiable rewards (RLVR) learn only from a scalar outcome reward per attempt, creating a severe credit-assignment bottleneck. Many verifiable environments actually provide rich textual feedback, such as runtime errors or judge evaluations, that explain why an attempt failed. We formalize this setting as reinforcement learning with rich feedback and introduce Self-Distillation Policy Optimization (SDPO), which converts tokenized feedback into a dense learning signal without any external teacher or explicit reward model. SDPO treats the current model conditioned on feedback as a self-teacher and distills its feedback-informed next-token predictions back into the policy. In this way, SDPO leverages the model's ability to retrospectively identify its own mistakes in-context. Across scientific reasoning, tool use, and competitive programming on LiveCodeBench v6, SDPO improves sample efficiency and final accuracy over strong RLVR baselines. Notably, SDPO also outperforms baselines in standard RLVR environments that only return scalar feedback by using successful rollouts as implicit feedback for failed attempts. Finally, applying SDPO to individual questions at test time accelerates discovery on difficult binary-reward tasks, achieving the same discovery probability as best-of-k sampling or multi-turn conversations with 3x fewer attempts.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Instruction Following | IFEval | Accuracy (0-100)83.2 | 292 | |
| Multitask Language Understanding | MMLU-Pro | Accuracy62.9 | 99 | |
| Scientific Reasoning | Chemistry | Average Score @1676.8 | 14 | |
| Scientific Reasoning | Physics | Avg@1680.6 | 14 | |
| Scientific Reasoning | Materials | Average Score @1679.2 | 14 | |
| Tool Use | Tool use | Avg@1668.5 | 14 | |
| Scientific Reasoning | Biology | Avg@1658.3 | 14 | |
| Tool Use Reasoning | Tool use | Avg Accuracy @16 (1h)68 | 8 | |
| Code Generation | LCB v6 | Accuracy48.8 | 4 | |
| Chatbot Evaluation | ArenaHard V2 | Hard Prompt Accuracy12.3 | 4 |