Achieving logarithmic growth of temporal and spatial complexity in reverse automatic differentiation
- 1 January 1992
- journal article
- research article
- Published by Taylor & Francis in Optimization Methods and Software
- Vol. 1 (1) , 35-54
- https://doi.org/10.1080/10556789208805505
Abstract
In its basic form the reverse mode of automatic differentiation yields gradient vectors at a small multiple of the computational work needed to evaluate the underlying scalar function. The practical applicability of this temporal complexity result, due originally to Linnainmaa, seemed to be severely limited by the fact that the memory requirement of the basic implementation is proportional to the run timeT, of the original evaluation program. It is shown here that, by a recursive scheme related to the multilevel differentiation approach of Volin and Ostrovskii, the growth in both temporal and spatial complexity can be limited to a fixed multiple of log(T). Other compromises between the run time and memory requirement are possible, so that the reverse mode becomes applicable to computational problems of virtually any size.Keywords
This publication has 4 references indexed in Scilit:
- Automatic computation of partial derivatives and rounding error estimates with applications to large-scale systems of nonlinear equationsJournal of Computational and Applied Mathematics, 1988
- Compiling fast partial derivatives of functions given by algorithmsPublished by Office of Scientific and Technical Information (OSTI) ,1980
- Taylor expansion of the accumulated rounding errorBIT Numerical Mathematics, 1976
- Logical Reversibility of ComputationIBM Journal of Research and Development, 1973