Enhanced Cyclic Coordinate Descent Methods for Elastic Net Penalized Linear Models
Yixiao Wang, Zishan Shao, Ting Jiang, Aditya Devarakonda
TL;DR
This paper tackles the computational bottleneck of elastic-net penalized GLMs by introducing Enhanced Cyclic Coordinate Descent (ECCD), which unrolls coordinate updates with a Taylor-based correction to stabilize large-block updates. By freezing the Hessian within blocks and using a first-order Taylor expansion to update gradients, ECCD achieves substantial per-epoch speedups without sacrificing convergence or accuracy. Theoretical analysis provides a Taylor-update error bound and complexity guarantees, while experiments show up to about 8x speedups over glmnet on pathwise fits across diverse datasets, with robust memory behavior thanks to an active-set cap. Overall, ECCD offers a practical, scalable pathwise solver that extends efficiently to other GLMs and distributions, enabling faster model selection in high-dimensional settings.
Abstract
We present a novel enhanced cyclic coordinate descent (ECCD) framework for solving generalized linear models with elastic net constraints that reduces training time in comparison to existing state-of-the-art methods. We redesign the CD method by performing a Taylor expansion around the current iterate to avoid nonlinear operations arising in the gradient computation. By introducing this approximation, we are able to unroll the vector recurrences occurring in the CD method and reformulate the resulting computations into more efficient batched computations. We show empirically that the recurrence can be unrolled by a tunable integer parameter, $s$, such that $s > 1$ yields performance improvements without affecting convergence, whereas $s = 1$ yields the original CD method. A key advantage of ECCD is that it avoids the convergence delay and numerical instability exhibited by block coordinate descent. Finally, we implement our proposed method in C++ using Eigen to accelerate linear algebra computations. Comparison of our method against existing state-of-the-art solvers shows consistent performance improvements of $3\times$ in average for regularization path variant on diverse benchmark datasets. Our implementation is available at https://github.com/Yixiao-Wang-Stats/ECCD.
