arrow
Return

Step-based checkpointing with high-level algorithmic differentiation

delete2024-10-01
delete0
delete
OA
AI
J
James R. Maddison *
DOI:10.1016/j.jocs.2024.102405delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Automated code generation allows for a separation between the development of a model, expressed via a domain specific language, and lower level implementation details. Algorithmic differentiation can be applied symbolically at the level of the domain specific language, and the code generator reused to implement code required for an adjoint calculation. However the adjoint calculations are complicated by the well-known problem of storing or recomputing the forward data required by the adjoint, and different checkpointing strategies have been developed to tackle this problem. This article considers the combination of high-level algorithmic differentiation with step-based checkpointing schedules, with the primary application being for solvers of time-dependent partial differential equations. The focus is on algorithmic differentiation using a dynamically constructed record of forward operations, where the precise structure of the original forward calculation is unknown ahead-of-time. In addition, high-level approaches provide a simplified view of the model itself. This allows data required to restart and advance the forward, and data required to advance the adjoint, to be identified. The difference between the two types of data is here leveraged to implement checkpointing strategies with improved performance.
Keywords:
Algorithmic differentiation
Adjoint
Reverse mode
Checkpointing
Automated code generation
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Nature Computational Science cover
Nature Computational Science
IF:
18.3
Papers:
3.1K
Citations:
4.0K

Organization

U
University of Edinburgh
Scholars:
5.2W
Papers: 4.6W
Citations: 71
Cited Papers

Cited Papers

Bathymetric Influences on Antarctic Ice-Shelf Melt Rates
err2020-11-21
err10
errOAAI
errGoldberg, D. N.; Smith, T. A.; Narayanan, S. H. K.; Heimbach, P.; Morlighem, M.
errShare
errSave
OPTIMAL MULTISTAGE ALGORITHM FOR ADJOINT COMPUTATION
err2016-01-01
err16
errOAAI
errAupy, Guillaume; Herrmann, Julien; Hovland, Paul; Robert, Yves
errShare
errSave
errShare
errSave
errShare
errSave
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
researcher View more