前瞻性后见之明:通过预测与现实差距进行自校准强化学习

·

研究论文 · 2026/10/14

我们提出前瞻性后见(Prospective Hindsight, PH),一种自校准训练原则,通过比较智能体在反馈前的前瞻预测与反馈后的回顾评估之间的差距,为任何回顾式基础方法增加信号。该逐回合的意外度识别出智能体自模型最不准确的样本,并通过停止梯度的意外度加权优势放大其梯度贡献。由于前瞻预测器与策略共享参数,两者共同进化,逐步聚焦于智能体剩余的盲点。我们将此原则与特权信息差距联系起来,并表明最小化意外度残差为智能体的误校准率提供了下降路径;校准因此作为优化的副产品出现,而非来自附加目标。在单轮可验证任务和多轮个人智能体任务上(在GRPO、同策略蒸馏及其组合下),PH提升了任务性能和校准,且在不同模型规模上均有持续增益。值得注意的是,主要的误校准模式在不同场景间发生结构性转变:单轮中的过度自信失败,多轮中的信心不足成功,但同一训练原则成功解决了两者。

该研究提出了一种新颖的自校准强化学习原则,无需额外目标即可提升任务性能和校准,且在不同任务和模型规模上表现一致,对长视野智能体训练有重要启示。

Reinforcement learning for long-horizon agents relies on purely retrospective training signals: credit is assigned only after observing environmental consequences, leaving the agent's belief at action time invisible to the gradient. We introduce Prospective Hindsight (PH), a self-calibrating training principle that augments any retrospective base method with a signal derived from the gap between the agent's prospective prediction (before feedback) and the retrospective evaluation (after feedback). This per-rollout surprise identifies samples where the agent's self-model is most inaccurate and amplifies their gradient contribution through a stop-gradient surprise-weighted advantage. Since the prospective predictor shares parameters with the policy, the two co-evolve, progressively shifting focus to the agent's remaining blind spots. We connect this principle to a privileged-information gap and show that minimizing the surprise residual provides a descent pathway on the agent's miscalibration rate; calibration thus emerges as a byproduct of optimization rather than from an added objective. On single-turn verifiable tasks and a multi-turn personal-agent task (under GRPO, on-policy distillation, and their combination), PH improves both task performance and calibration, with consistent gains across model scales. Notably, the dominant miscalibration mode shifts structurally between regimes, overconfident failures in single-turn, underconfident successes in multi-turn, yet the same training principle addresses both successfully.

阅读原文

参与讨论