Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

DESPOT

Also known as AR-DESPOT, Anytime Regularized DESPOT, Determinized Sparse Partially Observable Tree

sampling stochastic-search

DESPOT chooses the next action when the planner cannot see the true state, and it maximizes discounted reward. It samples K scenarios. Each is a start state from the particle belief and fixed random numbers for every step, so the tree holds only the observations that these scenarios produce. The search keeps an upper and a lower bound per node and explores where the gap is largest, while a cost λ per node (regularization) prefers small policies that do not overfit the scenarios. The crate follows the anytime algorithm of Ye et al. (2017) and recommends the action with the best lower bound; use it for large problems when POMCP's lack of bounds is a concern.

Pseudocode

algorithm DESPOT(B, K, D, γ, λ, ξ, ε₀)input: particle belief B, scenario count K, depth limit D, discount γ, regularization λ, ξ, target gap ε₀output: the root action with the best regularized lower boundΦ ← K scenarios, each a start state from B and a random stream per depthb₀ ← root node with all of Φinitial-bounds(b₀)                             ▷ U from the upper bound, L₀ from the default policywhile μ(b₀) − ℓ(b₀) > ε₀ dob ← explore(b₀)for each node b′ from b up to b₀ doback-up(b′)if l₀(b₀) beats every ℓ(b₀, a) thenreturn the default policy's actionreturn argmax over a of ℓ(b₀, a)function explore(b)while depth(b) ≤ D doif fixed(b) or excess-uncertainty(b) ≤ 0 or prune(b) thenreturn bif b is unexpanded thenexpand(b)                                  ▷ steps every scenario of b under every actiona ← argmax over a of μ(b, a)if b has no child under a thenreturn bb ← the child of b under a with the largest excess-uncertaintymake-default(b)                                ▷ U ← L₀ and μ, ℓ ← l₀, then fixedreturn bfunction excess-uncertainty(b)return μ(b) − ℓ(b) − |Φ_b| / K · ξ · (μ(b₀) − ℓ(b₀))procedure back-up(b)ρ(b, a) ← γ^depth(b) · (∑ of the rewards of Φ_b under a) / K − λ, for each aμ(b) ← max(l₀(b), max over a of ρ(b, a) + ∑ over children c of μ(c))ℓ(b) ← max(l₀(b), max over a of ρ(b, a) + ∑ over children c of ℓ(c))U(b) ← max(L₀(b), max over a of avg reward + γ · ∑ over c of |Φ_c| / |Φ_b| · U(c))

In the crates

Papers

  1. DESPOT: Online POMDP Planning with Regularization Adhiraj Somani, Nan Ye, David Hsu, Wee Sun Lee · 2013· Advances in Neural Information Processing Systems (NeurIPS) introduces
  2. DESPOT: Online POMDP Planning with Regularization Nan Ye, Adhiraj Somani, David Hsu, Wee Sun Lee · 2017· Journal of Artificial Intelligence Research extends doi 10.1613/jair.5328