Lune

ICML2020Top-tier venue

Implicit differentiation of Lasso-type models for hyperparameter optimization

Quentin Bertrand, Quentin Klopfenstein, Mathieu Blondel, Samuel Vaiter, Alexandre Gramfort, Joseph Salmon

Abstract

Setting regularization parameters for Lasso-type estimators is notoriously difficult, though crucial in practice. The most popular hyperparameter optimization approach is grid-search using held-out validation data. Grid-search however requires to choose a predefined grid for each parameter, which scales exponentially in the number of parameters. Another approach is to cast hyperparameter optimization as a bi-level optimization problem, one can solve by gradient descent. The key challenge for these methods is the estimation of the gradient with respect to the hyperparameters. Computing this gradient via forward or backward automatic differentiation is possible yet usually suffers from high memory consumption. Alternatively implicit differentiation typically involves solving a linear system which can be prohibitive and numerically unstable in high dimension. In addition, implicit differentiation usually assumes smooth loss functions, which is not the case for Lasso-type problems. This work introduces an efficient implicit differentiation algorithm, without matrix inversion, tailored for Lasso-type problems. Our approach scales to high-dimensional data by leveraging the sparsity of the solutions. Experiments demonstrate that the proposed method outperforms a large number of standard methods to optimize the error on held-out data, or the Stein Unbiased Risk Estimator (SURE).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient and Modular Implicit Differentiation cites Nonsmooth Implicit Differentiation for Machine-Learning and Optimization
  • Synergies between Disentanglement and Sparsity: Generalization and Identifiability in Multi-Task Learning cites Efficient and Modular Implicit Differentiation
  • Synergies between Disentanglement and Sparsity: Generalization and Identifiability in Multi-Task Learning cites Nonsmooth Implicit Differentiation for Machine-Learning and Optimization
  • One-step differentiation of iterative algorithms cites Efficient and Modular Implicit Differentiation
  • One-step differentiation of iterative algorithms cites Nonsmooth Implicit Differentiation for Machine-Learning and Optimization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Efficient and Modular Implicit DifferentiationMathieu Blondel, Quentin Berthet, Marco Cuturi, Roy Frostig et al.NeurIPS 2022 · 386 citations
  2. A framework for bilevel optimization that enables stochastic and global variance reduction algorithmsMathieu Dagréou, Pierre Ablin, Samuel Vaiter, Thomas MoreauNeurIPS 2022 · 149 citations
  3. Nonsmooth Implicit Differentiation for Machine-Learning and OptimizationJérôme Bolte, Tam Le, Edouard Pauwels, Antonio Silveti-FallsNeurIPS 2021 · 85 citations
  4. Synergies between Disentanglement and Sparsity: Generalization and Identifiability in Multi-Task LearningSébastien Lachapelle, Tristan Deleu, Divyat Mahajan, Ioannis Mitliagkas et al.ICML 2023 · 46 citations
  5. One-step differentiation of iterative algorithmsJérôme Bolte, Edouard Pauwels, Samuel VaiterNeurIPS 2023 · 36 citations

Builds on1

  1. Sparse Coding with Gated Learned ISTAKailun Wu, Yiwen Guo, Ziang Li, Changshui ZhangICLR 2020 · 43 citations

Related papers

  1. Amortized Implicit Differentiation for Stochastic Bilevel OptimizationMichael Arbel, Julien MairalICLR 2022 · 78 citations
  2. Bayes beats Cross Validation: Efficient and Accurate Ridge Regression via Expectation MaximizationShu Yu Tew, Mario Boley, Daniel F. SchmidtNeurIPS 2023 · 6 citations
  3. On the Iteration Complexity of Hypergradient ComputationRiccardo Grazzi, Luca Franceschi, Massimiliano Pontil, Saverio SalzoICML 2020 · 241 citations
  4. The Implicit Regularization of Stochastic Gradient Flow for Least SquaresAlnur Ali, Edgar Dobriban, Ryan J. TibshiraniICML 2020 · 83 citations
  5. Implicit Regularization in Over-Parameterized Support Vector MachineYang Sui, Xin He, Yang BaiNeurIPS 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines