Lune

ICML2020Top-tier venue

Super-efficiency of automatic differentiation for functions defined as a minimum

Pierre Ablin, Gabriel Peyré, Thomas Moreau

Abstract

In min-min optimization or max-min optimization, one has to compute the gradient of a function defined as a minimum. In most cases, the minimum has no closed-form, and an approximation is obtained via an iterative algorithm. There are two usual ways of estimating the gradient of the function: using either an analytic formula obtained by assuming exactness of the approximation, or automatic differentiation through the algorithm. In this paper, we study the asymptotic error made by these estimators as a function of the optimization error. We find that the error of the automatic estimator is close to the square of the error of the analytic estimator, reflecting a super-efficiency phenomenon. The convergence of the automatic estimator greatly depends on the convergence of the Jacobian of the algorithm. We analyze it for gradient descent and stochastic gradient descent and derive convergence rates for the estimators in these cases. Our analysis is backed by numerical experiments on toy problems and on Wasserstein barycenter computation. Finally, we discuss the computational complexity of these estimators and give practical guidelines to chose between them.

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.

21 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

  • Non-Convex Bilevel Games with Critical Point Selection Maps cites Amortized Implicit Differentiation for Stochastic Bilevel Optimization
  • Non-Convex Bilevel Games with Critical Point Selection Maps cites Efficient and Modular Implicit Differentiation
  • Amortized Implicit Differentiation for Stochastic Bilevel Optimization cites Efficient and Modular Implicit Differentiation
  • One-step differentiation of iterative algorithms cites Efficient and Modular Implicit Differentiation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. Efficient and Modular Implicit DifferentiationMathieu Blondel, Quentin Berthet, Marco Cuturi, Roy Frostig et al.NeurIPS 2022 · 386 citations
  2. Amortized Implicit Differentiation for Stochastic Bilevel OptimizationMichael Arbel, Julien MairalICLR 2022 · 78 citations
  3. Trajectory Inference via Mean-field Langevin in Path SpaceLénaïc Chizat, Stephen Zhang, Matthieu Heitz, Geoffrey SchiebingerNeurIPS 2022 · 45 citations
  4. Non-Convex Bilevel Games with Critical Point Selection MapsMichael Arbel, Julien MairalNeurIPS 2022 · 40 citations
  5. One-step differentiation of iterative algorithmsJérôme Bolte, Edouard Pauwels, Samuel VaiterNeurIPS 2023 · 36 citations

Related papers

  1. Stochastic Optimization for Regularized Wasserstein EstimatorsMarin Ballu, Quentin Berthet, Francis R. BachICML 2020 · 17 citations
  2. Two Losses Are Better Than One: Faster Optimization Using a Cheaper ProxyBlake E. Woodworth, Konstantin Mishchenko, Francis R. BachICML 2023 · 9 citations
  3. Sobolev Gradient Ascent for Optimal Transport: Barycenter Optimization and Convergence AnalysisKaheon Kim, Bohan Zhou, Changbo Zhu, Xiaohui ChenICLR 2026 · 6 citations
  4. Statistical, Robustness, and Computational Guarantees for Sliced Wasserstein DistancesSloan Nietert, Ziv Goldfeld, Ritwik Sadhu, Kengo KatoNeurIPS 2022 · 73 citations
  5. Optimal Time Complexities of Parallel Stochastic Optimization Methods Under a Fixed Computation ModelAlexander Tyurin, Peter RichtárikNeurIPS 2023 · 31 citations
Dusk over the sea between two cliffs drawn in fine vertical lines