DSAC: Distributional Soft Actor-Critic for Risk-Sensitive Reinforcement Learning

Xiaoteng Ma, Junyao Chen, Li Xia, Jun Yang, Qianchuan Zhao, Zhengyuan Zhou

Abstract

Reinforcement Learning (RL) typically focuses on maximizing expected returns, often ignoring the risk associated with the distribution of outcomes. This paper introduces Distributional Soft Actor-Critic (DSAC), a framework that integrates the maximum entropy exploration of Soft Actor-Critic (SAC) with distributional RL. By modeling the full quantile distribution of future rewards, DSAC enables risk-sensitive decision-making and achieves state-of-the-art performance on continuous control benchmarks, including Humanoid-v2 and BipedalWalkerHardcore-v3.

Introduction

Standard reinforcement learning algorithms are generally designed to optimize the "first moment" of the value function—the expected return. However, in real-world applications such as robotics or finance, the shape of the return distribution is critical. Two actions with identical expected values may have vastly different risk profiles.

Existing approaches face a trade-off: Soft Actor-Critic (SAC) provides excellent exploration through its maximum entropy objective but remains blind to the reward distribution. Distributional RL methods capture the full distribution but often lack the sophisticated exploration required for complex, continuous action spaces. DSAC addresses this by providing a unified framework that utilizes distributional information for risk management while maintaining the optimistic exploration of SAC.

Methodology

The Distributional Soft Bellman Operator

The core of DSAC is the Distributional Soft Bellman Operator. The authors provide a mathematical proof that this operator is a contraction, ensuring that iterative updates converge to a unique, stable value distribution. This theoretical foundation allows for the robust integration of distributional learning into the actor-critic framework.

Quantile Regression and Entropy Smoothing

DSAC employs Quantile Regression (QDRL) to model the reward distribution without assuming a specific functional form. This allows the agent to capture skewed or heavy-tailed outcomes, which are essential for identifying rare but catastrophic risks.

A key finding is the "smoothing effect" of entropy. By incorporating an entropy bonus into the distributional learning process, the target distributions become less volatile during training. This stochasticity acts as a stabilizer, leading to faster and more consistent convergence compared to traditional distributional methods.

Risk-Sensitive DSAC (RDSAC)

The framework is extended to a risk-sensitive version (RDSAC) by decoupling the external reward distribution from the policy's entropy distribution. This allows for the application of various risk measures—such as Conditional Value-at-Risk (CVaR), Wang distortion, or Mean-Semideviation (MSD)—specifically to the environmental rewards, enabling fine-grained control over the agent's risk appetite.

Experimental Evaluation

Benchmarks

The researchers evaluated DSAC across several demanding environments:

  • MuJoCo Continuous Control: Including Hopper, Walker2d, HalfCheetah, Ant, and the high-dimensional Humanoid-v2.
  • OpenAI Gym Box2d: Specifically BipedalWalkerHardcore-v3, a task known for its exploration challenges.
  • Risky Navigation: Custom "Risky Mass Point" and "Risky Ant" environments where agents must navigate to goals while avoiding probabilistic "danger zones."

Performance Results

DSAC demonstrates superior performance across these benchmarks. In Humanoid-v2, DSAC achieved an average return of 8673, significantly outperforming standard SAC (6547) and distributional baselines like D4PG (641). In BipedalWalkerHardcore-v3, DSAC was among the few algorithms to reach the ideal score of 318 without specialized architectural modifications. Furthermore, DSAC produced more accurate value estimates with lower variance between its twin networks, suggesting a reduction in overestimation bias.

Key Insights on Risk Sensitivity

The study revealed that "hard" risk measures, such as CVaR(0.1), can be counterproductive in complex tasks. Overly conservative agents may cease exploration entirely to avoid tail risks. In contrast, "soft" risk measures like Wang Distortion and Mean-Semideviation (MSD) provided the best balance, allowing agents to remain cautious of downsides while maintaining enough optimism to explore and solve the task.

Conclusion

DSAC represents a significant advancement in reinforcement learning, bridging the gap between high-performance exploration and sophisticated risk management. By modeling the full distribution of returns, it enables agents to act more wisely in uncertain environments. Future research will focus on reducing the computational overhead of quantile modeling and extending the framework to handle uncertainty in reward functions themselves.

Summary updated

BibTeX
@article{ma2025dsac,
  author = {Xiaoteng Ma and Junyao Chen and Li Xia and Jun Yang and Qianchuan Zhao and Zhengyuan Zhou},
  title = {{DSAC: Distributional Soft Actor-Critic for Risk-Sensitive Reinforcement Learning}},
  journal = {J. Artif. Intell. Res.},
  year = {2025},
  doi = {10.1613/jair.1.17526},
}
Figure