|
This article is cited in 1 scientific paper (total in 1 paper)
Optimal control
FAD technique and differentiation of a composite function
A. F. Albua, A. Yu. Gorchakovab, V. I. Zubova a Federal Research Center "Computer Science and Control", Russian Academy of Sciences, 119333, Moscow, Russia
b Moscow Institute of Physics and Technology (National Research University), 141701, Dolgoprudnyi, Moscow oblast, Russia
Abstract:
Different approaches to the calculation of the gradient of a composite function of several variables are compared, namely, exact analytically derived formulas, formulas based on the fast automatic differentiation (FAD) technique, and standard software packages implementing the ideas of the FAD technique. The approaches are compared as applied to a composite function representing the energy of a system of atoms with the Tersoff interatomic potential. The comparison criterion is the computer time required for computing the gradient of the function. The results show that the FAD technique is superior to the analytical formulas. The standard packages take nearly the same time to compute the function gradient as the FAD technique formulas.
Key words:
fast automatic differentiation, multistep process, standard software packages.
Received: 27.04.2022 Revised: 27.04.2022 Accepted: 17.09.2022
Citation:
A. F. Albu, A. Yu. Gorchakov, V. I. Zubov, “FAD technique and differentiation of a composite function”, Zh. Vychisl. Mat. Mat. Fiz., 63:1 (2023), 61–73; Comput. Math. Math. Phys., 63:1 (2023), 57–68
Linking options:
https://www.mathnet.ru/eng/zvmmf11496 https://www.mathnet.ru/eng/zvmmf/v63/i1/p61
|
Statistics & downloads: |
Abstract page: | 76 |
|