English

Recursive multivariate derivatives of $e^{f(x_1,\dots, x_n)}$ of arbitrary order

Numerical Analysis 2019-11-27 v1 Numerical Analysis

Abstract

High-order derivatives of nested functions of a single variable can be computed with the celebrated Fa\`a 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 ef(x1,,xn)e^{f(x_1,\dots,x_n)} with respect to the variables xix_i. We note that this method could also be beneficial in cases where the high-order derivatives of a function f(x1,,xn)f(x_1,\dots,x_n) are hard to compute, but where the derivatives of log(f(x1,,xn))\log(f(x_1,\dots,x_n)) are simpler.

Keywords

Cite

@article{arxiv.1911.11722,
  title  = {Recursive multivariate derivatives of $e^{f(x_1,\dots, x_n)}$ of arbitrary order},
  author = {Filippo M. Miatto},
  journal= {arXiv preprint arXiv:1911.11722},
  year   = {2019}
}