Differentiable Trust Region Layers for Deep Reinforcement Learning

Fabian Otto, Philipp Becker, Ngo Anh Vien, Hanna Carolin Ziesche, Gerhard Neumann
1/22/2021
cs.LGcs.IT
rl

Official code: boschresearch/trust-region-layers (11 stars, Python, AGPL-3.0, last commit 2023-08-23).

Abstract

Trust region methods are a popular tool in reinforcement learning as they yield robust policy updates in continuous and discrete action spaces. However, enforcing such trust regions in deep reinforcement learning is difficult.

Show full abstract

Hence, many approaches, such as Trust Region Policy Optimization (TRPO) and Proximal Policy Optimization (PPO), are based on approximations. Due to those approximations, they violate the constraints or fail to find the optimal solution within the trust region. Moreover, they are difficult to implement, often lack sufficient exploration, and have been shown to depend on seemingly unrelated implementation choices. In this work, we propose differentiable neural network layers to enforce trust regions for deep Gaussian policies via closed-form projections. Unlike existing methods, those layers formalize trust regions for each state individually and can complement existing reinforcement learning algorithms. We derive trust region projections based on the Kullback-Leibler divergence, the Wasserstein L2 distance, and the Frobenius norm for Gaussian distributions. We empirically demonstrate that those projection layers achieve similar or better results than existing methods while being almost agnostic to specific implementation choices. The code is available at https://git.io/Jthb0.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0

Official implementation of the ICLR 2021 paper "Differentiable Trust Region Layers for Deep Reinforcement Learning"

1110Python, C++Mar 2, 20213 years agoAGPL-3.0
bcaideep-learningiclr2021machine-learningpaper-resource+3 more

Similar Papers

Cite this paper

@article{otto2021differentiable,
  title  = {Differentiable Trust Region Layers for Deep Reinforcement Learning},
  author = {Fabian Otto and Philipp Becker and Ngo Anh Vien and Hanna Carolin Ziesche and Gerhard Neumann},
  year   = {2021},
  eprint = {2101.09207},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.09207}
}

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

Discussion