Quantum Algorithms for Non-smooth Non-convex Optimization

Chengchang Liu, Chaowen Guan, Jianhao He, John C.s. Lui

Abstract

This paper considers the problem for finding the $(\delta,\epsilon)$-Goldstein stationary point of Lipschitz continuous objective, which is a rich function class to cover a great number of important applications. We construct a zeroth-order quantum estimator for the gradient of the smoothed surrogate. Based on such estimator, we propose a novel quantum algorithm that achieves a query complexity of $\tilde{\mathcal{O}}(d^{3/2}\delta^{-1}\epsilon^{-3})$ on the stochastic function value oracle, where $d$ is the dimension of the problem. We also enhance the query complexity to $\tilde{\mathcal{O}}(d^{3/2}\delta^{-1}\epsilon^{-7/3})$ by introducing a variance reduction variant. Our findings demonstrate the clear advantages of utilizing quantum techniques for non-convex non-smooth optimization, as they outperform the optimal classical methods on the dependency of $\epsilon$ by a factor of $\epsilon^{-2/3}$.

Introduction

Optimization in machine learning often assumes convexity and smoothness. However, many modern applications, such as deep neural networks with ReLU activations or reinforcement learning, involve non-smooth and non-convex objective functions. In these "hard mode" scenarios, traditional gradients may not exist. To address this, researchers seek a $(\delta, \epsilon)$-Goldstein stationary point—a point where the average gradient within a $\delta$-radius neighborhood is less than $\epsilon$.

Classical zeroth-order methods, which rely solely on function value queries, face a significant bottleneck in variance reduction when estimating these "average" gradients. This paper introduces the first quantum algorithms to break these classical lower bounds.

Methodology

The proposed approach leverages two main techniques: randomized smoothing and quantum mean estimation.

Randomized Smoothing

Since the objective function $f$ is non-smooth, the algorithms optimize a smoothed surrogate $f_\delta$, defined by the convolution of $f$ with a uniform distribution over a ball of radius $\delta$. This transformation allows the use of gradient-based techniques on a surrogate that approximates the original function.

Quantum Zeroth-Order Gradient Estimator

The core innovation is the Quantum Gradient-Free Method (QGFM). Instead of classical sampling to estimate the gradient of the smoothed surrogate, QGFM utilizes Quantum Mean Estimation. While a classical algorithm requires $\mathcal{O}(1/\epsilon^2)$ samples to achieve error $\epsilon$, a quantum algorithm requires only $\mathcal{O}(1/\epsilon)$ queries. This quadratic speedup in mean estimation is the primary driver of the overall complexity improvement.

Variance Reduction: QGFM+

To further enhance performance, the authors introduce QGFM+, which incorporates a quantum adaptation of the PAGE (Probabilistic Gradient Estimation) framework. By flipping a "quantum coin" to decide between a full gradient estimate and a cheaper recursive update using previous information, QGFM+ significantly reduces the total query complexity.

Key Results and Complexity Analysis

The theoretical analysis reveals a significant advantage for quantum methods over classical counterparts, particularly in their dependency on the precision parameter $\epsilon$.

Comparison of zeroth-order quantum and classical methods for non-smooth optimization.

As shown in the table above, QGFM+ achieves a query complexity of $\tilde{\mathcal{O}}(\epsilon^{-7/3})$, outperforming the optimal classical zeroth-order method (OptimalZO) which is limited to $\mathcal{O}(\epsilon^{-3})$. This represents a speedup factor of $\epsilon^{-2/3}$.

The paper also extends these improvements to first-order smooth optimization with the QGM+ algorithm.

Comparison of first-order quantum and classical methods.

QGM+ improves upon the previous state-of-the-art quantum algorithm, Q-SPIDER, by a factor of $\epsilon^{-1/6}$, achieving a complexity of $\tilde{\mathcal{O}}(\epsilon^{-7/3})$ compared to $\tilde{\mathcal{O}}(\epsilon^{-5/2})$.

Discussion and Limitations

While these algorithms provide a clear theoretical speedup in terms of $\epsilon$, they maintain a $d^{3/2}$ dependency on the problem dimension $d$. Future work is needed to address this scaling. Additionally, while the low circuit depth suggests potential for Noisy Intermediate-Scale Quantum (NISQ) devices, practical implementation requires the construction of efficient Quantum Stochastic Function Value Oracles for real-world objectives.

Conclusion

This work establishes a new frontier for quantum optimization by providing the first provable speedups for non-smooth, non-convex problems. By bridging the gap between non-smooth analysis and quantum estimation, the authors demonstrate that quantum techniques can fundamentally alter the complexity landscape of complex optimization tasks.

Summary updated

BibTeX
@inproceedings{liu2024quantum,
  author = {Chengchang Liu and Chaowen Guan and Jianhao He and John C.S. Lui},
  title = {{Quantum Algorithms for Non-smooth Non-convex Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=wsGzvhnoaX},
}
Figure