Abstract: Within the framework of statistical learning theory it is possible to bound the minimum number of samples required by a learner to reach a target accuracy. We show that if the bound on the accuracy is taken into account, quantum machine learning algorithms for supervised learning—for which statistical guarantees are available—cannot achieve polylogarithmic runtimes in the input dimension. We conclude that, when no further assumptions on the problem are made, quantum machine learning algorithms for supervised learning can have at most polynomial speedups over efficient classical algorithms, even in cases where quantum access to the data is naturally available.
Introduction
Quantum machine learning (QML) is frequently highlighted for its potential to deliver exponential speedups in supervised learning tasks. Many of these claims are based on quantum linear algebra subroutines, such as the HHL algorithm, which operate in time polylogarithmic relative to the data dimension. However, these analyses often overlook a fundamental constraint of machine learning: statistical error.
A learning algorithm's goal is not merely to solve a mathematical equation but to produce a model that generalizes to unseen data. This generalization requires a specific level of precision that is intrinsically linked to the number of training samples ($n$). This research investigates whether QML can maintain its exponential advantage once the "statistical cost" of reaching a target accuracy is factored into the total runtime.
Theoretical Framework
The study applies the framework of Statistical Learning Theory to QML, decomposing the total error of a learner into three distinct components:
- Estimation Error: The error resulting from a finite sample size, typically scaling as $O(1/\sqrt{n})$.
- Optimization (Algorithmic) Error: The error introduced by the approximations within the algorithm itself.
- Irreducible Error: The inherent noise present in the problem data.
The core of the argument is a "matching" requirement: for an algorithm to be statistically optimal, its internal algorithmic error must be at least as small as the estimation error. If the estimation error is $O(1/\sqrt{n})$, the quantum algorithm must be executed with a precision parameter $\gamma \approx 1/\sqrt{n}$. The authors analyzed algorithms with both polynomial and logarithmic error dependencies to see how this precision requirement impacts total complexity.
The Statistical Speed Limit
The research identifies two primary bottlenecks that constrain quantum speedups:
- The Precision-Runtime Tradeoff: For many QML algorithms, runtime is inversely proportional to the desired error. To achieve the precision required by statistical theory ($1/\sqrt{n}$), the theoretical exponential speedup in data dimension is effectively traded for a polynomial slowdown in the number of samples.
- The Measurement Bottleneck: Even for algorithms with logarithmic error scaling, the final step involves "reading out" a classical estimate from a quantum state. This process (via tomography or sampling) introduces a measurement error scaling as $1/\sqrt{m}$, where $m$ is the number of measurements. To match statistical precision, $m$ must scale polynomially with $n$, negating the superpolynomial advantage.
Unlike previous "de-quantization" results that rely on specific classical data structures, these findings are based on the fundamental limits of learning from finite data. It suggests that the statistical requirements of the task itself act as a universal speed limit.
Comparative Results
When statistical guarantees are included, the runtime scaling of quantum algorithms shifts from polylogarithmic to polynomial. As shown in the comparison below, state-of-the-art classical learners and quantum learners exhibit similar scaling behaviors in the regime where generalization is prioritized.
State-of-the-art classical learners like FALKON or Nyström methods achieve training times around $O(n\sqrt{n})$ or $O(n^2)$ while maintaining optimal statistical guarantees. Similarly, Quantum Least Squares (QKLS) and Quantum SVMs (QSVM) exhibit polynomial scaling in $n$ (e.g., $O(\sqrt{n})$ or $O(n\sqrt{n})$). The conclusion is clear: in standard supervised learning regimes, quantum algorithms offer at most polynomial speedups over their most efficient classical counterparts.
Conclusion and Future Outlook
While this analysis suggests a "no-go" for exponential speedups in general supervised learning, it does not rule out advantages in all scenarios. Exponential advantages may still exist for specific problems where no efficient classical algorithm is known, such as learning the output of specific quantum circuits or cryptographic functions.
Furthermore, if a learner possesses strong prior knowledge of the function being learned, they might achieve faster error convergence than $1/\sqrt{n}$, potentially reopening a window for quantum advantage. Future research may further strengthen these results by examining how the condition number of a problem scales with the number of samples $n$.
Summary updated