Learning Safety Constraints from Demonstrations with Unknown Rewards

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lindner, David, Chen, Xin, Tschiatschek, Sebastian, Hofmann, Katja, Krause, Andreas
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916144116400128
author Lindner, David
Chen, Xin
Tschiatschek, Sebastian
Hofmann, Katja
Krause, Andreas
author_facet Lindner, David
Chen, Xin
Tschiatschek, Sebastian
Hofmann, Katja
Krause, Andreas
contents We propose Convex Constraint Learning for Reinforcement Learning (CoCoRL), a novel approach for inferring shared constraints in a Constrained Markov Decision Process (CMDP) from a set of safe demonstrations with possibly different reward functions. While previous work is limited to demonstrations with known rewards or fully known environment dynamics, CoCoRL can learn constraints from demonstrations with different unknown rewards without knowledge of the environment dynamics. CoCoRL constructs a convex safe set based on demonstrations, which provably guarantees safety even for potentially sub-optimal (but safe) demonstrations. For near-optimal demonstrations, CoCoRL converges to the true safe set with no policy regret. We evaluate CoCoRL in gridworld environments and a driving simulation with multiple constraints. CoCoRL learns constraints that lead to safe driving behavior. Importantly, we can safely transfer the learned constraints to different tasks and environments. In contrast, alternative methods based on Inverse Reinforcement Learning (IRL) often exhibit poor performance and learn unsafe policies.
format Preprint
id arxiv_https___arxiv_org_abs_2305_16147
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Learning Safety Constraints from Demonstrations with Unknown Rewards
Lindner, David
Chen, Xin
Tschiatschek, Sebastian
Hofmann, Katja
Krause, Andreas
Machine Learning
Artificial Intelligence
We propose Convex Constraint Learning for Reinforcement Learning (CoCoRL), a novel approach for inferring shared constraints in a Constrained Markov Decision Process (CMDP) from a set of safe demonstrations with possibly different reward functions. While previous work is limited to demonstrations with known rewards or fully known environment dynamics, CoCoRL can learn constraints from demonstrations with different unknown rewards without knowledge of the environment dynamics. CoCoRL constructs a convex safe set based on demonstrations, which provably guarantees safety even for potentially sub-optimal (but safe) demonstrations. For near-optimal demonstrations, CoCoRL converges to the true safe set with no policy regret. We evaluate CoCoRL in gridworld environments and a driving simulation with multiple constraints. CoCoRL learns constraints that lead to safe driving behavior. Importantly, we can safely transfer the learned constraints to different tasks and environments. In contrast, alternative methods based on Inverse Reinforcement Learning (IRL) often exhibit poor performance and learn unsafe policies.
title Learning Safety Constraints from Demonstrations with Unknown Rewards
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2305.16147