Failure Is the Mother of Success: Recovering Supervision with Grounding Hindsight

Sheldon Yu, Tong Yu, Nikki Lijing Kuang, Zhendong Chu, Zhenwei Tang +4 more
10/14/2026
cs.AIstat.ML

No confident code implementation found for this paper.

Abstract

When every rollout for a problem fails, GRPO receives neither a successful exemplar nor a nonzero group-relative advantage, so it learns nothing from exactly the problems it most needs to learn. The failed reasoning can nevertheless suggest what to try next. We present Replay-Selected Hindsight Distillation (RSHD), which turns failed attempts into an additional, tested source of supervision during GRPO training. The policy writes a corrective note about each failed attempt without seeing a reference answer or solution, then re-solves the problem with the note in context. A note is admitted only if its replays succeed more often than the original group did, after screening for notes that state the answer, and an admitted replay is distilled into the plain-prompt policy. Because admission is decided by fresh successes rather than by the failed rollout itself, the procedure can recover supervision from groups in which every attempt failed, and it applies equally to failures in mixed groups. Only the policy is trained, the only judge is the outcome verifier, and deployment requires no notes or extra inference. Across model families and sizes and two training domains, RSHD consistently improves over GRPO on in-domain benchmarks, and the gains carry over to out-of-domain evaluation sets.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2026failure,
  title  = {Failure Is the Mother of Success: Recovering Supervision with Grounding Hindsight},
  author = {Sheldon Yu and Tong Yu and Nikki Lijing Kuang and Zhendong Chu and Zhenwei Tang and Sungchul Kim and Lina Yao and Julian McAuley and Junda Wu},
  year   = {2026},
  eprint = {2610.21018},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.21018v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.21018.svg)](https://codeofpaper.com/paper/2610.21018)

Discussion