Value network

On this page 7

A value network is a neural network that estimates the expected cumulative reward an agent will receive from a given state, or from a state and action, when it follows a particular policy. In reinforcement learning it is the standard way to approximate a value function when the state space is too large for a lookup table, as in board games, video games, robotics and language model fine-tuning.

Value networks serve two main purposes: they provide a learning signal for the policy, as the critic in actor-critic methods, and they evaluate positions during planning, as in the search systems behind AlphaGo and its successors. The term is used broadly for both state-value networks, written V(s), and action-value networks, written Q(s, a).

How a value network estimates future reward

A value network maps an input state to a scalar prediction of discounted return, the sum of future rewards weighted by the discount factor gamma. For an action-value network, the output is usually a vector with one value per discrete action, so a single forward pass scores every available move.

Training minimizes the difference between the prediction and a target value. The target can be a full Monte Carlo return observed at the end of an episode, or a bootstrapped target that combines one or more real rewards with the network’s own estimate of the next state, as in temporal difference learning and the Bellman equation.

The table below lists the main target types and the trade-off each introduces.

Target typeFormula ideaBias and variance
Monte Carlo returnSum of all observed rewardsUnbiased, high variance
One-step TD targetReward plus discounted next valueBiased, low variance
N-step returnN rewards plus discounted valueTunable middle ground
Lambda return (GAE)Weighted mix of n-step returnsSmooth control with lambda
Game outcomeFinal win, loss or drawUnbiased, very sparse
Training targets for value networks

Types of value networks

Value networks differ in what they estimate and how the output is structured. The choice depends on whether the action space is discrete or continuous and on whether the network must also select actions.

VariantOutputTypical algorithm
State-value networkV(s), one scalarPPO, A2C, AlphaGo
Action-value networkQ(s, a) per actionDQN, Double DQN
Dueling networkSeparate value and advantage streamsDueling DQN, Rainbow
Distributional networkDistribution over returnsC51, QR-DQN
Continuous Q criticQ for a given action inputDDPG, TD3, SAC
Common value network variants

The dueling architecture splits the final layers into a state-value head and an advantage head, which helps when many actions have similar consequences. Distributional value networks predict the full range of possible returns rather than only the mean, which often improves learning stability and supports risk-sensitive decisions.

Value networks compared with policy networks

A value network answers the question how good is this situation, whereas a policy network answers what should be done here. Many modern agents use both, either as separate networks or as two heads on a shared trunk that reuses the same learned features.

The comparison below summarizes how the two network roles differ.

AspectValue networkPolicy network
OutputExpected return estimateAction probabilities or action
LossRegression error to a targetPolicy gradient or imitation loss
Role in actor-criticCriticActor
Role in searchEvaluates leaf positionsPrioritizes candidate moves
Acts aloneOnly with greedy action selectionYes, by sampling actions
Value network and policy network roles

In actor-critic methods, the value network reduces the variance of policy gradient updates by supplying a baseline. The policy is pushed toward actions whose outcome beats the predicted value, measured by the advantage function.

Value networks in search and game playing

In game-playing systems, the value network replaces expensive rollouts during Monte Carlo tree search. AlphaGo combined a value network trained on self-play positions with fast rollouts, while AlphaGo Zero and AlphaZero dropped rollouts entirely and relied on a single network with policy and value heads.

Because the value network judges a position in one forward pass, search can evaluate thousands of positions per move with consistent quality. The value prediction for Go and chess is typically a number between minus one and plus one, representing the expected outcome from the perspective of the player to move.

Training challenges and common mistakes

Value networks are notoriously unstable when combined with bootstrapping, function approximation and off-policy data, a combination known as the deadly triad. Practical algorithms therefore rely on stabilizers such as target networks, experience replay and gradient clipping.

The table below maps common symptoms to their likely causes and standard fixes.

SymptomLikely causeStandard fix
Exploding value estimatesMaximization bias in Q targetsDouble Q-learning or clipped double Q
Oscillating lossMoving bootstrapped targetsTarget network with slow updates
Overfitting to positionsCorrelated samples from one gameSample one position per game
Poor scale handlingRewards with large magnitudeReward or value normalization
Critic dominates shared trunkUnbalanced loss weightsTune the value loss coefficient
Value network failure symptoms and fixes

A frequent conceptual mistake is to treat the value estimate as ground truth rather than a learned approximation. Value networks can be confidently wrong in states that the training data rarely covers, which matters greatly in offline reinforcement learning, where methods such as conservative Q-learning deliberately penalize overestimated values for unseen actions.

In plain words

A value network is like an experienced coach who looks at a game in progress. The coach does not tell you which move to make. The coach tells you how good your position is. A high score means you are likely to win. A low score means trouble.

A learning agent uses this score in two ways. It learns which choices lead to better positions. It can also look ahead and compare future positions without playing each game to the end.

A real-world example

A robotics team trains a warehouse robot arm to pick items from mixed bins using proximal policy optimization in simulation. The arm receives a reward of plus one for each successful grasp and a small penalty for collisions. The team builds a policy network and a value network that share a convolutional encoder for the camera image.

Early runs show slow and noisy learning because the value loss is weighted too low, and the critic predicts nearly the same value for every scene. After raising the value loss coefficient and normalizing returns, the value network starts to separate easy scenes from cluttered ones. The advantage estimates become sharper, and the grasp success rate in simulation rises from about 55 percent to about 85 percent over the next several million training steps.