Quantum speedups for stochastic optimization

Aaron Sidford, Chenyi Zhang

Introduction

Stochastic optimization is the engine behind modern machine learning. Whether training a neural network or solving complex logistics problems, variants of Stochastic Gradient Descent (SGD) are the standard tools of choice. Classically, the fundamental limits of these methods are well understood: finding an $\epsilon$-optimal point of a Lipschitz convex function requires at least $O(1/\epsilon^2)$ queries to a stochastic gradient oracle.

While quantum computers have demonstrated theoretical promise in many domains, finding definitive speedups for optimization has proven difficult. Previous research even suggested that in high-dimensional spaces, quantum computers might not offer any advantage over classical SGD for non-smooth problems. This paper tackles a critical question: Can quantum algorithms beat classical limits by exploiting the relationship between problem dimension ($d$) and target accuracy ($\epsilon$)?

By developing a novel "quantum variance reduction" technique that combines quantum mean estimation with multilevel Monte Carlo methods, the authors demonstrate significant speedups in finding minima for both convex and non-convex functions, particularly in low-dimensional settings.

Core Innovation: Quantum Variance Reduction

The authors build their results on a core technical innovation that addresses a fundamental flaw in previous quantum approaches.

  1. Quantum Stochastic Gradient Oracles (QSGO): The authors define a quantum version of the standard stochastic gradient oracle. Instead of receiving a single random vector, the quantum algorithm queries the oracle in superposition, obtaining a quantum state that represents the probability distribution of the gradients.
  2. Unbiased Quantum Mean Estimation: A major hurdle in quantum optimization is that standard quantum mean estimation is inherently biased. Because most optimization convergence proofs rely on the gradient estimate being unbiased, this bias typically breaks the algorithm. The authors solve this by integrating Multilevel Monte Carlo (MLMC) techniques. This allows them to produce an unbiased estimate of the gradient with a variance that scales much better than classical sampling.
Comparison of mean estimation methods, highlighting the proposed unbiased quantum estimator.

The "aha moment" of the paper is realizing that the bias in quantum mean estimation can be neutralized using the MLMC framework without losing the quantum query speedup.

Proposed Algorithms

Armed with this unbiased estimator, the authors propose several new quantum optimization strategies:

  • Q-AC-SA (Convex): A quantum version of Accelerated Stochastic Approximation, which uses the new variance reduction to speed up proximal descent.
  • Q-SCP (Convex): A Quantum Stochastic Cutting Plane method, which uses the oracle to iteratively narrow down the region containing the minimum.
  • Non-Convex Extensions: They apply similar variance reduction principles to non-convex settings, specifically adapting the randomized SGD (Q-SGD) and SPIDER (Q-SPIDER) algorithms for the quantum regime.

Key Results and Dimension-Dependent Speedups

The paper shifts the focus from "can we beat SGD in any dimension?" to "how does the speedup scale with dimension?" They show that for a fixed, low dimension, quantum algorithms provide a quadratic speedup in terms of accuracy ($\epsilon$).

The authors prove that their Quantum Stochastic Cutting Plane (Q-SCP) method is asymptotically optimal when the dimension $d$ is small, providing a definitive answer for the complexity of low-dimensional quantum stochastic optimization. The table below summarizes the "provably unachievable" classical rates demonstrated by their methods.

Summary of query complexities achieved by the proposed quantum algorithms compared to classical baselines.

For convex optimization, the Q-SCP method achieves a rate of $\tilde{O}(d^{3/2}\epsilon^{-1})$, which is a significant improvement over the classical $\epsilon^{-2}$ limit, provided the dimension $d$ isn't too large.

Limitations and Future Work

While theoretically groundbreaking, the paper acknowledges several limitations:

  • The "Curse" of Dimension: The quantum speedups are strictly "dimension-dependent." As the dimension $d$ grows, the classical SGD rate (which is independent of $d$) eventually becomes more efficient. For example, the Q-SCP method only beats classical SGD when $d \leq O(\epsilon^{-2/3})$.
  • The High-Dimensional Gap: A key open problem remains: can we achieve any quantum speedup in the high-dimensional regime ($d \to \infty$) for non-smooth stochastic optimization? Current lower bounds suggest this might be impossible, but the exact boundary is still being explored.
  • Hardware Constraints: These algorithms require "fault-tolerant" quantum computers and specific oracle access that is currently beyond the reach of Near-term Intermediate-Scale Quantum (NISQ) devices. Translating these theoretical gains into practical circuits remains a major challenge for the field.

Summary updated

BibTeX
@inproceedings{sidford2023quantum,
  author = {Aaron Sidford and Chenyi Zhang},
  title = {{Quantum speedups for stochastic optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=OiatK9W6tR},
}
Figure