Bayesian Real-Time Dynamic Programming

Scott Sanner, Robby Goetschalckx, Kurt Driessens, Guy ShaniIJCAI 2009

Abstract

Real-time dynamic programming (RTDP) solves Markov decision processes (MDPs) when the initial state is restricted, by focusing dynamic programming on the envelope of states reachable from an initial state set. RTDP often provides performance guarantees without visiting the entire state space. Building on RTDP, recent work has sought to improve its efficiency through various optimizations, including maintaining upper and lower bounds to both govern trial termination and prioritize state exploration. In this work, we take a Bayesian perspective on these upper and lower bounds and use a value of perfect information (VPI) analysis to govern trial termination and exploration in a novel algorithm we call VPI-RTDP. VPI-RTDP leads to an improvement over state-of-the-art RTDP methods, empirically yielding up to a three-fold reduction in the amount of time and number of visited states required to achieve comparable policy performance.

Introduction

In automated planning, Markov Decision Processes (MDPs) provide a robust framework for modeling agents in stochastic environments. Real-Time Dynamic Programming (RTDP) is a standard approach for solving large MDPs by focusing computation on states reachable from a starting point. Modern variants like Bounded RTDP (BRTDP) and Focused RTDP (FRTDP) enhance this by maintaining upper and lower value bounds to guide exploration.

However, these methods often fall into a "precision trap": they expend significant computational effort refining state values even when the added precision does not change the optimal action. They prioritize reducing general uncertainty rather than focusing on uncertainty that impacts decision-making.

Methods: VPI-RTDP

VPI-RTDP addresses this inefficiency by shifting the focus from absolute uncertainty to the Value of Perfect Information (VPI). Instead of asking "how much do we not know?", the algorithm asks "how much would knowing this help us make a better choice?"

Bayesian Beliefs and VPI

The algorithm treats the true value of a state as a random variable, assuming a uniform distribution between the current lower ($V_l$) and upper ($V_h$) bounds. It then calculates the expected improvement in decision quality—the VPI—that would result from knowing the true value. If knowing the exact value of a state would not change the agent's choice of action, the VPI is zero.

Geometric interpretation of the VPI calculation, where shaded regions represent the expected improvement in decision quality from refining state values.

A key contribution of this work is the derivation of a closed-form, deterministic calculation for VPI. This allows the algorithm to maintain the efficiency of standard Bellman backups ($O(|S| \cdot |A|)$) while benefiting from a Bayesian exploration strategy.

Experimental Evaluation

The researchers evaluated VPI-RTDP using the Racetrack benchmark domain. Tests were conducted on complex topologies like "Large-Ring" and a series of "Block" tracks (Block-10 to Block-80). The Block tracks are particularly challenging as they contain many irrelevant states that lead away from the goal, serving as a test for an algorithm's ability to prune unhelpful exploration.

Results and Discussion

VPI-RTDP demonstrates significant performance gains over state-of-the-art methods. On the Block-80 benchmark, VPI-RTDP achieved a three-fold speedup in execution time compared to BRTDP.

Performance comparison on the Block-80 benchmark: VPI-RTDP (blue) reaches the optimal policy reward significantly faster than BRTDP, FRTDP, and RTDP.

Key Insights

  • Policy Stability vs. Convergence: VPI-RTDP recognizes that an optimal policy can be identified long before the value function fully converges.
  • Pruning Irrelevant States: Unlike BRTDP or FRTDP, which may get stuck exploring high-uncertainty dead-ends, VPI-RTDP ignores these states because their VPI is low—knowing their exact value won't change the decision to avoid them.
  • Scalability: The performance gap between VPI-RTDP and other methods widens as problem size increases, indicating superior scaling properties.

Conclusion

VPI-RTDP introduces a principled Bayesian approach to exploration in RTDP. By focusing on the value of information for decision-making rather than simple uncertainty reduction, it achieves substantial efficiency gains. Future work includes extending this framework to continuous state spaces and high-dimensional environments using function approximation.

Summary updated

BibTeX
@inproceedings{sanner2009bayesian,
  author = {Scott Sanner and Robby Goetschalckx and Kurt Driessens and Guy Shani},
  title = {{Bayesian Real-Time Dynamic Programming}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2009},
  url = {https://openreview.net/forum?id=B1Vcx4fObS},
}

Loading related content...

Figure