Do No Harm: A Counterfactual Approach to Safe Reinforcement Learning

Sean Vaskov, Wilko Schwarting, Chris L. Baker
5/19/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Reinforcement Learning (RL) for control has become increasingly popular due to its ability to learn rich feedback policies that take into account uncertainty and complex representations of the environment. When considering safety constraints, constrained optimization approaches, where agents are penalized for constraint violations, are commonly used. In such methods, if agents are initialized in, or must visit, states where constraint violation might be inevitable, it is unclear how much they should be penalized. We address this challenge by formulating a constraint on the counterfactual harm of the learned policy compared to a default, safe policy. In a philosophical sense this formulation only penalizes the learner for constraint violations that it caused; in a practical sense it maintains feasibility of the optimal control problem. We present simulation studies on a rover with uncertain road friction and a tractor-trailer parking environment that demonstrate our constraint formulation enables agents to learn safer policies than contemporary constrained RL methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{vaskov2024harm,
  title  = {Do No Harm: A Counterfactual Approach to Safe Reinforcement Learning},
  author = {Sean Vaskov and Wilko Schwarting and Chris L. Baker},
  year   = {2024},
  eprint = {2405.11669},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.11669v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.11669.svg)](https://codeofpaper.com/paper/2405.11669)

Discussion