LGMSNACOMP-PHSep 9, 2024

Differentiable programming across the PDE and Machine Learning barrier

arXiv:2409.06085v111 citationsh-index: 3
Originality Incremental advance
AI Analysis

This work addresses the problem for scientists and engineers by providing a productive tool for combining PDE-based simulations and machine learning, though it is incremental as it builds on existing differentiable programming concepts.

The authors tackled the challenge of integrating PDE solvers with machine learning frameworks by introducing a generic differentiable programming abstraction that automates coupling and enables new applications with minimal code changes, achieving integration with Firedrake, PyTorch, and JAX.

The combination of machine learning and physical laws has shown immense potential for solving scientific problems driven by partial differential equations (PDEs) with the promise of fast inference, zero-shot generalisation, and the ability to discover new physics. Examples include the use of fundamental physical laws as inductive bias to machine learning algorithms, also referred to as physics-driven machine learning, and the application of machine learning to represent features not represented in the differential equations such as closures for unresolved spatiotemporal scales. However, the simulation of complex physical systems by coupling advanced numerics for PDEs with state-of-the-art machine learning demands the composition of specialist PDE solving frameworks with industry-standard machine learning tools. Hand-rolling either the PDE solver or the neural net will not cut it. In this work, we introduce a generic differentiable programming abstraction that provides scientists and engineers with a highly productive way of specifying end-to-end differentiable models coupling machine learning and PDE-based components, while relying on code generation for high performance. Our interface automates the coupling of arbitrary PDE-based systems and machine learning models and unlocks new applications that could not hitherto be tackled, while only requiring trivial changes to existing code. Our framework has been adopted in the Firedrake finite-element library and supports the PyTorch and JAX ecosystems, as well as downstream libraries.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes