NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Random permutations fix a worst case for cyclic coordinate descent

Ching-pei Lee, Stephen J. WrightIMA 2018

TL;DR

This paper introduces and analyzes a coordinate descent variant called Random-Permutations Cyclic Coordinate Descent (RPCD). They demonstrate that RPCD can significantly outperform standard Cyclic Coordinate Descent (CCD) on specific types of quadratic optimization problems, effectively fixing a "worst-case" scenario for CCD. Their tight analysis shows RPCD's convergence rate matches that of Randomized Coordinate Descent (RCD) in these challenging cases, offering a practical and theoretically sound alternative.

What Problem Does This Paper Address?

Coordinate descent (CD) is a popular optimization technique that updates variables one at a time. The efficiency of CD heavily depends on the order in which these variables are selected. Three common strategies are:

  1. Cyclic Coordinate Descent (CCD): Updates variables in a fixed, sequential order (1, 2, ..., n, 1, 2, ...).
  2. Randomized Coordinate Descent (RCD): Selects variables to update randomly and independently at each step (sampling with replacement).
  3. Random-Permutations Cyclic Coordinate Descent (RPCD): At the start of each "epoch" (a full pass through all variables), a random permutation of the variables is generated, and then CCD is applied using this permutation for that epoch (sampling without replacement within an epoch).

While RCD generally has stronger theoretical convergence guarantees than CCD, especially for certain ill-conditioned problems, practical performance is often similar. However, there exist specific quadratic functions where CCD performs significantly worse than RCD. This paper focuses on understanding and explaining why RPCD excels in these "worst-case" scenarios for CCD, offering a theoretical justification for its strong empirical performance.

Methods

The authors analyze the convergence of CCD and RPCD for minimizing convex quadratic functions of the form $f(x) = \frac{1}{2}x^T Ax$, where $A$ is symmetric positive semidefinite. A key aspect of their analysis is the use of a specific class of matrices, $A = \delta I + (1-\delta)11^T$, which exhibit a large ratio of the maximum to minimum eigenvalue ($L/L_{max}$), creating the challenging scenarios for CCD.

Their approach involves:

  • Deriving recurrence relations: They establish recurrence relations for the iterates and function values after each epoch for both CCD and RPCD.
  • Analyzing matrix properties: For the permutation-invariant matrix $A$, they derive explicit forms for the iteration matrices $C$ (for CCD) and $C_l$ (for RPCD).
  • Two-parameter recurrence for RPCD: They develop a novel two-parameter recurrence relation that captures the evolution of the expected function value for RPCD over epochs. This allows for a precise characterization of its convergence rate.
  • Bounding parameters: They derive rigorous bounds for the parameters in the RPCD recurrence, showing how the convergence rate depends on the problem's structure (specifically, the parameter $\delta$ and dimension $n$).
  • Theoretical guarantees: They provide theoretical bounds on the convergence rates, demonstrating that RPCD's rate matches RCD's in the analyzed worst-case scenarios and is significantly better than CCD's.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and uses synthetic quadratic problems with specific Hessian structures.

Key Insights and Ideas

  • RPCD as a "fix" for CCD's worst case: The paper provides a strong theoretical explanation for why RPCD, by introducing random permutations at the start of each epoch, can overcome the performance degradation of CCD on ill-conditioned problems.
  • The power of permutation-invariant matrices: The specific matrix structure $A = \delta I + (1-\delta)11^T$ is crucial. Its symmetry under permutations simplifies the analysis of RPCD and highlights the benefits of randomization in such settings.
  • A tight analysis of RPCD: The development of the two-parameter recurrence for RPCD allows for a precise characterization of its convergence, showing it achieves rates comparable to RCD even in scenarios where CCD struggles.
  • First iteration dramatic improvement: The analysis reveals that RPCD (and RCD) can achieve a significant reduction in function value even after a single iteration on these specific problems, which is a notable practical advantage.

Key Results

  • RPCD matches RCD's rate: For the analyzed class of quadratic problems with $A = \delta I + (1-\delta)11^T$, RPCD achieves an asymptotic convergence rate that is comparable to RCD.
  • CCD's rate degrades with problem size: The theoretical analysis and empirical results show that CCD's convergence rate deteriorates as the dimension $n$ increases for these specific matrices, while RCD and RPCD rates are largely independent of $n$.
  • RPCD is significantly faster than CCD: In the worst-case scenarios (small $\delta$), RPCD's convergence rate is approximately $1 - 2\delta$, which is much faster than CCD's rate of $1 - O(\delta/n^2)$.
  • Tight bounds derived: The paper provides tight theoretical bounds on the convergence rates, supported by numerical experiments. For instance, the predicted rate for RPCD is $1 - 2\delta - \frac{2\delta}{n} + O(\delta^2)$, which is shown to be accurate.

Limitations and Future Work

  • Focus on quadratic functions: The analysis is primarily for convex quadratic functions. While these are important benchmarks, extending the results to more general non-linear functions would be valuable.
  • Specific matrix structure: The analysis heavily relies on the permutation-invariant structure of the Hessian $A = \delta I + (1-\delta)11^T$. While this structure is designed to expose worst-case behavior, future work could explore RPCD's performance on other classes of ill-conditioned matrices.
  • Generalization of RPCD: The paper focuses on a specific implementation of RPCD. Exploring other variants or extensions of this randomized permutation strategy could be fruitful.
  • Practical implications: While the paper provides theoretical justification, further empirical studies on larger-scale, real-world problems would be beneficial to fully understand RPCD's practical advantages.

Summary updated

BibTeX
@inproceedings{lee2018random,
  author = {Ching-pei Lee and Stephen J. Wright},
  title = {{Random permutations fix a worst case for cyclic coordinate descent}},
  booktitle = {IMA},
  year = {2018},
  doi = {10.1093/imanum/dry040},
}
Figure