# Prospective Hindsight: Self-Calibrating Reinforcement Learning via Prediction–Reality Gaps

*Jiaxin Zhang, XIANGYU PENG, Qinglin Chen, Yu Li, Hiroaki Hayashi, Chien-Sheng Wu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152351) · [OpenReview](https://openreview.net/forum?id=TikYXZwMNh) · [alphaXiv](https://www.alphaxiv.org/abs/2610.02740) · [Open on the map](../papers.html#p152351)

Category: [LLM Post-Training: RL & Distillation](../pcat/18.md) › [Reward-Driven Agentic RL with LLMs](../pgroup/578.md) · Type: new method · Keywords: reinforcement learning, calibration, prospective prediction, surprise signal, self-calibrating training

Areas: [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Agents › World Models for Agents

## Summary
Prospective Hindsight (PH) augments retrospective RL with a surprise signal from the gap between prospective predictions and retrospective evaluations, improving both performance and calibration.

## Explained to a 5-year-old
In a game, a robot learns only after it finishes a move. We also give it a hint by comparing what it thought would happen before the game with what actually happened. This hint helps the robot see where it was wrong and learn faster. The robot also becomes better at knowing how confident it is about its decisions. This makes the robot perform better and be more trustworthy.

## Explained to a 5-year-old, longer
Imagine a robot that plays a game and only learns after it finishes a move. It looks back at what happened and decides if it did well or not. But sometimes the robot is not sure how confident it is about its choices. We give the robot a new trick: before it makes a move, it predicts what will happen. After the move, we compare that prediction with what really happened. If the prediction was far off, we pay more attention to that moment. This helps the robot see where it made mistakes and fix them faster. Over time, the robot learns to be more accurate in its predictions. It also learns to trust its predictions less when it is unsure. This makes the robot both better at playing the game and more honest about its confidence. The robot can handle longer sequences of actions, like planning several steps ahead. In the end, the robot becomes smarter and more reliable, just like a good friend who learns from both success and failure.

## For a technical reader
Traditional reinforcement learning updates a policy only after an episode ends, using the final reward. This paper adds an extra signal that compares the agent’s own prediction (made before seeing the outcome) with the actual result. The difference, called surprise, highlights where the agent’s internal model is most inaccurate. By weighting the gradient of those surprising samples, the agent learns faster and becomes better calibrated, i.e., its confidence matches its actual performance. The approach can be plugged into any existing RL algorithm, improving both task performance and calibration.

## Problem
Reinforcement learning for long-horizon agents relies on purely retrospective training signals, assigning credit only after observing consequences, which leaves the agent's beliefs at action time invisible to the gradient and hinders calibration and performance.

## Method
The approach adds a per-rollout surprise signal computed from the gap between a prospective prediction made before feedback and the retrospective evaluation after feedback, weighting the gradient contribution of samples where the self-model is most inaccurate, while sharing predictor parameters with the policy so they co-evolve.

## Results
The approach yields improved task performance and better calibration across single-turn and multi-turn settings, with consistent gains as model scale increases, and successfully addresses both overconfident and underconfident failure modes.

## Contributions
It introduces a self-calibrating training principle that leverages prospective-retrospective gaps to highlight inaccurate self-models and improve gradient updates, and shows that minimizing surprise residuals provides a descent pathway for calibration. The work also demonstrates the principle’s effectiveness on both single-turn and multi-turn RL tasks across model scales.

## Research questions this paper is counted under

- [How can reinforcement learning agents effectively learn from sparse, delayed rewards in long-horizon tasks?](../q/1.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152351)
