Balance Reward and Safety Optimization for Safe Reinforcement Learning: A Perspective of Gradient Manipulation

Abstract

Ensuring the safety of Reinforcement Learning (RL) is crucial for its deployment in real-world applications. Nevertheless, managing the trade-off between reward and safety during exploration presents a significant challenge. Improving reward performance through policy adjustments may adversely affect safety performance. In this study, we aim to address this conflicting relation by leveraging the theory of gradient manipulation. Initially, we analyze the conflict between reward and safety gradients. Subsequently, we tackle the balance between reward and safety optimization by proposing a soft switching policy optimization method, for which we provide convergence analysis. Based on our theoretical examination, we provide a safe RL framework to overcome the aforementioned challenge, and we develop a Safety-MuJoCo Benchmark to assess the performance of safe RL algorithms. Finally, we evaluate the effectiveness of our method on the Safety-MuJoCo Benchmark and a popular safe benchmark, Omnisafe. Experimental results demonstrate that our algorithms outperform several state-of-the-art baselines in terms of balancing reward and safety optimization.

Cite

Text

Gu et al. "Balance Reward and Safety Optimization for Safe Reinforcement Learning: A Perspective of Gradient Manipulation." AAAI Conference on Artificial Intelligence, 2024. doi:10.1609/AAAI.V38I19.30102

Markdown

[Gu et al. "Balance Reward and Safety Optimization for Safe Reinforcement Learning: A Perspective of Gradient Manipulation." AAAI Conference on Artificial Intelligence, 2024.](https://mlanthology.org/aaai/2024/gu2024aaai-balance/) doi:10.1609/AAAI.V38I19.30102

BibTeX

@inproceedings{gu2024aaai-balance,
  title     = {{Balance Reward and Safety Optimization for Safe Reinforcement Learning: A Perspective of Gradient Manipulation}},
  author    = {Gu, Shangding and Sel, Bilgehan and Ding, Yuhao and Wang, Lu and Lin, Qingwei and Jin, Ming and Knoll, Alois},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {21099-21106},
  doi       = {10.1609/AAAI.V38I19.30102},
  url       = {https://mlanthology.org/aaai/2024/gu2024aaai-balance/}
}