Abstract
Solving large-scale linear systems $Ax = b$ is a fundamental challenge in scientific computing. While quantum algorithms like HHL offer potential exponential speedups, they provide solutions as quantum states rather than classical vectors. This paper presents a simplified, rigorous analysis of a "quantum-inspired" classical algorithm that achieves sublinear-in-dimension runtimes by utilizing a compressed representation of the solution. By refining sub-sampling techniques and providing an elementary proof, the authors achieve faster construction times and more reliable performance guarantees than previous complex attempts.
Introduction
As datasets grow to millions of dimensions, standard methods for solving linear systems become prohibitively slow. Quantum algorithms promised a breakthrough, but they come with a significant "read-out" problem: they do not provide the solution vector $x$ directly. Instead, they produce a quantum state that must be sampled, making it difficult to extract specific values or perform further classical computations.
"Quantum-inspired" algorithms are classical counterparts designed to mimic this behavior. They avoid the $O(d)$ cost of writing down a full vector by creating a compressed representation that allows for fast entry queries or sampling. However, the theoretical foundations of these algorithms have often been obscured by dense, asymptotic "Big-O" analyses that hide large constants or contain subtle mathematical gaps. This work aims to provide a self-contained, non-asymptotic analysis that clarifies the true performance of these methods.
Methodology: Sub-sampled Stochastic Gradient Descent
The authors propose a regression approach using row and column sub-sampled Stochastic Gradient Descent (SGD). The algorithm operates under an "importance sampling" access model, where rows or columns of the matrix $A$ are selected with probability proportional to their squared norms (energy).
Algorithmic Innovation
A primary contribution of this work is the optimization of the sampling process. Previous iterations of similar algorithms sampled new columns for every row in a batch. In contrast, this algorithm reuses the same column samples for all rows within a single iteration. This "reuse" strategy significantly slashes the total construction time without sacrificing the convergence rate.
Iterative Update and Representation
The algorithm maintains a sparse vector $y$ such that the approximate solution is represented as $x = A^\top y$. It updates $y$ using a variant of the randomized Kaczmarz method with averaging. This can be viewed as a noisy version of gradient descent applied to the normal equations. Because the analysis relies on basic tools like expectation, variance, and Markov’s inequality, it avoids the "heavy machinery" of prior literature, making the results more accessible and verifiable.
Experimental Validation
The theory was validated using a synthetic test problem involving a $3000 \times 2000$ matrix. To represent a "generic" high-dimensional rotation, singular vectors were drawn from a Haar distribution. The difficulty of the system was controlled by geometrically spacing 100 nonzero singular values to reach specific condition numbers ($\kappa$).
Experiments compared the sub-sampled algorithm against "exact" versions (no sampling) and "row-only" sampling versions. The results confirmed that while increasing the row batch size ($R$) accelerates convergence, increasing the column batch size ($C$) is essential for achieving higher precision (lower $\epsilon$).
Key Insights
1. Robustness through Simplicity
By eschewing complex "quantum-like" frameworks in favor of classical randomized linear algebra, the authors found that the resulting bounds are more reliable. This "back-to-basics" approach allowed them to identify critical gaps in recent high-profile papers (e.g., SM22, SM23), where claimed runtimes were found to be based on incorrect assumptions regarding matrix norms.
2. The Sampling vs. Accuracy Trade-off
A notable finding is the behavior of the sampling cost parameter, $\phi(y)$. Even after the accuracy of the solution reaches a plateau, the cost to maintain a sampleable representation continues to grow. This suggests that as a solution is refined, it becomes increasingly difficult to keep it in a format that is easy to sample from classically.
Results and Complexity
The paper establishes rigorous bounds for a system with condition number $\kappa$ and Frobenius condition number $\kappa_F$:
- Construction Time: $O(\frac{\kappa_F^4 \kappa^2}{\epsilon^2})$
- Query Time: $O(\kappa_F^2)$ per entry.
- Sampling Time: $\tilde{O}(\kappa_F^4 \kappa^6)$ to generate a random index.
These results demonstrate that for low-rank systems, the algorithm provides a viable classical alternative to quantum methods, provided the precision requirements are not excessively high.
Limitations and Future Directions
While the analysis is a significant step forward, several limitations remain. The current proof assumes a "consistent" system where a solution is guaranteed to exist; real-world datasets are often noisy and inconsistent. Furthermore, the $1/\epsilon^2$ dependence in the runtime means the algorithm may struggle with very high-precision requirements compared to traditional methods that scale with $\log(1/\epsilon)$.
Future work may involve incorporating "momentum"—a technique common in deep learning—to improve convergence rates, or extending this elementary analysis to regularized problems such as ridge regression.
Summary updated