Sketching the Krylov Subspace: Faster Computation of the Entire Ridge Regularization Path

Yifei Wang, Mert Pilanci
10/21/2022
math.OC

Official code: pilancilab/IHS-BIN (0 stars, Python, last commit 2023-04-07).

Abstract

We propose a fast algorithm for computing the entire ridge regression regularization path in nearly linear time. Our method constructs a basis on which the solution of ridge regression can be computed instantly for any value of the regularization parameter.

Show full abstract

Consequently, linear models can be tuned via cross-validation or other risk estimation strategies with substantially better efficiency. The algorithm is based on iteratively sketching the Krylov subspace with a binomial decomposition over the regularization path. We provide a convergence analysis with various sketching matrices and show that it improves the state-of-the-art computational complexity. We also provide a technique to adaptively estimate the sketching dimension. This algorithm works for both the over-determined and under-determined problems. We also provide an extension for matrix-valued ridge regression. The numerical results on real medium and large scale ridge regression tasks illustrate the effectiveness of the proposed method compared to standard baselines which require super-linear computational time.

View on arXivView PDF

Code Implementations(1)

pilancilab/IHS-BINOfficial100%
01PythonOct 15, 20223 years ago

Similar Papers

Cite this paper

@article{wang2022sketching,
  title  = {Sketching the Krylov Subspace: Faster Computation of the Entire Ridge Regularization Path},
  author = {Yifei Wang and Mert Pilanci},
  year   = {2022},
  eprint = {2210.12212},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.12212}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.12212.svg)](https://codeofpaper.com/paper/2210.12212)

Discussion