the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
Biogeochemistry-Informed Neural Network (BINN v1.0) for improving accuracy of model prediction and scientific understanding of soil organic carbon storage
Joshua Fan
Lifen Jiang
Fengqi You
Benjamin Houlton
Carla P. Gomes
The increasing availability of large-scale observational data and the rapid development of artificial intelligence (AI) provide unprecedented opportunities to enhance our understanding of the global carbon cycle and other biogeochemical processes. However, retrieving mechanistic knowledge from these large-scale data remains a challenge. Here, we develop a Biogeochemistry-Informed Neural Network (BINN) that seamlessly integrates a vectorized process-based soil carbon cycle model (i.e., Community Land Model version 5, CLM5) into a neural network (NN) structure to examine mechanisms governing soil organic carbon (SOC) storage from big data. BINN demonstrates high accuracy in retrieving biogeochemical parameter values from synthetic data in a parameter recovery experiment. Furthermore, by incorporating Monte Carlo (MC) dropout to generate posterior distributions, we demonstrate that BINN can effectively quantify uncertainty in estimated parameters. We use BINN to predict six major processes (or components in process-based models) regulating the soil carbon cycle from 25 925 observed SOC profiles across the contiguous US and compare them with the same processes previously retrieved by a Bayesian inference-based PROcess-guided deep learning and DAta-driven modeling (PRODA) approach. The good agreement between the spatial patterns retrieved by BINN and PRODA (average correlation coefficient = 0.86) suggests that BINN's ability of capturing mechanistic knowledge is consistent with the established Bayesian-based methods. Additionally, the integration of neural networks and process-based models in BINN improves computational efficiency by more than 50 times over PRODA. We conclude that BINN is an efficient framework that harnesses the power of AI, large-scale data, and process-based modeling to understand large scale soil carbon cycle. Applying BINN to other domains of Earth system science will facilitate new scientific discoveries while improving the predictive performance of Earth system models.
- Article
(7082 KB) - Full-text XML
-
Supplement
(1294 KB) - BibTeX
- EndNote
Artificial intelligence (AI) has revolutionized our ability to leverage big data to uncover relationships in complex systems such as the Earth system (Reichstein et al., 2019). Machine learning and deep learning, for example, have shown power in discovering key patterns from data in biogeochemistry, such as representing soil organic carbon (SOC) concentrations (Hengl et al., 2017; Tan et al., 2024), predicting aboveground carbon accumulation rates in naturally regenerating forests (Cook-Patton et al., 2020), and estimating soil respiration (Jian et al., 2018). However, most AI-based approaches primarily learn black-box statistical correlations from the data rather than causality, making it challenging to translate the learned relationships and patterns into mechanisms and controls on processes. This lack of mechanistic insight is an inherent weakness of AI-based models (Willard et al., 2022).
To address this challenge, various hybrid approaches have emerged, aiming to integrate scientific knowledge and reasoning with standard machine learning methods. This integration leverages the strengths of data-driven techniques alongside scientific theory (Jin et al., 2026; Karpatne et al., 2024). By introducing physical or knowledge-based constraints and reasoning, AI-based predictions can be further constrained by scientific knowledge in addition to being driven by observational data. More importantly, unlike the uninterpretable weights and biases in a conventional neural network (NN), the latent physical parameters embedded in the knowledge-based constraints explicitly represent physical and biological processes, providing mechanistic interpretability to the neural network's predictions. For example, we can use physical knowledge to regularize the model towards physically-consistent predictions (Wesselkamp et al., 2024b), such as by adding loss terms that penalize violations of a known governing equation in physics-informed neural networks (PINN) (Raissi et al., 2019), or discrepancies between neural network and process-based model outputs (Liu et al., 2024). These methods do not guarantee that NN simulations will strictly obey physical principles; they only softly discourage violations. While recent “Hard-PINNs” developments have sought to enforce these constraints more strictly to minimize the difference between NN predictions and numerical model simulations (Lu et al., 2021), this requires a complex multi-level optimization procedure with many hyperparameters, and still does not satisfy the constraint exactly. Another body of work thus tries to embed physical knowledge inside the NN model itself, such as modifying an Long Short-Term Memory (LSTM) network to guarantee mass conservation at each step (Hoedt et al., 2021), or embedding hydrological models (Kraft et al., 2022; Shen et al., 2023), terrestrial models (Fang et al., 2024), thermodynamic rules (Chen et al., 2021), domain-specific objectives (Chen et al., 2020), or Bragg's law for x-ray diffraction (Min et al., 2023) into the NN model architecture. Recent studies have further advanced these end-to-end setup to infer stomatal resistance and aerodynamic resistance in evapotranspiration modeling (ElGhawi et al., 2023) and to estimate global physical parameters for water cycle models (Baghirov et al., 2025). Despite these advances, previous efforts mostly used limited constraints in a system (e.g., a few empirical relationships in photosynthesis, Tramontana et al., 2020) or simplified models that comprise latent variables and conservation principles (Kraft et al., 2022). It remains challenging to integrate numerous differential equations into a NN to study the dynamics of a complex system, such as SOC dynamics. This difficulty stems from the tremendous computational cost required to execute complex models, and the associated high-dimensional parameter spaces that need to be optimized for predictive model simulations. In particular, the capacity of NN to efficiently optimize process-related parameter values with faithful identifiability remains an under-explored area of research.
Meanwhile, a traditional method that uses scientific knowledge to guide inference of biogeochemical processes from observational data is data assimilation. This method has played a central role in advancing our understanding of many processes, such as terrestrial carbon flux partitioning (Wesselkamp et al., 2024b), nutrient cycling (Shi et al., 2016), ecosystem respiration (Reichstein et al., 2019), plant phenology (Bree et al., 2025), and hydrology–biogeochemistry couplings (Liu et al., 2020). However, the data assimilation method usually estimates a set of fixed biogeochemical parameters without spatial or temporal variations, which has been argued not represent variations in ecosystem properties over space and time (Luo and Schuur, 2020). While statistical methods such as Geographically-Weighted Regression allow spatially-varying regression coefficients, they can only model linear relationships between inputs and outputs at each location (Brunsdon et al., 1996; Wesselkamp et al., 2024a). A recently-developed approach, PROcess-guided deep learning and DAta driven modeling (PRODA), first uses Bayesian inference-based data assimilation methods to find the optimal biogeochemical parameters for each site, and then trains a deep learning model to infer biogeochemical parameters at new sites, improving our understanding of the global soil carbon cycle (Tao et al., 2020, 2023, 2024; Tao and Luo, 2022). This approach harnesses the strengths of both process-based modeling and deep learning methods to improve SOC simulations by allowing biogeochemical parameters to vary across space. However, the Bayesian inference-based, site-level data assimilation used in the PRODA approach requires vast computational resources, making the method inefficient in both time and energy and thus difficult to apply broadly.
In this study, we integrate a matrix form of a process-based model (i.e., Community Land Model version 5, CLM5) that describes SOC dynamics into a neural network, thus developing a Biogeochemistry-Informed Neural Network (BINN). BINN is an end-to-end framework that combines data-driven machine learning with process-based modeling to facilitate the interpretability of model-represented biogeochemical dynamics, such as SOC dynamics in this study. Herein, we first introduce the structure of BINN, followed by a demonstration of BINN's ability to recover biogeochemical parameters with high accuracy through a parameter recovery experiment. We further implemented Monte Carlo (MC) dropout to generate posterior parameter distributions to quantify uncertainties and identify equifinality issues. Lastly, we evaluate model components from real-world SOC observations. The BINN-predicted biogeochemical parameters accurately simulate SOC observations and are similar to those produced by PRODA, while being much faster to compute. By combining data-driven learning with the mechanistic representations of process-based models, BINN can accurately and quickly infer underlying physical processes from SOC observations.
2.1 Biogeochemistry-Informed Neural Network (BINN)
BINN integrates a process-based model (CLM5, see Sect. 2.1.2 below) into a differentiable, end-to-end framework (Fig. 1a) that maps environmental covariates to site-level biogeochemical parameters, feeds those parameters into CLM5 for the forward simulation, and back-propagates the loss through the whole framework during training (Fig. 1b).
Figure 1Schematic diagram of BINN architecture and training workflow. (a) Detailed BINN structure showing the integration of neural networks with CLM5. A neural network (purple) processes spatial coordinates (red) through a positional encoder and categorical environmental covariates through an embedding layer. The network outputs are transformed via a sigmoid activation function to generate 21 normalized parameters (grey). These parameters are then scaled by their corresponding prior range (blue) and pass into CLM5 along with environmental forcings to simulate SOC (teal). The model's performance is evaluated using a smooth L1 loss function and a soft prior penalty on biogeochemical parameters (green). The entire framework is differentiable, enabling end-to-end training through backpropagation (teal arrow). (b) Overview of BINN training workflow. Environmental covariates at each site serve as input to the neural network to predict biogeochemical parameters. These parameters, along with environmental forcings, drive the process-based model (CLM5) to simulate SOC. The difference between modeled and observed SOC is used to compute the loss function, which guides neural network parameter updates through backpropagation (teal arrow). This training process continues until reaching the maximum number of epochs or achieving optimal validation performance.
We implemented BINN in Python using PyTorch and executed the experiments on the supercomputer, Derecho, maintained by National Center for Atmospheric Research (NCAR). The experiments were conducted using one compute node with 128 CPU cores, leveraging PyTorch Distributed Data Parallel (DDP) for multi-CPU training. Meanwhile, BINN was also tested with a multi-GPU compute node on a cluster in Cornell University's Center for Advanced Computing, confirming its capability for training on GPU clusters when needed.
2.1.1 Neural Network
A fully-connected neural network learns the relationship between environmental covariates (Table S1 in the Supplement) and biogeochemical parameters (Table S2) over space. At each site, we have 60 environmental covariates (input features). While the numeric features can be directly passed into the neural network, we use embedding layers to encode categorical (discrete) covariates and spatial coordinates. For each categorical covariate, the embedding layer learns a vector embedding for each category (e.g. climate type). For spatial coordinates, we pass the latitude and longitude through a spatial positional encoder to obtain a location embedding vector, characterizing unobserved aspects of each location that are not captured in our covariates (Klemmer et al., 2023).
We then concatenate the categorical covariate embeddings, location embedding, and the remaining covariates into a vector e, and pass this through a 4-layer neural network fNN (Eq. 1) with learnable weights/biases w, which outputs a vector with 21 values (representing unconstrained predictions for each parameter in the process-based model):
Each layer of the neural network comprises prescribed numbers of neurons that receive information either from the environmental covariates (for the first layer) or outputs of the previous layer. It then computes linear transformations of the input:
where y is an output from a neuron after the linear combination of its input, wi is a learnable weight for xi, xi is the input from either the environmental covariates or the previous layer's outputs, and b is a learnable neuron-specific bias. After the linear transformation, a nonlinear activation function is applied to generate the eventual results at each neuron, so that the neural network can generate complex nonlinear relationships between the inputs (i.e., environmental covariates) and the outputs (i.e., the biogeochemical parameters in the process-based model). Note that the linear transformations and activation functions are both differentiable, so we can backpropagate gradients through the network. This allows us to calculate the gradient of the loss function with respect to all learnable weights wi and biases b. To prevent overfitting and enable uncertainty quantification through MC dropout, we incorporated a dropout layer after each hidden layer (Eq. 2). During BINN training process, neurons are randomly deactivated with a prescribed dropout rate (see below for hyperparameter selections), allowing the network to explore a range of model configurations.
In our study, for the first three layers of the neural network, we assign each of them to have 128 neurons to process information from the previous layer and use LeakyReLU as the activation function:
where max(0, y) is a function that returns the larger value of 0 or y, while min(0, y) returns the smaller value of 0 or y. The negative_slope is a hyperparameter that determines how “leaky” the function is for negative y. LeakyReLU is chosen over traditional ReLU because it allows gradients to flow through the network even when the inputs to the activation are negative.
The final layer has 21 output neurons, with one corresponding to each biogeochemical parameter in the process-based model. We do not use LeakyReLU after the final linear transformation because it would bias the distribution of the predicted parameters. However, as we have prior knowledge about the plausible range of values for each biogeochemical parameter, the initial parameter predictions are first normalized to be in the range [0, 1] by element-wise parameterized sigmoid functions σ (Eq. 4) and then further linearly scaled into the predicted parameters p (Eq. 5). This ensures that each parameter pi stays within their prior ranges:
where is the ith output of the neural network, γ is a learnable parameter, and θi,max and θi,min are the plausible upper and lower limits for each biogeochemical parameter pi. Thus, the final output of the neural network is p, a vector of 21 biogeochemical parameters for each location, with each parameter pi being constrained to be in its prior range . θi,min and θi,max are values taken from previous literature to indicate plausible limits for processes quantified by each biogeochemical parameter pi (Table S2) (Tao et al., 2023). Note that we introduce a γ value in Eq. (4) to control how fast the results after activation function can converge to 0 or 1 and to θi,max or θi,min after scaling. When the γ value is small, the predicted parameters may quickly get stuck at θi,min and θi,max. If this happens, the derivative of the activation approaches zero and it will be difficult to further optimize the predictions via gradient-based optimization (see Sect. 2.1.4) (Glorot and Bengio, 2010). Thus, we tuned γ to be a relatively large value to facilitate neural network optimization.
We conducted a hyperparameter search to determine suitable settings for BINN (i.e., epochs of training, batch size, CPU number, optimizer, learning rate, dropout rate, embedding size of the embedding layer, whether to use batch normalization, the initialization of γ, negative_slope in the LeakyReLU, and the loss function hyperparameters). Based on a grid search for these hyperparameters, we chose to train BINN for 300 epochs with a batch size of 32, using PyTorch DDP to distribute training across 128 CPUs, as this performed best on our validation dataset. The optimized BINN model was recorded each time when the validation loss improved over the previous best model. We used the AdamW optimizer with a learning rate of 0.01. The embedding size was set as 64, and the dropout rate was set as 0.3. The network also used batch normalization after each LeakyReLU activation function to normalize the layers' outputs by re-centering and re-scaling, making training faster and more stable (Bjorck et al., 2018). We initialized γ to 64.5 but allowed it to be further optimized throughout the training processes within the range from 10 to 109. Specifically, we used a sigmoid to constrain the range:
where γ′ is a learnable parameter that is initialized to 0. We set negative_slope to −0.3 in the LeakyReLU by default. In total, our BINN architecture contains 74 793 trainable parameters.
We also performed a quantitative sensitivity analysis to assess how BINN performance responds to variations in the loss and activation functions (Table S3). Specifically, we tested the sensitivity of replacing the smooth L1 loss with L1 loss and L2 loss and substituting the hyperbolic cosine parameter loss with a squared loss. Furthermore, we evaluated the sensitivity to changes in activation functions by modifying the first three layers from LeakyReLU to ReLU and the final layer from Sigmoid to hard Sigmoid.
2.1.2 Process-based Model
In this study, we use a matrix form of the soil carbon module of CLM5 to represent our knowledge of SOC dynamics (Huang et al., 2018; Lu et al., 2020) (Fig. S1). CLM5 has been continuously developed and refined over the past decade for simulating biogeochemical cycles, including SOC dynamics (Lawrence et al., 2019); it mathematically represents our knowledge of SOC dynamics with 140 partial differential equations. We chose CLM5 to enable direct comparison with PRODA, which uses the same model.
CLM5 simulates SOC dynamics across 20 soil layers to 8 m. Each layer contains 7 carbon pools, including one coarse woody debris pool, three litter pools corresponding to metabolic, cellulose, and lignin materials, and three SOC pools classified into fast, slow, and passive pools according to their turnover times. This structure results in a total of 140 carbon pools (7 pools × 20 layers).
A key innovation of our approach is that we incorporate into our neural network framework a differentiable CLM5 model, whose structure can be represented in a matrix form (Huang et al., 2018; Luo et al., 2022) as:
where is carbon pool change at time t; I(t) is the total carbon input from vegetation at time t, B(t) (140 × 1) is the allocation of carbon input to different pools; A (140 × 140) is the carbon transfer matrix, quantifying horizontal carbon movement between pools in the same layer; K (140 × 140) is the intrinsic decomposition rate of each carbon pool, which is the same for each pool across 20 layers; ξ(t) (140 × 140) captures how the environment modifies the intrinsic decomposition rate in the K matrix by temperature (ξT), water (ξW), oxygen (ξO), and depth (ξD) scalars; V(t) (140 × 140) defines how SOC enters and leaves each layer; and X(t) is carbon pool size. The term B(t)I(t) represents the vegetation carbon input, Aξ(t)KX(t) describes the SOC movements among the 7 pools within each layer, and V(t)X(t) indicates vertical SOC movements along the soil profile. The t in parentheses means that the corresponding process changes with time.
In this study, we assume steady-state SOC storage for computational efficiency, which is justified by previous research showing that recent disequilibrium effects from climate change and human activities are relatively minor compared to the SOC storage that has developed over thousands of years (Lu et al., 2018; Tao et al., 2023). The steady-state SOC storage can be obtained by letting on the left-hand side of Eq. (3) equal 0. Solving for we obtained:
The matrix representation of CLM5 is implemented in PyTorch utilizing vectorized functions to replace most of the for-loops in the original code. Vectorized functions are designed to operate on entire arrays of data simultaneously, rather than processing elements one by one. This enables more efficient computation of SOC predictions in response to changes in parameters. For example, we constructed two vectors for each carbon pool: (1) an environmental scalar vector containing temperature, moisture, oxygen, and depth modifiers that affect decomposition rates, and (2) a decomposition vector containing pool-specific baseline decomposition rates and carbon transfer coefficients. By constructing these vectors for all pools simultaneously (2 vectors for each pool, 7 carbon pools each layer, and 20 layers in total in CLM5), we can directly construct a matrix using vectorized functions. By implementing all mathematical operations (such as addition, matrix multiplication, and matrix inverse) using PyTorch functions, PyTorch can track the gradient of each operation. Using backpropagation, PyTorch can then automatically compute the gradient of the loss function with respect to the learnable weights/biases w of the neural network, differentiating through all the operations in the process-based model (Sect. 2.1.4).
Equation (7) contains 21 biogeochemical parameters (Table S2) that represent properties of different processes (e.g., transformation and stabilization of SOC, temperature sensitivity of soil respiration, and substrate quality) in the soil carbon cycle (Luo and Schuur, 2020). Because those processes are highly variable depending on different climate conditions or soil properties, the values quantifying their properties (i.e., the parameter values) should differ with different environments (Luo and Schuur, 2020). Thus, in this study, the neural network embedded in BINN (Sect. 2.1.1) predicts these biogeochemical parameter values from environmental covariates. The predicted values of the 21 biogeochemical parameters and the environmental forcings (Table S4) are used in Eq. (8) to estimate steady-state SOC storage at sites across the Contiguous US.
To mitigate the impact of uncertainties in individual parameters and equifinality on our mechanistic analysis, we aggregated related parameters into functionally distinct model components. Following the method from Tao et al. (2024), these components, including carbon transfer efficiency, carbon input allocation, baseline decomposition, vertical transport rate, environmental modifiers, and plant carbon input, were constructed as weighted averages based on the relative contributions of constituent parameters to their respective carbon fluxes or pools.
2.1.3 Loss Function
Because we aim to accurately simulate SOC, our primary loss quantifies the discrepancy between simulated and observed SOC values. Specifically, we use a smooth L1 loss function, which transitions from quadratic behavior near zero to linear behavior beyond a specified threshold β:
where represents the simulated SOC profile at all observation depths for a single site by CLM5, yprofile denotes the corresponding observed SOC profile at the same site, and β is a threshold hyperparameter that determines the transition point between quadratic and linear behaviors of the loss function. The smooth L1 loss function's linear asymptotic behavior makes it more robust to outliers compared to conventional loss functions such as Mean Squared Error (MSE) (Girshick, 2015).
We also add an additional hyperbolic cosine loss (cosh) term that acts as a regulator, encouraging the neural network to predict biogeochemical parameters within reasonable bounds. Specifically, it penalizes parameter values that deviate substantially from the center of the prior distribution, thereby discouraging biogeochemically implausible extreme values. Eventually, the total loss, Lbatch, is a linear combination of the two losses:
where batch size is a hyperparameter describing the number of soil profiles processed in each training iteration before performing one backpropagation, w is a weighting hyperparameter that balances the two loss components, pj represents the predicted biogeochemical parameter from the neural network, and τ is a scaling factor that controls the strength of regularization by the hyperbolic cosine function. From the hyperparameter grid search, we set τ to 15 and loss weight w to 100.
While CLM5 simulates SOC dynamics at 20 specific depths, SOC data collected from the field were not necessarily measured at the depth nodes set in CLM5. Thus, in calculating the loss function value, when observations occur at depths between two CLM5 nodes, we employed linear interpolation to estimate simulated SOC values at the observation depths. In cases where observations extend beyond 8 m (i.e., the deepest node in CLM5 simulations), we used the values at 8 m as SOC concentration in deeper layers no longer changes much.
2.1.4 Backpropagation to Optimize Neural Network Parameters
During training, BINN computes the loss function based on the current predicted SOC and biogeochemical parameters; the loss quantifies how poorly its current predictions match the SOC observations and prior knowledge. Through backpropagation, the loss signals propagate backwards through the entire BINN structural chain: first through the CLM5 matrix equations that generate modeled SOC, then through the biogeochemical parameters, and finally to the neural network that predicts these biogeochemical parameters. At each step, PyTorch uses the chain rule to automatically compute the gradient of the loss function with respect to each learnable NN component (e.g. w in Eq. 1 and γ′ in Eq. 6). These gradients indicate how each component can be adjusted to increase or decrease the loss. The NN components are adjusted slightly in the direction that decreases the loss, and then the above process is repeated. The differentiability of the process-based model (CLM5 in this case) enables this continuous gradient flow and thus allows the neural network to learn parameter values that produce better SOC predictions.
2.1.5 Monte Carlo dropout
We used Monte Carlo (MC) dropout during BINN training to approximate the model's predictive uncertainty (Gal and Ghahramani, 2016). MC dropout randomly disables a fraction of neurons (with probability equals to the dropout rate) within the neural network during training. This process acts like training an implicit ensemble of subnetworks and improves generalization and robustness of BINN.
When the dropout rate is set larger than 0, the posterior distributions of the predicted biogeochemical parameters can be estimated by MC dropout at each site. To be specific, during forward simulation with the best-trained BINN model, we kept dropout active and perform 100 stochastic forward passes with different dropout masks, resulting in an efficient approximation of the uncertainty in the model's parameter predictions.
2.2 Recovering Biogeochemical Parameters from Synthetic Data
We evaluated BINN's ability to recover the biogeochemical parameters of CLM5 from synthetic SOC data using a 10-fold cross-validation experiment (Arnold and Dey, 1986). Unlike real-world observations that contain measurement uncertainties and potentially unresolved processes, the synthetic SOC data across multiple depths used in this study were generated by running CLM5 with prescribed spatially-varying parameter values (obtained from a previous work with PRODA approach, Tao et al., 2020; see Sect. 2.3.2), providing a controlled environment where true parameter values are known (Fig. S2). This synthetic dataset allowed us to quantitatively assess BINN's parameter recovery accuracy by comparing predicted parameters with the known values used to generate the synthetic data. Parameter recovery was assessed under two configurations: one using a subset of the most sensitive parameters as targets, and another using all biogeochemical parameters as targets.
2.2.1 First-Order Sobol Sensitivity Analysis
To decide which biogeochemical parameters to modify in the experiment of recovering the biogeochemical parameters of CLM5 from synthetic SOC, we conducted a sensitivity analysis of CLM5 using first-order Sobol method to identify the biogeochemical parameters that have the greatest influence on simulated SOC values.
The sensitivity analysis was conducted on SOC simulations at various soil-depth ranges, including 0–0.3, 0.3–1, > 1 m, and the entire soil profile (0–8 m). SOC simulations at each layer by CLM5 were aggregated based on the node depths falling into the above-mentioned depth ranges. Specifically, layers 1-6 were used to calculate SOC between 0–0.3 m, layers 7–9 for SOC between 0.3–1 m, and layers 10–20 for SOC greater than 1 m. Simulations from all 20 layers were summed up to calculate SOC across the whole soil profile. The variance and sensitivity for each depth range were calculated based on SOC values derived from the individual layers mentioned above.
For this analysis, we randomly selected 512 sites across the Contiguous US and employed the first-order approximation method. We first determined the unconditional variance V(SOC) from the model output when all the 21 biogeochemical parameters (p) in CLM5 were allowed to vary freely within their initial ranges from their prior ranges. Specifically, we randomly sampled the biogeochemical parameter values 1000 times in their initial ranges at each site sand depth range d, ran the model, and calculated the variance of the simulations, which was considered the unconditional variance V(SOCs,d).
Next, we estimated the conditional expectation of the variable SOCs,d for each biogeochemical parameter pi (i= [0, 20]) at each site s. We randomly selected a value () for each biogeochemical parameter pi from a uniform distribution within its prior range. For the remaining biogeochemical parameters (, we produced 1000 random settings from uniform distributions within their respective prior ranges. Using the sample of 1000 biogeochemical parameter sets, we estimated the conditional expectation ). We repeated this sampling process for 100 randomly selected values of pi and used the results to estimate the variance . This value quantifies the variance in the output variable SOCs,d as a result of modifying the biogeochemical parameter pi. We discarded the simulations when NaN values appeared due to randomly sampled biogeochemical parameter sets. Finally, a first-order Sobol sensitivity index was calculatedfor each biogeochemical parameter pi at each site s and depth d as:
The final sensitivity value for each biogeochemical parameter was obtained by averaging the sensitivity values across all the randomly selected sites across all depths (Fig. 2) and individual depth ranges (Fig. S3). Error bars represent the mean sensitivity ± one standard deviation across sites.
Figure 2First-order sensitivity indices of biogeochemical parameters aggregated across all soil layers. Bars show mean sensitivity, with horizontal error bars representing ±1 standard deviation. Red triangles indicate error bars clipped by the x axis (uncertainty extends beyond the displayed range). Parameters are ranked (y axis) by decreasing sensitivity and color-coded by their associated process component (e.g., in Eq. 7). The x axis represents sensitivity scores, indicating how changes in each parameter influence the model's performance.
Our analysis identified the five most sensitive parameters: the parameter “beta” governs the allocation of carbon inputs across soil depths; the parameter “w-scaling” represents the influence of soil water on SOC decomposition; the parameter “tau4s3” represents the decomposability of the passive SOC pool; the parameter “fs1s3” indicates the efficiency of carbon transforming from active SOC to passive SOC; and the parameter “efolding” quantifies the impacts of soil depth on SOC decomposition.
2.2.2 Simulation Experiment to Recover Biogeochemical Parameters from Synthetic Data
We selected the five most sensitive parameters identified from the sensitivity test to minimize equifinality, which is a phenomenon that a similar simulation output is generated with different combinations of biogeochemical parameter values (Luo et al., 2009), for the parameter recovery experiment.
To test the recovery efficiency of the biogeochemical parameters with BINN, we modified the final layer of the neural network by reducing the number of neurons from 21 to 5 to predict these five biogeochemical parameters. Combining the five biogeochemical parameters predicted by BINN and the remaining 16 biogeochemical parameters from the prescribed parameter values, BINN was able to simulate SOC values and update itself through backpropagation. After training BINN with the synthetic SOC dataset, we compared the five parameters predicted by BINN with their prescribed parameter values in the testing dataset to evaluate the accuracy of BINN in retrieving the prescribed biogeochemical parameters. To examine the recovery efficiency beyond the top five parameters, we repeated the experiment with all 21 parameters following the same processes.
2.2.3 10-fold cross-validation
To conduct 10-fold cross-validation on the simulations, the entire dataset was randomly divided into ten equal-sized subsets. In each iteration, 8 subsets were used for training, 1 subset for validation, while the remaining subset served as the test set. Specifically, the training subsets were utilized for gradient-based optimization, the validation subset served as an independent check to guide hyperparameter tuning, best model selection, and early stopping to prevent overfitting, and the test subset was reserved for an unbiased assessment of the BINN's generalization capability. This process was repeated ten times, with each subset serving as the test set once. The performance metrics, including Nash–Sutcliffe modelling efficiency coefficient (NSE) and Pearson correlation coefficient (r), were calculated for each iteration. Final performance evaluations were conducted by averaging the metrics across all iterations, and grid-level predictions were averaged across the ten iterations. This cross-validation approach provides a robust assessment of BINN's internal predictive stability by testing its performance on multiple independent datasets, reducing the impact of data partitioning bias and thus enabling evaluation of model stability across different training-testing combinations.
2.3 BINN performance with real-world SOC Observations
We evaluated the performance of BINN by comparing BINN's SOC predictions with observed SOC across the contiguous US (a total of 25 925 profiles) (Fig. 1b).
2.3.1 Data Preparation
We processed SOC observations from the World Soil Information Service (WoSIS) following Tao et al. (2020, 2023). Each profile (i.e., each site) may have SOC observations at multiple depths. Only profiles with at least three observations were kept, yielding 25 925 profiles (169 104 SOC measurements) across the contiguous US. We used 60 environmental covariates at each site from Tao et al. (2023) as input to BINN (Table S1). To achieve better training effectiveness, we normalized all the environmental covariates to the interval [0, 1] according to their maximum and minimum values, except the categorical covariates.
We applied eight types of forcing data to drive CLM5 SOC simulations: mean annual net primary productivity (NPP), active soil layer depth from the previous year and current year, the number of soil layers reaching bedrock, the soil oxygen scalar for decomposition, the soil nitrogen scalar for decomposition, soil temperature, and soil water potential. These forcings were derived from 20 years of monthly CLM5 simulations at steady state using a preindustrial forcing (that is, I1850Clm50Bgc) at 0.5° resolution.
The 10-fold cross-validation divided the whole dataset randomly into 10 folds, and we took one-fold (i.e., 10 %) data as the testing dataset in each iteration. The remaining data were further split into training (8/9) and validation (1/9) sets.
2.3.2 PRODA
We used PRODA as a baseline to compare SOC simulation skill and derived process components with BINN. PRODA couples site-level Bayesian calibration of CLM5 with a neural network that maps environmental covariates to the calibrated parameters.
The site-level data assimilation was conducted by an adaptive Metropolis Markov Chain Monte Carlo (MCMC) algorithm with 20 000 iterations for the test run and 50 000 iterations for the formal run. The posterior distribution for each parameter was generated during the second half of the formal run. The mean values of the posterior distributions of the parameters were calculated as the final point estimates.
Figure 3BINN's performance in the parameter recovery experiment. Scatter plots comparing the parameter values (a) “efolding”, (b) “tau4s3”, (c) “fs1s3”, (d) “w-scaling”, and (e) “beta” predicted by BINN against the prescribed parameter values. The color of each point in the scatter plot represents the number of data points within each hexagonal bin. The correlation coefficient between the predicted and prescribed parameter values is shown in the title of each plot. (f) Comparison of the BINN-simulated and synthetic SOC values, with colors representing the density of points. (g) Mean performance of BINN in retrieving the five parameters across 10-fold cross-validations, as measured by the correlation coefficient between the predicted and prescribed parameter values as well as NSE of the simulated SOC values compared to the synthetic SOC data.
To generalize these site-level estimates to the contiguous US, we trained a fully-connected multilayer neural network using the same 60 environmental variables as predictors. The neural network used in the final training consisted of four hidden layers. The node numbers for each hidden layer were 256, 512, 512 and 256, respectively, with ReLU as the activation function and adadelta as the optimizer. PRODA was trained with 6000 epochs, utilizing an early stopping patience of 1200 epochs, and validated with a 10-fold cross-validation. When comparing with BINN, the test dataset for each fold was set the same as the corresponding fold during BINN training.
To facilitate a direct comparison of model performance between BINN and PRODA (Figs. 4 and 6), we used the identical prior ranges of parameters governing substrate decomposability as used in PRODA. Specifically, the prior ranges were for tau4s1 were [0.0001, 1]), tau4s2 [1, 50]), and tau4s3 ([200, 1000]). Aside from this specific comparative analysis, the values of prior parameter ranges in Table S2 were used for all other analyses.
Figure 4Comparison of the spatial patterns of model components retrieved by BINN and PRODA. Maps show BINN (left column panels) and PRODA (middle column panels) estimates for six model components: carbon transfer efficiency (a–c), baseline decomposition (d–f), environmental modifier (g–i), carbon input allocation (j–l), vertical transport rate (m–o), and plant carbon inputs (p–r). Right-column panels (c, f, i, l, o, r) compare model components between BINN (y axis) and PRODA (x axis) with 1:1 lines; panel insets report Pearson correlation coefficients. Color scales are harmonized across BINN and PRODA; otherwise, panel-specific scales are noted in the legend.
The robustness of the BINN framework to the variations in prior range selection was further evaluated by adjusting the prior ranges by 10 % where the flux related parameters remained within their physical bounds. The results in Table S3 indicate that BINN is robust to the test of prior ranges as evidenced by the consistent NSE across different settings of modeling choices.
2.3.3 Summary Statistics
We calculated the Nash–Sutcliffe modelling efficiency coefficient, NSE, of simulated SOC to evaluate the effectiveness of SOC predictions by BINN following the equation:
where obsi is one of the SOC observations, is the mean of the SOC observations, and simui is the simulated SOC by CLM5 embedded in BINN.
We used the Pearson correlation coefficient, r, between the predicted and prescribed biogeochemical parameters to evaluate the effectiveness of BINN in recovering each of the five biogeochemical parameters as follows:
where paraBINN is the biogeochemical parameter predicted by BINN, paratrue is the biogeochemical parameter previously prescribed at the same site, is the mean of this biogeochemical parameter predicted by BINN, and is the mean of this prescribed biogeochemical parameter.
2.3.4 Normalized Difference
For each site, we averaged the simulated SOC across the 10 cross-validation folds and subtracted the observed SOC to obtain a mean difference. To improve interpretability over space, we applied a signed percentile normalization: positive differences were scaled to [0,1] by dividing by the 99th percentile of positive deviations, and negative differences were scaled to [−1,0] by dividing by the 99th percentile of negative deviations. This approach preserves the sign and relative magnitude of biases while preventing a small number of extreme values from dominating the colored scale.
2.4 Computational Efficiency
We compared computational efficiency between BINN and PRODA on the same dataset (2000 soil profiles) and the same personal computer, reporting their wall-clock time and peak resident set size (RSS). For BINN, we evaluated two implementations and recorded their respective runtime and peak RSS: (i) a matrix version using the original CLM5 formulation and (ii) a vectorized version that removes explicit for-loops. Each implementation was trained for 300 epochs (no early stopping) to standardize timing and ensure convergence on the training set. For PRODA, the computational bottleneck is the site-level MCMC calibration of CLM5 parameters. We measured MCMC runtime at 10 randomly selected sites (with 20 000 test iterations and 50 000 formal iterations per site) and extrapolated to 2000 sites. Because per-site memory usage is stable across sites, peak RSS was taken from these 10-site runs. PRODA's second stage using a neural network that maps environmental covariates to the MCMC-optimized parameters was trained for 6000 epochs, with an early stopping patience of 1200 epochs. We recorded its peak RSS and reported PRODA's overall peak RSS as the maximum of the MCMC stage or the NN stage.
3.1 Parameter Recovery Accuracy
When BINN predicted the five most sensitive biogeochemical parameters, the recovered parameter values exhibited high consistency with the prescribed biogeochemical parameters used during synthetic data generation, achieving an average correlation coefficient of 0.88 across the 10-fold cross-validation (Fig. 3g). Moreover, BINN achieved an average NSE of 0.99 on the test dataset when comparing simulated SOC with synthetic SOC (Fig. 3g). In the cross-validation iteration with the median NSE of simulated SOC, the BINN-recovered parameter “efolding”, representing the depth scalar, had a correlation coefficient of 0.92 in comparison with the prescribed parameter values (Fig. 3a). The parameter “tau4s3”, representing the baseline turnover time of the passive SOC pool, showed a correlation coefficient of 0.93 (Fig. 3b). The “fs1s3” parameter, indicating the transfer fraction from fast to passive SOC pools, achieved a correlation coefficient of 0.82 (Fig. 3c). The “w-scaling” parameter, which is the scaling factor of soil water, had a correlation coefficient of 0.9 (Fig. 3d). Lastly, the “beta” parameter that governs the vertical distribution of carbon inputs exhibited a correlation coefficient of 0.83 (Fig. 3e).
Extending recovery to all 21 parameters revealed heterogeneous identifiability that is consistent with their influence on SOC storage (Fig. S4). Parameters with low sensitivity (e.g., cryo, taucwd) showed weak correlations between retrieved and prescribed values and were typically distributed around the midpoints of their prior ranges, whereas high-influence terms (e.g., w-scaling, fs1s3) remained well recovered.
In addition, to better address the equifinality issue in BINN, we implemented MC dropout (Gal and Ghahramani, 2016) to approximate the posterior distributions of parameters at each site (Fig. S5). Although point estimates of parameters may not exactly match the prescribed values in parameter recovery experiment, the posterior distributions of parameter values by BINN frequently cover the prescribed values. We further quantified the site-level coverage (i.e., the fraction of prescribed values falling into the BINN-predicted posterior distributions) in Fig. S6, which indicated the issue of equifinality is effectively identified and accounted for within the BINN framework, as the uncertainty intervals consistently encompass the ground-truth parameter values at most sites.
3.2 Performance in Predicting Real-world SOC Observations
After BINN optimization, we used its predicted biogeochemical parameters to calculate six model components representing different processes in soil carbon cycle over the contiguous US: carbon transfer efficiency, baseline decomposition, environmental modifier, carbon input allocation, vertical transport rate, and plant carbon inputs. The comparisons between BINN-retrieved six model components and those generated from PRODA, along with their spatial patterns, are shown in Fig. 4. Note that the plant carbon input component was identical between BINN and PRODA (Fig. 4p–r), due to the use of the same NPP forcing data. The spatial distributions of the other five components were similar between BINN and PRODA, with an average correlation coefficient of 0.86.
The carbon transfer efficiency predicted by BINN, which quantifies the weighted average ratio of decomposed carbon being transferred from one carbon pool to another relative to the total carbon decomposition, displayed similar spatial patterns as PRODA's predictions (Fig. 4a–b), with a correlation coefficient of 0.92 (Fig. 4c). Baseline decomposition, which describes the substrate decomposability of each soil pool, showed similar spatial patterns across the contiguous US for both BINN and PRODA as well (Fig. 4d–e), with the correlation coefficient of 0.91 (Fig. 4f).
The environmental modifier predicted by BINN achieved a correlation coefficient of 0.82 with PRODA's results (Fig. 4i). Their spatial patterns were nearly identical across the contiguous US, with lower values in the northwestern region and values gradually increasing toward the southeastern region (Fig. 4g–h). While both methods simulated higher carbon input allocation in the central US, BINN predicted slightly higher values in the western and central parts of the contiguous US compared to PRODA (Fig. 4j–k), resulting in a relatively high average value. Even so, the correlation coefficient between the two approaches still reached 0.71 (Fig. 4l). BINN and PRODA also predicted vertical transport rate with nearly identical spatial distributions (Fig. 4m–n), with a high correlation coefficient of 0.92 (Fig. 4o).
When applying the predicted parameters to simulate SOC, BINN showed an average NSE of 0.71 in predicting the observed SOC across the 10-fold cross-validations (Fig. 5c), with an average NSE of 0.61 on the test datasets (Fig. 5d). The training and validation NSE values recorded throughout model training at each epoch indicated a validation NSE of 0.63 (Fig. S7). The map of the normalized difference (Fig. 5a) identifies geographic regions where BINN's predictive performance is limited, showing systematic underestimation in the North-Central region and overestimation within the Rocky Mountains., which persisted across the 10-fold cross-validation ensemble (Fig. 5b).
Figure 5Comparison of simulated and observed SOC storage using BINN across 10-fold cross-validation training. (a) Map of normalized difference across all 10 folds. (b) Coefficient of variation of difference across 10 folds, indicating spatial uncertainty. (c) Observed vs. fold-average simulated SOC across all depths and sites. (d) Box plot of test NSE across 10 folds.
Overall, BINN demonstrated in-domain predictive accuracy comparable to PRODA in predicting SOC across the contiguous US (Fig. 6a). However, PRODA showed a tendency toward negative bias (underestimation) over broad areas, whereas BINN's normalized difference was closer to zero (Fig. 6b). In the north-central and eastern US, where PRODA mainly underestimated observed SOC, BINN exhibited fewer geographical biases (Fig. 6c–d).
Figure 6Side-by-side evaluation of BINN and PRODA across identical 10-fold test sets against the observed SOC. (a) Mean test NSE per fold for BINN and PRODA. NSE values are shown above the bars; the P value below the bars donates the difference in test NSE between the two methods is insignificant. (b) Mean test-set differences in simulated SOC between the two methods after normalization. The red dots are outliers, and the horizonal significant bar shows that the mean differences in SOC between two methods are significantly different. (c–d) Spatial maps of the normalized differences for (c) BINN and (d) PRODA: values near 0 indicate small bias; positive and negative values indicate overestimation and underestimation, respectively.
3.3 Computational Efficiency
On a single CPU, BINN with for-loops required 52.5 h (Fig. 7) to complete 2000 profiles, whereas the vectorized version took only 10.5 h (5 × faster). Moreover, MCMC alone took 574.7 h, leading to a total of 577.7 h for PRODA when including ∼ 3 h of neural network training. Thus, BINN is approximately 57 times faster than PRODA and can be further accelerated via PyTorch DDP, which enables parallel training across multiple CPUs. While both approaches achieve parameter interpretability (Sect. 3.2), BINN does so more efficiently by directly integrating the process-based model into the neural network architecture, eliminating the need for computationally intensive site-by-site MCMC optimization. In addition, BINN with vectorized CLM5 yields the lowest peak memory usage among all the methods (Fig. S8).
Our study demonstrates that BINN is an efficient approach to retrieve spatially varying model parameters from big data and predict their spatial distributions for determining SOC dynamics over the contiguous US and thereby facilitate process understanding. By embedding a matrix form of process-based model into BINN, BINN can significantly enhance computational efficiency during parameter optimization compared to conventional data assimilation techniques. Additionally, the incorporation of MC dropout enables the estimation of posterior distribution for each parameter, facilitating rigorous uncertainty quantification within this hybrid modeling framework.
4.1 BINN's ability to retrieve and predict biogeochemical parameters
In this study, BINN's ability of retrieving biogeochemical parameters was first validated through a parameter recovery experiment, which used synthetic SOC data generated by CLM5 with prescribed parameter values across the contiguous US. To minimize the effects of equifinality, we conducted a sensitivity analysis using a first-order Sobol index and focused on the five most sensitive biogeochemical parameters, which are also those typically well constrained by Bayesian calibration. It is important to note that while the first-order Sobol index identifies the direct contribution of individual parameters to model variance, it may not fully account for all nonlinear interactions within the system. Therefore, future research involving higher-order sensitivity analysis would be beneficial to further explore complex parameter relationships.
As expected, BINN recovered these target parameters with high correlations with their respective prescribed values. Moreover, BINN reproduced the synthetic SOC patterns well using only environmental covariates and synthetic SOC, without using a Bayesian method. These results suggest that BINN learns causal relationships between environmental covariates and SOC simulations consistent with the underlying dynamics, rather than simply exploiting spurious correlations (Luo and Schuur, 2020).
We then extended recovery to all 21 parameters; the results showed that highly sensitive parameters remained well recovered. Although parameters with low influence on SOC showed weak recovery by BINN, this is a common limitation also observed in Bayesian approaches when data are weakly informative. To overcome this limitation, future applications could integrate complementary data streams beyond SOC, which might provide additional constraints necessary to inform those less-sensitive parameters. Alternatively, the inherent uncertainty of high-dimensional parameter spaces can be mitigated by aggregating individual parameters into functionally related model components. As demonstrated in this study, grouping parameters with similar process-based meanings and weighing them by their relative contributions to total SOC help characterize the underlying biogeochemical processes more powerfully (Fig. 4). This approach effectively prioritizes the most influential parameters; as weakly recovered parameters generally exert minimal impact on total SOC storage. Such parameters are assigned lower weights within the calculated model components, thereby mitigating the impact of poorly constrained parameters on our mechanistic interpretations.
To further characterize and mitigate equifinality, we applied MC dropout to approximate the posterior distributions of site-level parameters. Although point estimates did not necessarily match the prescribed values exactly, the posterior distributions frequently cover the ground truth (i.e., the prescribed parameters in this case). This demonstrates BINN's ability to identify and account for equifinality issues. By generating a distribution of potential parameter values instead of a single point estimate, the framework provides a robust quantification of uncertainty that carries through from the biogeochemical parameters to the final model simulations.
We further tested BINN with real-world SOC observations across the contiguous US and quantified the six model components of CLM5. BINN-retrieved model components, calculated from the estimated biogeochemical parameters, showed good agreement with those generated by PRODA. Since Bayesian optimization as used in PRODA is widely accepted in earth system modeling for parameter optimization through data assimilation, the agreement between BINN and PRODA suggests that BINN can effectively capture spatial variations in key model components while maintaining physical interpretability. This capability enables BINN to evaluate the relative importance of different processes controlling SOC storage within the model and data domain, as done with PRODA, while offering computational advantages through its integrated neural network architecture.
While both models show comparable NSE values for SOC simulations (Fig. 6a), their spatial error structures differ significantly. PRODA demonstrates a widespread tendency to underestimate SOC stocks, whereas BINN's normalized differences are centered nearer to zero, indicating reduced systematic bias (Fig. 6b). This difference likely stems from the architectural distinction between the two frameworks: while the neural network in PRODA is trained to replicate site-level parameter distributions derived from a separate site-level data assimilation step, BINN's end-to-end framework directly optimizes the neural network to minimize the deficit in SOC simulations across the US continent. By coupling the parameter inference and the physical simulation within a single objective function, BINN can more effectively mitigate spatial biases that might otherwise arise from the multi-step training process used in PRODA.
In addition, all model components predicted by BINN show high correlations with those predicted by PRODA. However, the estimated carbon transfer efficiency in BINN is slightly lower than in PRODA, primarily due to higher carbon input allocation to deeper soil layers in BINN. Since shallow layers typically maintain larger carbon stocks than deeper layers, the weighted carbon transfer efficiency in BINN is lower to compensate for the reduced input allocation in those shallow layers. This minor bias can also be attributed to the distinct architectural designs between BINN and PRODA and the resulting differences in optimized parameters.
However, even though BINN shows less underestimation than PRODA, spatial biases still persist within the North-Central and Rocky Mountain domains (Fig. 5a). These biases likely stem from a fundamental mismatch between the spatial resolution of the environmental covariates that derived from global gridded products (Table S1), and the local-scale drivers of each SOC observation. In the North-Central region, the high spatial density of SOC observations reveals sub-grid variability that coarse gridded covariates cannot adequately resolve. Conversely, the overestimation observed in the Rocky Mountains highlights a scale-dependent limitation where gridded inputs fail to represent the complex topographic heterogeneity inherent to mountainous terrain. Consequently, while the BINN framework effectively captures broad environmental gradients, its localized precision remains constrained by the granularity of the available geospatial drivers.
4.2 BINN's Computational Efficiency
BINN shows significant improvement in computational efficiency compared to PRODA while performing similar functionality in terms of retrieving parameters and predicting the spatial distributions of SOC storage and its components from big data. Compared to PRODA, BINN reduces computational time by more than 50-fold in a test with 2000 profiles, while keeping memory usage the lowest. PRODA requires running a Bayesian optimization algorithm for each site independently; it does not use gradients to optimize parameter values. Instead, it only perturbs parameters randomly and checks whether the accuracy has been improved or not.
By contrast, BINN reimplements the process-based model, CLM5, in a differentiable way using PyTorch, and leverages this differentiability to rapidly find the optimal parameters (for all sites simultaneously) that accurately simulate SOC observations (Table S5). Additionally, we used vectorized functions in PyTorch to replace for-loops in the original matrix form of CLM5 model, which further enhances computational efficiency. BINN can also utilize PyTorch DDP to parallelize computations, allowing much faster iterations and thus greatly saving real physical time. Meanwhile, the memory usage of BINN can be kept bounded via smaller batches and gradient checkpointing, whereas site-by-site Bayesian samplers must maintain full state per chain, which tends to increase peak RSS despite longer running time. High computational efficiency is also more environmentally friendly, saving energy when dealing with large datasets.
4.3 BINN's Facilitation of Mechanistic Understanding
A process-based model is an abstraction of a real-world system and represents the processes that govern the system's dynamics, yet such model-based predictions often fit with empirical observations poorly (Luo et al., 2016). This discrepancy arises because complex systems, such as the terrestrial ecosystems, contain numerous mechanisms regulating carbon cycling. Although some of these mechanisms are well-understood, many remain unresolved. Process-based models may explicitly represent those well-understood processes in their structure while these processes need to be specified via parameterization at given locations under given conditions to represent the heterogeneity of environmental conditions (Luo and Schuur, 2020). Without taking advantage of the extensive information present in observations, these model parameters are usually not well constrained.
BINN learns site-specific parameters from environmental covariates while the process-based model executes the forward simulation. This end-to-end setup improves model fit to observations by yielding spatially varying parameters. When these parameters are properly constrained by empirical data, they can more accurately reflect the unresolved biogeochemical processes, enabling models to better simulate ecosystem behavior. After training, we further transform the learned parameters into model components (as in Fig. 4), thereby linking learned parameters to individual processes. The model components from BINN reveal interpretable patterns (e.g., baseline decomposition and carbon transfer efficiency) consistent with prior work using Bayesian-based methods (Tao et al., 2023).
However, it is important to recognize that the mechanistic understanding inferred through this framework is inherently tied to the CLM5 model structure and the BINN-optimized parameters. While these optimized parameters provide a mechanistically consistent representation of different processes within the process-based model, the resulting mechanistic understanding may still require independent validations from observation via satellites, sensors, and field and laboratory experiments. In the future, more robust data assimilation will also rely on comprehensive empirical syntheses of processes related to the biogeochemical parameters used in process-based models. Nonetheless, BINN-retrieved patterns represent a mechanistic understanding grounded in observation-model synthesis rather than that gained from process-based models alone.
BINN's potential for advancing scientific understanding could be extended well beyond SOC dynamics to various fields of research in biogeochemistry and ecology. Whenever current scientific understanding of a biogeochemical system can be mathematically formulated in a process-based model, BINN could help uncover mechanisms from big data when relevant observational data are presented. This framework would be particularly valuable for studying complex biogeochemical cycles, such as nutrient cycles, where some processes are well-understood and explicitly represented in models, while others remain unresolved. By combining process-based representations of known mechanisms with large-scale data, BINN could help uncover unknown mechanisms governing biogeochemical cycling, providing a foundation for future empirical studies to validate these model-derived insights.
Furthermore, BINN's flexible architecture might allow integration of diverse data sources. This capability would be particularly valuable for incorporating limited but important datasets, such as isotope measurements, which could reveal spatial and temporal mechanisms in soil carbon dynamics despite their scarcity. Even if these measurements are only available at a few sites, BINN could still learn from them by incorporating them in the loss function where they are available. By leveraging multiple data sources, BINN would maximize the potential to facilitate our scientific understanding while maintaining biogeochemical consistency.
The code and data for the BINN framework are available in the Zenodo repository at: https://doi.org/10.5281/zenodo.20405976 (Xu and Fan, 2026).
The supplement related to this article is available online at https://doi.org/10.5194/gmd-19-6777-2026-supplement.
HX, YL, FT, and JF: Conceived this study; HX and JF: Developed the methods and performed the analyses; HX: Prepared the first draft of the manuscript; HX, JF, FT, LJ, FY, BH, YS, CG, and YL: Revised the manuscript.
The contact author has declared that none of the authors has any competing interests.
Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. The authors bear the ultimate responsibility for providing appropriate place names. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
This research is supported by AI-LEAF: “AI Institute for Land, Economy, Agriculture & Forestry”, funded by the USDA National Institute of Food and Agriculture (NIFA) and the NSF National AI Research Institutes Competitive Award (grant no. 2023-67021-39829). This research is also partially supported by Schmidt Sciences programs, an AI2050 Senior Fellowship and an Eric and Wendy Schmidt AI in Science Postdoctoral Fellowship; NSF grants (grant nos. DEB 2242034, DEB 2406930, and DEB 2425290); the US Department of Energy's Terrestrial Ecosystem Sciences Grant DE-SC0023514, subcontract CW55561 from Oak Ridge National Laboratory to Cornell University; the CALS Moonshot Seed Grant program; the “NYS Connects: Advancing Markets for Producers” project, funded by the USDA and the New York State Department of Environmental Conservation; an NSF Research Traineeship (NRT) fellowship in Digital Plant Science (grant no. DGE-1922551), and the Air Force Office of Scientific Research (AFOSR, grant nos. FA9550-23-1-0322, FA9550-23-1-0569, FA9550-21-1-0316).
This research has been supported by the National Institute of Food and Agriculture (grant no. 2023-67021-39829), the Schmidt Futures (grant no. AI2050 Senior Fellowship and an Eric and Wendy Schmidt AI in Science Postdoctoral Fellowship), the Division of Environmental Biology (grant nos. DEB 2242034, DEB 2406930, and DEB 2425290), the Biological and Environmental Research (grant no. DE-SC0023514), the Oak Ridge National Laboratory (subcontract CW55561 from Oak Ridge National Laboratory to Cornell University), the College of Agriculture and Life Sciences, Cornell University (the CALS Moonshot Seed Grant program), the New York State Department of Environmental Conservation (the “NYS Connects: Climate Smart Farms & Forestry” project), the Division of Graduate Education (grant no. DGE-1922551), and the Air Force Office of Scientific Research, European Office of Aerospace Research and Development (grant nos. FA9550-23-1-0322, FA9550-23-1-0569, and FA9550-21-1-0316).
This paper was edited by Hans Verbeeck and reviewed by four anonymous referees.
Arnold, C. P. and Dey, C. H.: Observing-Systems Simulation Experiments: Past, Present, and Future, B. Am. Meteorol. Soc., 67, 687–695, https://doi.org/10.1175/1520-0477(1986)067<0687:OSSEPP>2.0.CO;2, 1986.
Baghirov, Z., Jung, M., Reichstein, M., Körner, M., and Kraft, B.: H2MV (v1.0): global physically constrained deep learning water cycle model with vegetation, Geosci. Model Dev., 18, 2921–2943, https://doi.org/10.5194/gmd-18-2921-2025, 2025.
Bjorck, N., Gomes, C. P., Selman, B., and Weinberger, K. Q.: Understanding Batch Normalization, in: Proceedings of the 32nd International Conference on Neural Information Processing Systems (NIPS'18), Curran Associates Inc., Red Hook, NY, USA, 7705–7716, 2018.
Bree, R. van, Marcos, D., and Athanasiadis, I.: Hybrid Phenology Modeling for Predicting Temperature Effects on Tree Dormancy, arXiv [preprint], https://doi.org/10.48550/arXiv.2501.16848, 28 January 2025.
Brunsdon, C., Fotheringham, A. S., and Charlton, M. E.: Geographically Weighted Regression: A Method for Exploring Spatial Nonstationarity, Geogr. Anal., 28, 281–298, https://doi.org/10.1111/j.1538-4632.1996.tb00936.x, 1996.
Chen, D., Zhu, Y., Cui, X., and Gomes, C.: Task-Based Learning via Task-Oriented Prediction Network with Applications in Finance, in: Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, Twenty-Ninth International Joint Conference on Artificial Intelligence and Seventeenth Pacific Rim International Conference on Artificial Intelligence {IJCAI-PRICAI-20}, 4476–4482, https://doi.org/10.24963/ijcai.2020/617, 2020.
Chen, D., Bai, Y., Ament, S., Zhao, W., Guevarra, D., Zhou, L., Selman, B., Dover, R. B. van, Gregoire, J. M., and Gomes, C. P.: Automating Crystal-Structure Phase Mapping: Combining Deep Learning with Constraint Reasoning, arXiv [preprint], https://doi.org/10.48550/arXiv.2108.09523, 21 August 2021.
Cook-Patton, S. C., Leavitt, S. M., Gibbs, D., Harris, N. L., Lister, K., Anderson-Teixeira, K. J., Briggs, R. D., Chazdon, R. L., Crowther, T. W., Ellis, P. W., Griscom, H. P., Herrmann, V., Holl, K. D., Houghton, R. A., Larrosa, C., Lomax, G., Lucas, R., Madsen, P., Malhi, Y., Paquette, A., Parker, J. D., Paul, K., Routh, D., Roxburgh, S., Saatchi, S., van den Hoogen, J., Walker, W. S., Wheeler, C. E., Wood, S. A., Xu, L., and Griscom, B. W.: Mapping carbon accumulation potential from global natural forest regrowth, Nature, 585, 545–550, https://doi.org/10.1038/s41586-020-2686-x, 2020.
ElGhawi, R., Kraft, B., Reimers, C., Reichstein, M., Körner, M., Gentine, P., and Winkler, A. J.: Hybrid modeling of evapotranspiration: inferring stomatal and aerodynamic resistances using combined physics-based and machine learning, Environ. Res. Lett., 18, 034039, https://doi.org/10.1088/1748-9326/acbbe0, 2023.
Fang, J., Bowman, K., Zhao, W., Lian, X., and Gentine, P.: Differentiable Land Model Reveals Global Environmental Controls on Ecological Parameters, arXiv [preprint], https://doi.org/10.48550/arXiv.2411.09654, 14 November 2024.
Gal, Y. and Ghahramani, Z.: Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning, in: Proceedings of the 33rd International Conference on Machine Learning, 48, 1050–1059, 2016.
Girshick, R.: Fast R-CNN, arXiv [preprint], https://doi.org/10.48550/arXiv.1504.08083, 27 September 2015.
Glorot, X. and Bengio, Y.: Understanding the difficulty of training deep feedforward neural networks, in: Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, 249–256, 2010.
Hengl, T., Mendes De Jesus, J., Heuvelink, G. B. M., Ruiperez Gonzalez, M., Kilibarda, M., Blagotić, A., Shangguan, W., Wright, M. N., Geng, X., Bauer-Marschallinger, B., Guevara, M. A., Vargas, R., MacMillan, R. A., Batjes, N. H., Leenaars, J. G. B., Ribeiro, E., Wheeler, I., Mantel, S., and Kempen, B.: SoilGrids250m: Global gridded soil information based on machine learning, PLOS ONE, 12, e0169748, https://doi.org/10.1371/journal.pone.0169748, 2017.
Hoedt, P.-J., Kratzert, F., Klotz, D., Halmich, C., Holzleitner, M., Nearing, G. S., Hochreiter, S., and Klambauer, G.: MC-LSTM: Mass-Conserving LSTM, in: Proceedings of the 38th International Conference on Machine Learning, International Conference on Machine Learning, PMLR, 139, 4275–4286, 2021.
Huang, Y., Lu, X., Shi, Z., Lawrence, D., Koven, C. D., Xia, J., Du, Z., Kluzek, E., and Luo, Y.: Matrix approach to land carbon cycle modeling: A case study with the Community Land Model, Glob. Change Biol., 24, 1394–1404, https://doi.org/10.1111/gcb.13948, 2018.
Jian, J., Steele, M. K., Thomas, R. Q., Day, S. D., and Hodges, S. C.: Constraining estimates of global soil respiration by quantifying sources of variability, Glob. Change Biol., 24, 4143–4159, https://doi.org/10.1111/gcb.14301, 2018.
Jin, Z., Liu, L., Yang, Q., Jia, X., Tao, S., Guo, Y., Ghosh, R., Wang, S., Zhu, Q., Jung, M., Guan, K., Kumar, V., Reichstein, M., Fang, J., and Luo, Y.: Knowledge-Guided Machine Learning for Global Change Ecology Research, Glob. Change Biol., 32, e70742, https://doi.org/10.1111/gcb.70742, 2026.
Karpatne, A., Jia, X., and Kumar, V.: Knowledge-guided Machine Learning: Current Trends and Future Prospects, arXiv [preprint], https://doi.org/10.48550/ARXIV.2403.15989, 2024.
Klemmer, K., Safir, N., and Neill, D. B.: Positional Encoder Graph Neural Networks for Geographic Data, arXiv [preprint], https://doi.org/10.48550/arXiv.2111.10144, 15 February 2023.
Kraft, B., Jung, M., Körner, M., Koirala, S., and Reichstein, M.: Towards hybrid modeling of the global hydrological cycle, Hydrol. Earth Syst. Sci., 26, 1579–1614, https://doi.org/10.5194/hess-26-1579-2022, 2022.
Lawrence, D. M., Fisher, R. A., Koven, C. D., Oleson, K. W., Swenson, S. C., Bonan, G., Collier, N., Ghimire, B., van Kampenhout, L., Kennedy, D., Kluzek, E., Lawrence, P. J., Li, F., Li, H., Lombardozzi, D., Riley, W. J., Sacks, W. J., Shi, M., Vertenstein, M., Wieder, W. R., Xu, C., Ali, A. A., Badger, A. M., Bisht, G., van den Broeke, M., Brunke, M. A., Burns, S. P., Buzan, J., Clark, M., Craig, A., Dahlin, K., Drewniak, B., Fisher, J. B., Flanner, M., Fox, A. M., Gentine, P., Hoffman, F., Keppel-Aleks, G., Knox, R., Kumar, S., Lenaerts, J., Leung, L. R., Lipscomb, W. H., Lu, Y., Pandey, A., Pelletier, J. D., Perket, J., Randerson, J. T., Ricciuto, D. M., Sanderson, B. M., Slater, A., Subin, Z. M., Tang, J., Thomas, R. Q., Val Martin, M., and Zeng, X.: The Community Land Model Version 5: Description of New Features, Benchmarking, and Impact of Forcing Uncertainty, J. Adv. Model. Earth Sy., 11, 4245–4287, https://doi.org/10.1029/2018MS001583, 2019.
Liu, L., Zhou, W., Guan, K., Peng, B., Xu, S., Tang, J., Zhu, Q., Till, J., Jia, X., Jiang, C., Wang, S., Qin, Z., Kong, H., Grant, R., Mezbahuddin, S., Kumar, V., and Jin, Z.: Knowledge-guided machine learning can improve carbon cycle quantification in agroecosystems, Nat. Commun., 15, 357, https://doi.org/10.1038/s41467-023-43860-5, 2024.
Liu, Y., Kumar, M., Katul, G. G., Feng, X., and Konings, A. G.: Plant hydraulics accentuates the effect of atmospheric moisture stress on transpiration, Nat. Clim. Change, 10, 691–695, https://doi.org/10.1038/s41558-020-0781-5, 2020.
Lu, L., Pestourie, R., Yao, W., Wang, Z., Verdugo, F., and Johnson, S. G.: Physics-informed neural networks with hard constraints for inverse design, arXiv [preprint], https://doi.org/10.48550/arXiv.2102.04626, 9 February 2021.
Lu, X., Wang, Y.-P., Luo, Y., and Jiang, L.: Ecosystem carbon transit versus turnover times in response to climate warming and rising atmospheric CO2 concentration, Biogeosciences, 15, 6559–6572, https://doi.org/10.5194/bg-15-6559-2018, 2018.
Lu, X., Du, Z., Huang, Y., Lawrence, D., Kluzek, E., Collier, N., Lombardozzi, D., Sobhani, N., Schuur, E. A. G., and Luo, Y.: Full Implementation of Matrix Approach to Biogeochemistry Module of CLM5, J. Adv. Model. Earth Sy., 12, e2020MS002105, https://doi.org/10.1029/2020MS002105, 2020.
Luo, Y. and Schuur, E. A. G.: Model parameterization to represent processes at unresolved scales and changing properties of evolving systems, Glob. Change Biol., 26, 1109–1117, https://doi.org/10.1111/gcb.14939, 2020.
Luo, Y., Weng, E., Wu, X., Gao, C., Zhou, X., and Zhang, L.: Parameter identifiability, constraint, and equifinality in data assimilation with ecosystem models, Ecol. Appl., 19, 571–574, https://doi.org/10.1890/08-0561.1, 2009.
Luo, Y., Ahlström, A., Allison, S. D., Batjes, N. H., Brovkin, V., Carvalhais, N., Chappell, A., Ciais, P., Davidson, E. A., Finzi, A., Georgiou, K., Guenet, B., Hararuk, O., Harden, J. W., He, Y., Hopkins, F., Jiang, L., Koven, C., Jackson, R. B., Jones, C. D., Lara, M. J., Liang, J., McGuire, A. D., Parton, W., Peng, C., Randerson, J. T., Salazar, A., Sierra, C. A., Smith, M. J., Tian, H., Todd-Brown, K. E. O., Torn, M., van Groenigen, K. J., Wang, Y. P., West, T. O., Wei, Y., Wieder, W. R., Xia, J., Xu, X., Xu, X., and Zhou, T.: Toward more realistic projections of soil carbon dynamics by Earth system models, Global Biogeochem. Cy., 30, 40–56, https://doi.org/10.1002/2015GB005239, 2016.
Luo, Y., Huang, Y., Sierra, C. A., Xia, J., Ahlström, A., Chen, Y., Hararuk, O., Hou, E., Jiang, L., Liao, C., Lu, X., Shi, Z., Smith, B., Tao, F., and Wang, Y.-P.: Matrix Approach to Land Carbon Cycle Modeling, J. Adv. Model. Earth Sy., 14, e2022MS003008, https://doi.org/10.1029/2022MS003008, 2022.
Min, Y., Chang, M.-C., Kong, S., Gregoire, J. M., van Dover, R. B., Thompson, M. O., and Gomes, C. P.: Physically Informed Graph-Based Deep Reasoning Net for Efficient Combinatorial Phase Mapping, in: 2023 International Conference on Machine Learning and Applications (ICMLA), 2023 International Conference on Machine Learning and Applications (ICMLA), 392–399, https://doi.org/10.1109/ICMLA58977.2023.00061, 2023.
Raissi, M., Perdikaris, P., and Karniadakis, G. E.: Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, J. Comput. Phys., 378, 686–707, https://doi.org/10.1016/j.jcp.2018.10.045, 2019.
Reichstein, M., Camps-Valls, G., Stevens, B., Jung, M., Denzler, J., Carvalhais, N., and Prabhat: Deep learning and process understanding for data-driven Earth system science, Nature, 566, 195–204, https://doi.org/10.1038/s41586-019-0912-1, 2019.
Shen, C., Appling, A. P., Gentine, P., Bandai, T., Gupta, H., Tartakovsky, A., Baity-Jesi, M., Fenicia, F., Kifer, D., Li, L., Liu, X., Ren, W., Zheng, Y., Harman, C. J., Clark, M., Farthing, M., Feng, D., Kumar, P., Aboelyazeed, D., Rahmani, F., Song, Y., Beck, H. E., Bindas, T., Dwivedi, D., Fang, K., Höge, M., Rackauckas, C., Mohanty, B., Roy, T., Xu, C., and Lawson, K.: Differentiable modelling to unify machine learning and physical models for geosciences, Nat. Rev. Earth Environ., 4, 552–567, https://doi.org/10.1038/s43017-023-00450-9, 2023.
Shi, Z., Yang, Y., Zhou, X., Weng, E., Finzi, A. C., and Luo, Y.: Inverse analysis of coupled carbon–nitrogen cycles against multiple datasets at ambient and elevated CO2, J. Plant Ecol., 9, 285–295, https://doi.org/10.1093/jpe/rtv059, 2016.
Tan, T., Genova, G., Heuvelink, G. B. M., Lehmann, J., Poggio, L., Woolf, D., and You, F.: Importance of Terrain and Climate for Predicting Soil Organic Carbon Is Highly Variable across Local to Continental Scales, Environ. Sci. Technol., 58, 11492–11503, https://doi.org/10.1021/acs.est.4c01172, 2024.
Tao, F. and Luo, Y.: PROcess-Guided Deep Learning and DAta-Driven Modelling (PRODA), in: Land Carbon Cycle Modeling, CRC Press, https://doi.org/10.1201/9780429155659, 2022.
Tao, F., Zhou, Z., Huang, Y., Li, Q., Lu, X., Ma, S., Huang, X., Liang, Y., Hugelius, G., Jiang, L., Doughty, R., Ren, Z., and Luo, Y.: Deep Learning Optimizes Data-Driven Representation of Soil Organic Carbon in Earth System Model Over the Conterminous United States, Front. Big Data, 3, https://doi.org/10.3389/fdata.2020.00017, 2020.
Tao, F., Huang, Y., Hungate, B. A., Manzoni, S., Frey, S. D., Schmidt, M. W. I., Reichstein, M., Carvalhais, N., Ciais, P., Jiang, L., Lehmann, J., Wang, Y.-P., Houlton, B. Z., Ahrens, B., Mishra, U., Hugelius, G., Hocking, T. D., Lu, X., Shi, Z., Viatkin, K., Vargas, R., Yigini, Y., Omuto, C., Malik, A. A., Peralta, G., Cuevas-Corona, R., Di Paolo, L. E., Luotto, I., Liao, C., Liang, Y.-S., Saynes, V. S., Huang, X., and Luo, Y.: Microbial carbon use efficiency promotes global soil carbon storage, Nature, 618, 981–985, https://doi.org/10.1038/s41586-023-06042-3, 2023.
Tao, F., Houlton, B. Z., Huang, Y., Wang, Y.-P., Manzoni, S., Ahrens, B., Mishra, U., Jiang, L., Huang, X., and Luo, Y.: Convergence in simulating global soil organic carbon by structurally different models after data assimilation, Glob. Change Biol., 30, e17297, https://doi.org/10.1111/gcb.17297, 2024.
Tramontana, G., Migliavacca, M., Jung, M., Reichstein, M., Keenan, T. F., Camps-Valls, G., Ogee, J., Verrelst, J., and Papale, D.: Partitioning net carbon dioxide fluxes into photosynthesis and respiration using neural networks, Glob. Change Biol., 26, 5235–5253, https://doi.org/10.1111/gcb.15203, 2020.
Wesselkamp, M., Roberts, D. R., and Dormann, C. F.: Identifying potential provenances for climate-change adaptation using spatially variable coefficient models, BMC Ecol. Evol., 24, 70, https://doi.org/10.1186/s12862-024-02260-z, 2024a.
Wesselkamp, M., Moser, N., Kalweit, M., Boedecker, J., and Dormann, C. F.: Process-Informed Neural Networks: A Hybrid Modelling Approach to Improve Predictive Performance and Inference of Neural Networks in Ecology and Beyond, Ecol. Lett., 27, e70012, https://doi.org/10.1111/ele.70012, 2024b.
Willard, J., Jia, X., Xu, S., Steinbach, M., and Kumar, V.: Integrating Scientific Knowledge with Machine Learning for Engineering and Environmental Systems, ACM Comput. Surv., 55, 1–37, https://doi.org/10.1145/3514228, 2022.
Xu, H. and Fan, J.: Hardyxu8067/BINN: v1.0.1, Zenodo [code, data set], https://doi.org/10.5281/zenodo.20405976, 2026.