Reinforcement Learning for Robust Parameterized Locomotion Control of Bipedal Robots

Zhongyu Li, Xuxin Cheng, Xue Bin Peng, Pieter Abbeel, Sergey Levine, Glen Berseth, Koushil Sreenath

Introduction

Bipedal locomotion remains a "grand challenge" in robotics due to the high degrees of freedom, complex nonlinear dynamics, and the discontinuous physics of foot-ground impacts. Traditional model-based controllers, such as those utilizing Hybrid Zero Dynamics (HZD), often rely on simplified physical models. While effective in controlled settings, these controllers can be fragile; minor modeling errors or environmental changes, such as a slippery surface, often lead to catastrophic failure.

Conversely, previous reinforcement learning (RL) approaches frequently employed "residual control," where an AI agent provides small corrections to a pre-existing model-based controller. While this approach offers a safety net, it inherently limits the robot's agility to the immediate vicinity of the original pre-programmed motion. This research introduces an end-to-end RL framework designed to produce a policy that is both versatile—capable of adjusting speed, height, and heading dynamically—and robust enough to bridge the "sim-to-real" gap.

Methodology

The researchers developed a multi-stage framework to train the bipedal robot Cassie for real-world deployment. The approach combines the structure of classical robotics with the flexibility of modern RL.

  1. HZD-based Gait Library: To avoid the inefficiencies of learning from scratch, the policy is trained to imitate a library of 1,331 pre-computed periodic gaits. These gaits are parameterized by sagittal velocity ($v_x$), lateral velocity ($v_y$), and walking height ($z$).
  2. Non-Residual Reinforcement Learning: Using Proximal Policy Optimization (PPO), the team trained a policy that directly outputs target joint positions. This "non-residual" nature allows the robot to deviate significantly from reference motions when necessary to maintain balance.
  3. Domain and Dynamics Randomization: To ensure the policy generalizes to the real world, physical properties—including link masses, joint damping, ground friction, and sensor noise—were randomized during training.
  4. Curriculum-Based Training: A critical component of the success was a training curriculum. By gradually increasing the level of physical randomness over 2,000 iterations, the robot first learned the fundamental mechanics of walking before being forced to develop robust recovery strategies.
The proposed control architecture, showing the integration of a gait library with a neural network policy and low-level PD controllers.

Key Insights

The Power of Non-Residual Control

By granting the RL policy full control over the joints rather than limiting it to small tweaks, the robot gained the "creativity" required to recover from massive perturbations. This flexibility allows the system to discover stabilization strategies that traditional model-based controllers cannot reach, particularly when faced with unexpected external forces.

Generalization Beyond the Library

Interestingly, the RL policy demonstrated the ability to extrapolate. It successfully followed commands, such as walking at 2.0 m/s, that were outside the range of the gaits provided in its training library. This suggests that the agent learned the underlying principles of dynamic balance rather than merely memorizing specific trajectories.

Experimental Results

The framework was rigorously tested both in high-fidelity simulations and on physical hardware, yielding several significant findings:

  • Expanded Feasible Command Set: The RL-based controller's "safe set"—the range of speeds and heights it can navigate without falling—was found to be more than four times larger than that of the baseline HZD-based controller.
  • Real-World Robustness: In field tests, Cassie successfully navigated slippery grass, transitioned between varying floor types, and carried unknown loads. It also demonstrated an ability to recover from aggressive physical pushes and foot-sliding incidents.
  • Resilience to Hardware Failure: Perhaps most impressively, the policy remained functional on a robot with two partially damaged motors (right rotation and right knee). The RL policy naturally compensated for the loss of torque in the right leg, a scenario that caused the traditional model-based controller to fail immediately.
Visualization of the 'Safe Set' or feasible command set, illustrating the expanded range of walking parameters the RL policy can maintain.

Conclusion and Future Work

While this framework significantly advances the state of bipedal control, limitations remain. The current work focuses primarily on flat or slightly uneven ground; future iterations will need to address more complex, discrete terrains such as stairs or stepping stones. Additionally, while the current behaviors are robust walking gaits, the authors suggest that the same framework could be extended to more highly dynamic behaviors, including running and jumping. Finally, automating the tuning of the multi-term reward function could further streamline the development of such complex robotic policies.

Summary updated

BibTeX
@inproceedings{li2021reinforcement,
  author = {Zhongyu Li and Xuxin Cheng and Xue Bin Peng and Pieter Abbeel and Sergey Levine and Glen Berseth and Koushil Sreenath},
  title = {{Reinforcement Learning for Robust Parameterized Locomotion Control of Bipedal Robots}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  doi = {10.1109/icra48506.2021.9560769},
}
Figure