Log Barriers for Safe Black-box Optimization with Application to Safe Reinforcement Learning

Ilnura Usmanova, Yarden As, Maryam Kamgarpour, Andreas Krause
7/21/2022
math.OCcs.LG

No official code found. Best implementation: lasgroup/lbsgd-rl (4 stars, MIT, last commit 2022-09-16).

Abstract

Optimizing noisy functions online, when evaluating the objective requires experiments on a deployed system, is a crucial task arising in manufacturing, robotics and many others. Often, constraints on safe inputs are unknown ahead of time, and we only obtain noisy information, indicating how close we are to violating the constraints. Yet, safety must be guaranteed at all times, not only for the final output of the algorithm. We introduce a general approach for seeking a stationary point in high dimensional non-linear stochastic optimization problems in which maintaining safety during learning is crucial. Our approach called LB-SGD is based on applying stochastic gradient descent (SGD) with a carefully chosen adaptive step size to a logarithmic barrier approximation of the original problem. We provide a complete convergence analysis of non-convex, convex, and strongly-convex smooth constrained problems, with first-order and zeroth-order feedback. Our approach yields efficient updates and scales better with dimensionality compared to existing approaches. We empirically compare the sample complexity and the computational cost of our method with existing safe learning approaches. Beyond synthetic benchmarks, we demonstrate the effectiveness of our approach on minimizing constraint violation in policy search tasks in safe reinforcement learning (RL).

View on arXivView PDF

Code Implementations(1)

lasgroup/lbsgd-rlCommunity100%
MIT

Implementation of Log Barriers SGD used in the RL experiment of the "Log Barriers for Safe Optimization of Smooth Objectives and Constraints with Application to Reinforcement Learning" paper.

43PythonJun 7, 20224 years agoMIT

Similar Papers

Cite this paper

@article{usmanova2022barriers,
  title  = {Log Barriers for Safe Black-box Optimization with Application to Safe Reinforcement Learning},
  author = {Ilnura Usmanova and Yarden As and Maryam Kamgarpour and Andreas Krause},
  year   = {2022},
  eprint = {2207.10415},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.10415v2}
}

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

Discussion