DJ4Earth: Differentiable, and Performance‐Portable Earth System Modeling via Program Transformations
Journal of Advances in Modeling Earth Systems American Geophysical Union (AGU) 18:5 (2026)
Abstract:
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. Plain Language Summary Earth system models are computer programs that simulate how Earth's atmosphere, ocean, ice, and biosphere interact and evolve. These models consist of millions of lines of code and rely on uncertain inputs. To improve accuracy, scientists adjust these inputs to minimize the difference between simulations and observations, measured by a “cost function.” Another computer program can efficiently determine how changes in each input affect the outcome. This calculation, called the gradient of the cost function, would be extremely time‐consuming to code manually. Instead, we use an automatic differentiation (AD) tool called Enzyme, which computes these gradients efficiently and updates them automatically whenever the model changes. As computing systems evolve rapidly, especially those optimized for artificial intelligence (AI), another tool called Reactant enables models to run efficiently across different hardware, from central processing units to graphics processing units and AI accelerators. We demonstrate these methods on four Earth system model components written in the modern programming language Julia: a shallow water model, an ocean model, an ice sheet model, and an atmospheric model. For each, the code generated via AD produces correct gradients of the cost function. This work lays the foundation for combining these differentiated models with machine learning to improve model accuracy efficiently. Key Points Four Earth system model components are successfully differentiated using the reverse mode of the automatic differentiation tool Enzyme The Julia‐based, graphics processing unit‐enabled models use bespoke numerics, with finite‐volume, finite‐element, and spectral spatial discretization schemes The compiler transpilation tool Reactant enables optimized, portable performance across diverse ML‐customized HPC architecturesSpatial Patterns of Shallow Clouds: Challenging the Concept of Defined Regimes
Geophysical Research Letters Wiley 53:8 (2026) e2025GL119921
Abstract:
Plain Language Summary: The representation of tropical shallow cloud systems is a major source of uncertainty in climate models. Shallow clouds have previously been observed to organize in a variety of patterns. Four distinct classes—fish, flowers, sugar, and gravel—were identified, each with differing spatial scales of cloud organization. Here we analyze high‐resolution geostationary visible and infrared satellite images using a function that can objectively assess organization of cloudy pixels across all spatial scales. We see that examples of the four “classical” patterns are clearly identifiable using this function, but that they do not show up as clearly preferred regimes, but rather as way‐markers in a smoothly evolving sea of cloud patterns. This means that representing these patterns in parameterization schemes might be challenging.Location Is All You Need: Continuous Spatiotemporal Neural Representations of Earth Observation Data
ArXiv 2604.07092 (2026)
Aerosol effects on deep convective cloud microphysics and anvil lifecycle during TRACER using ICON HAM-lite
Copernicus Publications (2026)
Abstract:
The radiative response of deep convective anvil clouds to anthropogenic aerosols is a major source of uncertainty. While aerosol-cloud interactions (ACI) in the convective core have been extensively studied, the microphysical mechanisms governing the full anvil lifecycle, from detrainment to dissipation, remain poorly constrained.This study examines the Cloud Radiative Effect (CRE) of deep convection through a microphysical process-rate lens. We perform three regional simulations with interactive aerosol using ICON-HAM-lite, comprising baseline, clean, and polluted runs. The simulations follow the TRACER-MIP protocol for a sea-breeze event over Houston, Texas. Using Lagrangian tracking with the tobac cloud tracking algorithm, we isolate individual convective cells and track their evolution from convective onset to the detrainment and dissipation of the resulting anvils. We then assess aerosol-cloud interactions over the lifecycle of the tracked cells by aligning their evolution with the onset of freezing, to ensure a consistent lifecycle comparison.Our results show that a 9-fold increase in aerosol concentration leads to a 2.5-fold increase in cloud droplet number concentration (CDNC). This suppresses warm-rain processes and enhances upward mass flux above the melting layer. As a result, it also lofts higher droplet concentrations, which can shape anvil characteristics by modulating the total ice surface area available for deposition and the net cross-section for riming. This creates a competition between enhanced riming, which promotes mass fallout, and increased vapour deposition, which sustains smaller ice crystals aloft. We conclude by investigating how these competing factors change the lifetime of the anvil and its net CRE.Anthropogenic perturbations to anvil cloud radiative effects?
Copernicus Publications (2026)