Skip to content
advanced

Derive the Bellman Control Equation Over POMDP Beliefs

You write down the MDP Bellman equation, swap $s$ for $b$, and the result looks plausible. It also predicts nothing you can act on. The symbol changed; the…

Published 2026-10-02Updated 2026-10-0410 min read
A vintage-themed still life featuring playing cards, poker chips, coins, a revolver, and a pocket watch.
A vintage-themed still life featuring playing cards, poker chips, coins, a revolver, and a pocket watch. Photo by Townsend Walton on Pexels.

You write down the MDP Bellman equation, swap ss for bb, and the result looks plausible. It also predicts nothing you can act on. The symbol changed; the object it refers to did not. Fix that, and the recursion falls out almost mechanically.

Why the MDP Recursion Stops Working

Assume the standard toolkit: return, discounting, VV and QQ, and the one-step decomposition V(s)=E[Rt+1+γV(St+1)∣St=s]V(s) = \mathbb{E}[R_{t+1} + \gamma V(S_{t+1}) \mid S_t = s]. That equation is correct because ss is the quantity the agent is in. At decision time, the agent knows ss, so it can evaluate V(s)V(s) and select an action.

In a POMDP, the agent does not know ss. It cannot evaluate V(s)V(s) for the true state, and it cannot act on a value it cannot compute. The obvious repair — condition on the full history ht=(a0,o1,a1,o2,… )h_t = (a_0, o_1, a_1, o_2, \dots) — is valid in principle. A history is a sufficient decision variable. It is also unusable: it grows without bound, and two different histories can be decision-equivalent, meaning they imply the same distribution over hidden states and therefore the same optimal action.

The target of this article is a recursion whose argument is something the agent actually possesses at time tt.

The Belief as a Decision State

Define the belief bb as a probability distribution over the state set SS:

b(s)≥0,∑s∈Sb(s)=1.b(s) \ge 0, \qquad \sum_{s \in S} b(s) = 1.

For ∣S∣|S| states, beliefs live on the (∣S∣−1)(|S|-1)-dimensional simplex. With two states, that is a line segment; with three, a triangle.

The claim that makes the derivation work is sufficiency: given btb_t, the future is conditionally independent of how btb_t was reached. Two histories that produce the same belief produce the same distribution over future states, observations, and rewards. The belief is a sufficient statistic for the history.

Note: Sufficiency is a property of the model, not of the agent's approximation. It holds when the transition model T(s′∣s,a)T(s' \mid s, a) and observation model O(o∣s′,a)O(o \mid s', a) are known, stationary, and used correctly in the belief update. If the model is wrong or drifting, the resulting distribution is still a valid probability vector — but it is no longer a sufficient statistic, and the recursion silently optimizes the wrong problem.

That distinction matters more than it looks. A belief computed with a broken model is a distribution that lies. It will produce confident, wrong decisions, and no amount of planning will detect the error from inside the recursion.

Knowledge check

Check your understanding

Answer this question before you continue.

Under the article’s sufficiency claim, why can two different histories that yield the same belief be treated alike for future decision-making?
Single Choice

Focus: Explain why a belief can replace the full interaction history as a decision state.

From POMDP to Belief MDP

Once the belief is sufficient, the POMDP reduces to a fully observed MDP whose states are beliefs. The tuple is (B,A,τ,r,γ)(B, A, \tau, r, \gamma):

  • BB is the belief space — continuous, even when SS is finite.
  • AA is the same finite action set.
  • τ(b,a,b′)\tau(b, a, b') is the belief transition kernel.
  • r(b,a)r(b, a) is the expected immediate reward.
  • γ\gamma is the same discount factor.

The reward is a direct expectation under current uncertainty:

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

The transition kernel takes more work. Given belief bb and action aa, the predicted distribution over next states is ∑sb(s)T(s′∣s,a)\sum_s b(s) T(s' \mid s, a). After observing oo, Bayes' rule corrects it:

b′(s′)=O(o∣s′,a)∑sT(s′∣s,a)b(s)Pr⁡(o∣b,a),b'(s') = \frac{O(o \mid s', a) \sum_s T(s' \mid s, a) b(s)}{\Pr(o \mid b, a)},

where Pr⁡(o∣b,a)=∑s′O(o∣s′,a)∑sT(s′∣s,a)b(s)\Pr(o \mid b, a) = \sum_{s'} O(o \mid s', a) \sum_s T(s' \mid s, a) b(s) normalizes the result. Marginalizing over observations gives the kernel:

τ(b,a,b′)=∑o∈OPr⁡(b′∣b,a,o)Pr⁡(o∣b,a).\tau(b, a, b') = \sum_{o \in O} \Pr(b' \mid b, a, o) \Pr(o \mid b, a).

The structural point: the next belief is stochastic because the observation is stochastic. Even with deterministic underlying dynamics, the agent's information state jumps unpredictably. That is what makes the belief MDP a genuine MDP rather than a relabeled POMDP.

The cost is immediate. A finite POMDP becomes a continuous-state MDP. Exact solutions require piecewise-linear structure or a finite reachable belief set; otherwise the recursion is approximated.

Knowledge check

Check your understanding

Answer this question before you continue.

Even if the underlying state dynamics are deterministic, why can the next belief still be unpredictable before the observation arrives?
Misconception Check

Focus: Explain why the belief transition in the belief MDP can be stochastic.

Deriving the Belief-State Value Recursion

Start from the definition. For a policy π\pi mapping beliefs to actions:

Vπ(b)=Eπ[∑t=0∞γtRt  |  b0=b].V_\pi(b) = \mathbb{E}_\pi \left[ \sum_{t=0}^{\infty} \gamma^t R_t \;\middle|\; b_0 = b \right].

Write the first reward term explicitly and apply the one-step decomposition:

Vπ(b)=Eπ[R0+γ∑t=1∞γt−1Rt  |  b0=b].V_\pi(b) = \mathbb{E}_\pi \left[ R_0 + \gamma \sum_{t=1}^{\infty} \gamma^{t-1} R_t \;\middle|\; b_0 = b \right].

The first term is the expected immediate reward under the policy's action distribution. The second is the discounted continuation, which depends on the successor belief. Pushing the expectation through the belief transition:

Vπ(b)=∑a∈Aπ(a∣b)[r(b,a)+γ∑b′∈Bτ(b,a,b′) Vπ(b′)].V_\pi(b) = \sum_{a \in A} \pi(a \mid b) \left[ r(b, a) + \gamma \sum_{b' \in B} \tau(b, a, b') \, V_\pi(b') \right].

This is the POMDP belief state Bellman equation for a fixed policy. Every symbol is something the agent can compute: r(b,a)r(b,a) from the reward table and current belief, τ\tau from the transition and observation models, and Vπ(b′)V_\pi(b') from the value function being defined.

For control, replace the policy average with a maximum:

V∗(b)=max⁡a∈A[r(b,a)+γ∑b′∈Bτ(b,a,b′) V∗(b′)].V^*(b) = \max_{a \in A} \left[ r(b, a) + \gamma \sum_{b' \in B} \tau(b, a, b') \, V^*(b') \right].

This is a fixed-point equation. The operator on the right is a contraction in the sup norm when γ<1\gamma < 1, so the optimal value function is its unique fixed point.

Warning: The assumptions are load-bearing. Finite SS, AA, and OO; known models; infinite horizon with γ<1\gamma < 1 or an absorbing terminal condition. Drop any of these and the fixed-point argument needs repair.

Knowledge check

Check your understanding

Answer this question before you continue.

What change turns the fixed-policy belief-value recursion into the optimal-control Bellman equation?
Comparison Reasoning

Focus: Distinguish the fixed-policy belief-value recursion from the optimal-control recursion.

Worked Example: A Two-State POMDP

Starting from belief (0.7, 0.3), action a0 earns expected reward 0.4 and branches to belief (0.856, 0.144) with probability 0.645 or belief (0.389, 0.611) with probability 0.355. Their weighted continuation values are discounted and added to the reward to form Q(b, a0), which is compared with Q(b, a1) before selecting the larger value.
The backup values an action by combining its immediate reward with the discounted, observation-weighted values of the beliefs it can produce.

Two hidden states s0,s1s_0, s_1. Two actions a0,a1a_0, a_1. Two observations o0,o1o_0, o_1. Transition and observation tables:

T(s′∣s,a)T(s' \mid s, a)s0s_0s1s_1
a0a_0 from s0s_00.90.1
a0a_0 from s1s_10.20.8
a1a_1 from s0s_00.50.5
a1a_1 from s1s_10.50.5
O(o∣s′,a)O(o \mid s', a)o0o_0o1o_1
a0a_0, s0s_00.80.2
a0a_0, s1s_10.30.7
a1a_1, s0s_00.50.5
a1a_1, s1s_10.50.5

Rewards: R(s0,a0)=1R(s_0, a_0) = 1, R(s1,a0)=−1R(s_1, a_0) = -1, R(s0,a1)=0R(s_0, a_1) = 0, R(s1,a1)=0R(s_1, a_1) = 0. Take γ=0.9\gamma = 0.9 and belief b=(0.7,0.3)b = (0.7, 0.3).

Immediate expected reward. For a0a_0: 0.7(1)+0.3(−1)=0.40.7(1) + 0.3(-1) = 0.4. For a1a_1: 00.

Successor beliefs for a0a_0. Predicted next-state distribution: s0s_0 gets 0.7(0.9)+0.3(0.2)=0.690.7(0.9) + 0.3(0.2) = 0.69, s1s_1 gets 0.310.31. Observation probabilities: Pr⁡(o0∣b,a0)=0.69(0.8)+0.31(0.3)=0.645\Pr(o_0 \mid b, a_0) = 0.69(0.8) + 0.31(0.3) = 0.645; Pr⁡(o1∣b,a0)=0.69(0.2)+0.31(0.7)=0.355\Pr(o_1 \mid b, a_0) = 0.69(0.2) + 0.31(0.7) = 0.355. Corrected beliefs: after o0o_0, b′=(0.552/0.645,0.093/0.645)≈(0.856,0.144)b' = (0.552/0.645, 0.093/0.645) \approx (0.856, 0.144); after o1o_1, b′=(0.138/0.355,0.217/0.355)≈(0.389,0.611)b' = (0.138/0.355, 0.217/0.355) \approx (0.389, 0.611).

Successor beliefs for a1a_1. The transition sends both hidden states to the same distribution (0.5,0.5)(0.5, 0.5), and the observation is uninformative, so both observations leave the belief at (0.5,0.5)(0.5, 0.5).

One-step lookahead. Suppose a crude V(b′)≈0V(b') \approx 0 for all b′b'. Then Q(b,a0)≈0.4Q(b, a_0) \approx 0.4 and Q(b,a1)≈0Q(b, a_1) \approx 0. The max selects a0a_0.

Now suppose V(b′)=1V(b') = 1 for b′b' with b′(s0)>0.5b'(s_0) > 0.5 and V(b′)=−1V(b') = -1 otherwise. Then Q(b,a0)≈0.4+0.9[0.645(1)+0.355(−1)]≈0.4+0.9(0.29)≈0.661Q(b, a_0) \approx 0.4 + 0.9[0.645(1) + 0.355(-1)] \approx 0.4 + 0.9(0.29) \approx 0.661. And Q(b,a1)≈0+0.9(−1)=−0.9Q(b, a_1) \approx 0 + 0.9(-1) = -0.9. The max stays with a0a_0 — the action whose noisy observations produce a successor belief that lands on the favorable side of the value function.

Contrast case. The most likely state under b=(0.7,0.3)b = (0.7, 0.3) is s0s_0. A greedy most-likely-state policy would pick arg⁡max⁡aR(s0,a)=a0\arg\max_a R(s_0, a) = a_0. Here the belief-optimal action agrees, but for a different reason: a0a_0 is chosen because its observation distribution shifts the successor belief toward s0s_0, not because s0s_0 is the mode. Change the continuation value and the two policies can diverge.

Knowledge check

Check your understanding

Answer this question before you continue.

For belief $b=(0.7,0.3)$ and the example’s rewards $R(s_0,a_0)=1$ and $R(s_1,a_0)=-1$, what is $r(b,a_0)$?
Output Prediction

Focus: Compute an immediate expected action reward from a belief and state-specific rewards.

Belief Update Is Not Belief Control

The update is inference. It answers what do I now believe? It consumes a prior belief, an action, and an observation. It produces a posterior belief. It optimizes nothing.

Control is optimization. It answers what should I do given what I believe? It consumes a value function, a horizon, and a discount. It produces an action.

StepConsumesProducesOptimizesFails if missing
Belief updatebb, aa, oo, modelsb′b'nothingAgent has no information state
Belief-state controlbb, rr, τ\tau, γ\gammaactionexpected returnAgent acts myopically

The coupling that makes this subtle: the value of an action depends on the information the resulting observation will provide. A belief-state policy can deliberately choose actions that are informative rather than immediately rewarding. That behavior is invisible to an agent that only implements the update.

Common mistake: An agent that tracks beliefs perfectly and still acts myopically. The update was implemented; the recursion never was. The symptom is a policy that reacts to the current belief but never invests in reducing uncertainty.

When This Recursion Is the Right Tool

Use it when the model is known or learnable, the state space is small, and the decision genuinely depends on uncertainty rather than on a point estimate. The recursion is the right answer when the value of information is part of the value of an action.

Do not use it when a point estimate of the state is adequate, when the belief space is too large to represent, or when model error dominates the planning gain. A continuous belief space with a poorly estimated transition kernel will produce a confident policy for the wrong problem.

The cost is structural. Exact value iteration over beliefs requires piecewise-linear value functions or a finite reachable belief set. Otherwise the recursion is approximated by sampling, discretization, or function approximation. The approximation is where most practical POMDP work lives.

Warning: Planning on a belief that is not sufficient — a truncated history summary, a learned recurrent state that has not been validated as a statistic — produces confident, wrong decisions. The recursion does not know the difference.

Where to Go Next

The recursion is not the MDP equation with a renamed variable. It is the MDP equation applied to a different process — one whose states happen to be probability distributions. The belief is not a summary of the state; it is the state of that process.

Hand-compute the one-step lookahead for a second belief, say b=(0.4,0.6)b = (0.4, 0.6), under the same tables. Check whether the argmax action changes. If it does, you have seen the belief doing real work as a decision state.

The durable rule: if you can write the belief transition kernel τ\tau and the belief reward rr, you can write the recursion. If you cannot, you are doing inference, not control.

Knowledge check

Final check

Finish the article by checking the ideas you just learned.

An agent correctly updates its belief after every observation but chooses each action using only its immediate expected reward. What capability is missing?
Question 1 of 2Comparison Reasoning

Focus: Distinguish Bayesian belief updating from action selection through belief-state control.

Two actions have similar immediate rewards, but one tends to produce observations that make later beliefs more useful for choosing actions. What does belief-state planning account for that a purely immediate-reward choice misses?
Question 2 of 2Scenario Interpretation

Focus: Explain how observations generated by an action can affect its value through future beliefs.

References

  1. [PDF] Partially Observable MDPs (POMDPs) - Duke Computer Sciencecourses.cs.duke.edu
  2. FINDING APPROXIMATE POMDP SOLUTIONS THROUGH ...publications.ri.cmu.edu
  3. Scalable Policy-Based RL Algorithms for POMDPsarxiv.org
Practical resource

Build a stronger RL mental model

Use structured resources to connect equations, algorithms, and observable agent behavior.

Browse resources
Related sites

Continue across related AI foundations

Use LearnPyFast for Python foundations and LearnLLMFast for practical language-model and agent application concepts.

Python tutorialstutorial

LearnPyFast

Beginner-friendly Python tutorials, examples, and learning paths for practical programming foundations.

PythonProgrammingBeginners
Visit LearnPyFast
LLM tutorialstutorial

LearnLLMFast

Practical LLM tutorials for builders who want to understand prompting, workflows, agents, and AI applications.

LLMAIBuilders
Visit LearnLLMFast

Keep learning

Related reinforcement learning tutorials

Continue with nearby RL concepts, algorithms, and experiments that build on the same decision process.