AI & Computingarticle2026-11-12

Differentiable Programming for Differential Equations: A Review

Open access58 citations

Abstract

Abstract. The differentiable programming paradigm is a cornerstone of modern scientific computing. It refers to numerical methods for computing the gradient of a numerical model’s output. Many scientific models are based on differential equations, in which differentiable programming plays a crucial role in calculating model sensitivities, inverting model parameters, and training hybrid models that combine differential equations with data-driven approaches. Furthermore, recognizing the strong synergies between inverse methods and machine learning offers the opportunity to establish a coherent framework applicable to both fields. Differentiating functions based on the numerical solution of differential equations is nontrivial. Numerous methods based on a wide variety of paradigms have been proposed in the literature, each with pros and cons specific to the type of problem investigated. Here, we provide a comprehensive review of existing techniques to compute derivatives of numerical solutions of differential equations. We first discuss the importance of gradients of solutions of differential equations in a variety of scientific domains. Second, we lay out and compare the mathematical foundations of the various approaches. Third, we cover computational considerations and explore the solutions available in modern scientific software. Last but not least, we provide best practices and recommendations for practitioners. We hope that this work accelerates the fusion of scientific models and data and fosters a modern approach to scientific modeling.

// Source

View paper (DOI)Open access versionOpenAlexSIAM ReviewPublished 2026-11-12

Authors: Facundo Sapienza, Jordi Bolíbar, Frank Schäfer, Brian Groenke, Avik Pal, Victor Boussange, Patrick Heimbach, Giles Hooker, Fernando Pérez, Per‐Olof Persson, Christopher Rackauckas

Institutions: University of Pennsylvania, Technische Universität Berlin, Delft University of Technology, Université Grenoble Alpes, The University of Texas at Austin, Centre National de la Recherche Scientifique, Massachusetts Institute of Technology, University of California, Berkeley, Institut de Recherche pour le Développement, Alfred-Wegener-Institut Helmholtz-Zentrum für Polar- und Meeresforschung, Swiss Federal Institute for Forest, Snow and Landscape Research, Institut des Géosciences de l'Environnement