Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

VPI-RTDP

Also known as Value of Perfect Information RTDP

search stochastic-search

VPI-RTDP keeps a lower bound L and an upper bound U on V*, the optimal expected cost of each state. Trials follow the action that is greedy on L. While some successor has a large gap U − L, a trial samples by probability times gap, as BRTDP does. Then it samples by the value of perfect information (VPI): how much the choice at the current state could improve if a successor's value were known. The run stops when U − L ≤ ε at the start, and the policy is greedy on U; use it when the bounds are informative and only some successors can change the decision.

Pseudocode

algorithm VPI-RTDP(s₀, goal, h_L, h_U, ε, α, β, τ)input: initial state s₀, goal test goal, lower and upper heuristics h_L ≤ V* ≤ h_U, tolerance ε, constants α, β, τoutput: bounds L ≤ V* ≤ U and a policy π greedy on UL[s], U[s] ← h_L(s), h_U(s) for each state s when it is first reachedg₀ ← U[s₀] − L[s₀]while U[s₀] − L[s₀] > ε doTRAIL ← ⟨⟩s ← s₀repeatappend(TRAIL, s)a ← back-up(s)                             ▷ backs up L and U, returns the L-greedy actions ← next-state(s, a)until s = nilwhile TRAIL ≠ ⟨⟩ doback-up(pop(TRAIL))if U[s₀] − L[s₀] did not shrink thenbrtdp-trial()                              ▷ the crate's guard against a stallreturn L, U, πfunction next-state(s, a)if a = nil thenreturn nilw[s′] ← P(s′ | s, a) · (U[s′] − L[s′]) for each successor s′if max over s′ of U[s′] − L[s′] > β · g₀ thenreturn sample a successor with weight wv[s′] ← VPI(s, s′) for each successor s′      ▷ expected gain of the decision at s from knowing V[s′]if ∑ v > 0 thenreturn sample a successor with weight vif ∑ w ≥ (U[s₀] − L[s₀]) / τ or (random() < α and ∑ w > 0) thenreturn sample a successor with weight wreturn nil

In the crates

Lineage

Comes from

builds on BRTDP

Led to

Nothing on this site.

Papers

  1. Bayesian Real-Time Dynamic Programming Scott Sanner, Robby Goetschalckx, Kurt Driessens, Guy Shani · 2009· International Joint Conference on Artificial Intelligence (IJCAI) introduces