Skip to main content
QUICK REVIEW

[Paper Review] Rows vs Columns for Linear Systems of Equations - Randomized Kaczmarz or Coordinate Descent?

Aaditya Ramdas|arXiv (Cornell University)|Jun 20, 2014
Stochastic Gradient Optimization TechniquesComputer Science10 references4 citations
TL;DR

This paper establishes a deep conceptual and algorithmic connection between Randomized Kaczmarz (RK) and Randomized Coordinate Descent (RCD) for solving linear systems, showing that RK is more naturally understood as a variant of RCD than as a stochastic gradient descent method. It introduces a Kaczmarz-style algorithm for Kernel Ridge Regression that avoids forming the Gram matrix, enabling scalable kernel methods with linear convergence guarantees.

ABSTRACT

This paper is about randomized iterative algorithms for solving a linear system of equations $X β= y$ in different settings. Recent interest in the topic was reignited when Strohmer and Vershynin (2009) proved the linear convergence rate of a Randomized Kaczmarz (RK) algorithm that works on the rows of $X$ (data points). Following that, Leventhal and Lewis (2010) proved the linear convergence of a Randomized Coordinate Descent (RCD) algorithm that works on the columns of $X$ (features). The aim of this paper is to simplify our understanding of these two algorithms, establish the direct relationships between them (though RK is often compared to Stochastic Gradient Descent), and examine the algorithmic commonalities or tradeoffs involved with working on rows or columns. We also discuss Kernel Ridge Regression and present a Kaczmarz-style algorithm that works on data points and having the advantage of solving the problem without ever storing or forming the Gram matrix, one of the recognized problems encountered when scaling kernelized methods.

Motivation & Objective

  • To clarify the conceptual relationship between Randomized Kaczmarz (RK) and Randomized Coordinate Descent (RCD), challenging the common view of RK as a stochastic gradient method.
  • To analyze the convergence behavior of RK and RCD under different system conditions—consistent/unique, consistent/infinite solutions, and inconsistent systems.
  • To develop a Kaczmarz-style algorithm for Kernel Ridge Regression that avoids explicit Gram matrix computation, improving scalability of kernel methods.
  • To unify the convergence proof techniques of RK and RCD, highlighting their structural similarities and algorithmic tradeoffs.

Proposed method

  • Uses a unified framework to compare RK and RCD by interpreting both as iterative methods that update based on row or column norms, respectively.
  • Applies randomized selection with probabilities proportional to squared row or column norms to ensure convergence.
  • Derives convergence rates for both RK and RCD in the context of Ridge Regression and Kernel Ridge Regression using spectral properties of the data matrix or kernel matrix.
  • Proposes a novel Kaczmarz-style algorithm for Kernel Ridge Regression that maintains dual variables α and updates them using kernel evaluations without forming the full Gram matrix.
  • Employs a dual formulation where updates are performed in the feature space via kernel evaluations, avoiding explicit matrix inversion.
  • Establishes linear convergence rates for both RK and RCD in the Ridge and Kernel Ridge settings, with explicit dependence on the smallest eigenvalue and trace of the regularized kernel or covariance matrix.

Experimental results

Research questions

  • RQ1How do the convergence behaviors of Randomized Kaczmarz and Randomized Coordinate Descent compare when solving consistent and inconsistent linear systems?
  • RQ2Why is Randomized Kaczmarz more naturally interpreted as a variant of Coordinate Descent rather than Stochastic Gradient Descent?
  • RQ3Can a Kaczmarz-style algorithm be designed for Kernel Ridge Regression that avoids forming the Gram matrix while maintaining linear convergence?
  • RQ4What are the key differences in convergence rates and solution properties (e.g., minimum norm vs. least squares) between RK and RCD under different system conditions?
  • RQ5How can the duality between row-based and column-based updates be leveraged to derive simpler and more interpretable convergence proofs?

Key findings

  • When the system is consistent and has a unique solution, both RK and RCD converge to the solution at approximately the same linear rate, with nearly identical convergence proofs.
  • In the case of a consistent system with infinitely many solutions, RK converges to the minimum norm solution, while RCD does not, making RK preferable in such settings.
  • For inconsistent systems, RCD converges to the least squares solution, whereas RK does not, making RCD the preferred method when minimizing residual error is the goal.
  • The convergence rate of RK for Kernel Ridge Regression is bounded by (1 - σ_min(K + λI_n) / Tr(K + λI_n))^t, which depends on the smallest eigenvalue and trace of the regularized kernel matrix.
  • The proposed Kaczmarz-style algorithm for Kernel Ridge Regression avoids forming the Gram matrix entirely, reducing computational and storage costs, and achieves linear convergence with O(n) per-iteration cost.
  • The convergence rate of RCD for Ridge Regression is (1 - σ_min(Σ + λI_p) / Tr(Σ + λI_p))^t, with a subtle difference in the eigenvalue dependence compared to RK, especially when n > p or p > n.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.