Self-Retrospection Distillation: Turning Post-hoc Experiences into Prior Foresight

Haoxiang Zhang, Qinglin Chen, Hiroaki Hayashi, Zhuofeng Li, Siming Zhang, Jiaxin Zhang, Jixuan Chen, Fang Wu and 4 others

Salesforce AI Research · UC San Diego · Texas A&M University · Stanford University

Published October 6, 2026 · on the feed October 8, 2026 · ▲ 162 · arXiv 2610.08077

LLM training & RLAgents arXiv ↗Hugging Face ↗

The abstract

Reinforcement learning with verifiable rewards (RLVR) turns agent experience into learning signals primarily through scalar outcome rewards after interaction. For group-relative objectives, however, this signal vanishes when all rollouts receive the same reward, even though their trajectories may reveal useful information about what the task requires and how the agent fails. We ask a complementary question: can hindsight teach an agent what it could have anticipated before acting? We introduce prospective learning, which uses post-hoc experience to supervise foresight predictions from the pre-interaction view, and instantiate it with Self-Retrospection Distillation (SRD). Intuitively, a completed trajectory reveals knowledge that would have been useful and pitfalls that should be avoided; SRD distills this privileged hindsight into trajectory-blind foresight of the same policy. Foresight serves only as a training target and need not be explicitly generated at inference time. Across 10 tool-integrated reasoning and long-horizon agentic tasks, SRD complements RLVR and self-distillation baselines with gains of up to 24.2 pp. Its advantage is especially pronounced when reward contrast is scarce: when 37--98% of rollout groups are reward-uniform across model scales, yet SRD can still exploit learning signal from sampled trajectories. In the 2B setting, where 98% of groups are all-failure, the RLVR training ends up at 0.0% success, while adding SRD reaches 60.6% under the same rollout budget. Our results suggest that post-hoc agent experience is useful not only for evaluating or improving behavior, but also for shaping predictive representations before available interaction.

The Brief

2:48

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Self-Retrospection Distillation. Turning Post-hoc Experiences into Prior Foresight. By Haoxiang Zhang and eleven others, from Salesforce AI Research, UC San Diego, and two other institutions. Published on the sixth of October.

Reinforcement learning with verifiable rewards turns an agent's experience into something it can learn from mainly through one channel: a scalar outcome reward, handed out after the interaction is over. For group-relative objectives, that channel has a blind spot. When every rollout in a group receives the same reward, all successes or all failures, the signal vanishes. Nothing distinguishes one rollout from another, so nothing is learned. Yet the trajectories themselves were not empty. They may still reveal what the task actually required and how the agent went wrong. That information is sitting in the rollouts and the reward simply cannot see it.

The authors ask a complementary question. Can hindsight teach an agent what it could have anticipated before acting? Their answer is a framing they call prospective learning, which uses experience gathered after the fact to supervise predictions of foresight made from the view before interaction begins. The concrete instance is Self-Retrospection Distillation, or SRD. The intuition is simple to state. A completed trajectory reveals knowledge that would have been useful and pitfalls that should have been avoided. That is privileged hindsight, and SRD distils it into foresight of the same policy, foresight that is blind to the trajectory.

Two details define the arrangement. The teacher and the student are one policy: what it sees in hindsight is used to shape what it predicts in advance. And the foresight exists only as a training target. It does not need to be explicitly generated at inference time, so the deployed agent carries no extra step for it. The method is positioned as a complement to existing training rather than a replacement, sitting alongside reinforcement learning with verifiable rewards and self-distillation baselines.

Across ten tool-integrated reasoning and long-horizon agentic tasks, SRD complements those baselines with gains of up to twenty-four point two percentage points. The advantage is sharpest exactly where the diagnosis pointed, when reward contrast is scarce. Across model scales, between thirty-seven and ninety-eight percent of rollout groups are reward-uniform, and SRD can still draw learning signal from the sampled trajectories.

The starkest case is the two B model scale. There, ninety-eight percent of groups are all failures. Training with verifiable rewards alone ends at zero percent success. Adding SRD, under the same rollout budget, reaches sixty point six percent.

The broader suggestion concerns what experience after the fact is for. It is usually spent on evaluating behaviour or improving it. Here it is also used to shape predictive representations before any interaction is available, so that a group of identical rewards is no longer a group with nothing to teach.

Paper Quest · 7 chapters · about 41 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Every rollout failed, and the reward has nothing to say. Begin with that silence.

You train an agent with verifiable rewards, and you score groups of rollouts against each other. When every rollout in a group fails, or every one succeeds, the comparison gives nothing.

The road ahead

  1. 1 · The problem ~7 min When every rollout in a group gets the same reward, group-relative training learns nothing, even though the failed attempts hold useful information.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Use each finished trajectory as hindsight to train the same model's foresight: what it should have anticipated before acting.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Sample rollouts, let the same model write hindsight from each finished one, distil it into foresight, then deploy without foresight.
  6. 6 · The experiment ~6 min You’ll guess: In the 2B setting, where 98% of rollout groups are all-failure and RLVR alone ends at 0.0% success, what success does adding SRD reach?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.