TL;DR
This paper proves that iterative sketching, when implemented with a specific "sketch-and-solve" initialization, is a forward-stable algorithm for solving overdetermined linear least-squares problems. It provides the first theoretical and empirical proof of a randomized solver that is both asymptotically faster than standard Householder QR and numerically reliable in floating-point arithmetic.
What Problem Does This Paper Address?
The overdetermined linear least-squares problem ($Ax \approx b$) is a cornerstone of computational science. While the textbook Householder QR factorization is the "gold standard" for stability, its $O(mn^2)$ cost is prohibitive for the massive datasets common in modern machine learning and engineering.
In response, researchers developed randomized "sketching" methods. These use a random matrix $S$ to compress the large matrix $A$ into a smaller "sketch," allowing for much faster computation. However, a "stability crisis" recently emerged: researchers (Meier et al., 2023) demonstrated that many popular randomized solvers are numerically unstable in floating-point arithmetic, producing wildly inaccurate results for ill-conditioned problems. This paper asks a fundamental question: Is there a randomized least-squares solver that is both fast and stable?
Methods
The author focuses on Iterative Sketching (IS). While previous versions of IS often used a new random sketch at every iteration, this paper analyzes a specific, stable implementation (Algorithm 2) characterized by:
- Sketch-and-Solve Initialization: Instead of starting at zero, the algorithm finds an initial guess $x_0$ by solving a single sketched version of the problem.
- Fixed Sketching: It uses a single random embedding $S$ (specifically a sparse sign embedding) for all iterations.
- Iterative Refinement: It treats the problem as iterative refinement on the normal equations, preconditioned by the $R$-factor of the sketched matrix ($SA = QR$).
- Stable Triangular Solves: The refinement steps are computed using two triangular solves, avoiding the explicit formation of $A^\top A$, which is a notorious source of instability.
The theoretical core of the paper is a proof showing this approach is forward stable, meaning the error in the solution is roughly as small as what you would get from a backward-stable method like Householder QR.
Datasets
The paper evaluates the algorithm using:
- Synthetic Haar-random matrices: Used to precisely control the condition number ($\kappa$) and residual norms to test the limits of numerical stability.
- The SUSY Dataset: A high-energy physics dataset with $m = 10^6$ data points, used to demonstrate performance on a large-scale dense kernel regression problem.
- Sparse Synthetic Problems: Large-scale sparse matrices ($3 \times 10^6 \times 10^3$) designed to test memory efficiency and speedups over standard direct solvers.
Key Insights and Ideas
- Forward vs. Backward Stability: The paper makes a nuanced distinction. While iterative sketching is not backward stable (it doesn't solve a "nearby" problem exactly), it is forward stable. For most practical applications, forward stability is sufficient because it guarantees the final solution is accurate.
- The "Corrected Seminormal Equation" Connection: The author draws a clever parallel between iterative sketching and Björck’s classical analysis of the "corrected seminormal equations" from the 1980s, applying those stability insights to modern randomized linear algebra.
- Initialization is Critical: A major "aha moment" is that starting with $x_0 = 0$ leads to instability. Using the "sketch-and-solve" guess provides a starting point that is already "close enough" to the subspace of the solution to prevent rounding errors from exploding.
- Embedding Dimension Requirements: The analysis reveals that a sketch size of $d \approx 12n$ is typically needed for convergence. This isn't just a loose theoretical bound; it's a genuine property of the algorithm's convergence rate.
Key Results
- Significant Speedups: On the SUSY kernel regression task, iterative sketching achieved a 10x speedup over MATLAB’s
mldivide(QR-based) at $n=1000$. On sparse problems, the speedup reached 36x. - Memory Efficiency: For sparse problems, iterative sketching maintained a steady, low memory footprint, whereas the direct solver's memory usage climbed linearly with the number of columns, eventually causing MATLAB to crash on very large instances.
- Geometric Convergence: The errors ($\|x - \hat{x}_i\|$) drop exponentially (geometrically) until they hit the "precision floor" of double-precision arithmetic, matching the accuracy of Householder QR.
Limitations and Future Work
- Not Backward Stable: The author acknowledges that iterative sketching still fails the strict test of backward stability for problems with very large residuals.
- Parameter Tuning: Unlike standard QR, iterative sketching requires choosing an embedding dimension $d$. While the paper provides guidance (e.g., $d=20n$), optimal tuning remains an open area.
- Open Questions: The paper concludes by asking if other popular methods, like "sketch-and-precondition," can also be proven forward stable, and whether a truly backward-stable randomized solver even exists.
Summary updated