HomeAI & Machine LearningMaximization Bias: Q-Learning vs Double Q-Learning

Maximization Bias: Q-Learning vs Double Q-Learning

Watch Q-learning's max operator systematically overestimate action values on a noisy-reward MDP, and see Double Q-learning correct the bias — live 3D value graph, rolling win-rate curves, and the governing update rules.

AI & Machine Learning3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
reinforcement-learning-data-science ↗ Open standalone

This simulator runs two reinforcement-learning agents side by side on the textbook environment for demonstrating maximization bias: a start state with a cheap, certain "right" action and a tempting "left" action that leads into a bank of noisy-reward arms with an equal-or-worse true mean. Standard Q-learning's max-over-noisy-estimates bootstrap makes it overvalue the noisy branch and drift toward taking "left" far more than the ~5% that pure exploration accounts for; Double Q-learning, which decouples action selection from action evaluation across two independent tables, converges back down near the true optimum. A live 3D bar graph shows either agent's current per-arm value estimates growing and shrinking around state B, two rolling curves track each agent's left-action rate over thousands of episodes, and a live bias readout reports exactly how far Q-learning's maximum estimate has drifted from the true mean reward.

⚙ Under the hood

Run Q-learning and Double Q-learning side by side on the classic noisy-reward MDP and watch Q-learning's max-operator bootstrap systematically overestimate action values while Double Q-learning stays close to the truth.

reinforcement learningq-learningdouble q-learningmaximization biasmarkov decision process

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)