Anderson acceleration of coordinate descent

Quentin Bertrand, Mathurin Massias

Introduction

Coordinate Descent (CD) is a cornerstone algorithm in machine learning, particularly effective for high-dimensional problems like Lasso and Elastic Net due to its ability to update variables individually. However, while Nesterov-style acceleration (inertia) has revolutionized Gradient Descent (GD), its application to CD often fails to yield significant practical gains. This work explores Anderson acceleration as a robust alternative for speeding up CD by treating it as a fixed-point iteration.

Methodology: Online Anderson Extrapolation

The core innovation lies in viewing a full pass of CD as a linear fixed-point iteration $x^{(k+1)} = Tx^{(k)} + b$. By maintaining a small history of the last $K$ iterates (typically $K=5$), Anderson acceleration extrapolates a new point that minimizes the residual of the fixed-point equation.

Comparison of Offline and Online Anderson extrapolation schemes. Algorithm 2 (Online) is the basis for the proposed accelerated CD, where the extrapolated point restarts the base sequence.

The authors propose an Online Anderson Proximal Coordinate Descent (PCD). Unlike "offline" versions that merely compute an extrapolated point for evaluation, the "online" version uses the extrapolated point to restart the base sequence, effectively "jumping" ahead in the optimization landscape. To bridge the theoretical gap caused by CD's non-symmetric iteration matrix, the authors analyze a "pseudo-symmetric" version (forward-backward passes), though they find that standard cyclic CD often performs better in practice.

Experimental Results

The method was evaluated on high-dimensional datasets including rcv1, real-sim, and news20. The results demonstrate that Anderson-accelerated CD consistently outperforms standard CD and inertial methods like FISTA, especially as the required precision increases.

Convergence comparison showing suboptimality over time. Anderson-accelerated CD (CD - Anderson) shows a dramatic speedup in reaching high precision ($10^{-15}$) compared to standard CD and inertial variants.

Key findings include:

  • Low Overhead: The computational cost of solving the small $K \times K$ linear system for extrapolation is negligible compared to a full data pass.
  • Robustness: The speedup is most pronounced in "hard" problems with low regularization parameters ($\lambda$).
  • Competitive Performance: On non-quadratic problems like Logistic Regression, the method is competitive with or superior to highly optimized second-order solvers like L-BFGS.

Conclusion

Anderson acceleration provides a powerful, "plug-and-play" mechanism for accelerating Coordinate Descent without the need for complex hyperparameter tuning (like the strong convexity constants required for Nesterov acceleration). While theoretical gaps remain regarding the superior performance of cyclic CD over its symmetric counterparts, the practical benefits for large-scale machine learning are significant.

Reference: Bertrand, Q., & Massias, M. (2021). Anderson acceleration of coordinate descent. Proceedings of the 24th International Conference on Artificial Intelligence and Statistics (AISTATS).

Summary updated

BibTeX
@misc{bertrand2020anderson,
  author = {Quentin Bertrand and Mathurin Massias},
  title = {{Anderson acceleration of coordinate descent}},
  year = {2020},
  eprint = {2011.10065},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.10065},
}
Figure