Interactive Dynamic Walking: Learning Gait Switching Policies with Generalization Guarantees

Prem Chand, Sushant Veer, Ioannis Poulakakis

Abstract

In physical human-robot interaction (pHRI), bipedal robots must often adapt to a human leader's unknown and unpredictable trajectories. This paper introduces a hierarchical framework that decouples locomotion stability from task adaptation. A low-level controller manages a library of stable gait primitives, while a high-level neural network supervisor selects the optimal gait based on interaction forces. By applying Probably Approximately Correct (PAC)-Bayes theory, the authors derive the first formal "certificates of generalization" for such systems, providing mathematical guarantees on the robot's performance in novel environments.

Introduction

Translating noisy interaction forces into stable, adaptive bipedal walking remains a significant challenge in pHRI. While traditional methods prioritize stability through criteria like the Zero Moment Point, they often lack the flexibility to handle the "unseen" trajectories of a human partner. Machine learning approaches offer adaptability but typically function as "black boxes" without performance guarantees. This research addresses two critical needs: real-time gait adaptation based on implicit force cues and the provision of provable generalization bounds to ensure reliability in previously unencountered scenarios.

Hierarchical Control Architecture

The proposed architecture splits the control task into two distinct layers to ensure both safety and flexibility.

The hierarchical control architecture, featuring a high-level Neural Network supervisor and a low-level Gait Library.

Low-Level Control: The Gait Library

The foundation of the system is a library of Dynamic Movement Primitives (DMPs). These represent pre-designed, limit-cycle walking gaits optimized for various turning angles (ranging from -45° to 45°). Because these primitives are mathematically verified for stability, the robot maintains balance even during rapid switching between gaits.

High-Level Supervisor: PAC-Bayes Policy

A Neural Network (NN) supervisor processes noisy interaction forces and current gait state to output selection scores for the gait library. To move beyond empirical success toward "certified" AI, the authors utilize the PAC-Bayes framework for training.

  1. Prior Selection: Evolutionary Strategies (ES) are used to establish a robust "prior" distribution of policies, providing a smart starting point.
  2. Posterior Optimization: The system optimizes a "posterior" distribution to minimize a PAC-Bayes bound. This bound offers a statistical guarantee: for example, with 99% confidence, the robot's trajectory will remain within a specified distance of the leader's path for a certain percentage of the time.

Experimental Evaluation

Due to the scarcity of real-world pHRI walking data, the researchers developed a synthetic environment generator to produce thousands of diverse leader trajectories. These paths consist of random line segments, with Gaussian noise added to interaction force measurements to simulate sensor inaccuracies.

Diverse synthetic trajectories used to train and test the robot's ability to follow unknown human paths.

Key Results

The framework demonstrated exceptional generalization capabilities:

  • Theoretical Guarantees: For a training set of 1,000 environments, the PAC-Bayes bound guaranteed that the biped would remain within a 0.5-meter "tube" around the leader 91.38% of the time with 99% confidence.
  • Empirical Performance: In testing on 1,000 novel environments, the robot exceeded its theoretical bound, achieving a 95.47% success rate.
  • Scaling Reliability: As the training set size increased, the gap between the theoretical guarantee and actual performance narrowed, validating the tightness of the PAC-Bayes bounds.

Discussion and Future Work

While the framework provides a significant step toward provably safe pHRI, several limitations remain. The computational cost of training the PAC-Bayes policy is high, requiring approximately 70 hours for 1,000 environments. Additionally, the current model assumes interaction forces are applied to a single point on the torso, whereas real-world interactions are often multi-point. Future research will focus on extending the policy space from discrete to continuous control and exploring more complex interaction dynamics, such as collaborative object transport.

Summary updated

Abstract

In this paper, we consider the problem of adapting a dynamically walking bipedal robot to follow a leading co-worker while engaging in tasks that require 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 its ability to furnish 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},
}
Figure