techlist.io

Off Policy Learning

1 posts

OpenAI2017-07-042 min readCurated summary

Hindsight Experience Replay

The paper introduces Hindsight Experience Replay (HER), a technique that lets reinforcement learning agents learn efficiently from sparse, binary rewards without hand-engineered reward functions. HER works with any off-policy RL algorithm and acts as a form of implicit curriculum. The authors test it on robotic arm manipulation and show that policies trained in simulation can complete the same tasks on a physical robot. ## The Sparse Reward Problem - Sparse rewards are one of the main obstacles in reinforcement learning, since an agent receives little useful feedback until it succeeds. - The usual workaround is reward engineering, which is labor-intensive and can distort the learned behavior. - HER is designed to avoid this by making binary success or failure signals sufficient for learning. ## Hindsight Experience Replay - HER is a replay-based method that can be combined with an arbitrary off-policy RL algorithm. - It enables sample-efficient learning from binary rewards, which indicate only whether the task was completed. - The authors describe it as an implicit curriculum, meaning it structures the learning process without requiring an explicit sequence of progressively harder tasks. ## Robotic Manipulation Experiments - The method is evaluated on three object-manipulation tasks with a robotic arm: pushing, sliding, and pick-and-place. - In every task, the only reward signal is whether the task was completed. - Ablation studies show that HER is essential, since training in these challenging environments is not feasible without it. ## Transfer to a Physical Robot - Policies trained in a physics simulation are deployed on a real robot. - The physical robot successfully completes the tasks, which indicates that the learned policies transfer from simulation to reality. Where reward design is hard or success is easy to define but hard to shape, HER offers a way to train with simple binary success signals and avoid elaborate reward engineering.