Skip to main content
QUICK REVIEW

[Paper Review] Rows vs. Columns: Randomized Kaczmarz or Gauss-Seidel for Ridge Regression

Ahmed Hefny, Deanna Needell|arXiv (Cornell University)|Jul 21, 2015
Sparse and Compressive Sensing TechniquesEngineering23 references6 citations
TL;DR

This paper proposes and analyzes variants of the randomized Kaczmarz (RK) and randomized Gauss-Seidel (RGS) methods for ridge regression, showing that RGS is optimal when m > n (overdetermined case) and RK is optimal when n > m (underdetermined case). It proves that combining both row and column updates—previously proposed as an augmented method—is strictly suboptimal due to ineffective iterations.

ABSTRACT

The Kaczmarz and Gauss-Seidel methods aim to solve a linear $m imes n$ system $\boldsymbol{X} \boldsymbolβ = \boldsymbol{y}$ by iteratively refining the solution estimate; the former uses random rows of $\boldsymbol{X}$ {to update $\boldsymbolβ$ given the corresponding equations} and the latter uses random columns of $\boldsymbol{X}$ {to update corresponding coordinates in $\boldsymbolβ$}. Interest in these methods was recently revitalized by a proof of Strohmer and Vershynin showing linear convergence in expectation for a extit{randomized} Kaczmarz method variant (RK), and a similar result for the randomized Gauss-Seidel algorithm (RGS) was later proved by Lewis and Leventhal. Recent work unified the analysis of these algorithms for the overcomplete and undercomplete systems, showing convergence to the ordinary least squares (OLS) solution and the minimum Euclidean norm solution respectively. This paper considers the natural follow-up to the OLS problem, ridge regression, which solves $(\boldsymbol{X}^* \boldsymbol{X} + λ\boldsymbol{I}) \boldsymbolβ = \boldsymbol{X}^* \boldsymbol{y}$. We present particular variants of RK and RGS for solving this system and derive their convergence rates. We compare these to a recent proposal by Ivanov and Zhdanov to solve this system, that can be interpreted as randomly sampling both rows and columns, which we argue is often suboptimal. Instead, we claim that one should always use RGS (columns) when $m > n$ and RK (rows) when $m < n$. This difference in behavior is simply related to the minimum eigenvalue of two related positive semidefinite matrices, $\boldsymbol{X}^* \boldsymbol{X} + λ\boldsymbol{I}_n$ and $\boldsymbol{X} \boldsymbol{X}^* + λ\boldsymbol{I}_m$ when $m > n$ or $m < n$.

Motivation & Objective

  • To extend the analysis of randomized Kaczmarz (RK) and randomized Gauss-Seidel (RGS) methods from ordinary least squares to ridge regression.
  • To determine the optimal choice between row-based (RK) and column-based (RGS) updates in ridge regression depending on the system's over- or under-constrained nature.
  • To demonstrate that a recently proposed combined row-column update method (Ivanov-Zhdanov) is suboptimal due to ineffective iterations.
  • To provide convergence rate analysis for RK and RGS variants in ridge regression, highlighting condition number dependencies.
  • To establish that RGS should be used when m > n and RK when n > m, based on theoretical and empirical validation.

Proposed method

  • Formulate ridge regression as a linear system and derive RK and RGS variants by treating them as randomized coordinate descent methods on the dual or primal system.
  • Use a dual formulation to express ridge regression as solving a system involving the matrix (X^*X + λI), enabling application of RK and RGS to the dual variables.
  • Analyze convergence rates in expectation, deriving bounds dependent on the condition number of X^*X + λI and the minimum singular value σ_min.
  • Introduce a new algorithmic framework that selects updates based on the dimensionality: RGS for m > n and RK for n > m.
  • Compare the proposed method with the Ivanov-Zhdanov augmented projection method, which combines RK and RGS updates but suffers from ineffective iterations.
  • Use numerical experiments to validate theoretical convergence rates and the superiority of dimension-aware selection (RGS for m > n, RK for n > m).

Experimental results

Research questions

  • RQ1Which randomized iterative method—RK or RGS—achieves faster convergence for ridge regression in the overdetermined (m > n) and underdetermined (n > m) regimes?
  • RQ2How do the convergence rates of RK and RGS variants for ridge regression depend on the condition number and singular values of the design matrix?
  • RQ3Why is the Ivanov-Zhdanov augmented projection method, which combines row and column updates, strictly suboptimal in practice?
  • RQ4Can a unified framework be established that selects the optimal update strategy (row or column) based on the system's dimensionality?
  • RQ5What is the impact of initialization on the convergence behavior of RK and RGS in ridge regression?

Key findings

  • When m > n (overdetermined case), the randomized Gauss-Seidel (RGS) method converges faster and is optimal, while randomized Kaczmarz (RK) performs poorly.
  • When n > m (underdetermined case), the randomized Kaczmarz (RK) method is optimal and converges faster than RGS, which suffers from poor solution recovery due to infinite solutions.
  • The Ivanov-Zhdanov augmented projection method, which combines row and column updates, is strictly suboptimal because many iterations yield no progress, slowing convergence.
  • The proposed method, which selects RGS for m > n and RK for n > m, achieves linear convergence in expectation with condition number dependence matching theoretical bounds.
  • Numerical experiments confirm that RGS outperforms RK in the m > n case and RK outperforms RGS in the n > m case, validating the theoretical predictions.
  • The convergence rate of the proposed method depends on σ_min and the condition number of X^*X + λI, with faster convergence when σ_min is larger and the condition number is smaller.

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.