Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Towards provably efficient quantum algorithms for large-scale machine-learning models

Journal Article · · Nature Communications

Abstract Large machine learning models are revolutionary technologies of artificial intelligence whose bottlenecks include huge computational expenses, power, and time used both in the pre-training and fine-tuning process. In this work, we show that fault-tolerant quantum computing could possibly provide provably efficient resolutions for generic (stochastic) gradient descent algorithms, scaling as$$$${{{{{{{\mathcal{O}}}}}}}}({T}^{2}\times {{{{{{{\rm{polylog}}}}}}}}(n))$$$$ O ( T 2 × polylog ( n ) ) , wherenis the size of the models andTis the number of iterations in the training, as long as the models are both sufficiently dissipative and sparse, with small learning rates. Based on earlier efficient quantum algorithms for dissipative differential equations, we find and prove that similar algorithms work for (stochastic) gradient descent, the primary algorithm for machine learning. In practice, we benchmark instances of large machine learning models from 7 million to 103 million parameters. We find that, in the context of sparse training, a quantum enhancement is possible at the early stage of learning after model pruning, motivating a sparse parameter download and re-upload scheme. Our work shows solidly that fault-tolerant quantum algorithms could potentially contribute to most state-of-the-art, large-scale machine-learning problems.

Research Organization:
Argonne National Laboratory (ANL), Argonne, IL (United States)
Sponsoring Organization:
USDOE
Grant/Contract Number:
AC02-06CH11357
OSTI ID:
2469541
Journal Information:
Nature Communications, Vol. 15, Issue 1; ISSN 2041-1723
Publisher:
Nature Publishing GroupCopyright Statement
Country of Publication:
United States
Language:
English

References (26)

Deep learning journal May 2015
Quantum machine learning journal September 2017
Quantum Support Vector Machine for Big Data Classification journal September 2014
Quantum-assisted Gaussian process regression journal May 2019
A variational eigenvalue solver on a photonic quantum processor journal July 2014
The theory of variational hybrid quantum-classical algorithms journal February 2016
Quantum computational chemistry journal March 2020
Variational quantum algorithms journal August 2021
Quantum optimization of maximum independent set using Rydberg atom arrays journal June 2022
Supervised learning with quantum-enhanced feature spaces journal March 2019
On the Quantum versus Classical Learnability of Discrete Distributions journal March 2021
A rigorous and robust quantum speed-up in supervised machine learning journal July 2021
Superpolynomial quantum-classical separation for density modeling journal April 2023
Quantum principal component analysis journal July 2014
Power of data in quantum machine learning journal May 2021
Predicting many properties of a quantum system from very few measurements journal June 2020
Quantum advantage in learning from experiments journal June 2022
Efficient quantum algorithm for dissipative nonlinear differential equations journal August 2021
Quantum Algorithm for Linear Systems of Equations journal October 2009
Quantum Random Access Memory journal April 2008
An Efficient Algorithm for Sparse Quantum State Preparation conference December 2021
Fast state tomography with optimal error bounds journal April 2020
Quantum Principal Component Analysis Only Achieves an Exponential Speedup Because of Its State Preparation Assumptions journal August 2021
Data for "Towards provably efficient quantum algorithms for large-scale machine-learning models" dataset January 2023
Data for "Towards provably efficient quantum algorithms for large-scale machine-learning models" dataset January 2023
Quantum supremacy using a programmable superconducting processor dataset January 2019


Similar Records

Training quantum neural networks using the quantum information bottleneck method
Journal Article · Tue Aug 27 00:00:00 EDT 2024 · Journal of Physics. A, Mathematical and Theoretical · OSTI ID:2438134

Non-analyticity in holographic complexity near critical points
Journal Article · Fri Jan 27 00:00:00 EST 2023 · Journal of Physics. A, Mathematical and Theoretical · OSTI ID:2419759

A quantum algorithm for string matching
Journal Article · Tue Feb 16 00:00:00 EST 2021 · npj Quantum Information · OSTI ID:1765937