Belief MDPs & α-Vectors
Why POMDP values are piecewise-linear and convex, and how exact solvers use it.
Every finite-horizon POMDP value function is the upper surface of finitely many planes over the belief simplex, one for each conditional plan worth keeping. That fact, due to Smallwood and Sondik, is what makes exact POMDP planning possible at all, and its consequences mark the limits: the planes multiply doubly exponentially, pruning them takes linear programs, the infinite-horizon value is generally not of this form, and some infinite-horizon questions are undecidable. This lesson builds the theory from conditional plans, computes the tiger's planes exactly, and maps the complexity landscape.
What you’ll learn
- Define conditional plans and their α-vectors, and prove that the optimal -step value is the upper envelope of finitely many α-vectors.
- Derive the exact α-vector backup, count its output, and prune it with linear programs, including incremental pruning.
- Compute the tiger problem's two-step α-vectors and read off the plans they stand for.
- Describe infinite-horizon solutions as finite-state controllers, and state the complexity results: PSPACE-completeness, undecidability and nonapproximability.
Plans are vectors
A conditional plan of depth , or policy tree, is an action to take now together with, for each possible observation, a plan of depth to follow afterwards. It prescribes up to actions without ever mentioning beliefs. Its expected discounted reward depends only on the hidden start state, so it is a vector , its α-vector, and from a belief the plan is worth : linear in .
Let plan start with action and continue with plan after observing . Condition on the start state , the next state and the observation:
From belief the start state is distributed as , so the plan's value is the corresponding average of its vector:
Plans suffice. With decisions left and a given starting belief, every policy, however it uses the history or randomizes, is a mixture of deterministic policies, and a deterministic policy chooses each action as a function of the observations so far: it is a depth- plan. A mixture is never better than its best component, so the optimum is a maximum over plans:
Linear pieces. Each is linear in , and a maximum of finitely many linear functions is piecewise linear and convex. Finitely many, but enormously many: a plan picks one of actions at each of the nodes of its tree.
The plan view tells you what an optimal policy looks like, not only what its value is. The region of beliefs where a given plan is best is an intersection of half-spaces, hence convex, so the simplex splits into convex cells, one per useful plan, and the optimal first action is constant on each. The value function never has to be stored over a continuum: a finite list of vectors is the whole answer.
| α-vector (TL, TR) | Plan: first action; then after hear left / hear right | Best for in |
|---|---|---|
| open left; then listen | ||
| listen; then listen / open left | ||
| listen; then listen / listen | ||
| listen; then open right / listen | ||
| open right; then listen |
How many distinct depth-3 plans does the tiger problem have, with 3 actions and 2 observations?
Show the answer
B.
A depth-3 tree has nodes, each choosing one of 3 actions: plans. Exact value iteration never lists them all. It builds horizon 3 from the 5 surviving vectors of horizon 2, generating candidates, of which 9 survive.
The exact backup and pruning
Enumerating plans is hopeless, but the useful plans of horizon can be built from the useful ones of horizon . Write for the back-projection of a vector through action and observation , and .
Two classic algorithms organize this work. The witness algorithm builds each action's set by searching for beliefs at which the current set is provably incomplete, adding a vector for each witness found (Kaelbling, Littman & Cassandra, 1998). Incremental pruning (Zhang & Liu, 1996; Cassandra, Littman & Zhang, 1997) prunes the cross-sum one observation at a time:
It is exact because if is best at some belief , then is best at within : otherwise a better partial sum at would give a better full sum at . So pruning partial sums never discards a piece that a needed full sum uses, and the intermediate sets stay small.
| Horizon | Vectors generated by the plain backup | Vectors kept after pruning |
|---|---|---|
| 2 | 27 | 5 |
| 3 | 75 | 9 |
| 10 | 2,187 | 27 |
| 20 | 11,163 | 65 |
Infinite horizons, controllers and the limits of exactness
As with , converges uniformly to , which is therefore convex, but in general not piecewise linear: infinitely many plans can matter. Sondik (1978) identified finitely transient policies, whose values are piecewise linear after all, and represented them as finite graphs of plans.
The tiger problem is a clean example. Its optimal policy from Partial Observability & POMDPs is a finite-state controller with five nodes, one for each lead from to : the three inner nodes listen and move one step left or right with each report, and the two outer ones open a door and return to lead 0. Evaluating a controller is a linear system with one equation per (node, hidden state) pair:
where is the action of node and its successor after observation . Each node's values form an α-vector. For the tiger, the ten equations give at , the optimal value, and starting each belief at its best node gives the lower bound , exact at the beliefs the controller visits. Policy iteration can be run directly on controllers: evaluate them by this linear system, then improve them with an exact backup whose new vectors add, replace or prune nodes (Hansen, 1998).
Key takeaways
- A conditional plan's value is linear in the belief, , and the optimal -step value is the maximum over finitely many plans: piecewise linear and convex (Smallwood & Sondik, 1973).
- The exact backup builds from by back-projections, cross-sums over observations and a union over actions, candidates in all; LP pruning, witnesses and incremental pruning keep only vectors that are best somewhere.
- For the tiger problem, 5 of 27 vectors survive at horizon 2 (open, listen once, or listen twice), and the infinite-horizon optimum is a five-node controller whose node vectors give .
- Finite-horizon POMDP planning is PSPACE-complete, infinite-horizon policy existence is undecidable even with discounting (though -approximation by truncation is possible), and constant-factor approximation is intractable for several classes.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
What does an α-vector represent?
- The value of one belief
- The expected discounted reward of one conditional plan, for each possible hidden start state
- A probability distribution over the hidden states
- The gradient of at the current belief
Show the answer
B. The expected discounted reward of one conditional plan, for each possible hidden start state
is what plan earns in expectation if the hidden state starts at ; from a belief the plan is worth . The value function is the upper envelope of the vectors of the useful plans.
Why may incremental pruning prune partial cross-sums without losing any vector of the final set?
- Because cross-sums are commutative
- Because the partial sums are much smaller than the full one
- Because each observation's vectors are independent of the others
- Because a full sum that is best at some belief is made of partial sums that are best at the same belief, and those survive pruning
Show the answer
D. Because a full sum that is best at some belief is made of partial sums that are best at the same belief, and those survive pruning
If is best at but were beaten at by , then would beat at . So every needed full sum is built from needed partial sums, and pruning the partial sums is safe.
With , what can be said in general about the infinite-horizon optimal value of a POMDP?
- It is piecewise linear and convex, with at most pieces
- It need not be convex
- It is convex, as the uniform limit of the convex , but in general not piecewise linear
- It equals the value of planning as if the state were visible
Show the answer
C. It is convex, as the uniform limit of the convex , but in general not piecewise linear
Uniform limits of convex functions are convex, so is convex. Infinitely many plans can matter, so it need not be piecewise linear; finitely transient policies, such as the tiger's five-node controller, are the exceptions where it is.
Infinite-horizon policy existence is undecidable for discounted POMDPs, yet their values can be computed to any accuracy . How do these fit together?
- Truncating at a horizon with gives -accurate values; what is undecidable is whether the exact value reaches a given threshold
- The undecidability result applies only without discounting
- Values can be computed only for two-state POMDPs
- They do not fit together: one of the two claims is false
Show the answer
A. Truncating at a horizon with gives -accurate values; what is undecidable is whether the exact value reaches a given threshold
Approximating within and deciding an exact threshold are different questions. Finite-horizon truncation (itself PSPACE-hard) settles the first; the second can need infinite precision about what infinitely long plans achieve, and Madani, Hanks and Condon show it is undecidable.
Further reading
- R. D. Smallwood & E. J. Sondik, "The optimal control of partially observable Markov processes over a finite horizon," Operations Research 21(5), 1071–1088 (1973).
- E. J. Sondik, "The optimal control of partially observable Markov processes over the infinite horizon: discounted costs," Operations Research 26(2), 282–304 (1978).
- L. P. Kaelbling, M. L. Littman & A. R. Cassandra, "Planning and acting in partially observable stochastic domains," Artificial Intelligence 101(1–2), 99–134 (1998).
- A. R. Cassandra, M. L. Littman & N. L. Zhang, "Incremental pruning: a simple, fast, exact method for partially observable Markov decision processes," Proceedings of UAI (1997).
- O. Madani, S. Hanks & A. Condon, "On the undecidability of probabilistic planning and related stochastic optimization problems," Artificial Intelligence 147(1–2) (2003).