H-R evolve
Authors:
Open Access
- 30 June 2020
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 46 (2) , 1-25
Abstract
We study the problem of checkpointing strategies for adjoint computation on synchronous hierarchical platforms, specifically computational platforms with several levels of storage with different writing and reading costs. When reversing a large adjoint chain, choosing which data to checkpoint and where is a critical decision for the overall performance of the computation. We introduce H-R evolve , an optimal algorithm for this problem. We make it available in a public Python library along with the implementation of several state-of-the-art algorithms for the variant of the problem with two levels of storage. We provide a detailed description of how one can use this library in an adjoint computation software in the field of automatic differentiation or backpropagation. Finally, we evaluate the performance of H-R evolve and other checkpointing heuristics though an extensive campaign of simulation.Keywords
Funding Information
- Région Nouvelle Aquitaine (2018-1R50119)
- Agence Nationale de la Recherche (ANR-17-CE25- 0004)
This publication has 7 references indexed in Scilit:
- Devito (v3.1.0): an embedded domain-specific language for finite differences and geophysical explorationEGUsphere, 2018
- Periodicity in optimal hierarchical checkpointing schemes for adjoint computationsOptimization Methods and Software, 2016
- Optimal Multistage Algorithm for Adjoint ComputationSIAM Journal on Scientific Computing, 2016
- Asynchronous Two-level Checkpointing Scheme for Large-scale Adjoints in the Spectral-Element Solver Nek5000Procedia Computer Science, 2016
- MultiStage Approaches for Optimal Offline CheckpointingSIAM Journal on Scientific Computing, 2009
- Algorithm 799: revolveACM Transactions on Mathematical Software, 2000
- Achieving logarithmic growth of temporal and spatial complexity in reverse automatic differentiationOptimization Methods and Software, 1992