Simultaneous active parameter estimation and control using sampling-based Bayesian reinforcement learning

Patrick Slade, Preston Culbertson, Zachary N. Sunberg, Mykel J. Kochenderfer

Abstract

Robots performing manipulation tasks must operate under uncertainty about both their pose and the dynamics of the system. In order to remain robust to modeling error and shifts in payload dynamics, agents must simultaneously perform estimation and control tasks. However, the optimal estimation actions are often not the optimal actions for accomplishing the control tasks, and thus agents trade between exploration and exploitation. This work frames the problem as a Bayes-adaptive Markov decision process (BAMDP) and solves it online using Monte Carlo tree search (MCTS) and an extended Kalman filter (EKF) to handle Gaussian process noise and parameter uncertainty in a continuous space. MCTS selects control actions to reduce model uncertainty and reach the goal state nearly optimally. Certainty equivalent model predictive control (MPC) is used as a benchmark to compare performance in simulations with varying process noise and parameter uncertainty.

Introduction

In robotics, "knowing yourself" is half the battle. Whether a warehouse robot is picking up a box of unknown weight or a self-driving car is navigating a slippery road, accurate dynamics models are essential for safety and efficiency. However, a fundamental conflict exists: the actions required to learn about the system (exploration) are often different from the actions required to complete the task (exploitation). This is known as the dual control problem.

Most traditional controllers, such as Model Predictive Control (MPC), rely on "certainty equivalence"—they assume their current best guess about the system is perfect and plan accordingly. This often leads to failure when initial guesses are wrong or the environment is highly stochastic. This paper proposes a framework that treats parameter uncertainty as part of the robot's state, allowing the agent to "plan to learn."

Methodology

The authors frame the problem as a Bayes-Adaptive Markov Decision Process (BAMDP), where the state is augmented with unknown physical parameters (like mass or friction). This turns a reinforcement learning problem into a planning problem over "beliefs."

  1. Belief Tracking: Since parameters cannot be observed directly, an Extended Kalman Filter (EKF) is used to maintain a Gaussian belief (mean and covariance) of the state and unknown parameters based on noisy sensor data.
  2. Online Planning: Solving a BAMDP in continuous space is computationally challenging. The authors utilize Monte Carlo Tree Search (MCTS) with Double Progressive Widening (DPW). DPW limits the search tree's growth to focus on the most promising paths, making the continuous action and state space searchable in real-time.
  3. Active Exploration: Unlike MPC, which is "greedy" regarding its current model, the MCTS approach naturally chooses actions that reduce uncertainty if those actions lead to higher long-term rewards.

Key Results

The approach was evaluated using two simulated benchmarks: a 1D double integrator and a 5-parameter planar manipulation model involving a robot pushing a box.

Robustness to Uncertainty and Noise

A primary finding is the superior robustness of MCTS compared to MPC. In the 1D model, as initial parameter uncertainty increased, the reward for MCTS remained nearly flat, while the MPC benchmark's performance plummeted.

Comparison of MCTS and MPC performance under increasing initial parameter uncertainty.

Similarly, MCTS demonstrated significantly higher resilience to process noise. While MPC’s performance drops sharply as noise increases, MCTS maintains a higher reward by accounting for the distribution of possible outcomes rather than just the mean estimate.

Total reward as a function of process noise for MCTS and MPC.

Insights on Reward Functions

The choice of reward function proved critical. With a quadratic (L2) reward, the performance gap between MCTS and MPC is smaller because L2 heavily penalizes large errors but is less sensitive to small ones. However, with a linear (L1) reward, MCTS significantly outperforms MPC because it is more aggressive about reaching the exact goal state through active learning.

Conclusion and Future Work

The MCTS-EKF framework achieved real-time feasibility, with a runtime of approximately 0.156 seconds per step on standard hardware. While effective, the current approach relies on the Gaussian assumption of the EKF. Future work could involve using Particle Filters to handle non-Gaussian (multimodal) beliefs or exploring more complex, non-convex reward functions. This research marks a significant step toward robots that can autonomously and efficiently learn their own dynamics while performing complex tasks.

Summary updated

BibTeX
@inproceedings{slade2017simultaneous,
  author = {Patrick Slade and Preston Culbertson and Zachary N. Sunberg and Mykel J. Kochenderfer},
  title = {{Simultaneous active parameter estimation and control using sampling-based Bayesian reinforcement learning}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=Z9s7Xoq1Q09},
}
Figure