Combining Simulations and Real-Robot Experiments for Bayesian Optimization of Bipedal Gait Stabilization

Diego Rodriguez, André Brandenburger, Sven Behnke

TL;DR

Researchers from the University of Bonn have developed a way to tune bipedal robot walking controllers by intelligently blending "cheap" simulations with "expensive" real-world trials. Using a Multi-Fidelity Bayesian Optimization approach, they achieved walking stability that outperformed expert-tuned settings by up to 35% while drastically reducing hardware wear-and-tear and preventing a single robot fall during training.

What Problem Does This Paper Address?

Tuning a bipedal robot to walk stably is a notoriously difficult balancing act—literally. Most state-of-the-art walking controllers rely on a complex web of parameters that usually require a human expert to fine-tune through endless trial and error.

There are two traditional ways to automate this:

  1. Simulation: It’s fast, cheap, and safe, but it suffers from the "reality gap." Simulators often fail to capture the messy physics of foot-ground impacts or joint friction.
  2. Real-robot experiments: These provide ground-truth data but are incredibly costly. Every "trial" wears down the motors and gears, and a single bad parameter choice can result in a catastrophic fall that breaks the hardware.

The authors tackle the challenge of how to combine these two worlds: using simulation to do the heavy lifting while strategically using real-robot trials only when they provide the most "information" for the least "cost."

Methods

The core of the paper is an algorithm called Multi-Fidelity Entropy Search (MF-ES).

Standard Bayesian Optimization (BO) uses a statistical model (a Gaussian Process) to guess which parameters might work best and then tests them. MF-ES takes this a step further by considering multiple "fidelities" of data. It models the real-world cost function as the sum of the simulation cost plus a systematic error term that accounts for the reality gap.

Key technical components include:

  • Acquisition Function: The algorithm doesn't just pick the most promising parameters; it picks the point in parameter space that offers the highest expected change in entropy (information gain) relative to the cost of the experiment.
  • Cost Weighting: Real-robot trials were weighted as five times more "expensive" than simulations, forcing the algorithm to exhaust simulation possibilities before risking the hardware.
  • Feedback Mechanisms: The optimization focused on "corrective actions" (like ankle tilting and arm swinging) that act on top of a basic open-loop walking pattern.
  • Termination Criteria: Instead of running for a fixed number of steps, the authors introduced a filter based on entropy gain. Once the algorithm stops learning significant new information, it shuts down to save time and hardware.

Datasets

As a robotics research paper, the "dataset" consists of the experimental environments:

  • Simulation: Gazebo 2.2 using the Open Dynamics Engine (ODE).
  • Real Robot: The igus Humanoid Open Platform, a 92cm tall, 3D-printed bipedal robot.
  • Comparison Baseline: Parameters manually tuned by the "NimbRo" team, who won the RoboCup 2017 TeenSize competition.

Key Insights and Ideas

  • Simulation as a Safety Filter: One of the most striking "aha" moments was that the robot never fell once during the real-world optimization phase. Because the algorithm tested parameters in simulation first, any settings that caused a fall in the virtual world were ruled out as too risky for the real robot.
  • Learning the Reality Gap: Rather than trying to make the simulator perfect, the algorithm learns how the simulator is wrong. By comparing sim and real results, it builds a model of the systematic differences between the two.
  • Efficiency Ratios: The system proved it could learn effectively with a roughly 1:5 or 1:9 ratio of real trials to simulations. This means for every one time you have to put the robot on the floor, you've already "walked" it nearly ten times in the computer.

Key Results

The authors tested the approach in two scenarios:

  • 2D Optimization (Ankle Tilt): The algorithm performed 126 iterations (only 20 on the real robot). The resulting parameters were 32% better (lower cost/tilt) than those tuned by human experts.
  • 4D Optimization (Ankle + Arm movement): Over 301 iterations (only 30 on the real robot), the system achieved a 35% improvement over expert tuning. When ignoring the "penalty" terms and looking strictly at stability, the improvement jumped to 53%.
  • Robustness: The optimized gait was stable enough to traverse "very rough terrain," including artificial grass littered with debris, which was not part of the training environment.

Limitations and Future Work

The authors acknowledge a common hurdle in Bayesian Optimization: dimensionality. While 4D optimization worked well, scaling this to 10 or 20 parameters simultaneously would likely cause the computational cost to explode.

Future work suggests using dimensionality reduction to find a smaller "latent space" for optimization. They also aim to automate the learning of "hyperparameters" (the settings that govern the learning algorithm itself) during the optimization process to make the system even more autonomous.

Summary updated

BibTeX
@inproceedings{rodriguez2018combining,
  author = {Diego Rodriguez and André Brandenburger and Sven Behnke},
  title = {{Combining Simulations and Real-Robot Experiments for Bayesian Optimization of Bipedal Gait Stabilization}},
  booktitle = {RoboCup},
  year = {2018},
  url = {https://openreview.net/forum?id=V2u9rV9hcGE},
}
Figure