Beyond Inverted Pendulums: Task-Optimal Simple Models of Legged Locomotion

Yu-Ming Chen, Jianshu Hu, Michael Posa

TL;DR

Instead of relying on human intuition to simplify legged robot dynamics, this paper introduces an algorithm that automatically learns task-optimal, low-dimensional reduced-order models (ROMs). By directly optimizing these simple models against full-body performance metrics, the authors achieve up to a 23% reduction in torque cost and a 54% increase in walking speed on the bipedal robot Cassie.

What Problem Does This Paper Address?

Legged robots possess dozens of degrees of freedom, making real-time, full-body motion planning computationally intractable for online control. To get around this, roboticists rely on Reduced-Order Models (ROMs)—like the classic Linear Inverted Pendulum (LIP)—which simplify the robot down to a point mass.

However, these hand-crafted models are heavily constrained by human intuition. They oversimplify physics, which artificially limits the robot's speed, agility, and efficiency. Furthermore, while researchers frequently propose intuitive extensions to these models (like adding springs or flywheels), the field has lacked a systematic, automated way to evaluate or discover the best simplified model for a specific set of tasks.

Methods

The authors propose a bilevel optimization framework to automatically synthesize ROMs based on actual performance rather than geometric intuition.

  1. Model Parameterization: A ROM is defined by two components: an embedding function $y = r(q)$ that maps full-body configurations to a reduced state, and a second-order dynamics function $\ddot{y} = g(y, \dot{y}, \tau)$. Both functions are parameterized using polynomial basis functions (monomials).
  2. Bilevel Optimization Loop:
  3. Inner Loop: Solves a full-body trajectory optimization problem over a sampled distribution of tasks (e.g., walking at different speeds or slopes) to minimize a user-defined cost function (like joint torques).
  4. Outer Loop: Updates the ROM parameters using stochastic gradient descent to minimize the expected cost across all tasks.
  5. The Analytical Gradient Secret Sauce: Typically, differentiating through an optimization loop requires the Implicit Function Theorem, which involves computing a massive, computationally expensive Hessian inverse. The authors bypass this entirely by applying the Envelope Theorem. This allows them to compute exact analytical gradients of the optimal cost directly from the inner loop's primal and dual solutions, drastically speeding up the optimization process.

The offline synthesis and online deployment pipeline is illustrated below:

An outline of the synthesis and deployment of optimal reduced-order models (ROM).

Datasets

The paper does not use standard static datasets. Instead, it defines a continuous Task Distribution ($\Gamma$) representing various walking conditions for the Cassie bipedal robot. This includes uniform distributions over:

  • Stride lengths ($[-0.4, 0.4]$ meters)
  • Pelvis heights ($[0.87, 1.03]$ meters)
  • Ground inclines and turning rates

To test generalization, the authors evaluated the optimized models on an expanded task space twice the size of the training distribution (unseen tasks).

Key Insights and Ideas

  • Performance over Accuracy: Traditional ROM discovery focuses on minimizing the modeling error between the simple model and the full robot physics. This paper shifts the paradigm: a simplified model doesn't need to perfectly mimic full physics; it just needs to guide the high-level planner toward behaviors that minimize full-body costs (like energy or joint stress).
  • Abstract but Effective: The optimized models often lose physical interpretability. Because they use abstract monomial basis functions, they no longer look like simple pendulums or springs. However, they unlock superior performance by implicitly exploiting the robot's natural structural dynamics.
  • Emergent Efficient Behaviors: When optimizing for torque reduction, the algorithm automatically discovered that shifting the Center of Pressure (CoP) toward the rear of the support polygon and minimizing overall Center of Mass (CoM) acceleration fluctuation yields highly efficient gaits.

Key Results

The optimized ROMs were validated both in simulation and on physical hardware using a real-time Model Predictive Control (MPC) loop.

  • Simulation Performance: The optimal ROM reduced Cassie's joint torque cost by up to 23% and increased its top walking speed by up to 54% on slopes. It also allowed Cassie to steadily climb 32% steeper inclines than the baseline LIP model.
  • Hardware Validation: When deployed on the real Cassie robot, the optimal ROM successfully transferred to hardware, demonstrating a 10% reduction in torque cost during flat-ground walking.
  • Generalization: The optimized models generalized remarkably well to out-of-distribution (unseen) tasks, maintaining a consistent ~16% cost reduction across various turning rates.

Limitations and Future Work

  • Feasibility Bootstrapping: The optimization framework requires a feasible initial ROM (like LIP) that can already successfully complete the tasks to generate valid gradients. It cannot currently generate a walking model completely from scratch (random initialization).
  • Manual Dimensionality Selection: The user must still manually choose the dimension of the reduced-order state space, leaving the speed-vs-performance trade-off as a manual tuning step.
  • The Open-Loop to Closed-Loop Gap: While open-loop trajectory optimization showed up to a 30% cost reduction, closed-loop deployment on hardware yielded 10%. This is due to stabilization heuristics (like adding a double-support phase) and unmodeled hardware dynamics. The authors note that future work will focus on optimizing the ROM directly in a closed-loop fashion to account for controller heuristics.

Summary updated

BibTeX
@article{chen2024beyond,
  author = {Yu-Ming Chen and Jianshu Hu and Michael Posa},
  title = {{Beyond Inverted Pendulums: Task-Optimal Simple Models of Legged Locomotion}},
  journal = {IEEE Trans. Robotics},
  year = {2024},
  doi = {10.1109/tro.2024.3386390},
}
Figure