Path integral guided policy search

Yevgen Chebotar, Mrinal Kalakrishnan, Ali Yahya, Adrian Li, Stefan Schaal, Sergey Levine

TL;DR

This paper introduces Path Integral Guided Policy Search (PI-GPS), a reinforcement learning framework that enables robots to learn complex manipulation tasks—like opening doors and picking up objects—directly from visual input. By replacing traditional smooth-optimization techniques with a model-free "path integral" approach, the authors allow robots to master tasks involving discontinuous contact dynamics that previously stumped robotic learners.

What Problem Does This Paper Address?

Training deep neural networks to control robots in the real world is notoriously difficult. Standard Reinforcement Learning (RL) often requires millions of trials, which is impractical for physical hardware. Guided Policy Search (GPS) was developed to solve this by breaking the problem into two parts:

  1. Optimizing simple "local" policies for specific task instances (e.g., a door at a specific height).
  2. Using supervised learning to train a "global" neural network (the "student") to mimic these local "teachers" while generalizing across different scenarios.

However, previous versions of GPS relied on LQR (Linear-Quadratic Regulator) as the local optimizer. LQR assumes that the world is relatively smooth and differentiable. In the real world, manipulation is full of "discontinuities"—the moment a gripper touches a handle or a bottle hits a table, the physics change instantly. LQR often fails in these "contact-rich" scenarios because it can't compute a useful gradient through the impact.

Methods

The authors propose two major upgrades to the GPS framework:

  1. Model-Free Local Optimization ($PI^2$): They replace LQR with Path Integral Stochastic Optimal Control ($PI^2$). $PI^2$ is a model-free algorithm that doesn't require a differentiable model of the world. It samples multiple trajectories, weighs them based on their cost (using a "soft-max" approach), and updates the policy toward the lower-cost paths. This makes it much more robust to the "all-or-nothing" nature of hitting a door handle.
  2. On-Policy Global Sampling: In standard GPS, the robot trains on a fixed set of initial conditions. To improve generalization, the authors introduce a scheme where the robot samples new task instances (e.g., random door positions) in every iteration. They use the current global policy to perform these "rollouts," ensuring the robot learns to handle a wide variety of situations it might encounter in the wild.

The architecture uses a Convolutional Neural Network (CNN) that takes RGB images and outputs motor torques. They use a "spatial softmax" layer to convert visual features into 2D coordinates (feature points), which helps the network localize objects like handles or bottles.

Datasets

The researchers evaluated their method on a real-world 7-DoF robotic arm across two primary tasks:

  • Door Opening: The robot must localize a handle and pull the door open. The door's position and orientation were varied during testing.
  • Pick-and-Place: The robot must grasp a bottle and place it upright at a target location.
  • Simulation: A 2D point-mass system was used to compare PI-GPS against other RL algorithms like REPS (Relative Entropy Policy Search).

The vision system was pre-trained using a proxy dataset of ~1,800 images for door poses and ~2,700 images for bottle poses, labeled using a geometry-based pose estimator.

Key Insights and Ideas

  • Model-free is better for contacts: The "aha moment" is that while model-based methods (like LQR) are fast, they are too brittle for the messy physics of contact. $PI^2$ provides a "black-box" optimization that handles the "click" of a latch or the "slip" of a grasp effortlessly.
  • The Teacher-Student Synergy: By using $PI^2$ as a teacher, the global neural network can learn from "clean" optimized trajectories rather than trying to learn from noisy, high-variance raw RL samples.
  • Generalization requires Randomness: Training on a fixed set of positions leads to overfitting. By constantly forcing the robot to try new, random poses during training (Global Policy Sampling), the success rate on unseen poses nearly doubled.

Key Results

  • Superiority over LQR: In the door-opening task, the $PI^2$ variant achieved a 100% success rate within just a few iterations, whereas the LQR-based version failed to improve because it couldn't handle the non-linearities of the door contact.
  • Massive Generalization Gains: When trained with global policy sampling, the robot's success rate on 30 random door poses jumped from 43.3% to 93.3%.
  • Pick-and-Place Success: The robot achieved an 86.7% success rate in placing a bottle at a target location, even when the bottle's initial position and orientation were randomized.
  • Stability: In simulations, PI-GPS proved much more stable than direct policy gradient methods (like REPS), which tended to go unstable when training complex neural networks.

Limitations and Future Work

  • Demonstration Dependence: The method still requires a few human kinesthetic demonstrations (guiding the robot by hand) to provide the initial structure of the task.
  • The "Forgetting" Problem: When training on new random instances, the neural network can sometimes "forget" how to solve previous instances. The authors mitigated this with lower learning rates, but suggest experience replay (re-visiting old data) as a future solution.
  • Hybrid Approaches: The authors suggest that future work could combine LQR (for large, smooth movements) with $PI^2$ (for fine-tuning contact-rich interactions) to get the best of both worlds.

Summary updated

BibTeX
@inproceedings{chebotar2017path,
  author = {Yevgen Chebotar and Mrinal Kalakrishnan and Ali Yahya and Adrian Li and Stefan Schaal and Sergey Levine},
  title = {{Path integral guided policy search}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2017},
  url = {https://openreview.net/forum?id=vUSkXEONUe},
}
Figure