English

Safe Deep Reinforcement Learning by Verifying Task-Level Properties

Artificial Intelligence 2023-02-21 v1 Machine Learning

Abstract

Cost functions are commonly employed in Safe Deep Reinforcement Learning (DRL). However, the cost is typically encoded as an indicator function due to the difficulty of quantifying the risk of policy decisions in the state space. Such an encoding requires the agent to visit numerous unsafe states to learn a cost-value function to drive the learning process toward safety. Hence, increasing the number of unsafe interactions and decreasing sample efficiency. In this paper, we investigate an alternative approach that uses domain knowledge to quantify the risk in the proximity of such states by defining a violation metric. This metric is computed by verifying task-level properties, shaped as input-output conditions, and it is used as a penalty to bias the policy away from unsafe states without learning an additional value function. We investigate the benefits of using the violation metric in standard Safe DRL benchmarks and robotic mapless navigation tasks. The navigation experiments bridge the gap between Safe DRL and robotics, introducing a framework that allows rapid testing on real robots. Our experiments show that policies trained with the violation penalty achieve higher performance over Safe DRL baselines and significantly reduce the number of visited unsafe states.

Keywords

Cite

@article{arxiv.2302.10030,
  title  = {Safe Deep Reinforcement Learning by Verifying Task-Level Properties},
  author = {Enrico Marchesini and Luca Marzari and Alessandro Farinelli and Christopher Amato},
  journal= {arXiv preprint arXiv:2302.10030},
  year   = {2023}
}

Comments

Accepted at the 22nd International Conference on Autonomous Agents and Multiagent Systems (AAMAS). Marchesini and Marzari contributed equally

R2 v1 2026-06-28T08:44:37.288Z