Papers
Topics
Authors
Recent
Search
2000 character limit reached

Doubly Stochastic Block Gauss-Seidel

Updated 5 February 2026
  • The paper introduces a randomized block update scheme that achieves provable linear convergence for both consistent and inconsistent systems.
  • It generalizes classical methods like Gauss-Seidel, Kaczmarz, and coordinate descent by sampling block pairs proportional to their Frobenius norms.
  • The method demonstrates significant speedups—ranging from 2× to 15×—in convergence on real-world and synthetic data, enhancing scalability and parallel execution.

The doubly stochastic block Gauss–Seidel (DSBGS) method is a class of randomized iterative algorithms designed for large-scale optimization and linear algebra, particularly for solving linear systems and structured convex/nonconvex optimization problems. DSBGS algorithms generalize the classical Gauss–Seidel, randomized Kaczmarz, and coordinate descent methods by introducing blockwise updates in both rows and columns, and employing a double-layer randomization scheme in their sampling process. These methods are characterized by provable linear convergence rates in mean-square or expectation, robust performance on consistent and inconsistent systems, and scalability due to efficient blockwise computations and parallelization-friendly design (Razaviyayn et al., 2018, Du et al., 2020, Du et al., 2019, Xu et al., 2014).

1. Formulation and Algorithmic Scheme

DSBGS considers the linear system Ax=bA x = b with ARm×nA \in \mathbb{R}^{m \times n}, or more generally, composite objective functions with block-partitioned variables. The rows and columns of AA are partitioned respectively into block sets {Ii}\{\mathcal I_i\} and {Jj}\{\mathcal J_j\}, and the set of all block pairs is Ω={(Ii,Jj)}\Omega = \{(\mathcal I_i, \mathcal J_j)\}. At each iteration, a block pair (i,j)(i, j) is sampled with probability pi,jAIi,JjF2p_{i,j} \propto \|A_{\mathcal I_i,\mathcal J_j}\|_F^2.

Upon sampling (i,j)(i,j), the DSBGS method forms a block-residual r(i)=AIi,:xbIir^{(i)} = A_{\mathcal I_i,:} x - b_{\mathcal I_i} and updates only the ARm×nA \in \mathbb{R}^{m \times n}0th variable block ARm×nA \in \mathbb{R}^{m \times n}1:

ARm×nA \in \mathbb{R}^{m \times n}2

All other blocks are unaltered. In the scalar-block case, this reduces to a doubly stochastic coordinate update:

ARm×nA \in \mathbb{R}^{m \times n}3

where ARm×nA \in \mathbb{R}^{m \times n}4 is sampled with probability ARm×nA \in \mathbb{R}^{m \times n}5 (Du et al., 2019, Du et al., 2020, Razaviyayn et al., 2018).

For convex or nonconvex composite optimization, the doubly stochastic block Gauss–Seidel (DS-BSG) method iterates over blocks in Gauss–Seidel order (possibly shuffled), and within each block, uses stochastic gradient samples from a finite sum or expectation to compute a blockwise proximal-gradient step (Xu et al., 2014).

2. Theoretical Properties and Convergence Rates

DSBGS methods offer rigorous convergence guarantees for both consistent and inconsistent systems, as well as for convex and nonconvex objectives. The main results take the form:

  • Linear convergence in expectation: For full column-rank ARm×nA \in \mathbb{R}^{m \times n}6 and an appropriate stepsize ARm×nA \in \mathbb{R}^{m \times n}7, the expected error contracts exponentially:

ARm×nA \in \mathbb{R}^{m \times n}8

where ARm×nA \in \mathbb{R}^{m \times n}9, AA0 is the number of variables, and AA1 (Razaviyayn et al., 2018, Du et al., 2019).

  • Convergence for inconsistent systems: For underdetermined or inconsistent AA2, the iterates converge to the minimum-norm least-squares solution with a quantifiable “convergence horizon” (Du et al., 2020).
  • Convergence for convex and nonconvex programs: For block-stochastic gradient variants, under weak assumptions (Lipschitz continuity, bounded variance), the method achieves AA3 expected suboptimality (convex case) or expected first-order stationarity (nonconvex case) (Xu et al., 2014).

The contraction rate depends on block sizes, the Frobenius norms of the block matrices, spectral properties of AA4, and the choice of stepsize. For block size selection and stepsize tuning, spectral information such as the minimum nonzero singular value of AA5 and the block-size parameter AA6 (number of column blocks) are key determinants (Du et al., 2019, Razaviyayn et al., 2018).

3. Connections to Classical Algorithms

DSBGS unifies and generalizes several fundamental randomized iterative methods via choice of block parameters:

Method Row blocks AA7 Col blocks AA8 Block sizes Sampling Probabilities
Landweber (GD) 1 1 all rows, all columns 1
Randomized Kaczmarz AA9 1 singleton rows, all columns {Ii}\{\mathcal I_i\}0
Randomized Gauss–Seidel 1 {Ii}\{\mathcal I_i\}1 all rows, singleton columns {Ii}\{\mathcal I_i\}2
Doubly Stochastic GS {Ii}\{\mathcal I_i\}3 {Ii}\{\mathcal I_i\}4 singleton rows, singleton cols {Ii}\{\mathcal I_i\}5

This generality allows DSBGS to interpolate between stochastic gradient descent, coordinate descent, block Kaczmarz, and Gauss–Seidel, providing a flexible platform for algorithmic design (Du et al., 2019, Du et al., 2020).

4. Practical Implementation Considerations

Block Partitioning and Sampling

Optimal block partitioning leverages data locality and parallel processing capacity, as well as the computational cost of applying block pseudoinverses (where used). Sampling probabilities should always be set proportional to the squared Frobenius norm of each block, which both maximizes theoretical convergence rates and eliminates the risk of selecting blocks yielding no progress (Razaviyayn et al., 2018).

Computational Complexity

  • Per-iteration cost is {Ii}\{\mathcal I_i\}6 for row-block {Ii}\{\mathcal I_i\}7 and column-block {Ii}\{\mathcal I_i\}8.
  • In the scalar-block case, it reduces to {Ii}\{\mathcal I_i\}9 flops.
  • There is a tradeoff between block size and convergence factor—the fastest wall-clock times are often attained at intermediate block sizes, balancing per-iteration cost with contraction rate (Du et al., 2019, Razaviyayn et al., 2018).

Stepsize Tuning and Precomputation

  • Stepsize {Jj}\{\mathcal J_j\}0 is chosen based on spectral information: {Jj}\{\mathcal J_j\}1 or more finely, {Jj}\{\mathcal J_j\}2 in the full-rank case.
  • Precomputing block pseudoinverses ({Jj}\{\mathcal J_j\}3) or their QR decompositions, as well as block norms, is essential for high-throughput implementations.
  • In distributed environments, updates for disjoint column-blocks can proceed in parallel (Razaviyayn et al., 2018, Du et al., 2020).

5. Numerical Performance and Applications

Extensive numerical studies on synthetic and real-world data sets (UF sparse matrix collection) show that DSBGS:

  • Dramatically accelerates convergence compared to standard randomized Kaczmarz or Gauss–Seidel, achieving 2× to 15× speedup in wall-clock time for large systems (Du et al., 2019).
  • Maintains efficient scaling when the coefficient matrix is large, sparse, ill-conditioned, full-rank, underdetermined, or rank-deficient.
  • Outperforms classical SG and block mirror descent in logistic regression, least-squares, low-rank tensor recovery, and bilinear logistic regression, due to its ability to take larger steps on well-conditioned blocks and leverage Gauss–Seidel ordering (Xu et al., 2014).

6. Extensions to General Stochastic and Composite Optimization

The doubly-stochastic block Gauss–Seidel paradigm has been extended to stochastic convex and nonconvex problems with nonsmooth regularization. In these settings:

  • At each iteration, a mini-batch of random data/functions, or a subset of summands, is sampled for gradient estimation.
  • Variable blocks are updated in a Gauss–Seidel sweep, with each block receiving a proximal-gradient update using a mini-batch-based partial gradient.
  • The method achieves {Jj}\{\mathcal J_j\}4 convergence for convex objectives, and stationarity in expectation for nonconvex smooth or composite problems (Xu et al., 2014).

Numerical experiments on regression and tensor recovery confirm that DS-BSG can handle large-scale, structured, and nonconvex optimization efficiently, outperforming pure SG and deterministic block coordinate descent in time to solution and statistical accuracy.


References

(Xu et al., 2014) Block stochastic gradient iteration for convex and nonconvex optimization (Razaviyayn et al., 2018) A Linearly Convergent Doubly Stochastic Gauss-Seidel Algorithm for Solving Linear Equations and A Certain Class of Over-Parameterized Optimization Problems (Du et al., 2019) A doubly stochastic block Gauss-Seidel algorithm for solving linear equations (Du et al., 2020) Pseudoinverse-free randomized block iterative algorithms for consistent and inconsistent linear systems

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Doubly Stochastic Block Gauss-Seidel.