Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

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

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 $e^{f(x_1,\dots,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,\dots,x_n)$ are hard to compute, but where the derivatives of $\log(f(x_1,\dots,x_n))$ are simpler.
Document type :
Preprints, Working Papers, ...
Complete list of metadata
Contributor : Filippo Miatto Connect in order to contact the contributor
Submitted on : Wednesday, December 18, 2019 - 8:56:52 AM
Last modification on : Wednesday, February 2, 2022 - 9:02:02 AM

Links full text


  • HAL Id : hal-02417135, version 1
  • ARXIV : 1911.11722



Filippo M Miatto, Filippo M. Miatto. Recursive multivariate derivatives of $e^{f(x_1,\dots, x_n)}$ of arbitrary order. 2019. ⟨hal-02417135⟩



Record views