OpenAI Blog

Hindsight Experience Replay

arXiv Machine Learning
Nov 11

Can Hindsight Critics Guide Delayed Actors?

Sensory delays cause temporal misalignments between an environment’s state and an agent’s observations, turning Markovian control problems into partially observable ones. The authors propose Hindsight Critics, an asymmetric extension of Soft Actor-Critic, where critics are trained on hindsight‑aligned transitions while the actor learns from privileged value estimates yet only uses delayed observations. Experiments on the DelayBench suite show that Hindsight Critics can partially compensate for observation delays without modifying the agent’s observations during deployment.

By Francisco M. L\'{o}pez, Francisco Cruz
OpenAI Blog
Feb 26, 2018

Ingredients for robotics research

We’re releasing eight simulated robotics environments and a Baselines implementation of Hindsight Experience Replay, all developed for our research over the past year. We’ve used these environments to train models which work on physical robots.

arXiv AI
Oct 16

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

The paper introduces Replay-Selected Hindsight Distillation (RSHD), a method that transforms failed attempts in GRPO training into useful supervision. By having the policy write corrective notes for each failure and re-solving the problem with those notes, RSHD admits only those notes that lead to higher success rates than the original attempts. This approach enables learning from groups where all rollouts fail and improves performance across multiple model families and domains.

By Sheldon Yu, Tong Yu, Nikki Lijing Kuang, Zhendong Chu, Zhenwei Tang, Sungchul Kim, Lina Yao, Julian McAuley, Junda Wu
arXiv AI
Oct 19

Distill Until Divergence: Error-Truncated Hindsight Distillation for Agentic RL

The paper introduces Distill Until Divergence, a method for agentic reinforcement learning that uses error-truncated hindsight distillation. It routes two complementary hindsight skills—Positive for successful workflows and Negative for failure corrections—based on trajectory outcomes and error boundaries. The post-error segment is optimized solely by GRPO, preserving outcome-based learning while avoiding mismatched hindsight supervision.

By Yibin Huang, Conghui Zhu
arXiv Computer Vision
Oct 28

Confident First, Reflective Second: Reinforcement Learning of Confidence-Preserving Reflection for Video Understanding

The paper introduces CoFire, a reinforcement learning framework for video understanding that addresses the problem of confidence erosion—where initial predictions lose reliability during iterative refinement. CoFire enforces a "confident first, reflective second" principle, ensuring the initial answer remains trustworthy and that subsequent reflection only improves upon it. The method achieves state‑of‑the‑art accuracy on Video‑MME, MLVU, and LongVideoBench, outperforming prior 7B models by 1.7 points and improving both initial and final accuracy over outcome‑reward RL by 4.1 and 3.7 points respectively.

By Zihao Lin, Jingyuan Liu, Yucheng Zhang, Yuguang Yao, Lifu Huang
arXiv AI
Sep 4

Headroom-Drift Replay: A Primitive for Principled Replay Control in GRPO

Headroom-Drift Replay is a replay control primitive designed for GRPO that separates reuse into two decisions: Headroom ranks stored groups by remaining learning value, while Drift gates them by compatibility with the current policy. The method keeps the fresh on‑policy stream unchanged and adds no auxiliary generation or training machinery. Across mathematical reasoning, multimodal reasoning, and Agentic Search benchmarks, it outperforms naive replay and matches or exceeds broader replay methods on Avg Mean@32, delivering comparable quality at materially lower wall‑clock time in Agentic Search.

By Hyun Bin Park, Du-Seong Chang
arXiv Machine Learning
4d ago

Learning Which Evidence-Seeking Decisions Matter: Calibrated Counterfactual Replay for Language Agents

The paper introduces PCCC‑RL, a method that assigns credit to evidence‑seeking decisions in language agents by replaying the chosen action alongside a feasible alternative and measuring the impact on the final answer. It predicts each action’s credit beforehand, samples a random subset for verification, and corrects predictions using recorded selection probabilities, thereby allocating computational budget efficiently. Experiments on HotpotQA and MuSiQue show that this approach improves joint exact match scores—56.71% and 36.82%—by 4.19 and 3.86 points over a baseline with identical replay access, especially benefiting complete evidence chains over multiple updates.

By Renwei Meng, Chengyi Sun, Hongyi Zhang, Xiaoyi Hou
arXiv AI
Oct 12

Travel Back To Move Forward: Retrospective Exploration and Evolving for Long Horizon Agents

The paper introduces ReTRAIL, a framework that allows long‑horizon agents to rewind the environment to earlier states while preserving forward progress in knowledge. By training a shared policy with State‑Anchored GRPO and a branch‑advancement reward, ReTRAIL enables agents to recover from unproductive states and reuse insights from abandoned exploration. Experiments on MineSweeper, Sokoban, ALFWorld, and ScienceWorld show that this combined rewinding and experience‑reuse strategy outperforms simple rewind primitives and improves long‑horizon task solving.

By Ziang Ye, Wentao Shi, Lei Chen, Zhengzhou Cai, Yu Wang, Zhiyuan Yao, Zihan Wang, Xierui Song, Fuli Feng, Yixin Cao
arXiv Computation and Language
Sep 1

Hindsight Memory-PRM: Supervising Memory Management with Auditable Hindsight Credit

arXiv:2608.29605v1 Announce Type: new Abstract: Memory operations of long-horizon LLM agents are hard to supervise: an operation's value is unobservable when it is taken. But they are special -- they...

By Haoxuan Jia, Yang Liu, Yingguang Yang, Yancheng Chen, Chongyang Zhang, Hao Zheng, Qian Li, Yulin Huang, Jianshen Zhang, Yongzhi Qi, Shang Luo, Kefu Xu, Hao Peng, Junyu Lu, Du Cheng, Philip S. Yu, Bin Chong