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

By Pierre Ablin, G. Peyr'e, Thomas Moreau. 2020

42 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computational Mechanics, Management Science and Operations Research, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Simon Lacoste-Julien
  2. Fabian Pedregosa
  3. Sam Schoenholz
  4. Cees G. M. Snoek
  5. C. Freeman
  6. Zeyuan Allen-Zhu
  7. Greg Yang
  8. Marco Cuturi

In Computational Mechanics

  1. Fabian Pedregosa
  2. Simon Lacoste-Julien
  3. Cees G. M. Snoek
  4. Jean-Philippe Vert
  5. Marco Cuturi
  6. Gertjan J. Burghouts
  7. Luke Metz
  8. David W. Zhang

In Management Science and Operations Research

  1. Simon Lacoste-Julien
  2. Cees G. M. Snoek
  3. Marco Cuturi
  4. Gertjan J. Burghouts
  5. Luke Metz
  6. Tal Kachman
  7. Fabian Pedregosa
  8. Sam Schoenholz

In Optimization & Training

  1. Fabian Pedregosa
  2. Simon Lacoste-Julien
  3. Sam Schoenholz
  4. Mathieu Blondel
  5. Marco Cuturi
  6. C. Freeman
  7. Cees G. M. Snoek
  8. Jean-Philippe Vert

Citations in the corpus