Interactive Dynamic Walking: Learning Gait Switching Policies With Generalization Guarantees

Prem Chand, Sushant Veer, Ioannis Poulakakis

TL;DR

This paper introduces a hierarchical framework that allows a dynamically walking bipedal robot to follow a human leader’s unknown trajectory using only interaction forces. By combining a library of stable gait primitives with a neural network supervisor trained using PAC-Bayes theory, the authors provide the first "certificates of generalization"—provable performance guarantees—for how well the robot will adapt to entirely novel human intentions.

What Problem Does This Paper Address?

In physical human-robot interaction (pHRI), a robot often needs to follow a human's lead without knowing the human's destination or path. While humans communicate "intent" through subtle interaction forces, translating these noisy forces into stable, adaptive walking is difficult.

Most existing methods for bipedal walking focus on stability (like the Zero Moment Point criterion) but struggle to adapt to the unpredictable, "unseen" trajectories of a human partner. Furthermore, even when machine learning is used to bridge this gap, these models are often "black boxes" with no guarantees on how they will perform in a new environment. This paper tackles two challenges:

  1. Adaptation: How to modify a biped's gait in real-time based on implicit force cues.
  2. Generalization: How to prove that the learned policy will work reliably on trajectories it never saw during training.

Methods

The authors propose a hierarchical control architecture that decouples locomotion stability from task adaptation:

  • Low-Level (Gait Library): The robot has a library of "Dynamic Movement Primitives" (DMPs). These are pre-designed, stable walking gaits (limit cycles) for different turning angles (e.g., -45° to 45°). Because these are mathematically proven to be stable, the robot won't fall over during switching.
  • High-Level (Supervisor): A Neural Network (NN) acts as the "brain." It takes in "cues"—noisy interaction forces and current gait features—and outputs a score for which gait primitive to use next.
  • PAC-Bayes Training: This is the core innovation. Instead of just training the NN to minimize error, they use the Probably Approximately Correct (PAC)-Bayes framework.
  • They first use Evolutionary Strategies (ES) to find a "prior" distribution of good policies.
  • They then optimize a "posterior" distribution to minimize a PAC-Bayes bound. This bound serves as a mathematical guarantee: "With 99% confidence, the robot will stay within $X$ distance of the leader's path $Y\%$ of the time."

Datasets

The researchers did not use a standard public dataset, as pHRI walking data is scarce. Instead, they created a synthetic environment generator:

  • Training/Test Sets: Thousands of environments were generated where a "leader" follows a smooth, randomly generated path (sequences of line segments with random slopes).
  • Noise: They added Gaussian noise to the interaction force measurements to simulate real-world sensor limitations.
  • Evaluation: The model was tested on 1,000 "novel" environments—trajectories the supervisor never encountered during the training phase.

Key Insights and Ideas

  • Modularity is Key: By using "off-the-shelf" stable gait controllers at the low level, the high-level learning algorithm doesn't have to worry about the physics of falling. It only needs to learn the "intent" behind the forces.
  • Quantifying Risk: In robotics involving physical contact with humans, "it usually works" isn't good enough. By using PAC-Bayes, the authors move toward "certified" AI, where the risk of failure on new tasks is explicitly quantified.
  • Informing the Prior: A major hurdle in PAC-Bayes is that "flat" priors often lead to "vacuous" (useless) bounds. The authors showed that using Evolutionary Strategies to find an "inductive bias" (a smart starting point) before calculating the bound makes the guarantees much tighter and more practical.

Key Results

  • Strong Generalization: For a training set of 1,000 environments, the PAC-Bayes bound guaranteed that the biped would stay within a 0.5-meter "tube" around the leader 91.38% of the time with 99% confidence.
  • Empirical Performance: In actual simulations on novel paths, the robot performed even better than the guarantee, achieving a 95.47% success rate.
  • Tightening Bounds: As the number of training environments increased (from 200 to 1,000), the gap between the theoretical guarantee and the actual performance narrowed, proving the framework's reliability.

Limitations and Future Work

  • Computational Heavy-Lift: Training the PAC-Bayes policy is computationally expensive. It took approximately 70 hours to compute the cost matrix for 1,000 environments on a high-end workstation.
  • Simplified Interaction: The model assumes the interaction force is applied to a single point on the robot's torso. Real-world scenarios (like carrying a table) involve more complex multi-point or end-effector interactions.
  • Discrete Policy Space: To make the optimization tractable, the authors discretized the policy space to a finite set of 20 sampled neural networks. Future work could explore continuous policy spaces for even finer control.

Summary updated

Abstract

In this letter, we consider the problem of adapting a dynamically walking bipedal robot to follow a leading co-worker based on physical interaction. Our approach relies on switching among a family of Dynamic Movement Primitives (DMPs) as governed by a supervisor. We train the supervisor to orchestrate the switching among the DMPs in order to adapt to the leader’s intentions, which are only implicitly available in the form of interaction forces. The primary contribution of our approach is that it furnishes certificates of generalization to novel leader intentions for the trained supervisor. This is achieved by leveraging the Probably Approximately Correct (PAC)-Bayes bounds from generalization theory. We demonstrate the efficacy of our approach by training a neural-network supervisor to adapt the gait of a dynamically walking biped to a leading collaborator whose intended trajectory is not known explicitly.
BibTeX
@article{chand2022interactive,
  author = {Prem Chand and Sushant Veer and Ioannis Poulakakis},
  title = {{Interactive Dynamic Walking: Learning Gait Switching Policies With Generalization Guarantees}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2022},
  url = {https://openreview.net/forum?id=OJfbuA1P4G},
}

Loading related content...

Figure