Approximate POMDP Planning
Point-based value iteration and Monte Carlo planning in belief space.
Exact α-vector methods drown in their own success: they keep every plan that is best anywhere in the belief simplex. Approximate solvers give that up. They bound the value from above and below with quantities that are cheap to compute, back up only the beliefs that matter, search between the bounds, or plan online from the current belief with nothing but a simulator. This lesson builds each idea, shows on the tiger problem how far apart the cheap bounds are (from −20 to 189 around a true value of 19.37), and states exactly what each solver guarantees.
What you’ll learn
- Derive the QMDP and fast-informed upper bounds and blind-policy lower bounds, prove that QMDP bounds from above, and show why it does not pay for information.
- Explain point-based value iteration and its error bound in terms of the density of the belief set, and why reachable beliefs matter.
- Describe how HSVI and SARSOP search between an upper and a lower bound, and what their termination certifies.
- Explain online planning with POMCP and DESPOT, and what their guarantees depend on.
Cheap bounds on the optimal value
Two kinds of bounds come almost for free. A lower bound comes from any fixed plan or policy, because its value is achievable: for its α-vector. The simplest are blind policies, which repeat one action whatever they observe. An upper bound comes from pretending that the agent has information it does not have.
Back up a linear function. For any vector , the exact belief backup of the linear function is the QMDP form built from , because the observation branches recombine: .
Full information is an upper bound. By the inequality and the monotonicity of , if then . Start from the constant , which bounds , and apply this to again and again: for every , and , so . One more exact backup of that bound is exactly , and backing up an upper bound keeps it an upper bound, since and is monotone:
| Bound | Value at | Policy it suggests |
|---|---|---|
| Blind: always listen (lower) | Never open | |
| Exact optimum | 19.37 | Open after a lead of two reports |
| Fast informed bound (upper) | 87.18 | Open once : a lead of two |
| QMDP (upper) | 189 | Open once : a lead of two |
| Fully observable MDP (upper) | 200 | Open the empty door every step |
Why is an upper bound on rather than a lower bound?
- It scores actions as if the state were known from the next step on, and extra information can only help
- Because it maximizes over actions
- Because the belief it uses is only approximate
- It is a lower bound: the QMDP policy achieves it
Show the answer
A. It scores actions as if the state were known from the next step on, and extra information can only help
Its scores are what an agent could earn if the hidden state were revealed after one step. A real agent has less information, so it can earn at most that. The policy that acts on these scores can earn far less: in the tiger problem with a wait action, where .
Back up only the beliefs that matter
Exact methods keep every vector that is best somewhere in the simplex. Point-based value iteration (PBVI; Pineau, Gordon & Thrun, 2003) settles for less: it fixes a finite set of beliefs and builds one vector per belief, the one that maximizes the value there. No cross-sum is ever formed, because a single belief needs, for each action–observation pair, only the back-projection that scores highest at it:
At a belief outside , the point-based backup offers the vector chosen at the nearest , where the exact backup would use some . Since is best at , , and Hölder's inequality bounds the loss at ; vectors are values of plans, so their entries differ by at most :
Each backup adds at most this much and discounts the errors already present by , so the errors add up to a geometric series:
Covering the belief simplex of a POMDP with states to distance takes on the order of points. For and , that is about 10 to what power?
Show the answer
9
points, each needing a backup, for a problem with only ten states. The beliefs actually reachable from are usually a tiny part of the simplex, which is why point-based solvers find their points by simulating forward.
The bound says where the points must go. Covering the whole simplex is the curse of dimensionality in belief space, but the beliefs reachable from often lie near a low-dimensional set. Hsu, Lee and Rong (2007) tied the cost of approximate planning to the covering number of the reachable belief space: a problem with many states can still be easy when its reachable beliefs are few and clustered. PBVI therefore grows by simulating forward from its points; in the journal version of the method, the most effective rule adds the successor belief that most reduces the error bound.
Perseus (Spaan & Vlassis, 2005) makes each round cheap. It samples a large set of reachable beliefs once, then backs up randomly chosen points only until every point in the set has improved, exploiting the fact that one new vector usually improves many points at once.
Searching between the bounds: HSVI and SARSOP
Heuristic search value iteration (HSVI; Smith & Simmons, 2004) keeps both bounds and tightens them where it matters for the start belief . The lower bound is a set of α-vectors, values of real plans. The upper bound is a set of belief–value pairs with an interpolation rule; because is convex, any convex combination of upper-bound points is again an upper bound. HSVI evaluates at a new belief by projecting onto the convex hull of the points with a linear program; its successor HSVI2 replaced this by a faster "sawtooth" interpolation that also respects convexity.
Each trial walks down from . It takes the action with the highest upper bound (optimism, as in UCB), then the observation whose next belief has the largest probability-weighted excess gap, the gap minus what the target accuracy allows at that depth. It stops at depth once the gap there is below , and then backs up both bounds along the path in reverse.
For the tiger, start from the QMDP upper bound and the blind "always listen" lower bound. The largest gap is at the corners of the simplex, , so with no trial goes deeper than steps.
HSVI2 (Smith & Simmons, 2005) computes tighter initial bounds, avoids linear programs and exploits sparsity, with reported speedups of more than two orders of magnitude, and its analysis bounds the work through discounted reachability. SARSOP (Kurniawati, Hsu & Lee, 2008) pushes in the same direction: it tries to sample only the optimally reachable beliefs, those reached under optimal policies, a set that can be far smaller than all reachable beliefs, and uses the bounds to guess which branches an optimal policy would take and to prune points and vectors that cannot matter.
Online planning in belief space: POMCP and DESPOT
Offline solvers prepare for every belief they might meet. Online planners plan only for the current belief, act, observe, update, and plan again: the partially observable version of Planning in Huge MDPs: Sparse Sampling.
POMCP (Silver & Veness, 2010) runs UCT over a tree of histories. Each simulation draws a start state from the current belief, simulates with a black-box generative model, chooses actions inside the tree by an upper confidence bound, and finishes with a rollout policy. The belief itself is a set of particles, states sampled during the search and stored at the history nodes they reach, so the planner never needs or in closed form, only the ability to sample them. Silver and Veness show that the search's values converge to the optimal ones as simulations grow, inheriting UCT's analysis; in practice, too few particles can leave a belief with no particle consistent with a new observation, which implementations repair by injecting fresh particles.
DESPOT (Somani, Ye, Hsu & Lee, 2013; Ye, Somani, Hsu & Lee, 2017) fixes scenarios in advance, each a start state drawn from the belief plus a stream of random numbers that determines every later transition and observation. Under fixed scenarios the belief tree becomes a sparse tree with about nodes for depth , instead of a tree that also branches ways at every level, and every policy in it can be evaluated by averaging over the scenarios. A large policy can overfit scenarios, so DESPOT maximizes the estimated value minus a penalty on policy size, and its guarantee is a regret bound for the best policy in the tree that depends on the size of the optimal policy's representation, not on the numbers of states or observations.
| Method | What it keeps | Guarantee |
|---|---|---|
| QMDP, fast informed bound | One vector per action | Upper bounds on ; no guarantee for their policies |
| PBVI, Perseus | α-vectors at sampled beliefs | Lower bounds; PBVI's error |
| HSVI, SARSOP | Lower α-vectors and upper belief–value points | On termination, a policy within of optimal from |
| POMCP | A tree of histories with particle beliefs | Converges as simulations grow; needs only a simulator |
| DESPOT | A sparse tree over sampled scenarios | Near-optimal with high probability; regret depends on the optimal policy's size |
Why does DESPOT penalize the size of the policies it considers?
- Because a large policy can fit the sampled scenarios rather than the belief, so its estimated value is optimistic
- To save memory
- Because smaller policies are always better
- To make the scenarios deterministic
Show the answer
A. Because a large policy can fit the sampled scenarios rather than the belief, so its estimated value is optimistic
With only scenarios, a policy with many branches can be tuned to the particular random numbers drawn, like a model with many parameters fitted to a small dataset. Penalizing size trades estimated value for generalization, and the regret bound grows with the size of the optimal policy, not with the number of states or observations.
Key takeaways
- Cheap bounds bracket : blind policies from below; the fast informed bound, QMDP and the fully observable MDP from above, in that order of looseness. For the tiger at : .
- QMDP assumes that the state is revealed after one step, so it does not value information: with an uninformative wait slightly cheaper than listen, it waits forever.
- Point-based methods back up single vectors at sampled beliefs; PBVI's error is at most , so the points should cover the reachable, or better the optimally reachable, beliefs.
- HSVI and SARSOP search between an upper and a lower bound and certify an -optimal policy from ; POMCP and DESPOT plan online from samples, with guarantees that depend on simulations or on the optimal policy's size, not on the number of states.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
Which ordering holds at every belief?
Show the answer
B.
Both are upper bounds. The fast informed bound assumes less extra information than QMDP (it accounts for observations of the next state), so it is the tighter one: 87.18 against 189 for the tiger at , where .
The tiger problem gets a wait action that costs 0.5 and reveals nothing. What does the QMDP policy do at ?
- It listens, as the optimal policy does
- It opens a door at once
- It waits, and since waiting never changes the belief, it waits forever, earning
- It alternates between waiting and listening
Show the answer
C. It waits, and since waiting never changes the belief, it waits forever, earning
QMDP scores wait at and listen at 189, as if the tiger's position would be revealed either way. The belief stays at 0.5, so the same choice repeats forever: , against the optimal 19.37.
What drives PBVI's error bound to zero?
- More α-vectors per belief point
- More observations
- A longer horizon
- Belief points that cover the relevant beliefs more densely, so that shrinks
Show the answer
D. Belief points that cover the relevant beliefs more densely, so that shrinks
The bound is : only the density of in the beliefs that matter can make it small. Restricting attention to reachable beliefs is what makes a small affordable.
HSVI stops when . What does that certify?
- That the policy executing the lower bound's plans loses at most from
- That the upper bound is within of at every belief
- That every reachable belief has been backed up
- Nothing, unless the trials reached the maximum depth
Show the answer
A. That the policy executing the lower bound's plans loses at most from
The lower bound is achieved by real plans, so that policy earns at least , and no policy earns more than . A gap of at most at therefore bounds the policy's loss from ; elsewhere the bounds may still be loose.
Further reading
- J. Pineau, G. Gordon & S. Thrun, "Point-based value iteration: an anytime algorithm for POMDPs," Proceedings of IJCAI (2003).
- T. Smith & R. Simmons, "Heuristic search value iteration for POMDPs," Proceedings of UAI (2004).
- H. Kurniawati, D. Hsu & W. S. Lee, "SARSOP: efficient point-based POMDP planning by approximating optimally reachable belief spaces," Robotics: Science and Systems (2008).
- D. Silver & J. Veness, "Monte-Carlo planning in large POMDPs," Advances in Neural Information Processing Systems 23 (2010).
- N. Ye, A. Somani, D. Hsu & W. S. Lee, "DESPOT: online POMDP planning with regularization," Journal of Artificial Intelligence Research 58, 231–266 (2017).