Topics: Reinforcement Learning
The Bellman equations are central for RL algorithms. The basic idea behind the Bellman equations is:
The value of your starting point is the reward you expect to get from being there, plus the value of wherever you land next.
The Bellman equations for the on-policy value functions are:
Vπ(s)=a∼πs′∼P(⋅∣s,a)E[r(s,a)+γ⋅Vπ(s′)]
Qπ(s,a)=s′∼P(⋅∣s,a)E[r(s,a)+γ⋅a′∼πE[Qπ(s′,a′)]]
The Bellman equations for the optimal value functions are:
V∗(s)=amaxs′∼P(⋅∣s,a)E[r(s,a)+γ⋅V∗(s′)]
Q∗(s,a)=s′∼P(⋅∣s,a)E[r(s,a)+γ⋅a′maxQ∗(s′,a′)]