arXiv:2610.36827cs.CEOct 2026

Manuscript Offprint

arXiv:2610.36827

Advancing global crop simulations with differentiable modelling

Yunan Lin, Sebastian Bathiany, Maximilian Gelbrecht, Jens Heinke, Christoph Müller, Niklas Boers

Yunan Lin 1,2∗^{1,2*}, Sebastian Bathiany 1,2^{1,2}, Maximilian Gelbrecht 2,1^{2,1}, Jens Heinke 2^{2}, Christoph Müller 2^{2}, Niklas Boers 1,2,3∗^{1,2,3*}

1^{1}Munich Climate Center and Earth System Modelling Group, Department of Aerospace and Geodesy, School of Engineering and Design, Technical University of Munich, Munich, Germany. 2^{2}Potsdam Institute for Climate Impact Research, Member of the Leibniz Association, Potsdam, Germany. 3^{3}University of Exeter, Exeter, UK.

*Corresponding author(s). E-mail(s): yunan.lin@tum.de; n.boers@tum.de;

Abstract

Global gridded crop models (GGCMs) are crucial for assessing the performance of food producing systems, for example under climate change or their contribution to environmental challenges. However, systematic calibration of their parameters remains a long-standing challenge. Persisting uncertainties in these parameters propagate into future crop projections, thereby affecting and potentially biasing food security assessments. Here we present a fully process-based differentiable GGCM implementation that offers a fundamentally new approach to parameter calibration, uncertainty quantification, yield loss attribution, and management optimization. Using automatic differentiation, we optimize selected model parameters against site-scale carbon and water flux observations, reducing normalized root-mean-square errors at held-out sites by 24.8–36.2% compared to the default state-of-the-art model. Without calibration against yield data, the optimized model better captures detrended yield anomalies across 61.2–64.3% of global crop area and reduces low-yield errors by 3.4–43.5% for wheat, rice, maize and soybean. It also ranks among the best performers in comparison with GGCMI Phase 3 models. Future simulations show that calibration reduces the projected end-of-century rice production increase from 55.1% to 22.1% under SSP5–8.5, suggesting substantial overestimation by the default parameters. Parameter ensembles further reveal that parameterizations with comparable historical skill can produce markedly different future production responses. Beyond calibration, differentiability enables the attribution of crop losses under extreme events and supports the design of adaptive crop management strategies. For the 2018 European drought, we identify spring heat and water limitation as major contributors to wheat yield losses and develop more effective irrigation strategies for mitigating simulated regional yield losses.

Introduction

Climate change increasingly threatens global food production, with impacts varying among crops and regions [1–4]. Global gridded crop models (GGCMs) are central to assessing these risks, as they simulate the effects of climate and management on crop growth and yield [5–9]. However, projected climate responses differ widely among models owing to uncertainty in process representation and parameterization [10–15]. GGCMs also often underestimate low-yield risks and the magnitude of losses during climatic extremes [16, 17]. Together, these limitations reduce confidence in assessments of crop production risks and adaptation benefits under climate change. Improving the reliability of crop projections therefore requires progress in calibrating process-based crop models, quantifying parameter uncertainty and better diagnosing yield losses from climate extremes.

Process-based GGCMs link climate to crop growth and yield through coupled physiological and soil processes. The magnitude and timing of simulated responses to temperature, water, radiation and nutrient availability depend on many process parameters [11]. Poorly constrained parameter values can bias simulated yield responses, making calibration against observations essential for reliable projections. Yet systematic calibration remains a long-standing challenge for GGCMs [18–20]. Current approaches rely on expert judgement, iterative trial and error and repeated forward searches, which become increasingly impractical as the number of parameters grows [21–23]. Moreover, these efforts typically target end-of-season yield rather than sub-seasonal processes, thereby leaving the underlying crop dynamics weakly constrained despite the increasing availability of growing-season carbon and water flux observations [21, 24, 25].

Quantifying parameter uncertainty poses another major challenge [14]. Multiple parameterizations perform comparably against historical observations but may diverge under future climate [19, 24]. Global crop projections from multi-model ensembles often use a single parameter set for each model, although parameter uncertainty within individual models can be substantial [11, 20]. Constructing and evaluating parameter ensembles at the global scale is difficult because each ensemble member requires separate calibration. Given the projected increases in frequency and intensity of extreme events in a changing climate [26], identifying the extreme weather drivers of yield losses is crucial for understanding crop vulnerability and informing adaptation. Existing GGCM sensitivity analyses rely on large ensembles of forward simulations, an approach that is both computationally intensive and restricted to predefined weather variables and perturbation ranges [12]. GGCM emulators reduce computational cost but are less reliable outside their training ranges. Emulators trained on growing-season means do not resolve the sub-seasonal weather conditions or within-season timing of extreme events [27].

Differentiable modelling offers a promising approach to address these challenges directly within process-based models using gradient-based optimization [28–30], and has recently been applied in land surface and atmospheric modelling [31, 32]. Its core tool, automatic differentiation (AD), computes the local sensitivities of model outputs or optimization objectives to parameters and inputs [33]. In reverse mode, a single backward pass yields gradients of the objective with respect to all selected parameters or inputs. Finite-difference methods instead require repeated forward simulations with slightly perturbed parameter values or inputs. Conventional GGCM implementations are not designed to propagate gradients through their complete seasonal simulations. An early proof-of-concept study applied AD to crop model sensitivity analysis [34]. A recent hybrid GGCM used this approach to train embedded neural network components rather than optimize physical process parameters [35]. To our knowledge, this gradient-based parameter optimization has not previously been demonstrated in a fully process-based GGCM. Here we present a differentiable implementation of the crop and soil formulations of LPJmL [6, 7, 36–38] (Agrocosm), capable of quantifying the sensitivity of crop growth, soil dynamics and end-of-season yield to process parameters and daily weather inputs.

We use Agrocosm to demonstrate the advances enabled by differentiability in a fully process-based GGCM. We integrate process observations into GGCM calibration using AD to optimize model parameters against site-scale carbon and water fluxes. The resulting parameterizations generalize to held-out sites and strongly improve global simulations of historical yield variability for wheat, rice, maize and soybean, despite being calibrated without yield data. Future simulations under two emission scenarios show how parameter optimization alters projected production responses and yield sensitivities to CO2CO_{2} and temperature, while revealing substantial projection uncertainty across crops and regions. For rice under SSP5–8.5, parameter uncertainty accounts for about twice as much end-of-century projection variance as climate model uncertainty. We further use derivatives of end-of-season yield with respect to daily weather inputs to identify spring heat and water limitation as contributors to the 2018 European wheat yield loss. We also demonstrate how AD enables more effective irrigation strategies to improve regional yield recovery for the same event. Together, these analyses highlight how differentiability expands the capabilities of fully process-based GGCMs for assessing climate risks to crop production.