Randomized block Kaczmarz method with projection for solving least squares

Deanna Needell, Ran Zhao, Anastasios Zouzias

TL;DR

This paper introduces two new randomized block iterative methods that solve inconsistent linear systems ($Ax \approx b$) by converging directly to the least squares solution. By combining the speed of "block" updates with a dual-projection strategy (Extended Kaczmarz), the authors achieve significantly faster convergence than previous state-of-the-art methods, especially when the matrix can be partitioned into well-conditioned blocks.

What Problem Does This Paper Address?

In many fields like image reconstruction and signal processing, we need to solve massive, overdetermined systems of linear equations ($Ax = b$). The Kaczmarz method is a classic iterative tool for this: it picks a row of the matrix and projects the current guess onto the solution space of that single equation.

However, Kaczmarz has two major weaknesses:

  1. The Inconsistency Problem: If the system is "noisy" or inconsistent (no exact solution exists), standard Kaczmarz hits a "convergence horizon"—it gets close to the solution but then bounces around an error floor forever.
  2. The Speed Problem: Processing one row at a time is computationally inefficient on modern hardware that thrives on matrix-vector multiplications.

While "Block Kaczmarz" (using multiple rows at once) solves the speed issue, and "Extended Kaczmarz" (using a second projection to handle noise) solves the inconsistency issue, this paper asks: Can we do both simultaneously?

Methods

The authors propose two primary algorithms that bridge the gap between block efficiency and least-squares accuracy:

  1. Algorithm 1: Randomized Double Block Kaczmarz: This method uses two partitions of the matrix—a row partition and a column partition. In each step, it performs a "block" version of the Extended Kaczmarz update. It requires the matrix to be "paved," meaning it is split into blocks that are all relatively well-conditioned.
  2. Algorithm 2: Randomized Block Coordinate Descent: A simpler variant that only requires a column partition. This is particularly useful for matrices where row norms vary wildly (unbounded dynamic range), making a good row-paving difficult to find.

The secret sauce is Matrix Paving. A $(p, \alpha, \beta)$ paving is a way to partition a matrix into $p$ blocks such that each block's singular values are bounded between $\alpha$ and $\beta$. This ensures that the "jumps" the algorithm takes in each iteration are stable and move efficiently toward the solution.

Datasets

The authors evaluated their algorithms using:

  • Synthetic Gaussian Matrices: $300 \times 100$ matrices with standard normal entries, used for both consistent and inconsistent tests.
  • Dynamic Range Matrices: Gaussian matrices where row norms were scaled linearly (the $i$-th row has norm $i$) to test robustness against unbalanced data.
  • Tomography Problems: A 2D tomography problem ($1200 \times 400$ matrix) generated using the Matlab Regularization Toolbox (P.C. Hansen). This represents a real-world application where the matrix corresponds to absorption along random lines through a grid.

Key Insights and Ideas

  • "At the Same Speed": A crucial observation (Remark 1) is that the projection step (which handles the noise) and the Kaczmarz update step (which finds the solution) must run "at the same speed." If you use a block for the update but only a single row/column for the projection, performance actually degrades.
  • Breaking the Horizon: Unlike standard Kaczmarz, these methods iteratively remove the component of the vector $b$ that is orthogonal to the range of $A$. This allows the error to drop toward zero (linear convergence) even when the system is inconsistent.
  • Paving as a Guarantee: The paper proves that if a matrix admits a "good" paving, the algorithm is guaranteed to converge exponentially (linearly in log-space) to the least squares solution.

Key Results

  • Computational Speedup: In numerical experiments, the proposed block methods reached the target error ($10^{-6}$) significantly faster in terms of CPU time compared to the standard Randomized Extended Kaczmarz (REK).
  • Linear Convergence: The theoretical proofs for linear convergence were validated by the experiments. On the tomography problem, Algorithm 2 with 30 blocks converged in roughly 1/5th the CPU time required by the non-block REK.
  • Robustness: Algorithm 2 proved effective even when the matrix had a large variety of row norms, a scenario where traditional row-based Kaczmarz methods often struggle.

Limitations and Future Work

  • Finding the Paving: The theory relies on having a "good" paving. While the paper notes that random partitions often work well for many matrices, finding an optimal paving for a completely arbitrary, highly structured matrix remains a non-trivial pre-processing step.
  • Hardware Optimization: The authors note they did not use "optimized implementations." The actual performance gains on GPU or specialized linear algebra hardware could be even more dramatic than the Matlab results shown.
  • Extension to Constraints: The current work focuses on the unconstrained least squares problem. Extending these block-projection techniques to systems with polyhedral constraints or sparsity requirements (like in compressed sensing) is a logical next step.

Summary updated

BibTeX
@inproceedings{needell2015randomized,
  author = {Deanna Needell and Ran Zhao and Anastasios Zouzias},
  title = {{Randomized block Kaczmarz method with projection for solving least squares}},
  booktitle = {Linear},
  year = {2015},
  doi = {10.1016/j.laa.2015.06.027},
}
Figure