Addressing Maximization Bias in Reinforcement Learning with Two-Sample Testing
Martin Waltz, Ostap Okhrin
TL;DR
This work reframes overestimation bias in reinforcement learning as a maximum expectation estimation problem and introduces two statistically grounded estimators, the T-Estimator and the K-Estimator, based on two-sample testing and kernel smoothing. TE provides a tunable bias-variance tradeoff via a significance level alpha, while KE generalizes this with a family of kernels, preserving variance bounds and computational efficiency. The estimators are integrated into both tabular and deep Q-learning frameworks (including BDQN), with convergence guarantees in the tabular case and an adaptive variant (Ada-TE-BDQN) to minimize absolute bias during training. Empirical results across internet ads, Cliff Walking, and MinAtar show that TE/KE can achieve robust performance by controlling bias without sacrificing stability, highlighting the value of adaptive bias management in RL and guiding future extensions to continuous actions and exploration interactions.
Abstract
Value-based reinforcement-learning algorithms have shown strong results in games, robotics, and other real-world applications. Overestimation bias is a known threat to those algorithms and can sometimes lead to dramatic performance decreases or even complete algorithmic failure. We frame the bias problem statistically and consider it an instance of estimating the maximum expected value (MEV) of a set of random variables. We propose the $T$-Estimator (TE) based on two-sample testing for the mean, that flexibly interpolates between over- and underestimation by adjusting the significance level of the underlying hypothesis tests. We also introduce a generalization, termed $K$-Estimator (KE), that obeys the same bias and variance bounds as the TE and relies on a nearly arbitrary kernel function. We introduce modifications of $Q$-Learning and the Bootstrapped Deep $Q$-Network (BDQN) using the TE and the KE, and prove convergence in the tabular setting. Furthermore, we propose an adaptive variant of the TE-based BDQN that dynamically adjusts the significance level to minimize the absolute estimation bias. All proposed estimators and algorithms are thoroughly tested and validated on diverse tasks and environments, illustrating the bias control and performance potential of the TE and KE.
