Noisy Optimization: Fast Convergence Rates with Comparison-Based Algorithms

Marie-Liesse Cauwet, Olivier Teytaud

Abstract: Derivative Free Optimization is known to be an efficient and robust method to tackle the black-box optimization problem. When it comes to noisy functions, classical comparison-based algorithms are slower than gradient-based algorithms. For quadratic functions, Evolutionary Algorithms without large mutations have a simple regret at best $O(1/ \sqrt{N})$ when $N$ is the number of function evaluations, whereas stochastic gradient descent can reach (tightly) a simple regret in $O(1/N)$. It has been conjectured that gradient approximation by finite differences (hence, not a comparison-based method) is necessary for reaching such a $O(1/N)$. We answer this conjecture in the negative, providing a comparison-based algorithm as good as gradient methods, i.e. reaching $O(1/N)$ - under the condition, however, that the noise is Gaussian. Experimental results confirm the $O(1/N)$ simple regret, i.e., squared rate compared to many published results at $O(1/\sqrt{N})$.

1. Introduction

In the realm of black-box optimization, practitioners often rely on Derivative-Free Optimization (DFO) when analytical gradients are unavailable or unreliable. Within DFO, comparison-based algorithms—such as Evolution Strategies—are favored for their robustness, as they rely solely on the relative ranking of function values rather than the values themselves. However, a significant performance gap has historically existed between these methods and gradient-based approaches in noisy environments.

While stochastic gradient descent (SGD) can achieve a convergence rate of $O(1/N)$ for noisy quadratic functions, it was widely conjectured that comparison-based methods were fundamentally limited to a slower rate of $O(1/\sqrt{N})$. This paper challenges that assumption, demonstrating that comparison-based algorithms can indeed match the efficiency of gradient-based methods under specific noise conditions.

2. The Convergence Gap and the Gradient Conjecture

The core of the problem lies in how algorithms handle "noise"—the stochastic errors inherent in real-world measurements. In noisy quadratic optimization, the goal is to minimize a function where evaluations are corrupted by additive noise.

Historically, the $O(1/N)$ rate was thought to be exclusive to methods that explicitly approximate gradients (e.g., using finite differences). Comparison-based methods were seen as "information-poor" because they discard the magnitude of differences between points. This paper addresses this "speed gap" and provides a theoretical and algorithmic framework to bridge it.

3. Methodology: The Comparison Procedure (COP)

The authors introduce the Comparison Procedure (COP) as the fundamental building block for their approach. The innovation lies in how the algorithm interprets comparisons. Instead of a single comparison between two points, the algorithm performs $N$ comparisons and calculates the frequency with which one point outperforms the other.

3.1 Leveraging Gaussian Noise

The breakthrough stems from the realization that if the noise distribution is known (specifically Gaussian), the frequency of "wins" is not just a ranking; it is a statistical signal. By applying the inverse of the Gaussian cumulative distribution function ($\Phi^{-1}$) to the win frequency, the algorithm can accurately estimate the actual difference in function values between two points. This transforms a simple comparison into a precise measurement tool.

3.2 Algorithmic Hierarchy

The paper develops three algorithms to apply this principle:

  • COPS1: Designed for one-dimensional sphere functions.
  • COPS: Extends the logic to multi-dimensional sphere functions by applying the 1D procedure coordinate-wise.
  • COPQUAD: A more sophisticated version designed for general quadratic forms ($x^T Ax + Bx + C$). This version estimates the full Hessian matrix $A$ and the linear component $B$ by comparing specific sets of basis vectors and their combinations.

4. Key Insights

4.1 The "Mutate Large, Inherit Small" Principle

A critical component of the algorithm's success is maintaining a relatively large distance between search points even as the estimate of the optimum improves. This ensures that the "signal" of the function's underlying structure is not prematurely overwhelmed by noise, allowing the COP to remain effective throughout the optimization process.

4.2 The Small Noise Paradox

An intriguing finding of this research is that the algorithm can actually perform worse if the noise level is too low. In a zero-noise environment, a comparison yields a binary 1 or 0, providing limited information. In a noisy environment, the frequency of wins (e.g., 0.72) provides a much richer signal for the $\Phi^{-1}$ mapping. This suggests that noise, when properly modeled, can be an asset rather than a liability.

5. Results and Validation

5.1 Theoretical Convergence

The authors provide a mathematical proof that for noisy quadratic functions, their comparison-based algorithms achieve a simple regret of $O(1/N)$. This represents a "squared" improvement over the previously accepted $O(1/\sqrt{N})$ limit for such methods. For a $d$-dimensional sphere function, the regret scales as $O(d/N)$, indicating strong scalability.

5.2 Experimental Confirmation

Simulations on 2D and 5D functions validate the theoretical findings. On log-log scales, the simple regret plots exhibit a clear linear slope of -1, the hallmark of $O(1/N)$ convergence. These results confirm that the proposed comparison-based approach matches the performance of the most efficient gradient-based stochastic optimizers.

6. Conclusion and Future Work

This work debunks the long-standing belief that gradient approximation is necessary for fast convergence in noisy optimization. By leveraging the statistical properties of Gaussian noise, comparison-based algorithms can achieve parity with gradient methods.

However, limitations remain. The current framework relies on the assumption of constant additive Gaussian noise and quadratic objective functions. Future research may explore how to adapt these methods for non-Gaussian noise distributions, non-quadratic landscapes (where rates may shift to $O(1/N^{2/3})$), and scenarios where noise levels vary across the search space.

Summary updated

Abstract

Derivative Free Optimization is known to be an efficient and robust method to tackle the black-box optimization problem. When it comes to noisy functions, classical comparison-based algorithms are slower than gradient-based algorithms. For quadratic functions, Evolutionary Algorithms without large mutations have a simple regret at best $O(1/ \sqrt{N})$ when $N$ is the number of function evaluations, whereas stochastic gradient descent can reach (tightly) a simple regret in $O(1/N)$. It has been conjectured that gradient approximation by finite differences (hence, not a comparison-based method) is necessary for reaching such a $O(1/N)$. We answer this conjecture in the negative, providing a comparison-based algorithm as good as gradient methods, i.e. reaching $O(1/N)$ - under the condition, however, that the noise is Gaussian. Experimental results confirm the $O(1/N)$ simple regret, i.e., squared rate compared to many published results at $O(1/\sqrt{N})$.
BibTeX
@inproceedings{cauwet2016noisy,
  author = {Marie-Liesse Cauwet and Olivier Teytaud},
  title = {{Noisy Optimization: Fast Convergence Rates with Comparison-Based Algorithms}},
  booktitle = {GECCO},
  year = {2016},
  doi = {10.1145/2908812.2908881},
}
Figure