Randomized Kaczmarz with Averaging

Jacob D. Moorman, Thomas K. Tu, Denali Molitor, Deanna NeedellarXiv 2020

Abstract

We present a parallelized Randomized Kaczmarz (RK) algorithm that utilizes weighted averaging of multiple independent updates. Our theoretical analysis shows that increasing the number of parallel threads $q$ significantly reduces the convergence horizon in inconsistent linear systems, effectively acting as a denoiser. We derive an optimal relaxation parameter $\alpha^*$ and provide a general convergence bound for inconsistent systems. Empirical results on synthetic datasets validate our theoretical findings, demonstrating that the error floor is proportional to $1/q$.

Introduction

Solving large-scale linear systems $Ax = b$ is fundamental to modern scientific computing and machine learning. The Randomized Kaczmarz (RK) algorithm is a widely used iterative solver due to its simplicity and low memory footprint. However, its sequential nature limits its performance on modern multi-core architectures. Furthermore, in the presence of noise (inconsistent systems), standard RK does not converge to a point but rather to a region around the least-squares solution. This paper introduces a parallelized RK variant with averaging to address these limitations.

Methods

The proposed algorithm, Randomized Kaczmarz with Averaging, modifies the standard RK by sampling $q$ indices at each iteration. For each sampled row, a Kaczmarz update is computed independently in parallel. The final update to the solution vector is a weighted average of these individual updates.

Algorithm 1: Randomized Kaczmarz with Averaging

A key technical contribution is the identification of a weight-probability coupling that ensures convergence to the true least-squares solution. The authors also derive an optimal relaxation parameter $\alpha^*$ (Theorem 2), providing a more accurate guide for step-size selection than existing literature.

Results and Discussion

The primary insight is that parallelism serves as a denoiser in inconsistent systems. The "convergence horizon"—the limit of proximity to the solution—is shown to be proportional to $1/q$. Thus, increasing the thread count directly improves the precision of the final solution. Experiments using $100 \times 10$ Gaussian matrices confirmed this $1/q$ relationship. Additionally, the proposed $\alpha^*$ was shown to be superior to previous estimates, particularly at high thread counts.

While the current work focuses on synchronous updates and full-rank matrices, it establishes a robust framework for parallel RK. Future research could extend these results to asynchronous settings and massive, sparse real-world datasets.

Summary updated

BibTeX
@misc{moorman2020randomized,
  author = {Jacob D. Moorman and Thomas K. Tu and Denali Molitor and Deanna Needell},
  title = {{Randomized Kaczmarz with Averaging}},
  year = {2020},
  eprint = {2002.04126},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.04126},
}
Figure