Sample Efficient Path Integral Control under Uncertainty

Yunpeng Pan, Evangelos A. Theodorou

Abstract

This paper introduces a model-based Path Integral (PI) control framework that significantly improves sample efficiency by using Gaussian Processes (GPs) to model system dynamics. By deriving an analytical, parameter-free control law that accounts for model uncertainty, the authors enable robots to learn complex tasks like "swing-ups" in just a few trials and generalize those skills to new targets without additional training. The framework's linear properties allow for zero-shot generalization to new tasks through the composition of previously learned controllers.

Introduction

Stochastic Optimal Control (SOC) is essential for robotics, but solving it in high-dimensional, continuous spaces is notoriously difficult. Path Integral (PI) control is a popular subset of SOC because it turns the control problem into a sampling problem. However, standard PI methods face two major hurdles: extreme sample inefficiency, often requiring thousands of trials on physical hardware, and rigidity, where controllers cannot be easily adapted to new tasks without starting from scratch. This work aims to bridge the gap between the theoretical elegance of PI control and the practical need for robots to learn quickly from limited data.

Methods

The authors propose a forward-backward iterative scheme that combines PI control theory with probabilistic reinforcement learning.

  • Probabilistic Dynamics: Instead of assuming the physics are perfectly known, they use Gaussian Processes (GPs) to learn the system dynamics from data. GPs provide not just a prediction of the next state, but also a measure of uncertainty (variance).
  • Uncertainty-Aware Control: They derive a new "structural constraint" where the control cost is tied directly to the uncertainty of the learned model. This means the controller automatically becomes more "cautious" or "exploratory" based on how well it understands the environment.
  • Analytical Updates: Unlike methods that use black-box optimizers, this framework computes the optimal control update analytically. They use moment matching to propagate the GP state distributions forward in time and then compute the "desirability" of states backward in time.
  • Compositionality: Because the underlying math (the backward Chapman-Kolmogorov PDE) is linear, the authors show that you can create a controller for a new task by simply taking a weighted linear combination of previously learned controllers.

Results

The method was evaluated on three challenging simulated robotics benchmarks: Cart-Pole (CP) swing-up, Double Pendulum on a Cart (DPC) swing-up, and reaching tasks with a PUMA-560 robotic arm (a 12-dimensional system with 6 degrees of freedom).

Sample Efficiency and Computational Speed

In the Cart-Pole and Double Pendulum tasks, the proposed method reached optimal performance in significantly fewer trials than PILCO and PDDP. Furthermore, because the control updates are analytical, the method was much faster than PILCO, which relies on heavy non-linear optimization for policy improvement.

Performance ($\Psi_T$) and computational time comparison for Cart-pole (a) and Double pendulum (b) tasks.

Successful Generalization

On the PUMA-560 arm, the authors trained 8 independent controllers for different targets. They then successfully created "composite" controllers for new targets that performed nearly as well as if they had been trained specifically for those targets, all without a single new sample. This zero-shot generalization demonstrates the power of the linear desirability function.

PUMA-560 reaching trajectories (a) and performance comparison of independent vs. composite controllers (b).

Conclusion and Limitations

The proposed framework significantly improves the practicality of PI control for robotics by reducing sample complexity and enabling task composition. However, some limitations remain. The authors assume the control matrix is known, which may not hold in all real-world scenarios. Additionally, Gaussian Processes scale poorly with the number of data points, suggesting that sparse GP approximations may be necessary for longer tasks. Future work will focus on applying this framework to physical robotic hardware where noise and delays are more unpredictable.

Summary updated

BibTeX
@inproceedings{pan2015sample,
  author = {Yunpeng Pan and Evangelos A. Theodorou},
  title = {{Sample Efficient Path Integral Control under Uncertainty}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2015},
  url = {https://openreview.net/forum?id=SkZkh_bObS},
}
Figure