Abstract
The Kaczmarz method is a popular iterative scheme for solving large-scale linear systems. While the Randomized Kaczmarz (RK) method improves convergence by using rows in random order, its probability criterion can be inefficient. The Greedy Randomized Kaczmarz (GRK) method addresses this by prioritizing rows with larger residuals but suffers from high computational overhead in big data scenarios. This paper proposes a Partially Randomized Kaczmarz method with Simple Random Sampling (PRKS). By leveraging Chebyshev's law of large numbers and a Z-test, PRKS identifies effective update rows from small random samples, drastically reducing per-iteration costs. Numerical results demonstrate its superiority in both standard linear systems and ridge regression problems.
Introduction
Solving massive linear systems is a cornerstone of modern data science, appearing in applications ranging from CT scans to ridge regression. The Kaczmarz method—a classic iterative solver—has seen a resurgence through randomized variants. However, as datasets grow into the "big data" regime, even these randomized versions hit a wall. The primary bottleneck is the trade-off between the progress made in a single iteration and the computational cost of selecting the "best" row for that update.
Methodology: Balancing Greediness and Overhead
The standard Randomized Kaczmarz (RK) method picks a row of the matrix $A$ based on its norm and projects the current guess onto that hyperplane. While simple, it often converges slowly. To fix this, Greedy Randomized Kaczmarz (GRK) prioritizes rows with the largest residuals. However, scanning the entire residual vector in every iteration is prohibitively expensive for matrices with millions of rows.
The authors introduce two main innovations:
- Partially Randomized Kaczmarz (PRK): This method targets rows with high relative residuals to maximize progress per step.
- PRK with Simple Random Sampling (PRKS): This core innovation uses statistical sampling to find "good enough" rows. Instead of scanning all $m$ rows, PRKS selects a tiny fraction (e.g., 0.1%) and uses a Z-test to ensure the sample is representative.
By leveraging Chebyshev’s law of large numbers, the authors prove that a "good enough" row from a small sample provides nearly as much progress as the "best" row from the full set, but at a fraction of the search cost.
Convergence and Performance
The efficiency of the PRKS approach is rooted in the "Greediness Paradox": while picking the absolute best row minimizes the number of iterations, it maximizes the time per iteration. PRKS finds the "sweet spot" by sampling.
Key Results
The PRKS method consistently outperformed RK and GRK in terms of total CPU time, especially as system size increased:
- Speedup: For a $300,000 \times 5,000$ synthetic system, PRKS finished in 394.7 seconds, while the standard GRK took 2600.35 seconds—a nearly 7x speedup.
- Robustness: On dense real-world data (YouTube Faces), PRKS was the only method to converge within a reasonable timeframe, completing in 124 seconds while standard RK took nearly 4000 seconds.
- Ridge Regression: The authors adapted the method for ridge regression without explicitly forming the massive $AA^H$ matrix, saving significant memory and computation.
Conclusion
The PRKS method represents a significant step forward for iterative solvers in the big data era. By replacing exhaustive searches with statistically validated sampling, it maintains the convergence benefits of greedy methods while slashing computational overhead. Future work may extend this statistical sampling logic to inconsistent (noisy) systems and explore parallelization strategies for even greater performance gains.
Summary updated