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

On the Complexity of Bandit and Derivative-Free Stochastic Convex Optimization

Ohad Shamir

Abstract

This paper establishes the fundamental limits of optimizing convex functions when gradient information is unavailable—a scenario known as derivative-free or zeroth-order optimization. By employing both algorithmic construction and information-theoretic lower bounds, the work identifies a significant "dimension tax," where complexity scales quadratically with the dimension ($d^2$). Furthermore, it reveals a fundamental performance gap between minimizing final optimization error and minimizing cumulative regret, particularly for quadratic and smooth functions.

Introduction

In standard stochastic convex optimization, algorithms typically rely on a "first-order oracle" that provides noisy gradients. However, many real-world applications—ranging from A/B testing and hyperparameter tuning to complex physical simulations—operate as "black boxes" where gradients are either unavailable or prohibitively expensive to compute. In these settings, we only have access to noisy function values: $F(w) + \text{noise}$.

While various zeroth-order algorithms existed prior to this work, their inherent complexity was poorly understood. This paper addresses three critical questions:

  1. Dimension Dependence: How does the required number of queries $T$ scale with the dimension $d$?
  2. Optimization vs. Regret: Is there a difference in difficulty between finding the final minimum (optimization) and performing well cumulatively over time (regret)?
  3. Fast Rates: Can derivative-free methods achieve the $O(1/T)$ "fast" error rates enjoyed by gradient-based methods on smooth, strongly convex functions?

Methodology

The author utilizes a combination of algorithmic upper bounds and information-theoretic lower bounds to characterize the minimax rates for various function classes.

Algorithmic Construction

A core technique used is 1-point gradient estimation. To estimate the gradient at a point $w$, the algorithm selects a random direction $r$ and queries the function at $w + \delta r$. This yields a noisy but unbiased gradient estimate that can be integrated into a Stochastic Gradient Descent (SGD) framework. For quadratic functions, the analysis shows that querying points further from the current iterate can reduce bias without excessive variance, enabling faster convergence.

Information-Theoretic Lower Bounds

To prove optimality, the paper employs Kullback-Leibler (KL) divergence and variants of Assouad’s Lemma. By constructing "hard" function instances where the difference between potential optima is nearly indistinguishable under noisy queries, the author establishes that no algorithm can surpass certain complexity thresholds.

Key Results

The paper provides a definitive characterization of the complexity landscape for derivative-free optimization. The most striking finding is the $d^2$ scaling: unlike gradient-based methods where dimension often has a linear or negligible impact, zeroth-order methods are heavily penalized by dimensionality. Achieving a specific accuracy requires roughly $d^2$ more queries than a gradient-based counterpart.

Summary of minimax complexity bounds for optimization error and average regret across various function classes.

As shown in the table above, the research reveals a surprising Optimization-Regret Gap. For quadratic functions, it is possible to find the minimum at a "fast" rate of $\Theta(d^2/T)$. However, the cumulative regret for the same class remains "slow" at $\Theta(\sqrt{d^2/T})$. This occurs because rapidly identifying the optimum requires exploring points far from the current best estimate, which incurs high immediate cost (regret).

Furthermore, the paper demonstrates that smoothness alone is insufficient for fast rates. For the broader class of smooth and strongly convex functions, the minimax rate is shown to be exactly $\Theta(\sqrt{d^2/T})$ for both optimization and regret, settling a long-standing question in the field.

Conclusion and Future Work

This work provides the first sharp complexity bounds for bandit and derivative-free stochastic convex optimization for smooth, strongly convex functions. While it settles several key cases, challenges remain. The current bounds are derived for expected error; extending these to high-probability bounds remains an open problem. Additionally, while the smooth/strongly convex case is now well-understood, a gap persists between upper and lower bounds for general non-smooth convex functions, suggesting that current algorithms for those classes may still be suboptimal.

Summary updated

BibTeX
@inproceedings{shamir2013complexity,
  author = {Ohad Shamir},
  title = {{On the Complexity of Bandit and Derivative-Free Stochastic Convex Optimization}},
  booktitle = {Conference on Learning Theory},
  year = {2013},
}
Figure