scispace - formally typeset
Journal ArticleDOI

Algorithm 799: revolve: an implementation of checkpointing for the reverse or adjoint mode of computational differentiation

TLDR
This article presents the function revolve, which generates checkpointing schedules that are provably optimal with regard to a primary and a secondary criterion and is intended to be used as an explicit “controller” for running a time-dependent applications program.
Abstract
In its basic form, the reverse mode of computational differentiation yields the gradient of a scalar-valued function at a cost that is a small multiple of the computational work needed to evaluate the function itself. However, the corresponding memory requirement is proportional to the run-time of the evaluation program. Therefore, the practical applicability of the reverse mode in its original formulation is limited despite the availability of ever larger memory systems. This observation leads to the development of checkpointing schedules to reduce the storage requirements. This article presents the function revolve, which generates checkpointing schedules that are provably optimal with regard to a primary and a secondary criterion. This routine is intended to be used as an explicit “controller” for running a time-dependent applications program.

read more

Citations
More filters
Journal ArticleDOI

Simulation of the 3D Hyperelastic Behavior of Ventricular Myocardium using a Finite-Element Based Neural-Network Approach.

TL;DR: In this article , a hybrid approach that seamlessly bridged a neural network surrogate model with a differentiable finite element domain representation (NNFE) was developed to simulate the hyperelastic mechanical behavior of ventricular myocardium from recent 3D kinematic constitutive model.
Book ChapterDOI

Improving GEOS-Chem Model Tropospheric Ozone through Assimilation of Pseudo Tropospheric Emission Spectrometer Profile Retrievals

TL;DR: The improved adjoint model is as efficient as the forward GEOS-Chem model and the first to construct an adjoint of the linearized ozone parameterization (linoz) scheme that can be of very high importance in quantifying the amount of tropospheric ozone due to upper boundary exchanges.
Journal ArticleDOI

Memory-efficient source wavefield reconstruction and its application to 3D reverse time migration

Zhiming Ren, +2 more
- 01 Jan 2022 - 
TL;DR: Numerical examples indicate that the efficient source wavefield reconstruction method with N = 1 can produce images that are close to those obtained using a conventional method of storing M layers of boundary wavefields.
Journal ArticleDOI

A two-level computational graph method for the adjoint of a finite volume based compressible unsteady flow solver

TL;DR: A Python library, called adFVM, is demonstrated that can be used to construct an explicit unsteady flow solver and derive the corresponding discrete adjoint flow solvers using automatic differentiation (AD).
Journal ArticleDOI

Algorithmic Differentiation of Code with Multiple Context-Specific Activities

TL;DR: A context-sensitive static analysis combined with procedure cloning is used to generate specialised versions of differentiated procedures for each call site, which enables better detection and elimination of unused computations and memory storage, resulting in performance improvements of the generated code, in both forward- and reverse-mode AD.
References
More filters
Book

Numerical methods for conservation laws

TL;DR: In this paper, the authors describe the derivation of conservation laws and apply them to linear systems, including the linear advection equation, the Euler equation, and the Riemann problem.
Book

Optimal Control of Systems Governed by Partial Differential Equations

TL;DR: In this paper, the authors consider the problem of minimizing the sum of a differentiable and non-differentiable function in the context of a system governed by a Dirichlet problem.
Book

Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation

TL;DR: This second edition has been updated and expanded to cover recent developments in applications and theory, including an elegant NP completeness argument by Uwe Naumann and a brief introduction to scarcity, a generalization of sparsity.
Journal ArticleDOI

Upwind difference schemes for hyperbolic systems of conservation laws

TL;DR: In this article, a new upwind finite difference approximation to systems of nonlinear hyperbolic conservation laws has been derived. But the scheme has desirable properties for shock calculations, such as unique and sharp shocks.
Journal ArticleDOI

Achieving logarithmic growth of temporal and spatial complexity in reverse automatic differentiation

TL;DR: 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).
Related Papers (5)