Notes

Maximization Bias

When an agent chooses the action with the highest estimated value, that sounds sensible: pick the best option. The catch is that estimates contain noise, and taking the maximum quietly favors options that were overestimated by luck.

How the bias appears
Maximization bias is the systematic overestimation created when the same noisy value estimates are used both to select the best action and to evaluate it. In Q-learning, the target for a transition is:

reward + discount × max_a Q(next_state, a)

If several next actions truly have similar value, random estimation errors make one look largest. The max operator selects that optimistic error more readily than a pessimistic one. Repeating this update can push Q-values upward even when no action is genuinely that valuable. This is not merely exploratory optimism: it is a mathematical consequence of maximizing uncertain estimates.

A concrete failure case
Imagine an agent reaches a state with two actions, each really worth zero future reward. Its current estimates, due to limited samples, are Q=0.2 and Q=-0.1. Q-learning uses 0.2 in its target, not the true value of zero. Across many such states, these selected positive errors accumulate. The agent can become overconfident in risky or poorly sampled choices, then keep revisiting them because their inflated values appear attractive.

The Double Q remedy
Double Q-learning reduces the problem by keeping two independent value tables. One table chooses the greedy action; the other evaluates that chosen action. Their errors are less tightly coupled, so a lucky overestimate in the selecting table is not automatically endorsed by the evaluating table. Double DQN applies the same idea with neural networks. This matters because inaccurate value targets can destabilize learning, produce misleading policies, and make apparent training gains vanish when the agent is evaluated more carefully.

Maximization bias is the systematic overestimation of action values caused by selecting the largest estimate among noisy or uncertain value estimates. In Q-learning, the same estimates both choose the maximizing action and evaluate it, so random errors are preferentially treated as evidence of high value. This can produce overly optimistic policies and unstable learning; Double Q-learning reduces it by separating action selection from evaluation.

Imagine choosing the “best” restaurant from a handful of reviews. One place has an unusually glowing review, but it may simply be luck: perhaps one reviewer had an exceptional evening. If you always pick whichever score looks highest, you can mistake a lucky exaggeration for genuine quality.

Maximization bias is this same problem in a learning system. When it compares several possible actions and chooses the one with the highest estimated reward, random errors tend to make one option look better than it truly is. Over time, the system can become overconfident in choices that only seem best because of noisy experience.