Reinforcement learning
V π ( s ) = E π [ G t ∣ s t = s ] V^\pi(s) = \mathbb{E}_\pi\left[G_t \mid s_t = s\right] V π ( s ) = E π [ G t ∣ s t = s ] Value function VV(s) is how much total discounted reward to expect from state s onward.
In ML papers V π ( s ) V^\pi(s) V π ( s ) is the state-value function : the expected Return G when you start in state s s s and then follow the policy π \pi π . It scores how good it is to be in a state. V ∗ ( s ) V^*(s) V ∗ ( s ) is the value under the best possible policy.
In deep RL, a network V ϕ ( s ) V_\phi(s) V ϕ ( s ) (the critic) is trained to estimate it, usually by regressing toward targets like r t + γ V ϕ ( s t + 1 ) r_t + \gamma V_\phi(s_{t+1}) r t + γ V ϕ ( s t + 1 ) . It is the baseline subtracted in the Advantage A , A = Q − V A = Q - V A = Q − V .
Other meanings, by context How to type it LaTeX Shows V^\pi(s)V π ( s ) V^\pi(s) V π ( s ) V^*(s) optimal V ∗ ( s ) V^*(s) V ∗ ( s ) V_\phi(s) a learned critic V ϕ ( s ) V_\phi(s) V ϕ ( s )
A worked example V ( s ) = 0.5 × 10 + 0.5 × 0 = 5 V(s) = 0.5 \times 10 + 0.5 \times 0 = 5 V ( s ) = 0.5 × 10 + 0.5 × 0 = 5 If from s s s the policy reaches a + 10 +10 + 10 goal half the time and nothing otherwise (with γ = 1 \gamma = 1 γ = 1 ), the state is worth 5 5 5 .
Common confusions Equations that use it Related Q π ( s , a ) = E π [ G t ∣ s t = s , a t = a ] Q^\pi(s, a) = \mathbb{E}_\pi\left[G_t \mid s_t = s, a_t = a\right] Q π ( s , a ) = E π [ G t ∣ s t = s , a t = a ] Action-value function Q G t = ∑ k = 0 ∞ γ k r t + k + 1 G_t = \sum_{k=0}^{\infty} \gamma^k r_{t+k+1} G t = ∑ k = 0 ∞ γ k r t + k + 1 Return G A π ( s , a ) = Q π ( s , a ) − V π ( s ) A^\pi(s, a) = Q^\pi(s, a) - V^\pi(s) A π ( s , a ) = Q π ( s , a ) − V π ( s ) Advantage A E x ∼ p [ f ( x ) ] \mathbb{E}_{x \sim p}[f(x)] E x ∼ p [ f ( x )] Expectation Decode this example →
Further reading, by other authors
Reinforcement Learning: An Introduction by Richard S. Sutton, Andrew G. Barto . The standard introduction to reinforcement learning, and the source of much of its notation.Deep Learning by Ian Goodfellow, Yoshua Bengio, Aaron Courville . The standard reference text, with a chapter on notation and the math background.As an Amazon Associate I earn from qualifying purchases.