Bellman expectation equation 2026-10-25
For a finite Markov decision process under fixed policy , bounded reward vector and , splitting the discounted return at its first step gives . A stochastic matrix has supremum-norm operator bound one, so converges and . This is policy evaluation, not optimization over actions.
Temporal-difference learning uses sampled reward-plus-continuation predictions to approach a Bellman expectation equation. Policy evaluation must be distinguished from finding an optimal policy. Consider a finite Markov decision process, a fixed policy , bounded rewards and discount . DefineSeparating the first reward from the remaining return givesHere is expected immediate reward and is the transition matrix under the fixed policy. In matrix form, . The inverse exists because the geometric series converges in the supremum norm.
Define the Bellman expectation operator . A stochastic matrix averages component differences, soThe Banach fixed-point theorem gives a unique fixed point and convergence of exact repeated backups. This establishes why the equation has a well-defined solution in the stated discounted setting; it does not require the intelligent agent to know its transition matrix.
The model-free alternative observes and formsOther tabular entries remain unchanged. Under the same policy and Markov assumptions, conditioning on the current value estimates givesThus the sample error has the correct mean direction for correcting the current Bellman mismatch. The defining idea is bootstrapping: a later prediction supplies part of the earlier prediction's target, so learning need not wait for a final outcome.[ref]
Learning to predict by the methods of temporal differences by Richard S. Sutton. Abstract and sections 2–3; successive predictions and temporal credit assignment
In tabular temporal-difference policy evaluation, convergence requires appropriate sampling and step sizes, not merely writing the update. Standard sufficient conditions include bounded rewards, infinitely many visits to each relevant state and, along visits to each state, with . Diminishing steps allow continuing correction while limiting accumulated sampling noise. Constant steps generally track a noisy estimate instead of converging exactly. The target's dependence on the present values also means that this is not ordinary gradient descent on an independent, fixed supervised label. These tabular guarantees should not be transferred automatically to nonlinear function approximation or off-policy training.
For an exact illustrative problem, alternate deterministically between states and , receive reward on leaving and on leaving , and take . ThenStarting from zero with step size , the first transition updates to ; the next updates to . At the exact solution, both transition errors are zero. These values are a model calculation, not neural measurements.
This solves evaluation of the specified policy. The optimal Bellman equation instead maximizes over possible actions. An intelligent agent can combine policy evaluation with policy iteration or an actor-critic improvement mechanism. Estimating the value of a poor fixed policy does not by itself make that policy optimal. Episodic tasks use terminal-state value zero; undiscounted continuing tasks require additional conditions or a different formulation.
A proposed neural implementation uses a representation of the situation to drive a value-predicting population, with a reward prediction error modulating recently active synapses. An eligibility trace can preserve a record of prior activity so delayed errors influence earlier states. Temporal representation is indispensable: if the population does not distinguish when a reward is expected, it cannot generate the appropriate omission signal at that time.
Primate recordings during acquisition of successive delayed-response tasks found that dopamine-neuron reward responses were more prominent during learning than after performance was established, while significant cues elicited phasic responses. This supports prediction-sensitive signalling but also allows attentional and motivational contributions.[ref]
Responses of monkey dopamine neurons to reward and conditioned stimuli during successive steps of learning a delayed response task by Wolfram Schultz and others. Abstract; Journal of Neuroscience 13, pp. 900–913, learning versus established task performance
The temporal-difference interpretation explains how a reward response can diminish as reward becomes predicted and a response can develop at an informative cue; a worse-than-expected omission gives a negative error. The physiological interpretation is a quantitative hypothesis, not an identification of every dopamine signal with a single critic variable.[ref]A neural substrate of prediction and reward by Wolfram Schultz and others. Science 275, pp. 1593–1599, temporal-difference interpretation of reward and cue responses
Causal evidence comes from reward-timed stimulation of dopamine neurons in rat blocking and extinction tasks. Artificial activation, intended to supply a positive prediction-error-like event, increased subsequent cue-driven reward seeking. This strengthens the teaching-signal interpretation beyond response correlation. It does not show that all components of the Bellman computation reside in dopamine neurons or that the entire algorithm is unique.[ref]
A causal link between prediction errors, dopamine neurons and learning by Elizabeth E. Steinberg and others. Abstract and Figures 1–4, reward-timed dopamine stimulation in blocking and extinction
The mathematical bridge is precise: the mean TD error is the sampled Bellman mismatch, and appropriate repeated updates solve tabular policy evaluation. Neural evidence supports prediction-sensitive plasticity signals, while state representation, timing, function approximation and action improvement remain distinct parts of the implementation.
A probability distribution on the countable state space is precisely a row vector satisfyingA transition matrix is a stochastic matrix, meaningEvery row therefore gives the conditional probability distribution of the next state given the present state. These conditions do not require to be an invariant distribution of .
The transition matrix is , where . It is row-stochastic: and for each . Initial states of zero probability can be specified by the chain's transition mechanism, so the matrix describes the chain from any starting state.
The transition matrix acts on a column probability vector in the order Central, Headington, Botley. Thus column records the destinations of buses starting at station . The Central-to-Headington, Headington-to-Botley and Botley-to-Central entries giveEach column sums to one, as required for this column convention for a stochastic matrix.
Probability vector 2026-10-25
A probability vector lists the probabilities of the outcomes in a finite sample space. Its entries are nonnegative and sum to one, so a column probability vector is a point of a probability simplex. Row and column conventions describe the same probability distribution, but they determine whether a stochastic matrix acts on the right or its transpose acts on the left.
Stationary distribution existence for a finite Markov chain Created 2026-10-25 Updated 2026-10-31
Every finite Markov chain has a stationary distribution, without requiring Markov chain irreducibility or aperiodicity. For a row-stochastic matrix , put and choose a column probability vector . Every lies in the probability simplex. Their arithmetic averages therefore lie in this compact set, while telescoping givesA convergent subsequence has a limit in the probability simplex. Continuity of matrix multiplication gives , so is a stationary distribution. The individual iterates need not converge: a deterministic two-state swap alternates its point masses forever.
Transition semigroup of a continuous-time Markov chain Created 2026-09-24 Updated 2026-10-14
For a time-homogeneous continuous-time Markov chain, and the matrices satisfy , the Chapman-Kolmogorov equation. On a finite state space with Q-matrix , the matrix exponential gives .
The distinction from a discrete-time transition matrix is the elapsed-time parameter: describes where the process is after time units, allowing any number of intervening jumps. Each is a stochastic matrix, with . A Q-matrix instead records instantaneous rates and has row sums zero. Sampling at a fixed spacing yields a Discrete-time Markov chain with transition matrix . See Hao Wu's MIT lecture 21, transition semigroups and lecture 22, infinitesimal rates.