BRTDP
Also known as Bounded RTDP, Bounded Real-Time Dynamic Programming
search stochastic-search
BRTDP (bounded RTDP) keeps a lower bound L and an upper bound U on V*, the optimal expected cost of each state. L comes from an admissible heuristic and U from a finite upper heuristic, and L ≤ V* ≤ U holds at all times. Trials follow the action that is greedy on L and sample each successor by its probability times its gap U − L. The run stops when U − L ≤ ε at the start state, and the policy is greedy on U. It is anytime: you can stop it early and still know how far the policy can be from optimal.
Pseudocode
algorithm BRTDP(s₀, goal, h_L, h_U, ε, τ)input: initial state s₀, goal test goal, lower and upper heuristics h_L ≤ V* ≤ h_U, tolerance ε, trial constant τ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 reachedwhile U[s₀] − L[s₀] > ε doTRAIL ← ⟨⟩s ← s₀repeatappend(TRAIL, s)a ← back-up(s) ▷ backs up L and U, returns the L-greedy actionif a = nil thenbreakw[s′] ← P(s′ | s, a) · (U[s′] − L[s′]) for each successor s′if ∑ w < (U[s₀] − L[s₀]) / τ thenbreaks ← sample a successor s′ with weight w[s′]until goal(s)while TRAIL ≠ ⟨⟩ doback-up(pop(TRAIL))return L, U, πIn the crates
stochastic-searchBounded RTDP keeps a lower and an upper bound and samples where they are far apart; anytime, with a known gap.
Lineage
Papers
- Bounded real-time dynamic programming: RTDP with monotone upper bounds and performance guarantees H. Brendan McMahan, Maxim Likhachev, Geoffrey J. Gordon · 2005· International Conference on Machine Learning (ICML)