On the Computational Complexity of the Chain Rule of Differential Calculus

07/12/2021
by   Uwe Naumann, et al.
0

Many modern numerical methods in computational science and engineering rely on derivatives of mathematical models for the phenomena under investigation. The computation of these derivatives often represents the bottleneck in terms of overall runtime performance. First and higher derivative tensors need to be evaluated efficiently. The chain rule of differentiation is the fundamental prerequisite for computing accurate derivatives of composite functions which perform a potentially very large number of elemental function evaluations. Data flow dependences amongst the elemental functions give rise to a combinatorial optimization problem. We formulate Chain Rule Differentiation and we prove it to be NP-complete. Pointers to research on its approximate solution are given.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset