Automatic Implicit Function Theorem

14 Pages Posted: 15 Dec 2021 Last revised: 31 May 2022

See all articles by Dmitri Goloubentsev

Dmitri Goloubentsev

Matlogica

Evgeny Lakshtanov

Matlogica Limited; Universidade de Aveiro

Vladimir Piterbarg

NatWest Markets; Imperial College London

Date Written: December 14, 2021

Abstract

The Implicit Function Theorem, or IFT, is a powerful tool for calculating derivatives of functions that solve inverse, i.e. calibration, problems prevalent in financial applications. It is commonly believed that a degree of manual intervention is required to enable financial code to take advantage of the IFT even when using Automatic Adjoint Differentiation (AAD). In this note we explain in mathematical terms, and demonstrate on a simple example with Python code, how the Automatic IFT, a special version of the IFT, enables fully-automated differentiation of exact-fit calibration routines. We show that the Automatic IFT gives an approximate solution to nearly-exact calibration problems typical in practice, where we also derive numerical stability estimates. Furthermore, we extend the approach to the general best-fit calibration set-up.

We provide links to self-contained Python and C++/QuantLib code as working examples.

Keywords: AAD, Automatic Adjoint Differentiation, Algorithmic Differentiation, Calibration, Implicit Function Theorem, IFT, AIFT, non-linear least-squares

JEL Classification: C15, C18, C61, C63, G12, G13

Suggested Citation

Goloubentsev, Dmitri and Lakshtanov, Evgeny and Piterbarg, Vladimir, Automatic Implicit Function Theorem (December 14, 2021). Available at SSRN: https://ssrn.com/abstract=3984964 or http://dx.doi.org/10.2139/ssrn.3984964

Dmitri Goloubentsev

Matlogica ( email )

411 Oxford Street, Office 1.01
London, W1C 2PE
United Kingdom

Evgeny Lakshtanov

Matlogica Limited ( email )

411 Oxford Street, Office 1.01
London, W1C 2PE
United Kingdom

Universidade de Aveiro ( email )

Rua Associação Humanitária Bombeiros de Aveiro
Aveiro, 3800
Portugal

Vladimir Piterbarg (Contact Author)

NatWest Markets ( email )

250 Bishopsgate
London, EC2M 4AA
United Kingdom

Imperial College London ( email )

South Kensington Campus
Imperial College
LONDON, SW7 2AZ
United Kingdom

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
1,428
Abstract Views
3,613
Rank
26,837
PlumX Metrics