Learning Task Space Actions for Bipedal Locomotion

Helei Duan, Jeremy Dao, Kevin Green, Taylor Apgar, Alan Fern, Jonathan Hurst

TL;DR

This paper demonstrates that training bipedal robots using reinforcement learning (RL) is significantly more efficient when the agent operates in task space (e.g., foot positions) rather than joint space. By integrating a task-space RL policy with a model-based inverse dynamics controller, the authors achieved a 4x speedup in training time and successful zero-shot transfer to the physical Cassie bipedal robot.

What Problem Does This Paper Address?

Training bipedal locomotion is notoriously difficult. Traditional model-based control is precise but often struggles with complex, non-linear dynamics and environmental uncertainty. Conversely, model-free RL is flexible but notoriously sample-inefficient.

A major bottleneck in RL for robotics is the action space. Most prior work forces the RL agent to learn joint-level coordination (e.g., motor positions or torques). This is akin to a human trying to learn to walk by consciously controlling every individual muscle fiber. The agent must implicitly "re-learn" the robot's physics and kinematics just to coordinate its limbs, which leads to undirected exploration and brittle policies. The authors ask: Can we make RL more efficient by letting it speak the "natural language" of locomotion—task space?

Methods

The core innovation is a hybrid control architecture that bridges RL and classical control theory.

  1. Task Space Action Space: Instead of joint angles, the RL policy ($\pi(s)$) outputs "residual setpoints" ($x^\delta$)—small offsets to the desired Cartesian positions of the feet relative to the robot's base.
  2. Integrated Inverse Dynamics: These task-space actions are fed into a model-based Inverse Dynamics (ID) Controller. This controller uses the robot's known kinematic and dynamic models to translate foot setpoints into the specific joint torques ($\tau_{ID}$) required to achieve them.
  3. Hierarchical Control: The system operates at two frequencies. The RL policy updates at a lower frequency (40 Hz) to handle high-level strategy, while the ID controller runs at a high frequency (2 kHz) to maintain low-level stability.
  4. Learning Algorithm: The authors used Proximal Policy Optimization (PPO), a standard model-free RL algorithm, but applied it to this new task-space interface.
Overview of the control architecture, showing the RL policy interfacing with the Inverse Dynamics controller.

Datasets

The study primarily utilizes simulation and reference models rather than static datasets:

  • Simulation: The cassie-mujoco-sim package, based on the MuJoCo physics engine, was used for training and initial evaluation.
  • Reference Trajectories: To guide the learning process, the authors used a library of desired task-space dynamics generated from optimized spring-mass models. These provide a "rough draft" of walking that the RL agent then refines.
  • Hardware: Evaluation was performed on the Cassie bipedal robot, a human-scale underactuated robot designed for dynamic locomotion.

Key Insights and Ideas

  • Directed Exploration: In joint space, random exploration (noise) often results in the robot standing still or collapsing because the joints aren't coordinated. In task space, even random noise moves the feet in physically meaningful ways, allowing the agent to discover useful balancing behaviors much earlier in training.
  • Leveraging Known Physics: By using an ID controller, the RL agent doesn't have to waste millions of samples learning that "moving the hip and knee together moves the foot forward." The controller handles the "how," letting the RL focus on the "where" and "when."
  • Natural Reward Alignment: Task-space actions align better with locomotion rewards (like foot clearance or ground reaction forces). This makes the optimization landscape smoother and easier for the RL agent to navigate.

Key Results

  • 4x Sample Efficiency: As shown in the learning curves, the task-space approach reached stable walking in roughly 8 hours of wall-clock time, compared to 32 hours for the joint-space approach.
  • Superior Dynamics: The task-space policy was able to reproduce desired Ground Reaction Force (GRF) profiles that the joint-space policy could not, leading to more natural and stable gaits.
  • Sim-to-Real Success: The learned policy transferred directly to the physical Cassie robot without the need for extensive domain randomization, demonstrating the robustness of the task-space formulation.
Fig. 3: The learning curves show the average of five random seeds for each action space. Actions in task space are able to learn rough stepping gaits at the beginning of the training and quickly converge to a plateau. However, actions in joint space need to explore for joint coupling before the agents can effectively explore in a more useful episode. Star represents when we observe the robot starting to walk stably in simulation with the learned policy, which takes around 8 and 32 hours (wall-clock time) for task space and joint space respectively.

Limitations and Future Work

  • Model Dependency: The approach relies on having a reasonably accurate kinematic and dynamic model for the Inverse Dynamics controller. While Cassie's model is well-understood, this might be a hurdle for robots with complex soft components or unknown dynamics.
  • Steady-State Focus: The current work focuses on steady-state walking. The authors suggest that future work could extend this to more diverse behaviors like jumping, running, or navigating uneven terrain.
  • Centroidal Dynamics: The authors propose that incorporating centroidal dynamics (reasoning about the center of mass) as an action space could further improve the stability and agility of the learned policies.

Summary updated

BibTeX
@misc{duan2020learning,
  author = {Helei Duan and Jeremy Dao and Kevin Green and Taylor Apgar and Alan Fern and Jonathan Hurst},
  title = {{Learning Task Space Actions for Bipedal Locomotion}},
  year = {2020},
  eprint = {2011.04741},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.04741},
}
Figure