Lune

NeurIPS2023Top-tier venue

Bayes beats Cross Validation: Efficient and Accurate Ridge Regression via Expectation Maximization

Shu Yu Tew, Mario Boley, Daniel F. Schmidt

2023Year
6Citations
1Top-tier citations

Abstract

We present a novel method for tuning the regularization hyper-parameter, λ\lambda, of a ridge regression that is faster to compute than leave-one-out cross-validation (LOOCV) while yielding estimates of the regression parameters of equal, or particularly in the setting of sparse covariates, superior quality to those obtained by minimising the LOOCV risk. The LOOCV risk can suffer from multiple and bad local minima for finite nn and thus requires the specification of a set of candidate λ\lambda, which can fail to provide good solutions. In contrast, we show that the proposed method is guaranteed to find a unique optimal solution for large enough nn, under relatively mild conditions, without requiring the specification of any difficult to determine hyper-parameters. This is based on a Bayesian formulation of ridge regression that we prove to have a unimodal posterior for large enough nn, allowing for both the optimal λ\lambda and the regression coefficients to be jointly learned within an iterative expectation maximization (EM) procedure. Importantly, we show that by utilizing an appropriate preprocessing step, a single iteration of the main EM loop can be implemented in O(min⁡(n,p))O(\min(n, p)) operations, for input data with nn rows and pp columns. In contrast, evaluating a single value of λ\lambda using fast LOOCV costs O(nmin⁡(n,p))O(n \min(n, p)) operations when using the same preprocessing. This advantage amounts to an asymptotic improvement of a factor of ll for ll candidate values for λ\lambda (in the regime q,p∈O(n)q, p \in O(\sqrt{n}) where qq is the number of regression targets).

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 1db9a362-2fab-4b74-a60e-36bc5e1fb2c9

Cited by top-tier papers1

Ask how each one uses it

Builds on1

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines