Distributional Soft Actor-Critic: Off-Policy Reinforcement Learning for Addressing Value Estimation Errors

Jingliang Duan, Yang Guan, Shengbo Eben Li, Yangang Ren, Qi Sun, Bo Cheng

Abstract

Overestimation bias in state-action value (Q-value) estimation remains a significant hurdle in off-policy reinforcement learning (RL). While methods like Clipped Double Q-learning mitigate this, they often introduce underestimation bias and increased computational overhead. This paper introduces Distributional Soft Actor-Critic (DSAC), an algorithm that models the return as a continuous distribution rather than a point estimate. By leveraging the variance of the return distribution to adaptively adjust learning steps, DSAC effectively dampens overestimation without the need for redundant networks. Evaluated on the MuJoCo suite, DSAC achieves state-of-the-art performance, particularly in high-dimensional tasks like Humanoid-v2, while maintaining superior computational efficiency.

Introduction

In reinforcement learning, agents aim to maximize cumulative rewards by learning an optimal policy. However, function approximation in off-policy RL frequently leads to overestimation bias—the tendency to learn unrealistically high Q-values. This phenomenon occurs because the "max" operator used in Bellman updates favors noisy, high-value estimates, which then propagate through the learning process, resulting in suboptimal policies.

Popular solutions, such as Soft Actor-Critic (SAC) and Twin Delayed DDPG (TD3), utilize "Clipped Double Q-learning," which takes the minimum of two independent Q-networks. While effective, this approach can lead to significant underestimation bias and requires the memory and computation of multiple networks. Furthermore, previous distributional RL methods (like C51 or D4PG) rely on discrete "atoms" or buckets to represent the return distribution. These discrete methods are often computationally expensive and difficult to tune for high-dimensional continuous control tasks. DSAC addresses these limitations by modeling a continuous return distribution.

Methodology

Distributional Soft Policy Iteration (DSPI)

The foundation of DSAC is the Distributional Soft Policy Iteration (DSPI) framework. This theoretical framework embeds return distributions directly into the maximum entropy RL objective, allowing the agent to optimize for both expected reward and policy entropy while accounting for the full range of potential outcomes.

Continuous Return Modeling

Unlike prior distributional methods that use discrete buckets, DSAC models the return as a continuous Gaussian distribution characterized by a mean ($Q$) and a standard deviation ($\sigma$). This continuous representation eliminates the need for human-designed return ranges and intervals, making the algorithm more robust across diverse tasks.

Adaptive Step-size and Variance Regularization

A key insight of DSAC is the relationship between uncertainty and learning updates. The authors demonstrate that in a distributional setting, the update for the Q-value is inversely proportional to the variance ($\sigma^2$). This creates an inherent adaptive step-size: the agent automatically reduces its learning rate in regions of high uncertainty. This mechanism acts as a natural regularizer, dampening the propagation of overestimation errors without requiring a second Q-network.

Implementation and Stability

To ensure numerical stability and prevent exploding or vanishing gradients, DSAC incorporates a "clipping boundary" for the target distribution and a minimum variance constraint. The algorithm is implemented using the Parallel Asynchronous Buffer-Actor-Learner (PABAL) architecture. This architecture distributes data storage, exploration, and gradient updates across multiple workers, significantly improving sample efficiency and wall-clock speed.

Experimental Evaluation

Benchmarks

DSAC was evaluated on the MuJoCo suite via OpenAI Gym, focusing on complex continuous control tasks:

  • Humanoid-v2: A 3D bipedal walking task with a 376-dimensional state space.
  • Ant-v2: A four-legged walking task.
  • Walker2d-v2, HalfCheetah-v2, and InvertedDoublePendulum-v2.

Baselines

The algorithm was compared against several prominent RL algorithms, including SAC, TD3, DDPG, PPO, and D4PG.

Results and Discussion

Performance and Efficiency

DSAC matched or exceeded the performance of all baselines across the MuJoCo suite. The most notable gains were observed in the most complex task, Humanoid-v2, where DSAC outperformed SAC by 20.0%, TD3 by 63.8%, and DDPG by 97.6%.

Beyond raw performance, DSAC proved to be more computationally efficient. By utilizing a single value network that outputs two parameters (mean and variance) rather than the two separate Q-networks required by SAC, DSAC achieved faster wall-clock speeds per 1,000 iterations.

Bias Mitigation

Quantitative analysis confirmed that DSAC effectively mitigates overestimation bias. Unlike clipped methods that can fall into a "deep underestimation trap," DSAC maintains more accurate value estimates by using the return variance to regulate learning. This suggests that modeling the distribution provides a more structurally sound fix for estimation errors than heuristic clipping.

Conclusion and Future Work

Distributional Soft Actor-Critic (DSAC) represents a significant step forward in off-policy RL for continuous control. By replacing point estimates with continuous Gaussian distributions, the algorithm naturally addresses overestimation bias through variance-based adaptive step-sizes.

While highly effective, DSAC currently assumes that returns follow a Gaussian distribution. Future research may explore more flexible distribution types, such as multi-modal or skewed distributions, to better capture the complexities of RL environments. Additionally, automating the tuning of the "clipping boundary" hyperparameter remains an area for further refinement.

Summary updated

BibTeX
@article{duan2022distributional,
  author = {Jingliang Duan and Yang Guan and Shengbo Eben Li and Yangang Ren and Qi Sun and Bo Cheng},
  title = {{Distributional Soft Actor-Critic: Off-Policy Reinforcement Learning for Addressing Value Estimation Errors}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2022},
  doi = {10.1109/tnnls.2021.3082568},
}
Figure