Addressing Maximization Bias in Reinforcement Learning with Two-Sample Testing

Martin Waltz, Ostap Okhrin
1/20/2022
cs.LG
rl

Official code: MarWaltz/TUD_RL (40 stars, Python, last commit 2024-07-22).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MarWaltz/TUD_RLOfficial100%

RL Dresden Algorithm Suite

4013PythonJul 12, 20212 years ago

Similar Papers

Cite this paper

@article{waltz2022addressing,
  title  = {Addressing Maximization Bias in Reinforcement Learning with Two-Sample Testing},
  author = {Martin Waltz and Ostap Okhrin},
  year   = {2022},
  eprint = {2201.08078},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.08078}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.08078.svg)](https://codeofpaper.com/paper/2201.08078)

Discussion