Efficient Automatic Differentiation of Implicit Functions

12/28/2021
by   Charles C. Margossian, et al.
0

Derivative-based algorithms are ubiquitous in statistics, machine learning, and applied mathematics. Automatic differentiation offers an algorithmic way to efficiently evaluate these derivatives from computer programs that execute relevant functions. Implementing automatic differentiation for programs that incorporate implicit functions, such as the solution to an algebraic or differential equation, however, requires particular care. Contemporary applications typically appeal to either the application of the implicit function theorem or, in certain circumstances, specialized adjoint methods. In this paper we show that both of these approaches can be generalized to any implicit function, although the generalized adjoint method is typically more effective for automatic differentiation. To showcase the relative advantages and limitations of the two methods we demonstrate their application on a suite of common implicit functions.

READ FULL TEXT
research
06/03/2020

A mathematical model for automatic differentiation in machine learning

Automatic differentiation, as implemented today, does not have a simple ...
research
05/23/2023

One-step differentiation of iterative algorithms

In appropriate frameworks, automatic differentiation is transparent to t...
research
11/23/2021

Multiset-Equivariant Set Prediction with Approximate Implicit Differentiation

Most set prediction models in deep learning use set-equivariant operatio...
research
05/31/2021

Efficient and Modular Implicit Differentiation

Automatic differentiation (autodiff) has revolutionized machine learning...
research
05/13/2022

A Unified Framework for Implicit Sinkhorn Differentiation

The Sinkhorn operator has recently experienced a surge of popularity in ...
research
03/07/2017

Mini-symposium on automatic differentiation and its applications in the financial industry

Automatic differentiation is involved for long in applied mathematics as...
research
11/14/2018

Stochastic Algorithmic Differentiation of (Expectations of) Discontinuous Functions (Indicator Functions)

In this paper we present a method for the accurate estimation of the der...

Please sign up or login with your details

Forgot password? Click here to reset