On-Robot Bayesian Reinforcement Learning for POMDPs

Hai Nguyen, Sammie Katt, Yuchen Xiao, Christopher Amato · DOI

TL;DR

This paper introduces a novel Bayesian Reinforcement Learning (BRL) framework for robots operating in partially observable environments. By leveraging factored representations of expert knowledge and uncertainty, the method achieves near-optimal performance on complex human-robot interaction tasks with minimal real-world data, outperforming existing BRL and RL approaches.

What Problem Does This Paper Address?

Learning in robotics, especially in real-world scenarios, is notoriously data-hungry. Traditional reinforcement learning (RL) methods require vast amounts of experience, which can be costly, time-consuming, and potentially damaging to physical robot systems. While simulators offer a way to gather data more efficiently, the "sim-to-real" gap often limits the transferability of learned policies. Furthermore, existing RL methods struggle to effectively incorporate prior expert knowledge, which is often available in robotics problems. This paper tackles the challenge of sample-efficient on-robot learning in partially observable environments (POMDPs) by developing a Bayesian approach that can effectively utilize expert knowledge and handle uncertainty.

Methods

The core contribution is a specialized Bayesian framework for physical systems. Key aspects include:

  • Factored Representation of Expert Knowledge: Instead of treating all unknown dynamics as a single black box, the authors propose to factorize the problem. For instance, in human-robot interaction, the robot's own dynamics (e.g., navigation) can be assumed known (modeled by a simulator), while the human's behavior is treated as uncertain. This factorization is represented using a combination of Kronecker-delta distributions for known components and neural networks for unknown dynamics.
  • Bayes-Adaptive POMDP (BA-POMDP) Specialization: The framework formalizes this factored knowledge within a BA-POMDP, which augments the state space to include parameters representing the unknown dynamics. This allows for principled Bayesian inference over these parameters.
  • Sample-Based Online Solution: To solve the resulting complex BA-POMDP, the authors propose a specialized online method combining:
  • Particle Filtering for Belief Tracking: An adapted rejection sampling method is used to maintain a belief distribution over the robot's state and the unknown dynamics parameters.
  • Monte-Carlo Tree Search (MCTS) for Planning: A modified POMCP (Partially Observable Monte Carlo Planning) algorithm is employed to build a look-ahead tree and select actions efficiently.

Datasets

The paper does not introduce new datasets. Instead, it uses:

  • Simulators: A Gazebo simulator is used to generate data for training the prior networks and for evaluating the method against baselines.
  • Real-World Experiments: Two human-robot interaction tasks, Ordered-Tools-Delivery (OTD) and Speedy-Tools-Delivery (STD), are implemented on a physical robot setup for evaluation. These tasks involve learning tool order and human working speeds.

Key Insights and Ideas

  • Factoring is Key for Practical BRL: The paper demonstrates that breaking down the unknown dynamics into known and unknown components, and then factoring the Bayesian inference accordingly, is crucial for making BRL tractable and effective in robotics.
  • Expert Knowledge as Priors: The framework elegantly incorporates expert knowledge not just as initial guesses, but as structured priors (e.g., known physics simulators) that are updated during learning.
  • Bridging the Gap Between Sim and Real: By learning directly on the robot while leveraging simulators for prior training, the method aims to overcome the limitations of pure sim-to-real transfer.
  • Handling Human Uncertainty: The approach is particularly well-suited for scenarios with unpredictable human behavior, a common challenge in human-robot collaboration.

Key Results

  • Near-Optimal Performance with Few Episodes: In real-world experiments on OTD and STD, the proposed method achieved near-optimal performance within a handful of episodes (around 3-10 episodes), significantly outperforming pure RL baselines.
  • Superior Sample Efficiency: In simulation, the method demonstrated substantially higher sample efficiency compared to various non-Bayesian RL baselines (DRQN, R-PPO, DPFRL, DreamerV2), reaching target performance levels orders of magnitude faster.
  • Outperforms BADDr: The proposed factored approach also outperformed BADDr (a prior BRL method) in simulation, especially when considering the initial training of prior networks.
  • Robustness to Imperfect Observations: Ablation studies showed that the method remains sample-efficient even when observation models are not perfectly known.

Limitations and Future Work

  • Inference Speed: The authors acknowledge that the current inference speed can be a bottleneck, as the agent needs time to search for the next action.
  • Future Work: They suggest overcoming this by using an RL agent to mimic their Bayesian agent's actions, as explored in prior work. This could enable faster deployment of learned policies.

Summary updated

BibTeX
@inproceedings{nguyen2023robot,
  author = {Hai Nguyen and Sammie Katt and Yuchen Xiao and Christopher Amato},
  title = {{On-Robot Bayesian Reinforcement Learning for POMDPs}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2023},
  doi = {10.1109/iros55552.2023.10342114},
}
Figure