Stability and Generalization for Randomized Coordinate Descent

Puyu Wang, Liang Wu, Yunwen Lei

Abstract

Randomized Coordinate Descent (RCD) is a cornerstone of large-scale optimization, yet its generalization properties have remained largely unexplored. This paper, presented at IJCAI-21, provides the first comprehensive theoretical analysis of RCD's generalization performance using the framework of algorithmic stability. We prove that RCD is inherently more stable than Stochastic Gradient Descent (SGD) and can achieve minimax optimal generalization bounds. Furthermore, we show that RCD can exploit "low-noise" conditions to reach faster convergence rates and provide principled guidelines for early stopping as implicit regularization.

1. Introduction

In machine learning, a fundamental tension exists between optimization (minimizing training error) and generalization (minimizing test error). While Randomized Coordinate Descent (RCD) is widely favored for big-data problems due to its computational efficiency—updating only one random feature per iteration—theoretical understanding has historically focused on its optimization convergence rates. This research addresses the critical question: How does the iterative process of RCD affect the gap between training and test performance?

2. Methodology: Algorithmic Stability

The authors employ algorithmic stability to bridge the gap between optimization and generalization. An algorithm is considered stable if a minor perturbation in the training data (e.g., changing a single example) does not significantly alter the resulting model. High stability is a robust indicator of strong generalization.

The paper establishes several stability bounds for RCD across convex, strongly convex, and non-convex objectives:

  • Argument Stability ($\ell_1$ and $\ell_2$): Quantifies the change in model parameters.
  • Uniform Stability: Quantifies the change in loss on any given data point.

A significant contribution is the $\ell_2$-argument stability analysis, which, unlike previous SGD analyses, does not require the loss function to be Lipschitz continuous. This extends the theoretical guarantees to a broader class of problems, such as least squares regression.

3. Key Theoretical Insights

The theoretical analysis yields several pivotal findings:

  • Dimensionality-Dependent Stability: RCD's stability bounds include the dimensionality ($d$) in the denominator. Consequently, as the number of features increases, RCD becomes relatively more stable than SGD, which updates all dimensions simultaneously.
  • Optimistic Generalization Rates: In convex settings with "low noise" (where the optimal model has minimal error), RCD achieves a generalization bound of $O(1/n)$, significantly faster than the standard $O(1/\sqrt{n})$ rate.
  • Implicit Regularization via Early Stopping: The paper provides a principled guideline for early stopping. For convex problems, stopping at approximately $T \approx d\sqrt{n}$ iterations optimally balances estimation error and optimization error.

4. Empirical Results

To validate the theoretical claims, the authors compared RCD and SGD on three benchmark datasets: Ionosphere (binary classification), svmguide3, and MNIST (handwritten digits). The experiments measured the Euclidean distance between model iterates trained on "neighboring" datasets—a direct empirical proxy for stability.

Comparison of stability (measured by model distance) between RCD and SGD across Ionosphere, Svmguide3, and MNIST datasets.

As illustrated in the figure above, RCD consistently exhibits a smaller distance between neighboring models than SGD across all datasets. This empirical evidence confirms that RCD is more robust to small perturbations in training data, supporting the theoretical stability bounds.

5. Conclusion and Future Directions

This work establishes RCD as a stable and reliable alternative to SGD for large-scale learning, providing the first formal link between its optimization dynamics and generalization capability. Future research may extend these results to RCD variants using importance sampling or to more complex distributed and block-coordinate descent architectures. While non-convex objectives present ongoing challenges, the current framework offers a rigorous foundation for understanding the reliability of coordinate-based optimization in sensitive applications.

Summary updated

BibTeX
@inproceedings{wang2021stability,
  author = {Puyu Wang and Liang Wu and Yunwen Lei},
  title = {{Stability and Generalization for Randomized Coordinate Descent}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/427},
}
Figure