A differentiable, physics-informed ecosystem modeling and learning framework for large-scale inverse problems: Demonstration with photosynthesis simulations

Doaa Aboelyazeed, Chonggang Xu, F. Hoffman, Jiangtao Liu, Alex W. Jones, Christopher Rackauckas, Kathryn Lawson, Chaopeng Shen

Abstract

This paper introduces diffEcosys, a differentiable ecosystem modeling framework that integrates deep learning with physics-based equations to address large-scale inverse problems. By making the photosynthesis module of the Functionally Assembled Terrestrial Ecosystem Simulator (FATES) programmatically differentiable, the framework enables the simultaneous learning of complex plant parameters from global datasets. This hybrid approach significantly reduces prediction biases and improves generalization compared to traditional site-by-site calibration methods.

Introduction

Predicting ecosystem responses to climate change relies heavily on Process-Based Models (PBMs). However, these models contain numerous parameters, such as the maximum rate of carboxylation ($V_{c,max25}$), which are difficult to estimate accurately. Traditional calibration is often performed site-by-site, leading to issues with scalability, non-uniqueness (equifinality), and poor global generalization. The authors propose a move from local "tuning" to global "learning" by creating a model that respects physical laws while leveraging the pattern-recognition power of neural networks.

Methodology: Differentiable Parameter Learning

The core innovation is Differentiable Parameter Learning (dPL). The researchers re-implemented the FATES photosynthesis module in PyTorch and Julia, allowing gradients to flow backward through the physical equations.

The dPL framework integrates neural networks with process-based models (PBMs) to learn physical parameters from raw inputs.

As shown in the workflow, a neural network predicts physical parameters (e.g., $V_{c,max25}$, $B$) from raw inputs like Plant Functional Types (PFT) and soil attributes. These parameters are then fed into the PBM to simulate $CO_2$ uptake. The entire chain is differentiable, enabling the use of gradient descent to optimize neural network weights across global datasets simultaneously.

Mathematical formulation of the photosynthesis module within the differentiable framework.

The physical backbone consists of the Farquhar-von Caemmerer-Berry (FvCB) model equations, which describe leaf-level photosynthesis for C3 and C4 plants. The framework also includes a parallel Newton solver for efficient computation, significantly faster than the iterative methods used in older ecosystem models.

Data and Experimental Setup

The framework was evaluated using the Lin15 global leaf gas exchange database, which contains measurements from 43 sites across 9 Plant Functional Types. Meteorological forcing was provided by ERA5 Reanalysis, and global soil attribute datasets were used for environmental context. Synthetic benchmarks were also employed to verify the framework's ability to recover known parameters before application to real-world data.

Key Results

The dPL framework demonstrated substantial improvements over traditional literature-based parameterization:

  • Bias Reduction: In cross-validation, the framework reduced prediction bias from 1.330 to 0.022 $\mu mol m^{-2} s^{-1}$.
  • Accuracy Boost: The correlation (COR) between predicted and observed photosynthesis increased from 0.539 to 0.763.
  • Efficiency: The system can train on thousands of data points in under 10 minutes.
  • Parameter Insights: The learned $V_{c,max25}$ values were generally higher than those found in current Earth System Models (ESMs), suggesting that existing models might be systematically underestimating photosynthetic potential.

Conclusion and Future Work

The diffEcosys framework signals a shift in geosciences toward hybrid models that offer both physical interpretability and machine learning scalability. While currently focused on static parameters, future work will address "memory" effects (e.g., drought legacy) and structural learning to replace missing physical processes with neural components. This approach provides a robust path forward for large-scale inverse modeling in ecosystem science.

Summary updated

BibTeX
@inproceedings{aboelyazeed2023differentiable,
  author = {Doaa Aboelyazeed and Chonggang Xu and F. Hoffman and Jiangtao Liu and Alex W. Jones and Christopher Rackauckas and Kathryn Lawson and Chaopeng Shen},
  title = {{A differentiable, physics-informed ecosystem modeling and learning framework for large-scale inverse problems: Demonstration with photosynthesis simulations}},
  booktitle = {Zenodo},
  year = {2023},
  doi = {10.5281/zenodo.7975389},
}
Figure