Research Library · Idea
Bellman equation
The Bellman equation expresses the value of a state in terms of the immediate reward and the values of the states that can follow it. For a fixed policy it is a consistency condition: a state's value equals the expected reward of the next step plus the discounted expected value of the successor state. The Bellman optimality equation replaces the average over the policy's actions with a maximum over actions, and its solution is the optimal value function 1.
The idea comes from Richard Bellman's dynamic programming. In an address to the American Mathematical Society on 3 September 1953, published in the Society's Bulletin in November 1954, Bellman stated the principle of optimality: an optimal policy has the property that, whatever the initial state and decisions, the remaining decisions must form an optimal policy with regard to the state resulting from the first decisions 2. Applying it yields functional equations for the value of a multi-stage process. Sutton and Barto note that Bellman called the optimality equation the basic functional equation, and that its continuous-time counterpart is the Hamilton-Jacobi-Bellman equation 1.
For a finite MDP the Bellman optimality equation has a unique solution: a system of one nonlinear equation per state, which can in principle be solved directly when the dynamics are known. Sutton and Barto point out that this rarely helps in practice because it needs an accurate model, enough computation and states with the Markov property; backgammon, with about 10^20 states, defeats the computation 1. Dynamic programming, temporal-difference learning and Q-learning can all be read as ways of solving the Bellman equations approximately, by repeated updates or from sampled experience 1.
Source · The theory of dynamic programming (opens in a new tab) · Bulletin of the American Mathematical Society 60(6), DOI 10.1090/S0002-9904-1954-09848-8 (Internet Archive copy)
References
- Reinforcement Learning: An Introduction, second edition, full text (Internet Archive copy) (opens in a new tab) · Richard S. Sutton and Andrew G. Barto; MIT Press · Sections 1.1, 1.7, 3.1 to 3.8; the authors' free PDF. ↩ ↩ ↩ ↩
- The theory of dynamic programming (opens in a new tab) · Bulletin of the American Mathematical Society 60(6), DOI 10.1090/S0002-9904-1954-09848-8 (Internet Archive copy) · November 1, 1954 ↩
Research articles
- Learning by trial, error and reward: a reader in reinforcement learning from Bellman to AlphaGo · Machine learning
See what connects to it on the map of ideas →

SecSIG