Source-linked AI summary

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

arXiv:2103.14295v1cs.ROcs.AIcs.LGeess.SY

TL;DR

Bipedal locomotion is challenging because model-based controllers require careful modeling and may not adapt to environmental changes. This paper trains a randomized-simulation reinforcement learning policy for Cassie, which performs varied real-world behaviors and has a feasible command set more than four times larger than the HZD-based controller’s.

  • Problem

    Bipedal locomotion is challenging because high degrees of freedom, hybrid nonlinear dynamics, and hard-to-model ground impacts complicate control, while classical methods require careful modeling and often lack environmental adaptability.

    Source: §I · p. 1
  • Method

    The paper trains a model-free reinforcement learning policy to imitate diverse HZD-based gait-library motions, using domain-randomized simulation for control of Cassie.

    Source: §I · p. 2, §V · p. 6
  • Results

    More than 4 times larger than the HZD-based controller, the RL controller’s feasible command set accompanied reliable performance of varied behaviors on real Cassie.

    Source: B. Robustness Analysis in… · p. 5, C. Robustness in the Real World · p. 5
  • Takeaways & Limitations

    The broader feasible command set supports faster forward and backward walking than the HZD-based controller.

    Source: B. Robustness Analysis in… · p. 5

Abstract

from arXiv · show

Developing robust walking controllers for bipedal robots is a challenging endeavor. Traditional model-based locomotion controllers require simplifying assumptions and careful modelling; any small errors can result in unstable control. To address these challenges for bipedal locomotion, we present a model-free reinforcement learning framework for training robust locomotion policies in simulation, which can then be transferred to a real bipedal Cassie robot. To facilitate sim-to-real transfer, domain randomization is used to encourage the policies to learn behaviors that are robust across variations in system dynamics. The learned policies enable Cassie to perform a set of diverse and dynamic behaviors, while also being more robust than traditional controllers and prior learning-based methods that use residual control. We demonstrate this on versatile walking behaviors such as tracking a target walking velocity, walking height, and turning yaw.

I. INTRODUCTION

The paper presents a reinforcement-learning walking policy that combines a parameterized HZD gait library with domain-randomized training to enable versatile, robust Cassie locomotion. It reports expanded command and safe sets, improved gait-transition stability, and robustness across real-world changes and perturbations.

I. INTRODUCTION

  • The policy imitates diverse HZD-based parameterized gaits for low-dimensional gait control, while randomized simulation training supports transfer through higher-fidelity simulation to Cassie.Domain randomization is used to produce robust controllers; the approach avoids direct reinforcement-learning training on the physical robot.Source: §I · p. 1
  • The policy follows frontal and lateral speed, walking-height, and yaw-rate commands, expands feasible and safe command sets over prior model-based controllers, and improves stability during gait transitions.The comparison is against an HZD-based baseline walking controller.Source: §I · p. 1
  • Cassie reliably tracks commands indoors and outdoors and remains robust to motor malfunctions, ground-friction changes, unknown loads, and random perturbations.The policy also demonstrates agile recoveries from random perturbations.Source: §I · p. 2

A. Related Work

  • Traditional gait-stability, simplified-model, and constrained-optimization methods,, – effectively control flat-foot humanoids but tend to yield slow, conservative motion; unlike HZD, our RL is not constrained to stabilize a periodic orbit.Most previous Cassie learning policies lack walking-height and turning-yaw control, which enables travel in narrow environments.Source: A. Related Work · p. 2
  • Earlier Cassie residual-learning methods,, rely on model-based reference motions and permit only limited corrections, constraining the diversity of learned behaviors.The introduction contrasts this with a gait library of diverse parameterized motions.Source: §I · p. 1, A. Related Work · p. 2
  • Domain randomization addresses the sim-to-real gap by covering target-domain uncertainty in simulation, without requiring additional training on the robot.The paper contrasts this with model-based transfer approaches that require careful system identification.Source: A. Related Work · p. 2

II. PARAMETERIZED CONTROL OF CASSIE

The section describes Cassie’s robot model and a HZD-based gait library used to build an online, parameterized walking controller. The controller represents walking behaviors through desired gait parameters and joint trajectories.

A. Cassie Robot Model

  • Cassie is a person-sized, dynamic, underactuated biped with 20 DoFs, including 10 actuated joints, four passive joints, and a six-DoF floating-base pelvis [17, Sec. II].Its 20-dimensional full state includes each joint’s state.Source: A. Cassie Robot Model · p. 2
  • The observable state has 17 dimensions and excludes pelvis translation, which cannot be reliably measured in the real world without external instrumentation.Source: A. Cassie Robot Model · p. 2

B. Gait Library and Parameterized Control

  • A gait parameter p = [˙qx, ˙qy, qz]T specifies forward velocity, lateral velocity, and walking height for online direction and transitions between motions.Each gait is a set of periodic joint trajectories, represented here by fifth-order Bézier curves for the 10 actuated joints and normalized by one step period.Source: B. Gait Library and Parameterized… · pp. 2–3
  • The gait library comprises two-step right- and left-stance gaits, with transitions triggered by ground foot impact, and is optimized in CFROST before combination with an online regulator [17, Sec. IV].Source: B. Gait Library and Parameterized… · p. 3

III. LEARNING WALKING CONTROL AND SIM-TO-REAL

The section combines a precomputed HZD-based gait library with reinforcement learning to develop a versatile locomotion policy for Cassie. The policy uses observed state and goal to select actions through interaction with the environment.

III. LEARNING WALKING CONTROL AND SIM-TO-REAL

  • The locomotion policy combines Cassie’s precomputed HZD-based gait library with reinforcement learning.The stated motivation is that an optimized gait library alone does not provide online feedback control.Source: §III · p. 3
  • At each time step, the policy observes Cassie’s state and goal and outputs an action distribution from which an action is sampled.The action is executed in the environment, producing a new state and goal and a transition reward.Source: §III · p. 3
  • The agent learns through trial and error by interacting with the environment over discrete time steps.Each interaction yields a transition to the next state and goal, along with a reward.Source: §III · p. 3

A. Cassie Simulation Environment

The Cassie reinforcement-learning environment uses a MuJoCo-based simulation with actions, observation history, and reference goals structured to guide policy control.

A. Cassie Simulation Environment

1) Action Space:

  • Actions specify target positions for Cassie’s 10 motors, which are low-pass filtered before joint-level PD controllers generate motor torques.Source: 1) Action Space · p. 3

2) State Space:

  • The policy state combines current and previous four time steps of observable robot states with actions from the preceding four time steps to help infer system dynamics.Source: 2) State Space · p. 3

3) Goal:

  • Goals combine online user commands, including desired gait parameters and turning yaw velocity, with reference motor positions at current and sampled future times from an interpolated gait library.Source: 3) Goal · p. 3

B. Reward Function

The reward combines command satisfaction with tracking a gait-library reference motion on the robot. Its terms also encourage energy-efficient movement, low vertical contact forces, and command-driven turning beyond the reference motions.

B. Reward Function

  • The reward encourages command satisfaction and reference-motion reproduction, with terms for motor positions, pelvis translation and velocity, and pelvis rotation.Reward-term weights are specified manually.Source: B. Reward Function · p. 3
  • Pelvis rotation tracking penalizes geodesic distance between reference and actual rotation.The desired roll and pitch velocities are zero, while desired yaw velocity follows the user command; desired positions are computed by integrating the corresponding desired velocities.Source: B. Reward Function · p. 3
  • Torque and ground-reaction-force reward terms encourage lower energy consumption and reduced vertical contact forces.The weights of the reward terms are specified manually.Source: B. Reward Function · p. 3
  • Because the gait-library reference motions do not encode turning yaw, rewarding non-zero commanded yaw can encourage walking behaviors absent from those references.Source: B. Reward Function · p. 3

C. Domain Randomization

The section describes randomizing environment dynamics during simulation training to improve policy robustness and bridge the simulation-to-reality gap. The randomization targets modeling error, sensor noise, and communication delay, with dynamics properties parameterized as μ and varied over specified ranges.

C. Domain Randomization

  • Dynamics are randomized during simulation training to improve policy robustness and bridge the gap between simulation and the real world.Source: C. Domain Randomization · p. 3
  • The randomization addresses three uncertainty sources: robot and environment modeling error, sensor noise, and communication delay between the policy and joint-level controller.Source: C. Domain Randomization · p. 4
  • Dynamics properties are parameterized as μ and varied within specified ranges during training.The ranges are referenced in Table II, titled “Dynamics Properties and Sample Range.”Source: C. Domain Randomization · p. 4, Table II · p. 4

D. Learning Model

The learning model trains a goal-conditioned policy with PPO in simulation to maximize expected trajectory reward, using separate policy and value networks. The policy samples desired motor positions from a Gaussian distribution, while the value network estimates expected return.

  • The objective is to maximize expected reward over trajectories generated by the policy, with discount factor γ and episode horizon T.The trajectory contains states, actions, and rewards, and the policy is parameterized by network parameters θ.Source: D. Learning Model · p. 4
  • PPO [39] trains the policy in simulation using policy and value networks that each have two hidden layers of 512 tanh units.The trajectory distribution is conditioned on policy πθ(at|st, gt).Source: D. Learning Model · p. 4
  • The policy takes the noisy, delayed observed robot state and goal as input, then samples 10 desired motor positions from a Gaussian with learned mean and fixed standard deviation Σπ = 0.1I.Its output distribution uses tanh as the final-layer activation.Source: D. Learning Model · p. 4
  • The value network estimates expected return from state and goal, and also receives ground-truth state and randomized dynamic parameters as inputs.It outputs a scalar value V(st, gt).Source: D. Learning Model · p. 4

E. Training Setup

The training setup combines multi-rate control and time-varying walking commands with early termination and a curriculum that gradually expands dynamics randomization.

E. Training Setup

  • The policy operates at 30 Hz, while the joint-level PD controller runs at 2000 Hz; each episode has a designated maximum of T=2500 time steps, approximately 83 s.Source: E. Training Setup · p. 4
  • Commands are sampled uniformly every 8 s and held for that window; each episode starts with random forward velocity, zero yaw velocity, and walking height above 0.9 m.Training commands extend beyond the gait-library parameter range, enabling the policy to learn commands outside that range.Source: E. Training Setup · p. 4
  • Episodes terminate early if pelvis height falls below 0.55 m or the left or right tarsus joint hits the ground.Source: E. Training Setup · p. 4
  • Dynamics randomization is linearly annealed from fixed defaults to the Table II limits over the first 2000 iterations to discourage suboptimal standing-in-place strategies.Starting with the full randomization range can make standing easier to learn than walking in the highly dynamic environment.Source: E. Training Setup · p. 4

IV. EXPERIMENTS

The policy is trained in MuJoCo and evaluated in simulation and on Cassie. Experiments report learning performance, command tracking, and robustness to robot and environmental changes.

A. Learning Performance

  • The curriculum policy learned substantially faster and achieved higher return than training with full randomization from the outset; without perturbations, non-residual control performed marginally better than residual control.The curriculum gradually increases randomization, whereas the non-curriculum policy begins with the full range; the non-residual policy is reported as more robust in subsequent experiments.Source: A. Learning Performance · pp. 4–5, Figure 3 · p. 5

B. Robustness Analysis in High-Fidelity Simulation

  • The RL controller’s feasible command set is more than 4 times larger than HZD’s, and it tracks commands more closely while achieving faster forward and backward walking.The RL controller covers speeds from −1.2 m/s to 1.2 m/s; HZD remains below 1 m/s. Feasible commands are those that do not cause failure, while the safe set records achieved commands during stable walking.Source: Figure 4 · p. 5, B. Robustness Analysis in… · p. 5

C. Robustness in the Real World

  • On Cassie, the learned policy performs varied behaviors, including changing walking height, fast and sideways walking, and turning, while remaining robust to robot and environmental changes.Experiments also show recovery from perturbations and adaptation to different ground frictions and an unknown load.Source: C. Robustness in the Real World · p. 5, Figure 5 · p. 6

2) Perturbation:

  • At perturbation intensities β ∈ {0.8, 1}, the proposed method showed significant advantages over the tested alternatives in MuJoCo, although all policies were trained without domain randomization.The evaluation applied random 6 DoF pelvis forces; the figure reports normalized return over 32 roll-outs per model and intensity.Source: Figure 6 · p. 6, 2) Perturbation · p. 6

1) Modeling Error:

  • With partially damaged motors, the randomized learned controller walked successfully on its first deployment without tuning, while factory-default and HZD-based controllers could not reliably walk.The dynamics randomization included joint damping ratios; the HZD controller also failed to recover normal height after a walking-height reduction.Source: 1) Modeling Error · pp. 5–6

V. CONCLUSION AND FUTURE WORKS

The paper presents a model-free, parameterized reinforcement-learning policy for Cassie that tracks walking velocity, height, and turning yaw using HZD-based reference motions. The authors report improved performance and robustness over prior approaches and a model-based controller, alongside real-world resilience, and identify learning more agile behaviors as future work.

Conclusion

  • Compared with a baseline model-based walking controller, the method produces a larger feasible command set, a larger safe set, and better tracking performance.The authors also report better performance and robustness and more sophisticated recoveries than prior Cassie reinforcement-learning work using residual control.Source: §V · p. 6
  • The model-free policy controls Cassie to track walking velocities, walking heights, and turning yaw velocities by imitating reference motions from an HZD-based gait library.The authors describe it as the first diverse and robust bipedal locomotion policy to walk, turn, and squat using parameterized reinforcement learning.Source: §V · p. 6
  • In real-world experiments, the policy controls Cassie despite malfunctioning motors, walks over floors with different friction, and rejects perturbations.Source: §V · p. 6

Future Works

  • The authors identify learning more dynamic and agile behaviors for Cassie as an exciting future direction.Source: §V · p. 6
Loading 2103.14295v1…