Isaac Gym: High Performance GPU-Based Physics Simulation for Robot Learning
FeaturedViktor Makoviychuk, Lukasz Wawrzyniak, Yunrong Guo, Michelle Lu, Kier Storey, Miles Macklin, David Hoeller, Nikhil Rudin, Arthur Allshire, Ankur Handa, Gavriel State · NVIDIA · 2021
Framework
PyTorch
License
BSD-3-Clause
Stars
2,934
Summary
A GPU-accelerated physics simulation framework that enables thousands of RL environments to run in parallel on a single GPU, eliminating CPU-GPU transfer bottlenecks.
Abstract Summary
Key Points
- End-to-end GPU physics simulation using PhysX, eliminating CPU-GPU transfer bottlenecks.
- Scales to 100,000+ parallel environments on a single GPU.
- Unified tensor API (PyTorch) for observations, actions, and rewards.
- Compatible with PPO, SAC, and other standard RL algorithms.
- Enabled a new generation of large-scale RL benchmarks (Legged Gym, etc.).
Massively Parallel Reinforcement Learning
Current (on-policy) reinforcement learning algorithms are divided into two parts: data collection and policy update. The policy update, which corresponds to back-propagation for neural networks, is easily performed in parallel on the GPU. Parallelizing data collection is not as straightforward. Each step consists of policy inference, simulation, reward, and observation calculation.
Task Description
A quadruped robot must learn to walk across challenging terrain, including uneven surfaces, slopes, stairs, and obstacles, while following base-heading and linear-velocity commands. We conduct most of the simulation and real-world deployment experiments on the ANYbotics ANYmal C robot.
However, in simulation, we demonstrate the broader applicability of the approach by additionally training policies for ANYmal B, ANYmal C with an attached arm, and the Unitree A1 robots. The terrains are selected to be representative of real-world environments.
Results
In this section, we study the effects of the number of parallel robots on the final performance of the policy. In order to use the total reward as a single representative metric, we have to remove the curriculum, otherwise a more performant policy sees its task difficulty increase and consequently a decrease in the total reward.
As such, we simplify the task by reducing the maximum step size of stairs and obstacles and directly train robots on the full range of difficulties.
Sources and Demonstrations
Figures are reproduced from Makoviychuk et al. See the full paper for experimental details and the project page, when the paper links one, for demonstrations and videos.
Related Papers
SafeManip: A Property-Driven Benchmark for Temporal Safety Evaluation in Robotic Manipulation
Chengyue Huang, Khang Vo Huynh, Sebastian Elbaum et al.
Robotic manipulation is typically evaluated by task success, but successful completion does not guarantee safe execution. Many rl failures are temporal: a robot may touch a clean surface after contamination or release an object before it is fully inside an enclosure.
Berkeley Humanoid: A Low-Cost 3D-Printed Humanoid for Research
Zachary Kousik, Shanpu Fang, Rohan Thakker et al.
An open-source 3D-printed humanoid robot platform designed for reinforcement-learning based locomotion research with affordable hardware.
Humanoid-Gym: Reinforcement Learning for Humanoid Robot with Zero-Shot Sim2Real Transfer
Wang J., Xiao B., Wang J., Heider P., Li H., Zhang Y.
An Isaac-Gym-based training framework for humanoid locomotion that enables zero-shot sim-to-real transfer on XBot-L/XBot-S robots via domain randomization.
Legged Gym: A Framework for Massively Parallel Reinforcement Learning of Legged Locomotion
Nikita Rudin, David Hoeller, Philipp Reist et al.
Legged Gym is an open-source training framework built on NVIDIA Isaac Gym that enables massively parallel deep RL for legged robot locomotion, achieving policy training times of minutes rather than days.