Deep Kernels for Optimizing Locomotion Controllers

Rika Antonova, Akshara Rai, Christopher G. Atkeson

Abstract

This paper introduces a method to significantly speed up the optimization of robot walking controllers by using "Deep Kernels" in Bayesian Optimization. By training a neural network on simulation data to learn a physics-informed distance metric, the authors enable robots like the bipedal ATRIAS to find stable, high-performing walking gaits in as few as two real-world trials.

The Challenge of Locomotion Optimization

Optimizing locomotion controllers for robots is notoriously difficult. Hardware-only optimization is slow, expensive, and risks damaging the robot during falls. While Bayesian Optimization (BO) is a popular "sample-efficient" tool, it typically relies on standard kernels (distance metrics) that assume a smooth relationship between controller parameters and performance.

In reality, locomotion landscapes are "cliff-like"—a tiny parameter change can be the difference between a graceful stride and a catastrophic fall. Standard BO lacks physical intuition, often wasting trials exploring useless regions. This paper proposes automatically learning an informed distance metric from simulation data to bridge this gap.

Methods: Learning Physics-Informed Kernels

The authors replace standard kernels with Deep Kernels—distance metrics defined by neural networks. They explore two primary approaches:

  1. asymNN (Cost-based): A neural network is trained to predict a transformed version of the optimization cost. Using a "softplus" transformation, the model maps all "falling" behaviors to near-zero while preserving the nuances of successful "walking" behaviors. This creates an asymmetric loss that forces the kernel to focus its resolution on promising regions of the parameter space.
The softplus transformation used in the asymNN kernel to distinguish walking from falling behaviors.
  1. trajNN (Cost-agnostic): The network learns to reconstruct "trajectory summaries" (e.g., walking time, energy used, torso angle). This maps raw parameters into a "behavioral space," where two controllers are considered "close" if they produce similar walking patterns in simulation, regardless of their numerical parameter values.

These networks are pre-trained on large simulation datasets (20,000 to 100,000 points) and act as fixed feature extractors during real-world hardware trials.

Experimental Evaluation

The approach was evaluated on two distinct platforms:

  • ATRIAS Robot: A complex, human-sized bipedal robot with point feet. A 5-dimensional Raibert-style controller was optimized directly on hardware.
  • 7-link Planar Model: A simulated 16-dimensional Neuromuscular controller tested on "perturbed" environments (varying mass, inertia, and rough terrain) to simulate the "reality gap."

Key Results

The Deep Kernel approach demonstrated significant improvements in both speed and reliability:

  • Hardware Efficiency: On the ATRIAS robot, the asymNN kernel identified the best-performing controller by the second trial in every run. Standard BO typically required 3-4 trials just to find any stable walking gait.
  • High-Dimensional Performance: In 16D simulation experiments, the trajNN kernel matched the performance of the "DoG" kernel—a state-of-the-art metric requiring heavy manual engineering—proving that automated learning can replace hand-tuned expertise.
Performance comparison showing that Deep Kernels (asymNN and DoG) significantly outperform standard SE kernels in finding low-cost walking gaits.

Conclusion

By using simulation as a structural prior rather than a source of direct solutions, the authors successfully learned the underlying topology of locomotion problems. This allows the optimizer to understand which directions in parameter space are physically meaningful. While the method relies on a reasonably high-fidelity simulator, it offers a robust path toward sample-efficient robot learning that can survive the transition from simulation to the real world.

Summary updated

BibTeX
@inproceedings{antonova2017deep,
  author = {Rika Antonova and Akshara Rai and Christopher G. Atkeson},
  title = {{Deep Kernels for Optimizing Locomotion Controllers}},
  booktitle = {Conference on Robot Learning},
  year = {2017},
}
Figure