Automating Control of Overestimation Bias for Continuous Reinforcement Learning

Arsenii Kuznetsov, Alexander Grishin, Artem Tsypin, Arsenii Ashukha, Dmitry P. VetrovarXiv 2021

TL;DR

This paper introduces a novel, data-driven method to automatically tune hyperparameters that control overestimation bias in reinforcement learning (RL) algorithms. By adapting these parameters on-the-fly during training, the approach significantly reduces the need for extensive, environment-specific hyperparameter searches, leading to more efficient learning without sacrificing performance.

What Problem Does This Paper Address?

Reinforcement learning algorithms often suffer from "overestimation bias," where the estimated value of certain actions is inflated. This can lead to suboptimal decision-making and slower learning. To combat this, researchers have developed various bias correction techniques, but these typically rely on a specific hyperparameter that dictates the strength of the correction. Finding the optimal value for this hyperparameter is crucial but challenging, often requiring extensive grid searches across different environments. This process is computationally expensive and inefficient, especially in real-world applications where interaction time is limited. This paper aims to automate this hyperparameter tuning process, making bias correction more accessible and efficient.

Methods

The core contribution is a general, data-driven approach to automatically select the magnitude of overestimation control on-the-fly. This method involves:

  • Estimating Aggregated Bias: The approach estimates the aggregated bias of the Q-function using a "fresh" replay buffer containing recent trajectories. This buffer is crucial for capturing the current state of the learning process.
  • Adaptive Hyperparameter Update: Based on the estimated bias, the control hyperparameter (e.g., the number of dropped quantiles in TQC, the weight of the minimum in WD3, or the number of critics in MMQL) is adjusted. If overestimation is detected, the hyperparameter is increased to strengthen the bias correction; if underestimation is detected, it's decreased. This update is performed iteratively during training.
  • Application to Existing Algorithms: The authors demonstrate the effectiveness of their method by applying it to three prominent RL algorithms: Truncated Quantile Critics (TQC), Weighted Delayed DDPG (WD3), and Maxmin Q-learning (MMQL). The adaptive versions are named AdaTQC, AdaWD3, and AdaMMQL, respectively.

Datasets

The experiments were conducted on several standard RL benchmark environments:

  • MuJoCo: Including Humanoid-v3, HalfCheetah-v3, Hopper-v3, Walker2d-v3.
  • PyBullet: Including AntBulletEnv-v0, HalfCheetahBulletEnv-v0, HumanoidBulletEnv-v0, Walker2DBulletEnv-v0.
  • MinAtar: Including Asterix, Breakout, Seaquest, SpaceInvaders.
  • PyGame Learning Environments (PLE): Specifically, Pixelcopter.

No new benchmark datasets were introduced.

Key Insights and Ideas

  • On-the-fly adaptation is sufficient: The paper convincingly shows that adapting the bias control hyperparameter during training, rather than pre-determining it via grid search, is highly effective. This eliminates the need for costly outer-loop optimization.
  • Bias estimation quality: The proposed method's bias estimate, derived from a "fresh" replay buffer, closely matches the unbiased on-policy estimate, validating its approach.
  • Generalizability: The method is shown to be effective across diverse algorithms (TQC, WD3, MMQL) and environments, suggesting its broad applicability.
  • Trade-off between bias and performance: The authors highlight that while their method optimizes bias, some underlying algorithms might perform better with a small amount of residual bias, indicating a nuanced relationship between bias correction and overall performance.

Key Results

  • Significant reduction in interactions: The adaptive methods (AdaTQC, AdaWD3, AdaMMQL) achieve performance comparable to or better than grid search, but with a substantial reduction in the number of required environment interactions. For instance, Table 3 shows that non-adaptive methods might need "at least x full runs" to match the adaptive method's single run.
  • Effective bias control: Figures 3, 5, and 8 demonstrate that the adaptive methods successfully keep the estimated overestimation bias close to zero throughout training.
  • Competitive performance: Figures 2, 9, 10, 11, 12, and 13 show that the adaptive methods achieve performance on par with, and sometimes exceeding, the best fixed hyperparameter settings found through grid search. For example, AdaTQC often matches or surpasses the performance of TQC with optimal hyperparameters.

Limitations and Future Work

  • Inability to estimate unaggregated biases: The method primarily addresses aggregated biases. Correcting state-action dependent biases individually is still a challenge, as it might be as difficult as estimating the Q-function itself.
  • Sub-optimal performance when bias is beneficial: The adaptive technique may not achieve optimal results if the underlying bias correction mechanism inherently performs better with a non-zero aggregated bias.
  • Time-limited environments: Ignoring states from episodes that reach a time limit can introduce bias, though the paper suggests this effect is manageable with appropriate choices of the lookahead parameter k.
  • Future Work: The authors suggest exploring state-dependent overestimation control parameters (η(s)) as a promising direction for future research, allowing for more individualized bias correction.

Summary updated

BibTeX
@misc{kuznetsov2021automating,
  author = {Arsenii Kuznetsov and Alexander Grishin and Artem Tsypin and Arsenii Ashukha and Dmitry P. Vetrov},
  title = {{Automating Control of Overestimation Bias for Continuous Reinforcement Learning}},
  year = {2021},
  eprint = {2110.13523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.13523},
}
Figure