techlist.io
OpenAI2017-10-182 min read

Curated summary

Generalizing from simulation

Read original(opens in new tab)

Robot controllers can now be trained entirely in simulation and deployed on physical robots, where they react to unplanned changes in the environment while solving simple tasks. The simulator doesn't need to match the real world in appearance or dynamics. Instead, relevant aspects such as friction, action delays, and sensor noise are randomized during training, and the policy needs only a small amount of real-world self-calibration. The authors argue that randomizing the simulator will be the most important route to general-purpose robots.

Dynamics Randomization

  • Training randomizes 95 properties that govern the environment's dynamics, including each link's mass, the friction and damping of the manipulated object, the height of the table, action latency, and observation noise.
  • An LSTM-based policy trained this way can push a hockey puck around a table. Feed-forward networks fail at the task, while LSTMs use past observations to infer the world's dynamics and adjust their behavior.

Vision-to-Action Control with Reinforcement Learning

  • A robot was trained end-to-end in simulation with reinforcement learning, then deployed on hardware. The resulting system maps visual input directly to actions without special sensors and adapts to visual feedback.
  • Conventional RL works well only when small changes in action produce incremental reward changes, which suits tasks like walking. Most manipulation tasks lack such rewards. A dense reward for block stacking would have to encode arm-to-block proximity, approach orientation, lift height, and distance to the target.
  • After months of failed attempts at pick-and-place with conventional RL, the team developed Hindsight Experience Replay (HER). HER learns from a binary success/failure reward by treating a failed trajectory as if it had been the intended goal, so every attempt still produces useful learning signal.
  • The implementation uses an actor-critic setup with asymmetric information. The critic sees the full simulator state and estimates future rewards, while the actor sees only RGB and depth images, which are available on the real robot. The critic's accurate feedback thus trains an actor that relies only on real-world sensor data.
  • Domain randomization on visual shapes produces a vision system robust enough for the physical world.

Computational Costs

  • Dynamics randomization slows training by about 3x.
  • Learning from images instead of state is about 5–10x slower.

Continue with another curated summary.