scispace - formally typeset
Journal ArticleDOI

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

Reads0
Chats0
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

Reverse time migration: A prospect of seismic imaging methodology

TL;DR: Reverse time migration (RTM) as discussed by the authors is a seismic imaging method to map the subsurface reflectivity using recorded seismic waveforms, which is the only method that is capable to use all seismic wave types that can be computed numerically.
Journal ArticleDOI

A review on the systematic formulation of 3-D multiparameter full waveform inversion in viscoelastic medium

TL;DR: In this paper, a 3D multiparameter full waveform inversion (FWI) in viscoelastic media based on the generalized Maxwell/Zener body including arbitrary number of attenuation mechanisms is studied.
Posted Content

Memory-Efficient Pipeline-Parallel DNN Training

TL;DR: This work proposes PipeDream-2BW, a system that performs memory-efficient pipeline parallelism, a hybrid form of parallelism that combines data and model parallelism with input pipelining, able to accelerate the training of large language models with up to 2.5 billion parameters by up to 6.9x compared to optimized baselines.
Journal ArticleDOI

A Low-Rank in Time Approach to PDE-Constrained Optimization

TL;DR: This work introduces a low-rank in time technique that exploits the low-Rank nature of the solution of time-dependent PDE-constrained optimization problems and illustrates how three different problems can be rewritten and used within aLow-rank Krylov subspace solver with appropriate preconditioning.
Journal ArticleDOI

Automatic differentiation of explicit Runge-Kutta methods for optimal control

TL;DR: This paper presents the integration schemes that are automatically generated when differentiating the discretization of the state equation using Automatic Differentiation (AD), and shows that they can be seen as discretized methods for the and adjoint differential equation of the underlying control problem.
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)