First Order Constrained Optimization in Policy Space

Yiming Zhang, Quan Vuong, Keith W. Ross
2/16/2020
cs.LGcs.AIstat.ML

Official code: ymzhang01/focops (29 stars, last commit 2021-12-09).

Abstract

In reinforcement learning, an agent attempts to learn high-performing behaviors through interacting with the environment, such behaviors are often quantified in the form of a reward function. However some aspects of behavior-such as ones which are deemed unsafe and to be avoided-are best captured through constraints. We propose a novel approach called First Order Constrained Optimization in Policy Space (FOCOPS) which maximizes an agent's overall reward while ensuring the agent satisfies a set of cost constraints. Using data generated from the current policy, FOCOPS first finds the optimal update policy by solving a constrained optimization problem in the nonparameterized policy space. FOCOPS then projects the update policy back into the parametric policy space. Our approach has an approximate upper bound for worst-case constraint violation throughout training and is first-order in nature therefore simple to implement. We provide empirical evidence that our simple approach achieves better performance on a set of constrained robotics locomotive tasks.

View on arXivView PDF

Code Implementations(1)

ymzhang01/focopsOfficial100%

Pytorch Implementation for First Order Constrained Optimization in Policy Space (FOCOPS).

295PythonOct 19, 20204 years ago

Similar Papers

Cite this paper

@article{zhang2020first,
  title  = {First Order Constrained Optimization in Policy Space},
  author = {Yiming Zhang and Quan Vuong and Keith W. Ross},
  year   = {2020},
  eprint = {2002.06506},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.06506}
}

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

Discussion