Understanding the impact of entropy on policy optimization

Zafarali Ahmed, Nicolas Le Roux, Mohammad Norouzi, Dale Schuurmans
11/27/2018
cs.LGstat.ML
rl

Official code: zafarali/emdp (49 stars, Python, MIT, last commit 2022-04-01).

Abstract

Entropy regularization is commonly used to improve policy optimization in reinforcement learning. It is believed to help with \emph{exploration} by encouraging the selection of more stochastic policies.

Show full abstract

In this work, we analyze this claim using new visualizations of the optimization landscape based on randomly perturbing the loss function. We first show that even with access to the exact gradient, policy optimization is difficult due to the geometry of the objective function. Then, we qualitatively show that in some environments, a policy with higher entropy can make the optimization landscape smoother, thereby connecting local optima and enabling the use of larger learning rates. This paper presents new tools for understanding the optimization landscape, shows that policy entropy serves as a regularizer, and highlights the challenge of designing general-purpose policy optimization algorithms.

View on arXivView PDF

Code Implementations(1)

zafarali/emdpOfficial100%
MIT

Easy MDPs and grid worlds with accessible transition dynamics to do exact calculations

4914PythonApr 12, 20184 years agoMIT
gridworld-environmentmarkov-decision-processesreinforcement-learning

Similar Papers

Cite this paper

@article{ahmed2018understanding,
  title  = {Understanding the impact of entropy on policy optimization},
  author = {Zafarali Ahmed and Nicolas Le Roux and Mohammad Norouzi and Dale Schuurmans},
  year   = {2018},
  eprint = {1811.11214},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.11214}
}

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

Discussion