Optimal rates for zero-order optimization: the power of two function evaluations

John C. Duchi, Michael I. Jordan, Martin J. Wainwright, Andre Wibisono

TL;DR

This paper tackles the challenge of optimizing complex functions when only function evaluations (not gradients) are available. The authors show that using just two function evaluations per step, they can achieve near-optimal convergence rates for both smooth and non-smooth problems, with a dimension-dependent factor of $\sqrt{d}$. They also prove that these rates are theoretically optimal, closing a gap in understanding for derivative-free optimization.

What Problem Does This Paper Address?

Many real-world optimization problems, especially in machine learning and statistics, involve objectives where calculating gradients is computationally infeasible, too expensive, or impossible. This is common in areas like bandit optimization, simulation-based optimization, and problems defined variationally. Traditional optimization methods rely on gradients, so these situations require "derivative-free" or "zero-order" methods. While these methods exist, their convergence rates, especially in high dimensions, have been poorly understood, with previous analyses suggesting suboptimal dependence on the problem dimension $d$. This paper aims to provide a precise understanding of the optimal convergence rates for zero-order convex optimization and to develop algorithms that achieve these rates, particularly when using a limited number of function evaluations per iteration.

Methods

The core of the paper lies in developing and analyzing algorithms for zero-order convex optimization. The key innovation is the use of two function evaluations to construct an estimate of the gradient. This is achieved by taking function values at points perturbed by a small amount in a random direction.

  • Two-Point Gradient Estimators: For smooth functions, they define a directional gradient estimator using $F(\theta + uZ; x)$ and $F(\theta; x)$, where $Z$ is a random vector. For non-smooth functions, they extend this by using a smoothed version of the objective function and a more complex two-point estimation strategy.
  • Mirror Descent: These gradient estimators are then plugged into the mirror descent (MD) algorithm, a standard framework for convex optimization that handles various norms and constraints.
  • Information-Theoretic Lower Bounds: To demonstrate the optimality of their algorithms, the authors derive minimax lower bounds on the convergence rates. This involves constructing specific classes of functions and using techniques from statistical estimation theory to show that no algorithm can perform better than their proposed rates.
  • Analysis of Dimension Dependence: A significant contribution is the careful analysis of how the convergence rate scales with the dimension $d$. They show that for smooth problems, the rate is $O(\sqrt{d}/\sqrt{k})$ and for non-smooth problems, it's $O(\sqrt{d}\log d/\sqrt{k})$, where $k$ is the number of iterations. They also show that using multiple ($m \ge 2$) function evaluations can further improve the rate, approaching the full-information gradient descent rate.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and establishes convergence rates for general classes of convex functions and distributions, rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • The Power of Two: The most striking insight is that using just two function evaluations per iteration is surprisingly powerful. It allows for gradient estimation that is nearly as effective as using full gradient information, especially in terms of its dependence on the dimension $d$. This is a significant improvement over methods that might require many more evaluations or suffer from much worse dimension scaling.
  • Bridging Smooth and Non-Smooth: The paper demonstrates that the convergence rates for smooth and non-smooth convex optimization problems in the zero-order setting are surprisingly close. This suggests that the techniques developed, particularly the smoothing approach for non-smooth cases, are robust and effective.
  • Optimality Achieved: By providing both upper bounds (algorithms) and lower bounds (information-theoretic limits), the authors establish that their derived convergence rates are indeed optimal, up to constant and logarithmic factors. This provides a definitive answer to the question of how fast one can optimize in this setting.
  • Dimension Dependence is Manageable: Previous analyses suggested a potentially prohibitive dependence on the dimension $d$ for zero-order methods. This work shows that for many practical scenarios, the $\sqrt{d}$ factor is inherent and unavoidable, but it's not worse than that.

Key Results

  • Optimal Rates for Smooth Convex Optimization: Algorithms using two function evaluations achieve convergence rates of $O(RG\sqrt{d}/\sqrt{k})$ for smooth objectives, where $R$ is related to the domain size and $G$ to the gradient bound. This rate is shown to be information-theoretically optimal.
  • Optimal Rates for Non-Smooth Convex Optimization: For non-smooth objectives, the proposed algorithms achieve rates of $O(RG\sqrt{d}\log d/\sqrt{k})$. This is also shown to be near-optimal.
  • Impact of Multiple Evaluations: Using $m \ge 2$ function evaluations can improve the convergence rate, approaching the full-information gradient descent rate of $O(RG/\sqrt{k})$ as $m$ increases.
  • Lower Bounds: The paper establishes minimax lower bounds that match the achievable rates, confirming the optimality of the proposed algorithms. For instance, for smooth problems, the lower bound is $\Omega(RG\sqrt{d}/\sqrt{k})$.

Limitations and Future Work

  • Constant Factors: While the paper establishes optimal rates up to constant and logarithmic factors, these constants can still be significant in practice.
  • High-Probability Guarantees: The paper primarily focuses on expected convergence rates. Obtaining high-probability guarantees might require additional assumptions or lead to slightly different rates.
  • Practical Implementation: The algorithms involve careful selection of step sizes and perturbation parameters, which might require tuning for optimal performance in practice.
  • Open Question on Single Evaluation: The authors explicitly mention an open question: "what is the optimal iteration complexity in this case?" for the setting where only a single function evaluation is used per iteration. This remains a challenging area.
  • Non-Convex Optimization: The current work focuses on convex optimization. Extending these results to non-convex settings would be a natural next step.

Summary updated

BibTeX
@article{duchi2015optimal,
  author = {John C. Duchi and Michael I. Jordan and Martin J. Wainwright and Andre Wibisono},
  title = {{Optimal rates for zero-order optimization: the power of two function evaluations}},
  journal = {IEEE Trans. Information Theory},
  year = {2015},
  doi = {10.1109/tit.2015.2409256},
}
Figure