Improving Evolutionary Strategies with Generative Neural Networks

Louis Faury, Clément Calauzènes, Olivier Fercoq, Syrine KrichenearXiv 2019

Abstract

Evolutionary Strategies (ES) are a popular family of black-box zeroth-order optimization algorithms which rely on search distributions to efficiently optimize a large variety of objective functions. This paper investigates the potential benefits of using highly flexible search distributions in classical ES algorithms, in contrast to standard ones (typically Gaussians). We model such distributions with Generative Neural Networks (GNNs) and introduce a new training algorithm that leverages their expressiveness to accelerate the ES procedure. We show that this tailored algorithm can readily incorporate existing ES algorithms, and outperforms the state-of-the-art on diverse objective functions.

Introduction: The Gaussian Trap

Evolutionary Strategies are essential for "black-box" optimization where gradients are unavailable. Most state-of-the-art ES algorithms, such as CMA-ES or Natural Evolution Strategies (NES), rely on multivariate Gaussian search distributions. However, this choice acts as a "harmful implicit constraint" in complex landscapes.

In high-dimensional spaces with curved valleys (e.g., the Rosenbrock function), a symmetric Gaussian cannot "bend" to follow the landscape. To compensate, the algorithm must drastically reduce its search radius until the valley looks locally straight, which kills exploration and slows progress. Furthermore, simple Gaussians cannot represent multimodality, preventing the algorithm from exploring multiple hypotheses simultaneously.

GNN samples (blue) can adapt to the curved landscape of the Rosenbrock function, whereas Gaussian samples (green) are constrained to a symmetric shape.

Methodology

To overcome these limitations, we propose replacing simple distributions with Bijective Generative Neural Networks, specifically the NICE (Non-Linear Independent Component Estimation) model.

Key Technical Innovations

  • Bijectivity & Volume Preservation: NICE is volume-preserving, which prevents the network from prematurely collapsing the distribution's volume—a common cause of premature convergence in ES. Bijectivity also allows for exact log-probability computation, necessary for the "log-trick" in gradient estimation.
  • Alternated Minimization: To ensure stability, we split the update into two steps:
  • Latent Space Optimization: Updating the parameters of a simple latent distribution using standard ES (e.g., xNES).
  • Bijective Network Optimization: Updating the neural network weights using an off-policy objective with Importance Sampling and a Kullback-Leibler (KL) divergence penalty to maintain distribution stability.

This framework acts as a "plug-in" augmentation rather than a replacement, allowing existing ES algorithms to benefit from a more flexible search lens.

Experimental Results

We evaluated the GNN-augmented ES on synthetic benchmarks (unimodal and multimodal) and Reinforcement Learning (RL) tasks from the MuJoCo locomotion suite.

Performance on Synthetic Functions

On the Rosenbrock function ($d=10$), GNN-CMA-ES achieved objective values approximately 10 times better than standard CMA-ES for the same number of function evaluations. In multimodal landscapes like the Styblinski function, the GNN-based models consistently identified superior global minima compared to their Gaussian counterparts.

Convergence results for Bent Cigar and Rosenbrock functions at d=10. GNN-augmented versions (gnn_cmaes, gnn_xnes) consistently outperform their standard counterparts.

Reinforcement Learning

In MuJoCo environments like Swimmer-v1 and InvertedDoublePendulum-v1, GNN-xNES reached high-reward behaviors significantly faster than standard xNES. This demonstrates that the flexibility of the search distribution translates effectively to complex, high-dimensional control problems.

Limitations and Future Work

While GNN-ES offers significant performance gains, it introduces higher computational costs per iteration due to neural network training. It also adds hyperparameters, such as the KL divergence radius, which may require tuning. Future research will focus on scaling these bijective networks to thousands of dimensions and exploring the use of noisy zeroth-order or first-order oracles to further refine the training process.

Summary updated

BibTeX
@misc{faury2019improving,
  author = {Louis Faury and Clément Calauzènes and Olivier Fercoq and Syrine Krichene},
  title = {{Improving Evolutionary Strategies with Generative Neural Networks}},
  year = {2019},
  eprint = {1901.11271},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.11271},
}
Figure