Worth Their Weight: Randomized and Regularized Block Kaczmarz Algorithms without Preprocessing

Gil Goldshlager, Jiang Hu, Lin Lin
2/2/2025
3 citations
cs.LGmath.NAmath.OC

Official code: ggoldsh/block-kaczmarz-without-preprocessing (1 star, Jupyter Notebook, MIT, last commit 2025-12-16).

Abstract

Due to the ever growing amounts of data leveraged for machine learning and scientific computing, it is increasingly important to develop algorithms that sample only a small portion of the data at a time. In the case of linear least-squares, the randomized block Kaczmarz method (RBK) is an appealing example of such an algorithm, but its convergence is only understood under sampling distributions that require potentially prohibitively expensive preprocessing steps.

Show full abstract

To address this limitation, we analyze RBK when the data is sampled uniformly, showing that its iterates converge in a Monte Carlo sense to a $\textit{weighted}$ least-squares solution. Unfortunately, for general problems the bias of the weighted least-squares solution and the variance of the iterates can become arbitrarily large. We show that these quantities can be rigorously controlled by incorporating regularization into the RBK iterations, yielding the regularized algorithm ReBlocK. Numerical experiments including examples arising from natural gradient optimization demonstrate that ReBlocK can outperform both RBK and minibatch stochastic gradient descent for inconsistent problems with rapidly decaying singular values.

View on arXivView PDF

Code Implementations(1)

MIT
10Jupyter NotebookJan 29, 202511 months agoMIT

Similar Papers

Cite this paper

@article{goldshlager2025worth,
  title  = {Worth Their Weight: Randomized and Regularized Block Kaczmarz Algorithms without Preprocessing},
  author = {Gil Goldshlager and Jiang Hu and Lin Lin},
  year   = {2025},
  eprint = {2502.00882},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.00882v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.00882.svg)](https://codeofpaper.com/paper/2502.00882)

Discussion