Passer à la navigation principale Passer à la recherche Passer au contenu principal

Efficient and Modular Implicit Differentiation

  • Mathieu Blondel
  • , Quentin Berthet
  • , Marco Cuturi
  • , Roy Frostig
  • , Stephan Hoyer
  • , Felipe Llinares-López
  • , Fabian Pedregosa
  • , Jean Philippe Vert
  • Google Inc.

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

Automatic differentiation (autodiff) has revolutionized machine learning. It allows to express complex computations by composing elementary ones in creative ways and removes the burden of computing their derivatives by hand. More recently, differentiation of optimization problem solutions has attracted widespread attention with applications such as optimization layers, and in bi-level problems such as hyper-parameter optimization and meta-learning. However, so far, implicit differentiation remained difficult to use for practitioners, as it often required case-by-case tedious mathematical derivations and implementations. In this paper, we propose automatic implicit differentiation, an efficient and modular approach for implicit differentiation of optimization problems. In our approach, the user defines directly in Python a function F capturing the optimality conditions of the problem to be differentiated. Once this is done, we leverage autodiff of F and the implicit function theorem to automatically differentiate the optimization problem. Our approach thus combines the benefits of implicit differentiation and autodiff. It is efficient as it can be added on top of any state-of-the-art solver and modular as the optimality condition specification is decoupled from the implicit differentiation mechanism. We show that seemingly simple principles allow to recover many existing implicit differentiation methods and create new ones easily. We demonstrate the ease of formulating and solving bi-level optimization problems using our framework. We also showcase an application to the sensitivity analysis of molecular dynamics.

langue originaleAnglais
titreAdvances in Neural Information Processing Systems 35 - 36th Conference on Neural Information Processing Systems, NeurIPS 2022
rédacteurs en chefS. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, A. Oh
EditeurNeural information processing systems foundation
ISBN (Electronique)9781713871088
étatPublié - 1 janv. 2022
Modification externeOui
Evénement36th Conference on Neural Information Processing Systems, NeurIPS 2022 - New Orleans, États-Unis
Durée: 28 nov. 20229 déc. 2022

Série de publications

NomAdvances in Neural Information Processing Systems
Volume35
ISSN (imprimé)1049-5258

Une conférence

Une conférence36th Conference on Neural Information Processing Systems, NeurIPS 2022
Pays/TerritoireÉtats-Unis
La villeNew Orleans
période28/11/229/12/22

Empreinte digitale

Examiner les sujets de recherche de « Efficient and Modular Implicit Differentiation ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation