Recursive multivariate derivatives of e^f(x_1,..., x_n) of arbitrary order

11/26/2019
by   Filippo M. Miatto, et al.
0

High-order derivatives of nested functions of a single variable can be computed with the celebrated Faà di Bruno's formula. Although generalizations of such formula to multiple variables exist, their combinatorial nature generates an explosion of factors, and when the order of the derivatives is high, it becomes very challenging to compute them. A solution is to reuse what has already been computed, which is a built-in feature of recursive implementations. Thanks to this, recursive formulas can play an important role in Machine Learning applications, in particular for Automatic Differentiation. In this manuscript we provide a recursive formula to compute multivariate derivatives of arbitrary order of e^f(x_1,...,x_n) with respect to the variables x_i. We note that this method could also be beneficial in cases where the high-order derivatives of a function f(x_1,...,x_n) are hard to compute, but where the derivatives of log(f(x_1,...,x_n)) are simpler.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/11/2019

Efficient Computation of High-Order Electromagnetic Field Derivatives for Multiple Design Parameters in FDTD

This paper introduces a new computational framework to derive electromag...
research
07/05/2022

Confluent Vandermonde with Arnoldi

In this note, we extend the Vandermonde with Arnoldi method recently adv...
research
07/09/2020

Blends in Maple

A blend of two Taylor series for the same smooth real- or complex-valued...
research
06/08/2018

Learning in Integer Latent Variable Models with Nested Automatic Differentiation

We develop nested automatic differentiation (AD) algorithms for exact in...
research
05/02/2023

An Efficient Quadratic Interpolation Scheme for a Third-Order Cell-Centered Finite-Volume Method on Tetrahedral Grids

In this paper, we propose an efficient quadratic interpolation formula u...
research
06/12/2020

On Correctness of Automatic Differentiation for Non-Differentiable Functions

Differentiation lies at the core of many machine-learning algorithms, an...
research
01/01/2022

Fitting Matérn Smoothness Parameters Using Automatic Differentiation

The Matérn covariance function is ubiquitous in the application of Gauss...

Please sign up or login with your details

Forgot password? Click here to reset