On-Robot Bayesian Reinforcement Learning for POMDPs

Hai Nguyen, Sammie Katt, Yuchen Xiao, Christopher Amato

Abstract

Reinforcement Learning (RL) in physical robotics is often constrained by the high sample complexity of model-free methods and the inherent uncertainty of partially observable environments. This paper presents a sample-efficient Bayesian Reinforcement Learning (BRL) framework designed for on-robot learning. By factoring the environment into known robot dynamics and unknown external behaviors, the proposed General Bayes-Adaptive POMDP (GBA-POMDP) enables robots to achieve near-optimal performance in real-world interaction tasks in fewer than ten episodes. Our approach demonstrates a 200x to 250x increase in sample efficiency compared to state-of-the-art deep RL baselines like DreamerV2.

1. Introduction

Mainstream Reinforcement Learning (RL) has achieved remarkable success in simulated environments, yet its application to physical robotics remains challenging. Standard deep RL algorithms typically require millions of interactions to converge, a requirement that is often impractical for hardware due to mechanical wear and tear. While simulation-to-reality (sim2real) transfer offers a potential workaround, the "sim2real gap" frequently leads to policy failure upon deployment.

Bayesian RL (BRL) offers a compelling alternative by treating uncertainty as a first-class citizen and incorporating prior expert knowledge. However, traditional BRL methods struggle to scale to the high-dimensional state spaces characteristic of robotics. This paper addresses these limitations by introducing a factored approach to Bayesian inference that leverages known physical dynamics to accelerate the learning of unknown environment variables.

2. The Challenge of Mixed Observability

A central challenge in robotics is "mixed observability." In most tasks, a robot has perfect or near-perfect knowledge of its internal state—such as joint positions or battery levels—but faces significant uncertainty regarding external factors, such as human intentions or environmental preferences.

Existing BRL methods often treat the entire system as a "black box," effectively forcing the agent to waste samples relearning basic physics that are already well-understood by engineers. To overcome this, we must distinguish between the known robot dynamics and the unknown environment dynamics that must be inferred through interaction.

3. Methodology

3.1 General Bayes-Adaptive POMDP (GBA-POMDP)

We propose the General Bayes-Adaptive POMDP (GBA-POMDP), which utilizes Factored Bayesian Inference. The core innovation lies in splitting the state space into internal (robot) and external (environment) components. We assume the robot's internal dynamics are known via high-fidelity simulation, while external dynamics are modeled using Bayes-Adaptive Deep Dropout RL (BADDr). BADDr utilizes dropout neural networks to represent a distribution over possible environment behaviors, providing a robust mechanism for uncertainty quantification.

3.2 Factored Priors and Posteriors

We mathematically demonstrate that if the prior knowledge is factored, the posterior update can be computed in separate, simplified steps. By using a Kronecker-delta distribution for known physics and neural networks only for the unknown components, the model focuses its learning capacity where it is most needed, preventing the "curse of dimensionality" from hindering inference.

3.3 Online Planning and Belief Tracking

To enable real-time decision-making, we combine two key components:

  • Particle Filtering: Used for belief tracking, employing rejection sampling to maintain a distribution over possible environment models.
  • Partially Observable Monte Carlo Planning (POMCP): An online search algorithm that performs look-aheads into the future to select the optimal action based on the current belief state.

4. Experimental Evaluation

4.1 Task Domains

The framework was evaluated on two human-robot interaction (HRI) domains using Fetch and Turtlebot platforms:

  1. Ordered-Tools-Delivery (OTD): The robot must deliver three tools to a human in a specific, unknown sequence, learning the correct order through trial and error.
  2. Speedy-Tools-Delivery (STD): The robot delivers tools to two workers with different, unknown working speeds. The robot must learn to prioritize the faster worker to maximize overall efficiency.

4.2 Baselines

We compared our method against several state-of-the-art RL algorithms, including Deep Recurrent Q-Network (DRQN), Recurrent Proximal Policy Optimization (R-PPO), Differentiable Particle Filter Reinforcement Learning (DPFRL), and DreamerV2.

5. Results and Discussion

5.1 Sample Efficiency

The proposed method demonstrated extraordinary sample efficiency. In the OTD task, the robot reached near-optimal performance in just 3 episodes. In the more complex STD task, it required approximately 10 episodes. In simulation, our approach outperformed DreamerV2 by a factor of 200x to 250x; while DreamerV2 required roughly 1,000 episodes to reach peak performance, our Bayesian agent achieved comparable results in 5.

5.2 Real-World Deployment

The system was successfully deployed on physical hardware in a laboratory setting. The results confirmed that the inference and planning processes are efficient enough to run "on-robot" during live interactions, proving the practical viability of the GBA-POMDP framework.

5.3 Limitations

Despite its efficiency, the framework faces computational challenges. The POMCP search process currently takes approximately 2.5 seconds per action. While suitable for high-level task planning, this latency is too high for low-level reactive control. Future work may involve policy distillation, using the Bayesian planner as a "teacher" to train a faster neural network policy offline.

6. Conclusion

By factoring world dynamics and focusing learning on environmental uncertainty, we have developed a BRL framework that makes on-robot learning feasible within a handful of episodes. This approach bridges the gap between the theoretical benefits of Bayesian inference and the practical demands of high-dimensional robotic tasks, offering a path toward more adaptive and efficient autonomous systems.

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