Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Constraints Penalized Q-learning for Safe Offline Reinforcement Learning

About

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\"ive 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.

Haoran Xu, Xianyuan Zhan, Xiangyu Zhu• 2021

Related benchmarks

TaskDatasetResultRank
PointButton1Safety Gymnasium
Normalized Reward69
21
PointButton2Safety Gymnasium
Normalized Reward58
21
PointGoal1Safety Gymnasium
Normalized Reward0.74
21
PointGoal2Safety Gymnasium
Normalized Reward67
21
PointPush1Safety Gymnasium
Normalized Reward33
21
PointPush2Safety Gymnasium
Normalized Reward23
21
CarButton1Safety Gymnasium
Reward0.42
19
CarButton2Safety Gymnasium
Reward0.37
19
CarGoal1Safety Gymnasium
Reward79
19
CarGoal2Safety Gymnasium
Reward0.65
19
Showing 10 of 66 rows

Other info

Follow for update