Efficient Trust Region-Based Safe Reinforcement Learning with Low-Bias Distributional Actor-Critic

Dohyeong Kim, Kyungjae Lee, Songhwai Oh · DOI

Abstract

Safe reinforcement learning (RL) in complex environments requires satisfying multiple safety constraints simultaneously, often from infeasible starting states. This paper introduces Safe Distributional Actor-Critic (SDAC), a trust region-based algorithm that addresses these challenges through a novel gradient integration method and a low-bias $TD(\lambda)$ distributional critic. SDAC significantly reduces safety violations and accelerates constraint satisfaction compared to state-of-the-art baselines in multi-constrained robotics tasks.

Introduction

In real-world robotics, safety is multi-faceted, encompassing collision avoidance, energy efficiency, and stability. Traditional safe RL algorithms face three primary hurdles:

  1. The Infeasible Start Problem: Many methods fail when an agent begins in a state that already violates constraints.
  2. Risk Sensitivity: Standard RL focuses on expected values, whereas safety-critical applications require managing worst-case "tail" outcomes.
  3. Estimation Bias: Distributional RL, while capable of modeling tails, often suffers from significant bias in standard Bellman updates.

Methods

Gradient Integration for Multiple Constraints

SDAC addresses the "infeasible start" problem by integrating gradients from all violated constraints. When an agent is in an unsafe region, SDAC solves a Quadratic Program (QP) to find a single update direction that moves toward the feasible region for all constraints simultaneously.

Figure 1: Comparison of the proposed gradient integration method versus a naive approach. The proposed method efficiently navigates toward the feasible region by considering multiple constraint gradients.

This approach prevents constraints with large gradients from dominating the update, ensuring a balanced recovery path.

Low-Bias Distributional Critic with $TD(\lambda)$

To accurately estimate risk-averse metrics like CVaR, SDAC employs a distributional version of the $TD(\lambda)$ operator. Unlike standard one-step updates, this method blends multi-step lookaheads using a trace-decay parameter $\lambda$, allowing for a better trade-off between bias and variance. The resulting complex distributions are projected back onto a fixed set of quantile "atoms" to maintain computational efficiency.

Experimental Results

The researchers evaluated SDAC on Safety Gym benchmarks and high-dimensional locomotion tasks involving robots like the Mini-Cheetah, Laikago, and Cassie.

Figure 5: Performance comparison of SDAC against baselines (CPO, WCSAC, CVPO) across various Safety Gym tasks. SDAC achieves higher rewards with significantly fewer constraint violations (CVs).

Key findings include:

  • Faster Recovery: In multi-constrained locomotion, SDAC reached a safe state 1.93 times faster than the best baseline.
  • Enhanced Safety: In Safety Gym, SDAC reduced constraint violations by 1.78 times while maintaining competitive reward performance.
  • Stability: The trust-region approach provided smoother training curves compared to jittery Lagrange-based methods.

Conclusion and Future Work

SDAC demonstrates that simultaneous constraint recovery and low-bias distributional estimation are critical for safe RL in complex environments. While the current QP-based gradient integration scales quadratically with the number of constraints, future work will explore more efficient scaling techniques and the integration of coherent risk measures like CVaR without destabilizing training.

Summary updated

BibTeX
@misc{kim2023efficient,
  author = {Dohyeong Kim and Kyungjae Lee and Songhwai Oh},
  title = {{Efficient Trust Region-Based Safe Reinforcement Learning with Low-Bias Distributional Actor-Critic}},
  year = {2023},
  eprint = {2301.10923},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.10923},
}
Figure