Planning and acting in partially observable stochastic domains
Reference: Kaelbling, L.P., Littman, M.L. & Cassandra, A.R. (1998). Planning and acting in partially observable stochastic domains. Artificial Intelligence 101(1–2), pp. 99–134. Elsevier. DOI: 10.1016/S0004-3702(98)00023-X. (Brown University; Duke University; Microelectronics and Computer Technology Corporation.) URL.
Summary
The paper opens with a robot navigating an office building whose actions are unreliable (it overshoots turns, fails to move) and whose observations are ambiguous (a corridor looks like a corner, a T-junction like an L-junction). Kaelbling, Littman and Cassandra state two intentions: to recapitulate work from the operations-research literature and connect it to closely related work in AI, and to describe a novel algorithm for solving POMDPs exactly. They begin from the Markov Decision Process, the tuple ⟨S, A, T, R⟩ in which the agent has “complete and perfect perceptual abilities” — great uncertainty about the effects of actions, none about the current state — and review value iteration and the Bellman Equation for it. A POMDP relaxes exactly the perceptual assumption: the tuple becomes ⟨S, A, T, R, Ω, O⟩, adding a finite observation set and an observation function O : S × A → Π(Ω), so the agent “makes an observation based on the action and resulting state” rather than seeing the state itself. Mapping the most recent observation directly to an action is dismissed — in the hallway example “this amounts to performing the same action in every location that looks the same”; randomised observation-action mappings do somewhat better, but acting effectively requires memory of previous actions and observations.
The framework’s central move is to decompose the agent into a state estimator SE and a policy π defined over the estimator’s output. The output is a belief state b, a probability distribution over S, updated by Bayes’ rule: b'(s') = O(s', a, o) Σ_s T(s, a, s') b(s) / Pr(o | a, b). The most probable state will not do; an agent must take account of its own degree of uncertainty in order to know when to seek out a landmark or read a sign. Belief states “comprise a sufficient statistic for the past history and initial belief state of the agent”: given a correctly computed belief state, no further data about past actions or observations would say anything more about the current world state, or increase expected reward. Hence the process over belief states is Markov, and the policy problem becomes a continuous-space belief MDP ⟨B, A, τ, ρ⟩ with ρ(b, a) = Σ_s b(s) R(s, a). The apparent oddity of rewarding an agent for believing it is in good states is answered directly: because SE is built from a correct model, b represents the true occupation probabilities, so ρ is the true expected reward. A crucial consequence of the formulation is that no distinction is drawn between actions that change the world and actions that gain information: “in general, every action has both types of effect,” and optimal behaviour becomes something akin to a value-of-information calculation, only more complex.
Solving that continuous MDP exploits its geometry. A t-step nonstationary policy is a policy tree; its value in belief state b is V_p(b) = b · α_p, linear in b, where α_p collects the tree’s values at each world state. The optimal t-step value function is the upper surface of these hyperplanes, V_t(b) = max_{p∈P} b · α_p, and is therefore piecewise-linear and convex — convexity making intuitive sense, since high-entropy belief states in the middle of the simplex leave the agent unable to select actions appropriately. Only a minimal parsimonious subset of vectors is needed, and projecting the value function back down partitions belief space into polyhedral regions with one dominant policy tree each. The simplest exact algorithm, exhaustive enumeration (Monahan; Smallwood and Sondik), generates a superset of |A||V_{t-1}|^{|Ω|} policy trees before pruning by linear programming — always exponential in |Ω|, however small V_t turns out to be. The paper’s contribution, the Witness algorithm, instead computes a separate Q-function Q_t^a for each action, then unions and prunes. Its inner loop repeatedly asks whether some belief state — a witness — exists at which the true Q_t^a(b) differs from the current approximation; the witness theorem (Theorem A.1, proved in Appendix A) establishes that such a point exists if and only if some policy tree in the current set can be improved by replacing a single subtree, which reduces the search to a linear program. Witness runs in time polynomial in |S|, |A|, |Ω|, |V_{t-1}| and Σ_a |Q_t^a|. The authors are careful about what this does and does not buy: the Q_t^a may be exponentially larger than V_t, “though this seems to be rarely the case in practice,” and an algorithm polynomial in |V_t| itself is not sought, because its existence “would settle the long-standing complexity-theoretic question ‘Does NP = RP?’ in the affirmative.” Cheng’s linear support algorithm can be viewed as a variant of Witness seeking witnesses at region corners, and families of POMDPs exist that Cheng’s algorithm solves in polynomial time but Witness takes exponential time to solve.
The paper then illustrates policy structure on the tiger problem (listen at cost −1 with accuracy 0.85, open the correct door for +10, the wrong one for −100). The optimal 2- and 3-step policies never open a door at all, only listen, since opening resets belief to (0.5, 0.5). Under discounting the situation-action mappings converge; for the tiger problem the graph structure first appears at t = 56 and remains constant through t = 105, whereupon algorithmic precision can no longer distinguish successive vectors. Where the infinite-horizon value function is finitely transient the resulting stationary policy can be redrawn as a plan graph — “essentially a finite-state controller,” using the minimal memory needed to act optimally, and extractable automatically from two successive equal value functions, with no explicit belief state maintained on line. In general, however, the infinite-horizon discounted value function remains convex but “may have infinitely many facets,” and can only be approximated. The concluding sections are frank about the limits. The methods require states to be enumerated rather than represented compositionally (via Bayes nets or probabilistic operators). Experimental results are cited to the effect that “even the witness algorithm becomes impractical for problems of modest size (|S| > 15 and |Ω| > 15),” and the authors point to their own then-current work on function approximation and simulation focused on frequently visited parts of belief space, which yielded a very good solution to an 89-state, 16-observation hallway navigation problem. Acquiring the world model is explicitly not addressed. A closing observation: there exist infinite-horizon POMDPs for which no finite-state plan suffices — simple 2-state examples require counting — so that “in the limit, a plan is actually a program.”
Key Ideas
- POMDP = MDP + observation function:
⟨S, A, T, R, Ω, O⟩, whereO : S × A → Π(Ω)gives, for each action and resulting state, a distribution over observations. The agent’s goal remains maximising expected discounted future reward. - Agent decomposes into SE + π: a state estimator maintaining a belief state, and a policy mapping belief states — not world states — to actions.
- Belief state as sufficient statistic: a distribution over
S, updated by Bayes’ rule from the previous belief, the last action and the current observation. Given it, no further data about the past improves expected reward; the process over belief states is Markov. - Most-probable-state is not enough: to act well an agent must represent its own uncertainty, since that is what licenses information-gathering actions.
- No privileged information-gathering actions: the POMDP framework draws no distinction between acting to change the world and acting to gain information; every action generally does both, and their informational properties are carried entirely by
O. - The belief MDP: a continuous-state MDP
⟨B, A, τ, ρ⟩withρ(b, a) = Σ_s b(s) R(s, a). An optimal policy for it, coupled with a correct state estimator, is optimal for the original POMDP. - Policy trees and α-vectors: a
t-step nonstationary policy is a depth-ttree branching on observations; its valueV_p(b) = b · α_pis linear in the belief state. - Piecewise-linear convex value function:
V_t(b) = max_{p∈P} b · α_pis the upper surface of the policy trees’ hyperplanes. Convexity reflects that high-entropy beliefs afford worse action selection — a connection to value of information. ProjectingV_tdown partitions belief space into polyhedral regions, each with one dominant tree. - Parsimonious representation: most policy trees are dominated; a unique minimal set of “useful” vectors represents the same value function, found by pruning with linear programs (Sondik’s simple test; Lark and White’s more efficient method).
- Exhaustive enumeration is exponential in
|Ω|: it builds a superset of|A||V_{t-1}|^{|Ω|}trees before pruning, regardless of how smallV_tis. - The Witness algorithm: compute a parsimonious
Q_t^aper action, then union and prune to getV_t. Runs in time polynomial in|S|,|A|,|Ω|,|V_{t-1}|and|Q_t^a|— the primary complexity-theoretic difference from prior exact methods, which can run exponentially in|Q_t^a|. - The witness theorem (Thm A.1): the approximate and true
Q-functions differ iff some tree in the current set can be improved at some belief state by replacing exactly one subtree — reducing witness-finding to a linear program. - A deliberate non-goal: an algorithm polynomial in
|S|,|A|,|Ω|,|V_{t-1}|and|V_t|is not pursued, since its existence would settle “Does NP = RP?” in the affirmative. - No exact method dominates: Cheng’s linear support algorithm is a Witness variant seeking witnesses at region corners, efficient in very small state spaces; families of POMDPs exist that it solves in polynomial time and Witness does not. Zhang and Liu’s incremental pruning is empirically faster while sharing Witness’s worst-case complexity.
- Infinite horizon: the discounted optimal value function stays convex but may have infinitely many facets; it is approximated arbitrarily well by a sufficiently long finite horizon.
- Plan graphs as finite-state controllers: where the optimal policy is finitely transient, the converged policy can be redrawn as a plan graph that acts optimally with minimal memory and no on-line belief state. There is no known a priori bound on its size — degrading the tiger problem’s listening reliability from
0.85to0.65forces a much larger graph. - A plan is, in the limit, a program: some infinite-horizon POMDPs admit no finite-state optimal plan (2-state examples requiring counting); pushdown automata or Turing machines may be needed in general.
- Stated limits: states are represented enumeratively, not compositionally; exact solution is impractical beyond roughly
|S| > 15and|Ω| > 15; model acquisition is not addressed.
Connections
- Interpreting Systems as Solving POMDPs
- POMDP
- Markov Decision Process
- Markov Processes
- Belief State
- Bellman Equation
- Bayesian Filtering
- Value Iteration
- Policy Iteration
- Sufficient Statistic
- Value of Information
- Witness Algorithm
- Piecewise-Linear Convex Value Function
- Policy Tree
- Plan Graph
- Finite-State Controller
- Kalman Filter
- Hidden Markov Model
- Reasoning About Knowledge
- The Knowledge Level
- Intelligence Without Representation
- A Robust Layered Control System
- Programs with Common Sense
- Some Philosophical Problems from the Standpoint of Artificial Intelligence
- Algorithm = Logic + Control
Conceptual Contribution
- Claim: An agent that cannot observe the world’s state can still act optimally by maintaining a probability distribution over states — a belief state — which is a sufficient statistic for its entire history of actions and observations. Planning under partial observability therefore reduces, without loss, to solving a fully observable MDP over the continuous space of belief states; and although that space is continuous, the optimal finite-horizon value function over it is piecewise-linear and convex, so it admits exact finite representation and exact solution.
- Mechanism: Extend the MDP tuple with observations
Ωand an observation functionO : S × A → Π(Ω). Split the agent into a state estimator (Bayes update ofbfrom⟨b, a, o⟩) and a policy over belief states. LiftTandRto a belief MDP⟨B, A, τ, ρ⟩. Represent eacht-step nonstationary policy as a policy treepwhose value is the linear functionb · α_p; the optimalV_tis the upper surface of these, hence PWLC, and only a parsimonious subset of α-vectors is needed. ComputeV_tby value iteration, avoiding the|A||V_{t-1}|^{|Ω|}-sized superset of exhaustive enumeration: the Witness algorithm builds each action’sQ_t^aincrementally, using a linear program to hunt for witness belief states at which the current approximation is wrong, justified by the witness theorem that any such discrepancy is exposed by a single-subtree replacement. Where the resulting infinite-horizon policy is finitely transient, collapse it into a plan graph — a finite-state controller carrying the minimal memory needed to act optimally. - Concepts introduced/used: POMDP, Belief State, Sufficient Statistic, Bayesian Filtering, Markov Decision Process, Bellman Equation, Value Iteration, Policy Tree, Piecewise-Linear Convex Value Function, Witness Algorithm, Plan Graph, Finite-State Controller, Value of Information
- Stance: formal framework synthesis plus novel exact algorithm (operations-research theory imported into AI planning, with worked examples and cited empirical comparison; no large-scale empirical study)
- Relates to: Supplies the formal object that Interpreting Systems as Solving POMDPs later takes as its criterion for agency — the belief state, belief-state MDP, Bellman optimal value function and optimal policy that Biehl and Virgo ask a physical system’s dynamics to be consistent with. Recasts the classical-planning problem of Programs with Common Sense and Some Philosophical Problems from the Standpoint of Artificial Intelligence in decision-theoretic rather than logical terms, replacing knowledge preconditions and epistemic logic with probability distributions that admit gradations of knowledge, an expressiveness the authors contrast explicitly with three-valued and known/unknown representations and with the epistemic logics of Reasoning About Knowledge. Its state estimator is the discrete counterpart of the Kalman Filter the introduction rejects as unable to represent multimodal spatial uncertainty. Its insistence that memory of past actions and observations is indispensable — that mapping current observation to action “amounts to performing the same action in every location that looks the same” — is a direct decision-theoretic reply to the reactive, memoryless architectures of Intelligence Without Representation and A Robust Layered Control System. Its closing observation that a plan is, in the limit, a program echoes the identification of plan structure with computational structure in Algorithm = Logic + Control.
Tags
#planning #decision-theory #pomdp #markov-processes #bayesian-inference #foundational #algorithms #uncertainty #reinforcement-learning