Safety-Constrained Policy Transfer with Successor Features

Zeyu Feng, Bowen Zhang, Jianxin Bi, Harold Soh
11/10/2022
cs.LG
rl

Official code: clear-nus/SFT-CoP (2 stars, Python, MIT, last commit 2024-08-22).

Abstract

In this work, we focus on the problem of safe policy transfer in reinforcement learning: we seek to leverage existing policies when learning a new task with specified constraints. This problem is important for safety-critical applications where interactions are costly and unconstrained policies can lead to undesirable or dangerous outcomes, e.g., with physical robots that interact with humans.

Show full abstract

We propose a Constrained Markov Decision Process (CMDP) formulation that simultaneously enables the transfer of policies and adherence to safety constraints. Our formulation cleanly separates task goals from safety considerations and permits the specification of a wide variety of constraints. Our approach relies on a novel extension of generalized policy improvement to constrained settings via a Lagrangian formulation. We devise a dual optimization algorithm that estimates the optimal dual variable of a target task, thus enabling safe transfer of policies derived from successor features learned on source tasks. Our experiments in simulated domains show that our approach is effective; it visits unsafe states less frequently and outperforms alternative state-of-the-art methods when taking safety constraints into account.

View on arXivView PDF

Code Implementations(1)

clear-nus/SFT-CoPOfficial100%
MIT

Safety-Constrained Policy Transfer with Successor Features

21Python, ShellFeb 15, 20232 years agoMIT

Similar Papers

Cite this paper

@article{feng2022safetyconstrained,
  title  = {Safety-Constrained Policy Transfer with Successor Features},
  author = {Zeyu Feng and Bowen Zhang and Jianxin Bi and Harold Soh},
  year   = {2022},
  eprint = {2211.05361},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.05361}
}

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/2211.05361.svg)](https://codeofpaper.com/paper/2211.05361)

Discussion