Variance-Reduced Gradient Estimation via Noise-Reuse in Online Evolution Strategies

Oscar Li, James Harrison, Jascha Sohl-Dickstein, Virginia Smith, Luke Metz
4/21/2023
cs.NEcs.AIcs.LG

No official code found. Best implementation: OscarcarLi/Noise-Reuse-Evolution-Strategies (6 stars, last commit 2023-12-21).

Abstract

Unrolled computation graphs are prevalent throughout machine learning but present challenges to automatic differentiation (AD) gradient estimation methods when their loss functions exhibit extreme local sensitivtiy, discontinuity, or blackbox characteristics. In such scenarios, online evolution strategies methods are a more capable alternative, while being more parallelizable than vanilla evolution strategies (ES) by interleaving partial unrolls and gradient updates. In this work, we propose a general class of unbiased online evolution strategies methods. We analytically and empirically characterize the variance of this class of gradient estimators and identify the one with the least variance, which we term Noise-Reuse Evolution Strategies (NRES). Experimentally, we show NRES results in faster convergence than existing AD and ES methods in terms of wall-clock time and number of unroll steps across a variety of applications, including learning dynamical systems, meta-training learned optimizers, and reinforcement learning.

View on arXivView PDF

Code Implementations(1)

60Shell, PythonApr 15, 20232 years ago

Similar Papers

Cite this paper

@article{li2023variancereduced,
  title  = {Variance-Reduced Gradient Estimation via Noise-Reuse in Online Evolution Strategies},
  author = {Oscar Li and James Harrison and Jascha Sohl-Dickstein and Virginia Smith and Luke Metz},
  year   = {2023},
  eprint = {2304.12180},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.12180v2},
  journal = {NEURIPS 2023 2023}
}

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

Discussion