English

On the Computational Complexity of the Chain Rule of Differential Calculus

Computational Complexity 2021-10-27 v1 Numerical Analysis Numerical Analysis

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.

Keywords

Cite

@article{arxiv.2107.05355,
  title  = {On the Computational Complexity of the Chain Rule of Differential Calculus},
  author = {Uwe Naumann},
  journal= {arXiv preprint arXiv:2107.05355},
  year   = {2021}
}

Comments

8 pages