TL;DR
Fine-tuning Vision-Language-Action (VLA) robotics models using reinforcement learning is notoriously sample-inefficient because early policies fail almost every rollout, yielding zero learning signal from sparse rewards. Learning from Hindsight (LfH) solves this by using a Vision-Language Model (VLM) to autonomously relabel failed trajectories with the tasks they actually accomplished. By transforming otherwise wasted failures into successful language-conditioned demonstrations, LfH achieves a 5× improvement in sample efficiency in simulation and significantly outperforms standard RL on a physical Franka robot.
What Problem Does This Paper Address?
Post-training VLAs with reinforcement learning (RL) holds massive promise for robotics, but it hits a harsh bottleneck: physical robot rollouts are slow and expensive to collect. This issue is magnified in manipulation tasks that rely on sparse rewards (e.g., a reward of 1 if the robot completes the exact command, 0 otherwise).
Early in training, a weak policy will fail nearly 100% of the time. If you instruct a robot to "close the microwave," it might instead pick up a nearby cup. Even though picking up a cup is a coherent, task-relevant manipulation skill, standard RL treats the entire rollout as a total failure. In group-based RL algorithms like Group Relative Policy Optimization (GRPO), groups where every trajectory gets a zero reward variance offer absolutely no gradient signal and are simply discarded. The authors address this "cold-start" problem by asking: How can we extract more useful bits of information from these inevitable failures?
Methods
LfH introduces a language-based hindsight relabeling loop powered by a single, pretrained VLM. The method integrates directly into online RL post-training (specifically using GRPO).
When a sampled group of robot rollouts yields low or zero rewards under the original instruction $g$, LfH executes a two-step relabeling process:
- Instruction Relabeling: The VLM examines a failed rollout (the "anchor") and generates a new hindsight instruction $g'$ describing what the robot actually did (e.g., "pick up the mug and move it left"). If the rollout contains only accidental or chaotic motion, the VLM labels it as "Nothing," and it is discarded to prevent noisy supervision.
- Reward Relabeling: The VLM evaluates all trajectories within that same group against the newly proposed hindsight instruction $g'$, scoring them $\tilde{R}_i \in \{0, 0.5, 1\}$.
Because the trajectories were originally generated under the prompt $g$ but are now evaluated under $g'$, the authors apply an importance sampling correction to the policy gradient. The final training objective optimizes jointly on both the original commanded tasks and the hindsight-relabeled tasks.
Datasets
The authors evaluated LfH across both simulated and physical environments:
- LIBERO-90 & LIBERO-PRO: Simulated manipulation benchmarks. The authors specifically focused on out-of-distribution (OOD) task perturbations in LIBERO-PRO, where the environment dynamics and scenes are familiar, but the task specifications (objects, target states, or actions) are altered.
- Physical Robot Setup: A real-world Franka FR3 robot tasked with language-conditioned manipulation involving objects, drawers, and a two-level rack. The model was pre-trained via Supervised Fine-Tuning (SFT) on 10 distinct tasks using SpaceMouse demonstrations before RL fine-tuning.
Key Insights and Ideas
- Failures are Relative: A trajectory is only a failure relative to the original prompt. Reinterpreting the rollout through language allows language-conditioned VLAs to leverage their cross-task generalization capabilities. Learning how to ground "cup" from a failed "microwave" rollout still helps the VLA's underlying spatial and semantic representations.
- Coupling is Crucial: Ablation studies revealed that doing only instruction augmentation (paraphrasing prompts) or only reward relabeling provides minimal gains. The magic of LfH lies in coupling the two: generating a new task and re-scoring the batch against it to create valid reward variance.
- Hindsight > Denser Feedback: LfH outperformed dense progress-reward baselines (like RoboMETER). In low-success regimes, changing which task a rollout is credited for is far more valuable than trying to shape a dense reward toward a goal the robot never even gets close to achieving.
Key Results
- 5× Sample Efficiency Boost: On OOD LIBERO-PRO tasks, LfH matched the final success rate of standard GRPO in roughly one-fifth of the training steps.
- Data Salvaging: While standard GRPO discarded the vast majority of rollout groups due to zero reward variance, LfH successfully recovered and utilized 70–80% of all collected trajectory groups for training.
- Cross-Architecture Generality: The performance gains were consistent across different VLA backbones, including GR00T and OpenVLA-OFT.
- Real-World Success: On the physical Franka robot, after 160 rollouts, LfH achieved a 56% success rate, whereas standard GRPO plateaued at just 22% due to its inability to escape the initial zero-reward zone.
Limitations and Future Work
Despite its strengths, LfH has a few notable limitations:
- Behavioral Dependency: LfH can only harvest what the robot actually does. If the initial policy suffers from total behavioral collapse (e.g., it just hovers in place or repeats an identical broken motion), there are no meaningful alternative achievements for the VLM to relabel.
- VLM Noise: The system relies heavily on the accuracy of the VLM relabeler. Hallucinations, incorrect object identification, or overly generic descriptions can introduce noisy gradients into the training loop.
The authors point to better filtering mechanisms, uncertainty estimation for VLM labels, and lightweight human-in-the-loop verification as promising paths forward.
Summary updated