Abstract
Off-policy deep reinforcement learning algorithms commonly compensate for overestimation bias during temporal-difference learning by utilizing pessimistic estimates of the expected target returns. In this work, we propose Generalized Pessimism Learning (GPL), a strategy employing a novel learnable penalty to enact such pessimism. In particular, we propose to learn this penalty alongside the critic with dual TD-learning, a new procedure to estimate and minimize the magnitude of the target returns bias with trivial computational cost. GPL enables us to accurately counteract overestimation bias throughout training without incurring the downsides of overly pessimistic targets. By integrating GPL with popular off-policy algorithms, we achieve state-of-the-art results in both competitive proprioceptive and pixel-based benchmarks.
Introduction
Off-policy reinforcement learning (RL) algorithms, such as Soft Actor-Critic (SAC) and Deep Q-Networks (DQN), are frequently plagued by overestimation bias. This phenomenon occurs when an agent's "critic"—the component responsible for predicting future rewards—consistently overvalues certain actions. Because agents typically select actions that maximize predicted value, they are prone to exploiting errors where the critic has accidentally assigned an inflated value. These errors accumulate over time, leading to a divergence between predicted and actual performance, which can ultimately cause the learning process to collapse.
Traditional solutions, such as Clipped Double Q-learning, attempt to mitigate this by taking the minimum of two critic predictions. However, this "blunt" approach often results in excessive pessimism, which can stifle exploration and slow convergence. In this work, we introduce Generalized Pessimism Learning (GPL), a framework that enables agents to learn the optimal level of pessimism required to neutralize overestimation bias without hindering performance.
Methodology: Generalized Pessimism Learning
GPL introduces a learnable mechanism to counteract bias through two primary innovations: an uncertainty regularizer and a dual TD-learning procedure.
Uncertainty Regularizer ($p_\beta$)
Instead of a hard minimum, GPL applies a penalty to the target reward defined as $\beta \times \text{epistemic uncertainty}$. Uncertainty is quantified using the Wasserstein distance between the return distributions of a critic ensemble. To maintain computational efficiency, this ensemble is implemented as a single neural network with split layers, allowing for parallelized computation and running up to 2.4x faster than previous ensemble methods like REDQ.
Dual TD-Learning
The core challenge lies in determining the optimal value for the penalty coefficient $\beta$. GPL treats $\beta$ as a dual variable in an optimization problem. The key insight is that while on-policy actions (those favored by the current policy) are biased, off-policy actions (randomly sampled from the replay buffer) are generally not. By comparing the critic's predictions on these off-policy actions against actual observed rewards, the system can estimate the current magnitude of the bias.
As shown in the architecture diagram above, the dual TD-loss is used to update $\beta$ via gradient descent, driving the estimated bias toward zero. This ensures that the target values remain grounded throughout the training process. Additionally, a "Pessimism Annealing" strategy is employed, which initially allows for optimism to encourage early exploration before transitioning to the learned, unbiased pessimism.
Experimental Evaluation
We evaluated GPL across two challenging benchmarks: the MuJoCo suite for high-dimensional continuous control using proprioceptive data, and the DeepMind Control Suite (DMC) for pixel-based visual tasks.
Results on Proprioceptive Tasks
In the MuJoCo environments, GPL-SAC demonstrated significant improvements in both sample efficiency and final performance compared to state-of-the-art baselines like REDQ and MBPO.
A standout result was observed in the Humanoid-v2 task, where GPL-SAC reached a performance threshold of 5000 in fewer than 100,000 environment steps. This represents a 9x speedup over standard SAC and a 2.5x improvement over REDQ. Statistical analysis confirmed that these gains are robust across multiple seeds, showing a higher interquartile mean and a reduced optimality gap.
Pixel-Based Performance
On the DeepMind Control Suite, integrating GPL with the DrQv2 algorithm (GPL-DrQ) yielded superior results in visual RL. The method proved particularly effective in tasks involving sparse rewards and complex exploration, where accurate value estimation is critical, outperforming baselines like CURL and standard DrQv2.
Discussion and Conclusion
GPL demonstrates that overestimation bias is a dynamic target that varies by task and training stage. By treating pessimism as a learnable parameter rather than a fixed heuristic, GPL achieves a "True North" target that is neither over- nor under-estimated.
While the method relies on the initial unbiasedness of off-policy action estimates, its empirical success across diverse benchmarks suggests it is a powerful tool for stabilizing off-policy RL. Future work will explore the application of GPL to Offline RL, where the lack of environment interaction makes overestimation bias the primary obstacle to successful policy derivation.
Summary updated