[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article
Free access

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

Published: 01 March 2000 Publication History

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.

Supplementary Material

GZ File (799.gz)
Software for "revolve: an implementation of checkpointing for the reverse or adjoint mode of computational differentiation"

References

[1]
GRIMM, J., POTTIER, L., AND ROSTAING-SCHMIDT, N. 1996. Optimal time and minimum space-time product for reversing a certain class of programs. In Computational Differentiation: Techniques, Applications, and Tools, M. Berz, C. Bischof, G. Corliss, and A. Griewank, Eds. SIAM, Philadelphia, PA, 161-172.
[2]
GRIEWANK, A. 1992. Achieving logarithmic growth of temporal and spatial complexity in reverse automatic differentiation. Optim. Meth. Softw. 1, 1, 35-54.
[3]
GRIEWANK, A. 2000. Evaluating Derivatives, Principles, and Techniques of Algorithmic Differentiation. SIAM Frontiers in Applied Mathematics Series, vol. 19. SIAM, Philadelphia, PA.
[4]
RESTREPO, J. M., LEAF, G. K., AND GRIEWANK, A. 1998. Circumventing storage limitations in variational data assimilation studies. SIAM J. Sci. Comput. 19, 5, 1586-1605.
[5]
LEVEQUE, R. 1992. Numerical Methods for Conservation. Birkh user-Verlag, Basel, Switzerland.
[6]
LIONS, J. L. 1971. Optimal Control of Systems Governed by Partial Differential Equations. Springer-Verlag, New York, NY.
[7]
OSHER, S. AND SOLOMON, F. 1982. Upwind difference schemes for the hyperbolic systems of conservation laws. Math. Comput. 38, 158, 339-374.
[8]
SYMES, W. 1997. Framework for automatic differentiation applied to time-dependent problems. In Proceedings of SIAM's 45th Anniversary Meeting (Stanford, CA, July 14-18), SIAM, Philadelphia, PA.
[9]
WALTHER, A. 1999. Program reversal schedules for single- and multi-processor machines. Ph.D. Dissertation. Technical University Dresden, Dresden.

Cited By

View all
  • (2025)MITgcm-AD v2: Open source tangent linear and adjoint modeling framework for the oceans and atmosphere enabled by the Automatic Differentiation tool TapenadeFuture Generation Computer Systems10.1016/j.future.2024.107512163(107512)Online publication date: Feb-2025
  • (2025)Sliding plane formalism for aeroacoustic and adjoint-based sensitivity calculationsComputer Physics Communications10.1016/j.cpc.2024.109421307(109421)Online publication date: Feb-2025
  • (2025)Topology optimization for particle flow problems using Eulerian-Eulerian model with a finite difference methodComputers & Fluids10.1016/j.compfluid.2025.106573291(106573)Online publication date: Apr-2025
  • Show More Cited By

Index Terms

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

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Transactions on Mathematical Software
      ACM Transactions on Mathematical Software  Volume 26, Issue 1
      March 2000
      219 pages
      ISSN:0098-3500
      EISSN:1557-7295
      DOI:10.1145/347837
      • Editor:
      • Ronald F. Boisvert
      Issue’s Table of Contents
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 01 March 2000
      Published in TOMS Volume 26, Issue 1

      Permissions

      Request permissions for this article.

      Check for updates

      Badges

      Author Tags

      1. adjoint mode
      2. checkpointing
      3. computational differentiation
      4. reverse mode

      Qualifiers

      • Article

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)632
      • Downloads (Last 6 weeks)77
      Reflects downloads up to 08 Mar 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (2025)MITgcm-AD v2: Open source tangent linear and adjoint modeling framework for the oceans and atmosphere enabled by the Automatic Differentiation tool TapenadeFuture Generation Computer Systems10.1016/j.future.2024.107512163(107512)Online publication date: Feb-2025
      • (2025)Sliding plane formalism for aeroacoustic and adjoint-based sensitivity calculationsComputer Physics Communications10.1016/j.cpc.2024.109421307(109421)Online publication date: Feb-2025
      • (2025)Topology optimization for particle flow problems using Eulerian-Eulerian model with a finite difference methodComputers & Fluids10.1016/j.compfluid.2025.106573291(106573)Online publication date: Apr-2025
      • (2025)Fitting Psychometric Models with Methods Based on Automatic DifferentiationPsychometrika10.1007/s11336-005-1404-970:4(599-617)Online publication date: 1-Jan-2025
      • (2024)A robust, discrete-gradient descent procedure for optimisation with time-dependent PDE and norm constraintsThe SMAI Journal of computational mathematics10.5802/smai-jcm.10410(1-28)Online publication date: 1-Feb-2024
      • (2024)Scaling beyond the GPU memory limit for large mixture-of-experts model trainingProceedings of the 41st International Conference on Machine Learning10.5555/3692070.3693045(24342-24353)Online publication date: 21-Jul-2024
      • (2024)Differentiable Cosmological Simulation with the Adjoint MethodThe Astrophysical Journal Supplement Series10.3847/1538-4365/ad0ce7270:2(36)Online publication date: 6-Feb-2024
      • (2024)Performance Comparison of CFD Microbenchmarks on Diverse HPC ArchitecturesComputers10.3390/computers1305011513:5(115)Online publication date: 7-May-2024
      • (2024)checkpoint_schedules: schedules for incremental checkpointing of adjoint simulationsJournal of Open Source Software10.21105/joss.061489:95(6148)Online publication date: Mar-2024
      • (2024)REVEAL: A Global Full-Waveform Inversion ModelBulletin of the Seismological Society of America10.1785/0120230273114:3(1392-1406)Online publication date: 12-Apr-2024
      • Show More Cited By

      View Options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Login options

      Full Access

      Figures

      Tables

      Media

      Share

      Share

      Share this Publication link

      Share on social media