Free for humans

CLM-JAX v3.2.46: a differentiable, GPU-accelerated land surface model numerically indistinguishable from the Community Land Model 5.0

CLM-JAX reimplements the Community Land Model 5.0 biogeochemistry and crop configuration in Python so it can run on a graphics processor and can be differentiated. Against the Fortran model, its errors on 32 variables over 2019 to 2023 generally sit below the differences the original model shows when its own initial state is nudged by about 10 to the minus 14.

arXiv:2611.345747 min readScore 55/100 · editorial triage · not peer reviewPaper hub2026-W49

The 30-second take

  • The rewrite keeps the original subgrid layout and the coupled energy, water, carbon, nitrogen, and crop processes, and it backpropagates gradients through many time steps.
  • On one NVIDIA A800 it took 0.7692 seconds per model hour, which was 4.04 times faster than gfortran and 2.57 times faster than ifort, each on 64 processor cores.
  • Land-model groups who want parameter optimization or variational assimilation should care, but the gradient test is one soil-temperature objective at 50 hours, not a completed climate analysis.

What the paper actually did

The Fortran Community Land Model version 5.0 is written for ordinary processors. It does not run on graphics processors, and it does not offer automatic differentiation. CLM-JAX version 3.2.46 is a Python land-surface model based on the CLM5.0 BGC-Crop configuration inside the Community Earth System Model version 2.1.3. It keeps the original subgrid hierarchy, the same parameterizations, and the coupling among energy, water, carbon, nitrogen, and crop processes. It runs on processors and on graphics processors, and it can carry gradients backward through a multi-step integration. For the consistency test, the authors perturb the initial state of the original model by amounts of order 10 to the minus 14 and treat the spread of that ensemble as a stringent baseline of differences CLM already produces with itself. They then compare CLM-JAX with CLM on 32 variables over five years of continuous global simulation, 2019 through 2023. Errors of CLM-JAX relative to CLM generally lie below that baseline. Speed is quoted on one NVIDIA A800: 0.7692 seconds per model hour, a sustained speedup of 4.04 against CLM built with gfortran and 2.57 against CLM built with ifort, both on 64 processor cores. In the gradient test, the objective is first-layer soil temperature at step 100, which is 50 hours. The gradient of that objective with respect to the initial soil temperature in every model layer is obtained by backpropagation through those 100 steps. Compared with converged central finite differences, 95.79 percent of the 84,254 nonzero reference gradients have relative error no greater than 1 percent, 98.22 percent have the same sign, and the median and 90th-percentile relative errors are 5.862 times 10 to the minus 7 percent and 3.578 times 10 to the minus 4 percent.

What makes this disruptive

The scarce capability is a global land model that is both numerically faithful to CLM5.0 and open to gradients, so parameter fitting and variational assimilation do not have to rely only on finite differences of a Fortran code. If the consistency result holds, CLM-JAX puts pressure on the idea that a differentiable land model must be a simplified cousin. The abstract’s evidence is specific. On 32 variables and five continuous years, its departures generally sit inside the envelope created by nudging CLM’s own initial state at order 10 to the minus 14. The graphics-processor timing, 0.7692 seconds per model hour on one A800, is the other pressure point, against 64-core Fortran builds. The gradient numbers are strong against finite differences, and they are narrow. They cover one objective, soil temperature in the first layer at 50 hours, not every flux in the five-year run.

Why it matters (outside the lab)

Land-surface models are a bottleneck in Earth-system science because they are expensive to run and awkward to calibrate. A version that is faster on one graphics processor than the Fortran code on 64 cores, and that can return a gradient through 100 steps, is a step toward calibration and data assimilation as a normal calculation rather than a hand-tuned expert loop. The authors name end-to-end parameter optimization and four-dimensional variational data assimilation as the uses this differentiability makes possible. They do not carry either one out in the abstract. The consistency test is what makes the speed meaningful. A fast model that had drifted away from CLM would not be a drop-in backend. “Generally below the ensemble baseline” is not a promise that every variable, in every region, is interchangeable for a decision. It is evidence that the rewrite is close enough to study gradient-based methods on this configuration.

Limitations & open questions

The title’s phrase “numerically indistinguishable” is stronger than the abstract’s wording, which says errors generally lie below a baseline built from 10 to the minus 14 initial perturbations. The abstract does not list the 32 variables, the grid resolution, or any variable that exceeded the baseline. The gradient test is not the five-year global run. It is first-layer soil temperature at step 100. Of the 84,254 nonzero finite-difference references, 95.79 percent have relative error no greater than 1 percent, so the abstract leaves the remainder above that line, and 98.22 percent match in sign. No optimized parameter set and no variational assimilation result are shown. Speed is one A800 against 64 cores of two Fortran compilers, not a full energy or multi-node comparison. A preprint reimplementation is not an operational forecast model, and differentiability does not by itself make land-surface prediction cheap or settled.

Explain ladder

Default article depth

The Community Land Model is a standard piece of climate software. It tracks energy, water, carbon, nitrogen, and crops on a global grid, and the usual code is Fortran that does not produce derivatives and does not use a graphics processor. CLM-JAX is a Python copy of the crop and biogeochemistry configuration that can do both. Over a global run from 2019 through 2023, its differences from the original, on 32 variables, mostly fall inside the tiny scatter the original model shows when its starting numbers are perturbed by about 10 to the minus 14. On one A800 graphics processor it integrates a model hour in 0.7692 seconds, several times faster than the Fortran code on 64 cores. A separate test shows that automatic derivatives of soil temperature agree closely with old-fashioned finite differences. The authors present this as the base for later calibration, not as a new climate finding.

Key terms

Sources

Related explainers

Same topic and week first — keep exploring the scarcity → abundance map.

Editorial explainer · not peer review · always read the primary paper.

Byline: Disruptive Concepts editorial.