Partially observable Markov decision process

From Wikipedia, the free encyclopedia

A Partially Observable Markov Decision Process (POMDP) is a generalization of a Markov Decision Process. A POMDP models an agent decision process in which it is assumed that the system dynamics are determined by an MDP, but the agent cannot directly observe the underlying state. Instead, it must infer a distribution over the state based on a model of the world and some local observations.

The POMDP framework is general enough to model a variety of real-world sequential decision processes. Applications include robot navigation problems, machine maintenance, and planning under uncertainty in general. The framework originated in the operation research community, and was later taken over by the Artificial Intelligence and Automated Planning communities.

An exact solution to a POMDP yields the so-called optimal action for each possible belief over the world states. The optimal action maximizes (or minimizes) the expected reward (or cost) of the agent over a possibly infinite horizon. The sequence of optimal actions is known as the optimal policy of the agent for interacting with its environment.

Contents

[edit] Definition

[edit] Formal Definition

A discrete-time POMDP models the relationship between an agent and its environment. Formally, a POMDP is a tuple (S,A,O,P,R), where

  • S is a finite set of states,
  • A is a finite set of actions,
  • O is a finite set of observations,
  • R: A,S \to \mathbb{R} is the reward function.

Each time period, the environment is in some state s \in S, the agent takes an action a \in A. Taking action a makes the environment transition to state s' with probability P(s'\mid s,a) and the agent receives a reward for it, with expected value r(s,a,s').

[edit] Belief update

In s', the agent observes o \in O with probability P(o\mid s',a). Let b be the vector of state probabilities: b(s) denotes the probability that the environment is in state s. Given b(s), then after taking action a and observing o,


b'(s') = \eta P(o\mid,s',a) \sum_{s\in S} P(s'\mid s,a)b(s)

where \eta=P(o\mid b,a) is a normalizing constant with P(o\mid b,a) = \sum_{s'\in S}P(o\mid s',a)\sum_{s\in S}P(s'\mid s,a)b(s).

Since the state is Markovian, maintaining a belief over the states solely requires knowledge of the previous belief state, the action taken, and the current observation. The operation is denoted b' = τ(b,a,o).

[edit] Belief MDP

The policy maps a belief state space into the action space. The optimal policy can be understood as the solution of a continuous space so-called belief Markov Decision Process [1]. It is defined as a tuple (B,A,τ,ρ) where

  • B is the set of belief states over the POMDP states,
  • A is the same finite set of action as for the original POMDP,
  • τ is the belief state transition function,
  • r:B,A \to \mathbb{R} is the reward function on belief states. It writes :

r(b,a) = \sum_{s\in S} b(s) R(s,a).

Note that this MDP is defined over a continuous state space.

[edit] Policy and Value Function

The agent's policy π specifies an action a = π(b) for any belief b. Here it is assumed the objective is to maximize the expected total discounted reward over an infinite horizon. When R defines a cost, the objective becomes the minimization of the expected cost.

The expected reward for policy π starting from belief b is defined as


J^\pi(b) = E\Bigl[ \sum_{t=0}^\infty \gamma^t r(s_t,a_t,s_t') \mid b, \pi \Bigr]

where γ < 1 is the discount factor. The optimal policy π * is obtained by optimizing the long-term reward.


\pi^* = \underset{\pi}{\mbox{argmax}} J^\pi(b_0)

where b0 is the initial belief.

The optimal policy, noted π * yields the highest expected reward value for each belief state, compactly represented by the optimal value function, noted V * . This value function is solution to the Bellman optimality equation:


V^*(b) = \max_{a\in A}\Bigl[ r(b,a) + \gamma\sum_{o\in O} P(o\mid b,a) V^*(\tau(b,a,o)) \Bigr]

For finite-horizon POMDPs, the optimal value function is piecewise-linear and convex [2]. It can be represented as a finite set of vectors. In the infinite-horizon formulation, a finite vector set can approximate V * arbitrarily closely, whose shape remains convex. Value iteration applies dynamic programming update to gradually improve on the value until convergence to an ε-optimal value function, and preserves its piecewise linearity and convexity [3]. By improving the value, the policy is implicitly improved. Another dynamic programming technique called policy iteration explicitly represents and improves the policy instead [4][5].

[edit] Approximate POMDP solutions

In practice, POMDPs are often computationally intractable to solve exactly, so computer scientists have developed methods that approximate solutions for POMDPs.

Grid-based algorithms [6] comprise one approximate solution technique. In this approach, the value function is computed for a set of points in the belief space, and interpolation is used to determine the optimal action to take for other belief states that are encountered and that aren't in the set of grid points. More recent work makes use of sampling techniques, generalisation techniques and exploitation of problem structure, and has extended POMDP solving into large domains with millions of states [7]. Dimensionality reduction using PCA has also been explored [8].

[edit] POMDP uses

POMDPs model many kinds of real-world problems. Notable work includes the use of a POMDP in assistive technology for persons with dementia [7].

[edit] References

  1. ^ L.P. Kaelbling and M.L. Littman and A.R. Cassandra, Planning and acting in partially observable stochastic domains, Artificial Intelligence Journal, vol. 101, pages 99-134, 1998
  2. ^ The optimal control of partially observable Markov processes, E.J. Sondik, PhD Thesis, Standford University, 1971
  3. ^ R.D. Smallwood and E.J. Sondik, The optimal control of partially observable Markov decision processes over a finite horizon, Operations Research, 21, 1071-1088, 1973.
  4. ^ E.J. Sondik, The optimal control of partially observable Markov processes over the infinite horizon: discounted cost, Operations Research, 26, 282-304, 1978.
  5. ^ E. Hansen, Solving POMDPs by searching in policy space, In Proceedings of the Fourteenth International Conference on Uncertainty In Artificial Intelligence (UAI-98), 1998.
  6. ^ Computationally feasible bounds for partially observed Markov decision processes, Lovejoy, W., Operations Research, 39, 162--175, 1991.
  7. ^ a b Assisting Persons with Dementia during Handwashing Using a Partially Observable Markov Decision Process Jesse Hoey, Axel von Bertoldi, Pascal Poupart, and Alex Mihailidis. Full text available here.
  8. ^ Exponential Family PCA for Belief Compression in POMDPs (2003). Nicholas Roy, Geoffrey Gordon. In Advances in Neural Information Processing Systems.

[edit] External links

Languages