Quantum Algorithm for Online Exp-concave Optimization

Jianhao He, Chengchang Liu, Xutong Liu, Lvzhou Li, John C.s. Lui

Abstract

We explore whether quantum advantages can be found for the zeroth-order feedback online exp-concave optimization problem, which is also known as bandit exp-concave optimization with multi-point feedback. We present quantum online quasi-Newton methods to tackle the problem and show that there exists quantum advantages for such problems. Our method approximates the Hessian by quantum estimated inexact gradient and can achieve $O(n\log T)$ regret with $O(1)$ queries at each round, where $n$ is the dimension of the decision set and $T$ is the total decision rounds. Such regret improves the optimal classical algorithm by a factor of $T^{2/3}$.

Introduction: Bridging the Bandit Gap

In Online Convex Optimization (OCO), a player sequentially chooses points from a decision set while an adversary reveals loss functions. The objective is to minimize regret: the cumulative difference between the player's losses and the loss of the best fixed decision in hindsight.

For a specific class of functions known as exp-concave functions—prevalent in portfolio selection and machine learning—logarithmic regret $O(\log T)$ is achievable if the player has "full information" (access to gradients). However, in "bandit" or zeroth-order settings, the player only observes the function value at their chosen point. Classically, this restricted feedback leads to a significant performance penalty, with regret typically scaling as $O(T^{2/3})$. This paper introduces a quantum approach that restores logarithmic regret even in the bandit setting.

The Quantum Online Quasi-Newton Method (QONS)

The authors propose the Quantum Online Quasi-Newton Method (QONS) to overcome classical limitations. The algorithm's efficiency stems from its ability to extract high-precision gradient information using quantum superposition.

Quantum Gradient Estimation

Unlike classical algorithms that require $O(n)$ function queries to estimate a gradient via finite differences, the QONS algorithm utilizes a quantum oracle. By querying the loss function in superposition and applying an improved version of Jordan’s algorithm, the method achieves a high-precision gradient estimate with only $O(1)$ queries per round.

Quantum circuit for estimating the gradient of the loss function.

The circuit above illustrates the process of estimating the gradient $\nabla F_t$. By leveraging Quantum Fourier Transforms (QFT) and specialized unitary operators $Q_{\nabla F_t}$, the algorithm extracts the local shape of the function more efficiently than any classical counterpart.

Robustness and Efficiency

A key theoretical hurdle is ensuring the Online Newton Step (ONS) remains effective despite the "inexactness" of quantum-estimated gradients. The authors prove that as long as the gradient error is controlled within the $\ell_1$ norm, the logarithmic regret bound holds. To maintain computational efficiency in high dimensions ($n$), the algorithm employs the Sherman-Morrison formula for $O(n^2)$ matrix updates and mollification techniques to handle non-smooth functions.

Key Results and Quantum Advantage

The primary contribution of this work is the dramatic reduction in regret for bandit exp-concave optimization. By leveraging quantum effects, the algorithm effectively "sees" the gradient information that is hidden from classical zeroth-order learners.

Comparison of regret bounds for online exp-concave optimization across different feedback models and algorithms.

As shown in the table, the quantum algorithm achieves a regret bound of $O(n \log T)$, matching the performance of classical full-information algorithms. This represents a $T^{2/3}$ improvement over the best known classical zeroth-order algorithms, effectively closing the gap between bandit and full-information settings in the quantum regime.

Conclusion

This research demonstrates a clear quantum advantage in sequential decision-making. By using $O(1)$ queries to a quantum zeroth-order oracle, the QONS algorithm achieves near-optimal regret. While the practical implementation depends on the availability of quantum oracles for complex functions, the theoretical framework provides a robust path toward accelerating optimization tasks that are currently bottlenecked by limited feedback in classical systems.

Summary updated

BibTeX
@inproceedings{he2024quantum,
  author = {Jianhao He and Chengchang Liu and Xutong Liu and Lvzhou Li and John C.S. Lui},
  title = {{Quantum Algorithm for Online Exp-concave Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=JApt4Ty89Y},
}
Figure