Bayesian Optimization for Sample-Efficient Policy Improvement in Robotic Manipulation

Adrian Röfer, Iman Nematollahi, Tim Welschehold, Wolfram Burgard, Abhinav ValadaarXiv 2024

TL;DR

The paper introduces BOpt-GMM, a hybrid framework that combines imitation learning with Bayesian Optimization to refine robotic manipulation skills using minimal data. By framing policy improvement as a black-box optimization problem over a Gaussian Mixture Model (GMM), the authors achieve high success rates in complex tasks—like opening doors and drawers—up to 40% faster than previous reinforcement learning methods, even with sparse "success or failure" rewards.

What Problem Does This Paper Address?

Teaching robots to perform complex manipulation tasks (e.g., hooking a handle to open a drawer) typically requires a massive amount of data. Standard Reinforcement Learning (RL) often needs thousands of trials, while Imitation Learning (IL) techniques like Behavior Cloning often require over 100 human demonstrations to reach high reliability.

In the real world, both robot interaction time and human demonstrations are expensive. The core challenge is sample efficiency: how can we take a "rough" policy learned from just a handful of demonstrations and perfect it using as few autonomous trials as possible, especially when the environment only provides a simple binary reward (did the robot succeed or fail)?

Methods

The authors propose a two-stage approach:

  1. Initial Learning: A skill is first encoded as a dynamical system using a Gaussian Mixture Model (GMM), trained on only 10 teleoperated demonstrations.
  2. Policy Improvement: The GMM parameters are then refined using Bayesian Optimization (BOpt).
Fig. 1: We propose a simple but effective interpretation of a reinforcement learning problem as black-box optimization of a policy. The policy, encoded as a GMM, is evaluated to measure its accuracy. From this new measurement, the optimizer can regress a new improved update.

The primary technical hurdle is that GMMs have many parameters, and BOpt typically struggles in high-dimensional spaces. To solve this, the authors developed low-dimensional update schemes that focus on the most impactful geometric properties of the GMM:

  • Norm-preserving weight updates: Ensures the relative importance of different components remains stable.
  • Covariance updates: Instead of optimizing every entry in the covariance matrix (which grows quadratically), they optimize the eigenvalues (scaling the axes of the motion "ellipsoid") or Euler rotations (rotating the ellipsoid). This keeps the search space linear relative to the number of state dimensions.

For the BOpt surrogate model, they use Random Forests instead of the traditional Gaussian Processes to better handle the relatively high-dimensional parameter space (up to 70 dimensions).

Datasets

The approach was evaluated on three distinct manipulation tasks, both in simulation and on a real Franka Emika Panda robot:

  • Hatch Sliding: Requires looping behind a handle and pushing.
  • Drawer Opening: Requires precise hooking and pulling.
  • Door Opening: The most difficult task, requiring the robot to press a handle down before pulling.
Simulated and real-world task environments used for evaluation.

The models were initialized with just 10 demonstrations per task. They compared BOpt-GMM against several baselines, including Behavior Cloning (BC) and their own previous work, SAC-GMM.

Key Insights and Ideas

  • Policy Improvement as Black-Box Optimization: Instead of trying to learn step-by-step actions (as in RL), the authors treat the entire policy success rate as a costly function to be optimized. This perspective shift allows them to use BOpt's strengths in sample efficiency.
  • Geometric Priors Matter: The "aha moment" here is that you don't need to change everything about a policy to improve it. By restricting updates to the scaling and rotation of the GMM's covariance ellipsoids, the optimizer can find meaningful improvements much faster than a general-purpose learner.
  • Handling Sparse Rewards: BOpt is naturally suited for sparse rewards. Because it builds a probabilistic model of the "success landscape," it can navigate toward better parameters even when most trials result in a zero reward.

Key Results

  • Superior Efficiency: In simulations, BOpt-GMM reached an 80% success rate 40% faster (roughly 87 episodes earlier) than the SAC-GMM baseline.
  • Real-World Success: The method was successfully deployed on a real robot, achieving high success rates in under 100 autonomous episodes.
  • Robustness: While Behavior Cloning failed to achieve any success with only 10 demonstrations, BOpt-GMM consistently reached 80-90% success across all tasks.
  • Update Strategy: The results showed that updating the covariance (shape of the motion) was significantly more effective than updating only the means (the path itself).
Comparison of success rates over time, showing BOpt-GMM's faster convergence compared to SAC-GMM.

Limitations and Future Work

  • Dimensionality Ceiling: Even with the proposed reductions, 70 parameters is near the upper limit for effective Bayesian Optimization. Scaling to even more complex, multi-stage tasks might require further dimensionality reduction (e.g., using auto-encoders).
  • Hybrid Potential: The authors noted that while BOpt-GMM is faster to reach a "good" policy, SAC-GMM sometimes achieves a slightly higher peak success rate in the very long run. A hybrid approach—using BOpt for rapid initial gains and RL for fine-tuning—is a promising future direction.
  • Early Stopping: The authors suggest that the uncertainty estimates from the BOpt surrogate could be used to automatically stop training once the potential for further improvement becomes negligible.

Summary updated

BibTeX
@misc{rofer2024bayesian,
  author = {Adrian Röfer and Iman Nematollahi and Tim Welschehold and Wolfram Burgard and Abhinav Valada},
  title = {{Bayesian Optimization for Sample-Efficient Policy Improvement in Robotic Manipulation}},
  year = {2024},
  eprint = {2403.14305},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.14305},
}
Figure