Research
HiRE: Hindsight Reward Editing for Policy Finetuning
Pre-trained robot policies still need finetuning, and reinforcement learning can improve them beyond mere imitation — but only if the reward signal is good.

- arXiv
- 2609.27068 · Preprint · not peer-reviewed
- Published
- 2026-09-22
- Authors
- Haoyi Niu, Zhengtao Han, Yufeng Ji, Zhongyu Li, Koushil Sreenath
In plain words
Pre-trained robot policies still need finetuning, and reinforcement learning can improve them beyond mere imitation — but only if the reward signal is good. Sparse rewards give no intermediate feedback, human-designed dense rewards are costly and biased, and rewards derived from vision foundation models generalize well but are not "control-aware," so they misvalue states.
AI summary
Overview
Research area: Reinforcement learning for robot manipulation, specifically reward specification for finetuning pre-trained (behavior-cloning) robot policies. Technical level: Advanced — the paper builds on maximum-entropy inverse RL, potential-based reward shaping, kernel density estimation on hyperspherical embeddings, and off-policy actor-critic finetuning. Scope: The paper proposes HiRE, a training-free reward-editing scheme that calibrates frozen vision-foundation-model similarity rewards using hindsight success/failure rollouts, and evaluates it on RoboMimic, MimicGen, and two real-robot tasks with a DICE-RL finetuning backbone.
What This Paper Is About
Pre-trained robot policies still need finetuning, and reinforcement learning can improve them beyond mere imitation — but only if the reward signal is good. Sparse rewards give no intermediate feedback, human-designed dense rewards are costly and biased, and rewards derived from vision foundation models generalize well but are not "control-aware," so they misvalue states. HiRE aims to fix this by editing foundation-model rewards in hindsight, contrasting successful and failed trajectories so that deceptive "trap states" are penalized and genuine progress is boosted — without training any reward model.
Key Contributions
- A training-free, control-aware reward recipe. HiRE derives a closed-form potential from the log-density ratio of success versus failure state distributions, estimated non-parametrically with a Von Mises-Fisher kernel in a frozen foundation representation space — no auxiliary network, no gradient-based reward training, no human dense labels.
- Compatibility with existing pipelines. The method is claimed to work with any foundation representation (the paper uses DINOv2 and SigLIP) and any RL finetuning algorithm design summarized in DICE-RL; the reward is injected through potential-based reward shaping so the optimal policy for task success is mathematically preserved.
- Strong empirical results in simulation and on hardware. On MimicGen and RoboMimic tasks with base success rates below 10%, HiRE raises performance to near 100% in the reported cases; on a YAM robot arm it achieves at least 3× improvement over base policies, sometimes with only 30 online rollouts.
- Mechanistic analyses. Visualizations of the evolving reward landscape, critic-loss comparisons, and t-SNE visualizations of the positive/negative buffers explaining why the edited reward works, plus ablations on key components.
Main Findings
- Long-horizon multi-stage tasks improve substantially. On Stack_Three, sparse-reward finetuning initially improves but declines to around 30%, while HiRE continues improving to roughly 50%. On Three_Piece_Assembly, sparse reaches around 70% and HiRE climbs to over 80%.
- Contact-rich and precision tasks show the largest gains. On Tool_Hang, sparse-reward finetuning fails completely despite non-zero base-policy performance, while HiRE steadily reaches around 95%. On Threading, sparse eventually reaches a comparable final success rate, but HiRE reaches it with markedly fewer online interactions.
- Pretrained reward models underperform. RoboMeter (RoboMeter-4B configuration) and the VLM-based TOPReward (Qwen3-VL-8B-Instruct configuration) show inconsistent performance across tasks and substantially lower final success rates than HiRE, which the authors attribute to limited generalization to unseen tasks and scenarios.
- Learned reward adaptation is far less sample-efficient. GCR also uses online failure experience but requires gradient-based reward-model updates; on Stack_Three and Three_Piece_Assembly it needs roughly 3× as many interactions as HiRE to reach 30% success, and on Tool_Hang and Threading it fails to make substantial progress.
- Real-robot gains. On Bottle_Pick-and-Place, HiRE lifts success from a 20% base to 67%; on Towers_of_Hanoi it reaches 53.3% with only 20 episodes and peaks at 73.3% (3.67× the base policy), versus Sparse at 53.3% at 30 episodes and RoboMeter at 46.7% at 40 episodes.
- Baselines degrade late in training. During finetuning the baselines drop (Sparse to 30.0% and RoboMeter to 20.0% at 50 episodes on Towers_of_Hanoi), attributed to reward hacking or noisy reward estimates, while HiRE maintains steady gains.
- Critic loss is diagnostic. Sparse rewards yield a prematurely low critic loss (value function collapse from sparse signals), RoboMeter produces a non-converged critic loss (extrinsic rewards not robust to out-of-distribution observations), and HiRE maintains non-trivial critic updates throughout.
- Raw similarity rewards make two kinds of errors. Visualizations on Threading and Stack_Three show the raw DINO goal-similarity potential suffers false negatives (under-rewarding visually distant but dynamically correct approach phases, e.g., timesteps 0–50 on Threading) and false positives (over-rewarding visually plausible but failed states, e.g., timesteps 75–180 where the robot loses the target and leaves the camera view).
- The negative buffer evolves with the policy. In a shared t-SNE space, negative samples start concentrated around the initial state and later segment into multiple localized clusters (regions 2–5) capturing harder, later-stage failures, while the positive distribution stays far more concentrated — empirically supporting the choice of a larger concentration parameter for success than failure.
Methodology in Plain English
The starting point is a classic result from maximum-entropy inverse RL: the ideal reward equals the log-odds that a state comes from a successful trajectory rather than a failed one — i.e., log p⁺(s) − log p⁻(s). Rather than training a discriminator to approximate this, the authors estimate the two densities directly with kernel density estimation over embeddings from a frozen vision foundation model.
Because these embeddings are L2-normalized and live on a unit hypersphere, they use a Von Mises-Fisher kernel, which scores states by cosine similarity to stored observations, with a concentration parameter κ controlling sharpness. Substituting the kernel densities into the log-odds gives a closed-form potential: a log-sum-exp average similarity to successful states minus λ times the log-sum-exp average similarity to failed states, where λ = κ⁻/κ⁺. A constant offset is dropped because it does not change the optimal policy or the gradient direction. Since successful states form a narrow manifold and failures are broad, λ < 1 is used, producing a steep attraction toward success and a gentler repulsion away from failures.
This potential is combined with the environment's sparse success reward via potential-based reward shaping, R_sparse + w(γΦ(s′) − Φ(s)), which guarantees the optimal policy is unchanged while adding dense guidance. In regions where the two terms balance, the shaping gradient vanishes and the method gracefully degrades to plain sparse reward, avoiding conflicting signals far from the data.
Two replay buffers are maintained during finetuning: a positive buffer holding offline expert demonstrations plus a FIFO of recent successful rollouts, and a negative buffer holding only terminal frames of failed rollouts (since simulation has no failure detector, an episode is labeled failed only after a long timeout). The shaped reward is plugged into a generic actor-critic objective — a shaped Bellman residual for the critic and a value-maximization plus algorithm-specific regularizer for the actor — which the authors show recovers standard off-policy methods, PPO-style clipped updates, and behavior-regularized finetuning. Their main implementation sits on top of DICE-RL.
Experiments use RoboMimic and MimicGen (Robosuite v1.4.1, OSC_POSE controller at 20 Hz, 7-D action space), with per-task behavior-cloning base policies at 18.0% (Stack_Three), 6.0% (Three_Piece_Assembly), 1.0% (Threading), 2.0% (Tool_Hang), and 20.0% on both real-robot tasks (Bottle_Pick-and-Place and Towers_of_Hanoi). All methods start from the identical pretrained checkpoint. Baselines are Sparse, RoboMeter, TOPReward, and GCR.
Why This Matters
Impact on research. The paper reframes reward design for robot RL as density estimation in a frozen foundation-model space rather than reward-model training, and shows the resulting signal is orthogonal to policy-improvement methods — so it composes with existing finetuning algorithms instead of competing with them. It also gives a concrete diagnosis (false negatives and false positives from visual similarity) for why representation-based rewards fail, with visual evidence.
Real-world applications:
- Post-training manipulation policies for pick-and-place and assembly in logistics and manufacturing cells.
- Precision insertion tasks (threading, tool hanging) where sparse success signals are too rare to learn from.
- Contact-rich handling on real arms (bottle pick-and-place, tower stacking) where reward engineering is expensive.
- Any deployment where a policy must adapt to a new environment without new human reward labels.
Industry relevance. The method needs no reward-model training, no dense human annotation, and no changes to the policy architecture, and runs on commodity frozen encoders (DINOv2, SigLIP). It reportedly reaches useful success rates with as few as 20–30 online episodes on hardware, which matters when real-robot interaction time is the binding cost.
Future Directions
- Beyond binary success/failure. The authors note that success and failure signals are clean and accessible but overlook intermediate, control-centric information, and suggest incorporating human guidance to shape a more nuanced landscape.
- Smarter buffer construction. Handling suboptimal segments inside successful trajectories — retries and recovery behaviors — is flagged as a promising extension; the current design keeps only the final failure frame, with retaining the last few frames noted as a possible variant.
- Better failure detection. Simulation provides no failure mechanism, so failures are labeled only by timeout; a more principled failure signal could sharpen the negative buffer.
- Tuning the geometry. The concentration parameters κ⁺ and κ⁻ (and hence λ) encode assumptions about how narrow success is versus failure; systematic sensitivity and adaptation of these values across task types is left to appendix material and further study.
Target Audience
Robotics and RL researchers working on policy post-training, reward specification, and foundation-model-based rewards; practitioners deploying manipulation policies who need dense reward signals without human labeling; and engineers integrating RL finetuning into real robot stacks where sample budget and stability are the main constraints. Readers should be comfortable with MDPs, actor-critic methods, and reward shaping.
Authors’ abstract
Pre-trained robot policies always require finetuning to adapt to specific environments. Reinforcement Learning (RL) offers high performance potential because it improves action optimality rather than simply mimicking data. However, such potential depends heavily on reward quality. Sparse rewards lack process feedback, human-designed rewards are costly and biased, and semantic rewards from foundation representations are often not control-centric. We propose Hindsight Reward…
The full abstract on arXivRelated papers
- A Tendon-Driven Robotic Jellyfish with Constrained Soft Actuation and Depth Control via Reinforcement Learning 2026-09-24 · cs.RO · Also by Zhongyu Li
- Whole-Body UMI: Transferring UMI Manipulation Skills to Humanoid Whole-Body Manipulation via Real-Time Motion Generation 2026-09-19 · cs.RO · Also by Zhongyu Li
- Humanoid Badminton: Learning Dynamic Racket Skills from Limited Human Motion Data 2026-09-25 · cs.RO · Also by Zhongyu Li
- Force-Aware Reinforcement Learning with Hybrid Sensorless Force Estimation for Wheeled-Legged Loco-Manipulation 2026-09-12 · cs.RO · Also by Zhongyu Li
- Precise SE(3) End-Effector Tracking in Whole-Body Humanoid Control 2026-10-07 · cs.RO · Also by Koushil Sreenath