Constraints Penalized Q-Learning for Safe Offline Reinforcement Learning

Abstract

We study the problem of safe offline reinforcement learning (RL), the goal is to learn a policy that maximizes long-term reward while satisfying safety constraints given only offline data, without further interaction with the environment. This problem is more appealing for real world RL applications, in which data collection is costly or dangerous. Enforcing constraint satisfaction is non-trivial, especially in offline settings, as there is a potential large discrepancy between the policy distribution and the data distribution, causing errors in estimating the value of safety constraints. We show that naïve approaches that combine techniques from safe RL and offline RL can only learn sub-optimal solutions. We thus develop a simple yet effective algorithm, Constraints Penalized Q-Learning (CPQ), to solve the problem. Our method admits the use of data generated by mixed behavior policies. We present a theoretical analysis and demonstrate empirically that our approach can learn robustly across a variety of benchmark control tasks, outperforming several baselines.

Cite

Text

Xu et al. "Constraints Penalized Q-Learning for Safe Offline Reinforcement Learning." AAAI Conference on Artificial Intelligence, 2022. doi:10.1609/AAAI.V36I8.20855

Markdown

[Xu et al. "Constraints Penalized Q-Learning for Safe Offline Reinforcement Learning." AAAI Conference on Artificial Intelligence, 2022.](https://mlanthology.org/aaai/2022/xu2022aaai-constraints/) doi:10.1609/AAAI.V36I8.20855

BibTeX

@inproceedings{xu2022aaai-constraints,
  title     = {{Constraints Penalized Q-Learning for Safe Offline Reinforcement Learning}},
  author    = {Xu, Haoran and Zhan, Xianyuan and Zhu, Xiangyu},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2022},
  pages     = {8753-8760},
  doi       = {10.1609/AAAI.V36I8.20855},
  url       = {https://mlanthology.org/aaai/2022/xu2022aaai-constraints/}
}