Natural Evolution Strategies

Daan Wierstra, Tom Schaul, Tobias Glasmachers, Yi Sun, Jürgen SchmidhuberIEEE CEC 2008 · DOI

Abstract

This paper presents Natural Evolution Strategies (NES), a recent family of algorithms that constitute a more principled approach to black-box optimization than established evolutionary algorithms. NES maintains a parameterized distribution on the set of solution candidates, and the natural gradient is used to update the distribution's parameters in the direction of higher expected fitness. We introduce a collection of techniques that address issues of convergence, robustness, sample complexity, computational complexity and sensitivity to hyperparameters. This paper explores a number of implementations of the NES family, ranging from general-purpose multi-variate normal distributions to heavy-tailed and separable distributions tailored towards global optimization and search in high dimensional spaces, respectively. Experimental results show best published performance on various standard benchmarks, as well as competitive performance on others.

Introduction

In the field of black-box optimization, where the objective function's internal structure is unknown, evolutionary algorithms have traditionally relied on heuristics. While methods like CMA-ES have seen great success, they often lack a unified mathematical foundation. Wierstra et al. introduce Natural Evolution Strategies (NES), a framework that replaces these heuristics with a principled derivation from information geometry. By optimizing a search distribution via the natural gradient of expected fitness, NES provides a robust and scale-invariant approach to complex optimization problems.

The Core Mechanism: Natural Gradients

The fundamental innovation of NES is the shift from evolving a population of points to evolving a parameterized probability distribution, $\pi(x | \theta)$. The goal is to maximize the expected fitness $J(\theta) = \mathbb{E}_{\theta}[f(x)]$.

To achieve this without direct access to the gradient of the fitness function $f(x)$, NES employs the "log-likelihood trick" to estimate the gradient of the expectation. However, standard gradients are sensitive to the parameterization of the distribution. NES addresses this by using the Natural Gradient, which follows the steepest ascent in the space of distributions rather than the parameter space. This is calculated by adjusting the vanilla gradient with the inverse of the Fisher Information Matrix (FIM).

Conceptual overview of the NES search process: (1) shifting the distribution mean toward the optimum, (2) adapting the search scale, and (3) converging on the solution.

As illustrated above, the algorithm iteratively (1) shifts the mean of the distribution toward regions of higher fitness, (2) adapts the covariance or scale to focus the search, and (3) converges precisely on the optimum. This process ensures that the update is invariant to linear transformations of the search space, providing stability and robustness.

Algorithmic Variants and Enhancements

The NES family includes several specialized implementations:

  • xNES (Exponential NES): Utilizes an exponential map for covariance updates, ensuring the matrix remains positive-definite and the search remains stable.
  • SNES (Separable NES): Designed for high-dimensional spaces, SNES uses a diagonal covariance matrix, reducing computational complexity to $O(d)$.
  • Fitness Shaping: A rank-based transformation that makes the algorithm invariant to monotonic transformations of the fitness function.
  • Importance Mixing: A sample-reuse technique that reduces the number of expensive fitness evaluations required per generation.

Experimental Evaluation

The authors validated NES against a variety of benchmarks, including the BBOB 2010 suite and complex neuro-evolution tasks like double pole balancing.

Evolution of distribution parameters μ and σ over generations, demonstrating the convergence behavior of the natural gradient update.

The empirical results demonstrate that NES is highly competitive. On the BBOB benchmarks, xNES performed on par with or better than CMA-ES, particularly in noisy environments. In the double pole balancing task, SNES achieved a new state-of-the-art, outperforming previous methods by a factor of two in evaluation efficiency. Furthermore, the use of heavy-tailed distributions (like the Cauchy distribution) allowed NES to successfully navigate deceptive, multi-modal landscapes where Gaussian-based methods often failed.

Conclusion

Natural Evolution Strategies represent a significant advancement in black-box optimization, bridging the gap between heuristic evolutionary strategies and formal information geometry. By providing a mathematically grounded framework that is both scale-invariant and highly performant, NES offers a powerful tool for solving complex, high-dimensional optimization problems in fields ranging from engineering design to reinforcement learning.

Summary updated

BibTeX
@inproceedings{wierstra2008natural,
  author = {Daan Wierstra and Tom Schaul and Tobias Glasmachers and Yi Sun and Jürgen Schmidhuber},
  title = {{Natural Evolution Strategies}},
  booktitle = {IEEE CEC},
  year = {2008},
  doi = {10.1109/cec.2008.4631255},
}
Figure