Action Candidate Driven Clipped Double Q-Learning for Discrete and Continuous Action Tasks

Haobo Jiang, Guangyu Li, Jin Xie, Jian Yang

TL;DR

This paper introduces a novel "action candidate-based clipped double estimator" to mitigate the underestimation bias inherent in clipped double Q-learning, a popular reinforcement learning technique. By strategically selecting a subset of promising actions, their method achieves a better balance between overestimation and underestimation biases, leading to improved performance in both discrete and continuous action tasks.

What Problem Does This Paper Address?

Reinforcement learning (RL) algorithms like Q-learning aim to maximize cumulative rewards by learning optimal action-selection policies. However, standard Q-learning suffers from an "overestimation bias," where action values are systematically overestimated. Clipped double Q-learning (CDQ) was developed to address this by using two Q-functions and clipping the target values. While CDQ reduces overestimation, it introduces a new problem: "underestimation bias," particularly in stochastic environments. This underestimation can hinder the learning of high-quality policies. This paper tackles this specific underestimation bias in CDQ, aiming to create a more robust and accurate value estimation method.

Methods

The core innovation is the Action Candidate Based Clipped Double Estimator (AC-CDE). Instead of directly using the maximum action value from one Q-function to clip the other (as in standard CDQ), AC-CDE first identifies a set of "elite" action candidates from one Q-function that have high estimated values. Then, it selects the action with the highest value from this elite set using the other Q-function. Finally, it uses the maximum value from the second Q-function to clip the value of the selected action from the first Q-function. This process aims to bridge the gap between action selection and evaluation, reducing the likelihood of picking an action that appears good in one Q-function but is actually poor in the other.

The authors also propose an adaptive version, Auto-AC-CDE, which dynamically determines the number of action candidates based on the estimated distribution difference between action values. This method is extended to deep RL settings as AC-CDDQN for discrete actions and integrated into the TD3 framework for continuous actions, resulting in AC-TD3.

Datasets

The paper evaluates its methods on several benchmarks:

  • Toy Environments: Multi-armed bandits and Grid Worlds are used to analyze the theoretical properties and bias reduction of the AC-CDE.
  • MinAtar Benchmark: A set of simplified Atari games (Breakout, Asterix, Seaquest, Space Invaders) for evaluating AC-CDDQN.
  • OpenAI Gym (MuJoCo): Standard continuous control tasks (Ant-v2, Walker2D-v2, Swimmer-v2, Pusher-v2, Hopper-v2, Reacher-v2) for evaluating AC-TD3.

Key Insights and Ideas

  • Underestimation Bias is a Real Problem: The paper highlights that while CDQ mitigates overestimation, its underestimation bias can be detrimental, especially in stochastic environments.
  • Strategic Action Selection Matters: Simply picking the best action from one Q-function to evaluate in another can be problematic. Identifying a set of promising candidates and then selecting the best among them using the other Q-function is more robust.
  • Candidate Number as a Trade-off Knob: The number of action candidates (K) directly influences the balance between overestimation and underestimation biases. A smaller K can lead to larger underestimation, while a larger K might increase overestimation.
  • Adaptive Candidate Selection is Beneficial: Dynamically adjusting the number of candidates based on the problem's characteristics (e.g., distribution differences) leads to better performance than fixed K.
  • Theoretical Guarantees: The paper provides theoretical analysis showing that the underestimation bias decays monotonically as K decreases, and that K controls the trade-off between biases.

Key Results

  • Reduced Bias: AC-CDE and its variants consistently show lower bias (measured by bias²) compared to single estimators, double estimators, and clipped double estimators across various settings, particularly in the multi-armed bandit experiments.
  • Improved Performance: In Grid World environments, AC-CDQ and Auto-AC-CDQ achieve higher mean rewards and lower estimation errors than Q-learning, Double Q-learning, and CDQ.
  • Competitive in Deep RL: AC-CDDQN demonstrates competitive or superior performance to DQN, Double DQN, Averaged-DQN, and CDDQN on MinAtar games, with significant gains in some environments.
  • State-of-the-Art in Continuous Control: AC-TD3 achieves robust and competitive performance on MuJoCo tasks, often outperforming TD3, SAC, and DDPG, and showing lower estimation bias.
  • Adaptive Version Excels: Auto-AC-CDQ and Auto-AC-CDE generally outperform their fixed-K counterparts, demonstrating the value of adaptive candidate selection.

Limitations and Future Work

  • Hyperparameter Sensitivity: The paper notes that the sensitivity parameter 'c' in the adaptive selection function for AC-CDE might require manual tuning for different domains, although it suggests that within a domain, a fixed 'c' might work across various settings.
  • Theoretical Analysis for Deep RL: While theoretical properties are analyzed for the tabular case, the paper focuses on empirical verification for deep RL extensions.
  • Future Work: The authors suggest exploring adaptive selection mechanisms for continuous action tasks and further investigating the theoretical properties of the deep and continuous variants. The code for their proposed methods is made publicly available.

Summary updated

BibTeX
@article{jiang2024action,
  author = {Haobo Jiang and Guangyu Li and Jin Xie and Jian Yang},
  title = {{Action Candidate Driven Clipped Double Q-Learning for Discrete and Continuous Action Tasks}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2024},
  doi = {10.1109/tnnls.2022.3203024},
}
Figure