On the Computational Complexity of the Chain Rule of Differential Calculus
Abstract
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 {\sc Chain Rule Differentiation} and we prove it to be NP-complete. Pointers to research on its approximate solution are given.
- Publication:
-
arXiv e-prints
- Pub Date:
- July 2021
- DOI:
- 10.48550/arXiv.2107.05355
- arXiv:
- arXiv:2107.05355
- Bibcode:
- 2021arXiv210705355N
- Keywords:
-
- Computer Science - Computational Complexity;
- Mathematics - Numerical Analysis;
- 26B05;
- 68Q17
- E-Print:
- 8 pages