Value Function

Definition

A value function measures expected future return under a policy , making the RL objective tractable at the level of individual states and actions. The state-value scores a state; the action-value scores committing to an action first, then following . Their difference is the advantage . A learned approximation is the critic in actor-critic methods.

Key math

Defined on an MDP via the return :

Linked by averaging over the policy’s action choice:

Bellman expectation equations (a consequence of plus Markov):

These are linear in / (fixed policy). The Bellman optimality equations replace with (nonlinear) and characterize . The recursion is what makes values estimable: you can bootstrap from (temporal-difference learning) instead of waiting for full returns.

Why it matters

is the near-optimal baseline in policy-gradient methods: subtracting it centers the learning signal at zero, cutting gradient variance without adding bias, and turning into the advantage. In RLHF-PPO the critic is a value head on the transformer trunk predicting per-token return-to-go — one of up to four large networks in memory (policy, critic, reward, reference). Because a per-token critic over long sparse-reward sequences is expensive and noisy, critic-free methods (GRPO, RLOO) replace it with a group/batch baseline.

Taught in

See also