NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Neural Generative Models for Global Optimization with Gradients

Louis Faury, Flavian Vasile, Clément Calauzènes, Olivier FercoqarXiv 2018

Abstract

The aim of global optimization is to find the global optimum of arbitrary classes of functions, possibly highly multimodal ones. In this paper we focus on the subproblem of global optimization for differentiable functions and we propose an Evolutionary Search-inspired solution where we model point search distributions via Generative Neural Networks. This approach enables us to model diverse and complex search distributions based on which we can efficiently explore complicated objective landscapes. In our experiments we show the practical superiority of our algorithm versus classical Evolutionary Search and gradient-based solutions on a benchmark set of multimodal functions, and demonstrate how it can be used to accelerate Bayesian Optimization with Gaussian Processes.

Introduction

Global optimization remains a fundamental challenge in engineering and machine learning, where the goal is to identify the absolute best solution within a landscape often cluttered with deceptive local minima. Traditional approaches typically fall into two categories: Evolutionary Search (ES) and gradient-based methods. ES methods, such as CMA-ES, maintain a population of points sampled from simple distributions (usually Gaussian). While robust for exploration, these simple distributions often fail to capture the complex, non-convex, or disconnected regions of high-quality solutions. Conversely, gradient-based methods like L-BFGS are computationally efficient but "greedy," frequently converging to the nearest local minimum.

This paper addresses the gap between these two paradigms. The authors propose a method to harness the efficiency of gradients while maintaining the global exploratory power of ES, specifically targeting differentiable functions where the landscape is too complex for standard local solvers.

Methodology: GENNES

The proposed algorithm, GENNES (Generative Neural Network for Differentiable Evolutionary Search), replaces traditional Gaussian search distributions with a trainable neural network generator.

The Generator and Differentiable Training

A neural network $G_\theta$ maps simple random noise $u$ from a uniform distribution to points $x$ in the search space. Unlike standard ES, which relies on point selection, GENNES utilizes the chain rule to calculate the gradient of the objective function $f$ with respect to the network weights $\theta$. This allows the entire output distribution to be "pushed" toward regions of lower objective values.

Noise Annealing

To balance exploration and exploitation, the authors implement a noise annealing technique. By progressively shrinking the variance of the input noise $u$, the generator transitions from a wide-reaching exploration phase to a focused exploitation phase, eventually collapsing the distribution onto the global minimum.

Evolution of the search distribution in GENNES across different iterations on the Rosenbrock (top) and Rastrigin (bottom) functions.

Experiments and Key Insights

The researchers evaluated GENNES across several benchmarks, including the BBOB-2009 suite (Rastrigin, Ackley, Styblinski, and Schwefel), hyperparameter optimization for logistic regression on the Scikit-learn Digits dataset, and synthetic functions like Alpine1 for Bayesian Optimization (BO) acceleration.

Complex Distribution Modeling

Unlike CMA-ES, which is restricted to ellipsoidal search shapes, GENNES can model highly complex, non-convex distributions. This flexibility allows it to "bend" its search area to follow winding valleys or explore multiple disconnected local minima simultaneously.

Scalability and BO Acceleration

As dimensionality increases, GENNES's advantage over zero-order methods grows by leveraging gradient information. Furthermore, in Bayesian Optimization, GENNES serves as an efficient global maximizer for acquisition functions (like Expected Improvement), outperforming the standard "repeated L-BFGS" approach.

Results

GENNES consistently outperformed aCMA-ES, sNES, and repeated L-BFGS on multimodal benchmarks. In 30D tests, it often achieved objective values orders of magnitude better than competitors. For instance, on the 30D Rastrigin function, GENNES reached a value of 19.0, significantly lower than L-BFGS (41.2) and aCMA-ES (37.0).

Comparison of test error convergence between GENNES and L-BFGS as a function of objective evaluations.

On the Digits dataset hyperparameter optimization task, GENNES demonstrated faster overall convergence by finding better query points with fewer acquisition function evaluations.

Conclusion

While GENNES shows significant promise, it faces challenges with functions containing extremely sharp "cliffs," such as the Ackley function, where gradient information can be misleading. Additionally, the method requires first-order gradients, limiting its use in pure black-box scenarios. Future work includes applying GENNES to deep neural network optimization and exploring reversible learning for more complex hyperparameter tuning.

Summary updated

BibTeX
@misc{faury2018neural,
  author = {Louis Faury and Flavian Vasile and Clément Calauzènes and Olivier Fercoq},
  title = {{Neural Generative Models for Global Optimization with Gradients}},
  year = {2018},
  eprint = {1805.08594},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.08594},
}
Figure