English
 
Privacy Policy Disclaimer
  Advanced SearchBrowse

Item

ITEM ACTIONSEXPORT
  DJ4Earth: Differentiable, and Performance-Portable Earth System Modeling via Program Transformations

Moses, W. S., Cheng, G., Churavy, V., Gelbrecht, M., Klöwer, M., Kump, J., Morlighem, M., Williamson, S., Apte, D., Berg, P., Giordano, M., Hill, C., Loose, N., Montoison, A., Narayanan, S. H. K., Pal, A., Schanen, M., Silvestri, S., Wagner, G., Heimbach, P. (2026): DJ4Earth: Differentiable, and Performance-Portable Earth System Modeling via Program Transformations. - Journal of Advances in Modeling Earth Systems, 18, 5, e2025MS005615.
https://doi.org/10.1029/2025MS005615

Item is

Files

show Files
hide Files
:
34296oa.pdf (Publisher version), 4MB
Name:
34296oa.pdf
Description:
-
OA-Status:
Gold
Visibility:
Public
MIME-Type / Checksum:
application/pdf / [MD5]
Technical Metadata:
Copyright Date:
-
Copyright Info:
-

Locators

show
hide
Description:
-
OA-Status:
Not specified

Creators

show
hide
 Creators:
Moses, William S.1, Author
Cheng, Gong1, Author
Churavy, Valentin1, Author
Gelbrecht, Maximilian2, Author           
Klöwer, Milan1, Author
Kump, Joseph1, Author
Morlighem, Mathieu1, Author
Williamson, Sarah1, Author
Apte, Dhruv1, Author
Berg, Paul1, Author
Giordano, Mosè1, Author
Hill, Christopher1, Author
Loose, Nora1, Author
Montoison, Alexis1, Author
Narayanan, Sri Hari Krishna1, Author
Pal, Avik1, Author
Schanen, Michel1, Author
Silvestri, Simone1, Author
Wagner, Greg1, Author
Heimbach, Patrick1, Author
Affiliations:
1External Organizations, ou_persistent22              
2Potsdam Institute for Climate Impact Research, ou_persistent13              

Content

show
hide
Free keywords: -
 Abstract: Differentiable Earth system models (ESMs) enable powerful applications such as sensitivity analysis, gradient-based calibration, state estimation, boundary flux inversions, uncertainty quantification, and online machine learning. Reverse-mode automatic differentiation (AD) efficiently provides gradients for such tasks, yet models have rarely included this capability because of complex, bespoke numerical algorithms. As part of the Differentiable programming in Julia for Earth system modeling (DJ4Earth) initiative, we present improved capabilities of the AD tool Enzyme.jl and the new compiler transpilation tool Reactant.jl, augmented by sophisticated checkpointing algorithms, which, together make general-purpose AD tractable and efficient for full-fledged ESM components written in Julia. Operating at the low-level virtual machine intermediate representation or multi-level intermediate representation compiler levels, these frameworks support mutable memory, custom kernels, and compiler optimizations before and after differentiation. Julia-specific challenges related to just-in-time compilation and garbage collection are handled efficiently. Reactant further enables automatic performance portability across central processing units, graphics processing units, and tensor processing units, facilitating use of emerging AI-customized high-performance computing architectures. We demonstrate these frameworks on four Julia-based ESM components featuring diverse spatial discretizations and numerical algorithms: the rotating-sphere shallow water model ShallowWaters.jl, the finite-volume ocean model Oceananigans.jl, the finite-element ice sheet model DJUICE.jl, and the spectral atmospheric model SpeedyWeather.jl. Across these ESM components, our tools compute efficient and correct gradients. These results establish a foundation for differentiable, high-performance and performance-portable ESMs that can integrate neural networks for unresolved processes, trained online, enabling next-generation hybrid physics–machine learning ESMs constrained by physical dynamics and observations.

Details

show
hide
Language(s): eng - English
 Dates: 2026-04-212026-05-182026-05-18
 Publication Status: Finally published
 Pages: 29
 Publishing info: -
 Table of Contents: -
 Rev. Type: Peer
 Identifiers: MDB-ID: No MDB - stored outside PIK (see locators/paper)
PIKDOMAIN: RD4 - Complexity Science
Organisational keyword: RD4 - Complexity Science
Working Group: Artificial Intelligence
Research topic keyword: Atmosphere
Research topic keyword: Nonlinear Dynamics
Regional keyword: Global
Model / method: Machine Learning
Model / method: Open Source Software
OATYPE: Gold Open Access
DOI: 10.1029/2025MS005615
 Degree: -

Event

show

Legal Case

show

Project information

show

Source 1

show
hide
Title: Journal of Advances in Modeling Earth Systems
Source Genre: Journal, SCI, Scopus, p3, oa
 Creator(s):
Affiliations:
Publ. Info: -
Pages: - Volume / Issue: 18 (5) Sequence Number: e2025MS005615 Start / End Page: - Identifier: CoNE: https://publications.pik-potsdam.de/cone/journals/resource/160525
Publisher: Wiley