NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Differentiable modeling to unify machine learning and physical models and advance Geosciences

Chaopeng Shen, Alison P. Appling, Pierre Gentine, Toshiyuki Bandai, Hoshin V. Gupta, Alexandre Tartakovsky, Marco Baity-Jesi, Fabrizio Fenicia, Daniel Kifer, Li Li, Xiaofeng Liu, Wei Ren, Yi Zheng, Ciaran J. Harman, Martyn Clark, Matthew W. Farthing, Dapeng Feng, Praveen Kumar, Doaa Aboelyazeed, Farshid Rahmani, Hylke E. Beck, Tadd Bindas, Dipankar Dwivedi, Kuai Fang, Marvin Höge, Chris Rackauckas, Tirthankar Roy, Chonggang Xu, Kathryn LawsonarXiv 2023

Abstract

Differentiable Geosciences (DG) represents a transformative modeling paradigm that bridges the gap between traditional process-based physical models and modern machine learning. By leveraging differentiable programming, this approach allows physical equations to become "learnable," combining the interpretability of physics with the predictive power of deep learning. This paper outlines the roadmap for DG, demonstrating its potential to overcome knowledge gaps and achieve high accuracy in geoscientific applications.

The Divide: Physics vs. Data

For decades, the geosciences have been split between two modeling philosophies. Process-Based Models (PBMs) utilize systems of differential equations (ODEs and PDEs) to represent our understanding of physical, chemical, and biological laws. While highly interpretable and physically consistent, PBMs are notoriously difficult to update with "big data" and often fail where our knowledge of a process is incomplete—the so-called "knowledge gaps."

On the other hand, Machine Learning (ML), particularly deep neural networks, has achieved unprecedented predictive skill. However, pure ML is often a "black box": it is data-hungry, may ignore fundamental physical laws like mass balance, and struggles to generalize to conditions outside its training set (non-stationarity).

Comparison of purely data-driven neural networks and purely process-based models.

The Differentiable Geosciences (DG) Paradigm

The DG paradigm proposes a "marriage of convenience" between these two worlds. The core technology enabling this is Differentiable Programming, the same framework that allows neural networks to learn via backpropagation. By re-implementing physical models in differentiable frameworks such as PyTorch, TensorFlow, or Julia, the entire simulation—including the physical equations—becomes "trainable."

The evolution of differentiable modeling from a purely data-driven focus (a) to the full Differentiable Geosciences (DG) paradigm (b).

This paradigm shift allows for several key approaches:

  • Structural Priors: Retaining the trusted physical "backbone" of a model while replacing uncertain components (like empirical parameterizations) with neural networks.
  • Differentiable Parameter Learning (dPL): Utilizing neural networks to predict physical parameters based on local attributes, enabling efficient global calibration.
  • Physics-Informed Neural Networks (PINNs): Training networks to satisfy specific differential equations as a constraint.
  • Hybrid Architectures: Integrating neural networks as modules within larger physical simulations to "learn" missing physics directly from observations.

Key Insights and Results

One of the most significant advantages of DG is the Search Space Shift. DG can be viewed as either narrowing the "search space" of an ML model using physical constraints or expanding the "search space" of a physical model using learnable units. This dual nature allows models to predict "latent" or "untrained" variables—such as groundwater recharge or soil moisture—because the underlying physical equations link these variables to observed ones.

Empirical results in hydrology have been promising. A differentiable version of the HBV hydrologic model achieved a median Nash-Sutcliffe Efficiency (NSE) of 0.732, approaching the performance of the gold-standard LSTM (0.748). Crucially, in "ungauged" regions where the model was not trained, DG models outperformed pure ML because physical constraints prevented unphysical predictions. Furthermore, DG models demonstrated favorable scaling, where performance continued to improve with more data, unlike traditional PBMs which often saturate.

Limitations and Future Outlook

Despite its promise, the transition to DG faces hurdles. Re-implementing legacy Fortran or C++ models into differentiable frameworks is a significant engineering task. Additionally, while efficient once trained, the initial training of complex differentiable PDEs on GPUs remains computationally demanding. Future research must focus on verifying the physical significance of "learned" components and improving uncertainty quantification when mixing deterministic physics with stochastic neural networks.

In conclusion, differentiable modeling is more than a technical innovation; it is a philosophical shift. It allows geoscientists to leverage the big data revolution while continuing to ask fundamental scientific questions about "why" and "what if."

Summary updated

BibTeX
@misc{shen2023differentiable,
  author = {Chaopeng Shen and Alison P. Appling and Pierre Gentine and Toshiyuki Bandai and Hoshin V. Gupta and Alexandre Tartakovsky and Marco Baity-Jesi and Fabrizio Fenicia and Daniel Kifer and Li Li and Xiaofeng Liu and Wei Ren and Yi Zheng and Ciaran J. Harman and Martyn Clark and Matthew W. Farthing and Dapeng Feng and Praveen Kumar and Doaa Aboelyazeed and Farshid Rahmani and Hylke E. Beck and Tadd Bindas and Dipankar Dwivedi and Kuai Fang and Marvin Höge and Chris Rackauckas and Tirthankar Roy and Chonggang Xu and Kathryn Lawson},
  title = {{Differentiable modeling to unify machine learning and physical models and advance Geosciences}},
  year = {2023},
  eprint = {2301.04027},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.04027},
}
Figure