Learning from demonstration with model-based Gaussian process

Noémie Jaquier, David Ginsbourger, Sylvain Calinon, Kaelbling, Leslie Pack, Kragic, Danica, Sugiura, KomeiInfoscience 2020

Abstract

In learning from demonstrations (LfD), it is often desirable to adapt the behavior of a robot as a function of the variability retrieved from human demonstrations and the uncertainty encoded in different parts of the task. This paper proposes a novel multi-output Gaussian process (MOGP) based on Gaussian mixture regression (GMR). The proposed approach encapsulates the variability retrieved from demonstrations in the covariance of the MOGP. Leveraging the generative nature of GP models, this framework efficiently modulates trajectories towards new start-, via-, or end-points. The approach allows the robot to precisely track via-points while remaining compliant in regions of high variability, as validated in both simulation and real-robot experiments.

Introduction

Standard LfD methods typically fall into two categories: variability-centric and uncertainty-centric. Variability-centric methods, such as GMR or Kernelized Movement Primitives (KMP), analyze multiple demonstrations to determine where precision is required based on human consistency. However, these methods often struggle to adapt to new constraints smoothly. Conversely, uncertainty-centric methods like Gaussian Processes (GPs) provide robust interpolation to new points but often assume uniform noise (stationarity), failing to capture the varying precision requirements of complex tasks. This paper introduces a GMR-based MOGP that bridges this gap, capturing both variability and uncertainty in a single, efficient framework.

Methodology

The core innovation is the integration of GMR into a Multi-Output Gaussian Process. The process follows a specific recipe:

  1. Prior Mean: Instead of a zero mean, the model uses GMR to calculate a reference trajectory from demonstrations.
  2. Non-Stationary Kernel: The kernel's covariance is weighted by the "responsibilities" of a Gaussian Mixture Model, effectively warping the GP's confidence based on local variability found in the training data.
  3. Efficient Conditioning: By baking demonstrations into the prior, the robot only needs to condition the GP on a few new "via-points" to adapt to a new environment.
Evolution of GP conditioning on via-points (black dots). The red uncertainty band adapts to the learned variability (blue ellipses) as more points are added.

This generative model allows for adaptive tracking gains: robot controller gains can be set proportional to the inverse of the predicted covariance, making the robot stiff at via-points and compliant elsewhere.

Experiments and Results

The framework was evaluated using a simulated 2D "B" trajectory and a real-robot peg-in-hole task with a 7-DoF Franka Emika Panda robot.

Trajectory modulation for a letter 'B' shape. (a) shows demonstrations; (b) shows the MOGP (red) passing through via-points (black) while maintaining the learned task structure.

In the "B" trajectory experiment, the model successfully handled complex shapes and varying levels of wiggle. In the peg-in-hole task, the robot navigated around new obstacles by following via-points, whereas a standard MOGP failed by taking a straight-line shortcut that ignored the learned task shape. The model achieved high precision at via-points and a real-time computation speed of approximately 13ms.

Conclusion

The GMR-based GP provides a powerful tool for robotic LfD, balancing the need for precision at critical targets with the natural compliance learned from human teachers. Future work will focus on automating hyperparameter tuning and applying the framework to active learning scenarios, where robots can identify and query humans about regions of high uncertainty.

Summary updated

BibTeX
@inproceedings{jaquier2020learning,
  author = {Noémie Jaquier and David Ginsbourger and Sylvain Calinon and Kaelbling, Leslie Pack and Kragic, Danica and Sugiura, Komei},
  title = {{Learning from demonstration with model-based Gaussian process}},
  booktitle = {Infoscience},
  year = {2020},
  doi = {10.7892/boris.146437},
}
Figure