Zero Coordinate Shift: Whetted Automatic Differentiation for Physics-informed Operator Learning
Not on the map. Why?
Abstract (arXiv)
Automatic differentiation (AD) is a critical step in physics-informed machine learning, required for computing the high-order derivatives of network output w.r.t. coordinates of collocation points. In this paper, we present a novel and lightweight algorithm to conduct AD for physics-informed operator learning, which we call the trick of Zero Coordinate Shift (ZCS). Instead of making all sampled coordinates as leaf variables, ZCS introduces only one scalar-valued leaf variable for each spatial or temporal dimension, simplifying the wanted derivatives from "many-roots-many-leaves" to "one-root-many-leaves" whereby reverse-mode AD becomes directly utilisable. It has led to an outstanding performance leap by avoiding the duplication of the computational graph along the dimension of functions (physical parameters). ZCS is easy to implement with current deep learning libraries; our own implementation is achieved by extending the DeepXDE package. We carry out a comprehensive benchmark analysis and several case studies, training physics-informed DeepONets to solve partial differential equations (PDEs) without data. The results show that ZCS has persistently reduced GPU memory consumption and wall time for training by an order of magnitude, and such reduction factor scales with the number of functions. As a low-level optimisation technique, ZCS imposes no restrictions on data, physics (PDE) or network architecture and does not compromise training results from any aspect.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 41 references that are in the map. First posted on arXiv 1 Nov 2023.
Builds on
26 of 41 references.
References · 26
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operatorscited by 1,965
- 2021Characterizing possible failure modes in physics-informed neural networkscited by 632
- 2019DeepXDE: A deep learning library for solving differential equationscited by 617
- 2022Scientific Machine Learning through Physics-Informed Neural Networks: Where we are and What's nextcited by 603
- 2020hp-VPINNs: Variational Physics-Informed Neural Networks With Domain Decompositioncited by 236
- 2021Gradient-enhanced physics-informed neural networks for forward and inverse PDE problemscited by 220
- 2020PhyGeoNet: Physics-Informed Geometry-Adaptive Convolutional Neural Networks for Solving Parameterized Steady-State PDEs on Irregular Domaincited by 173
- 2021Finite Basis Physics-Informed Neural Networks (FBPINNs): a scalable domain decomposition approach for solving differential equationscited by 142
- 2021Exact imposition of boundary conditions with distance functions in physics-informed deep neural networkscited by 135
- 2018Physics-Informed Generative Adversarial Networks for Stochastic Differential Equationscited by 133
- 2017A unified deep artificial neural network approach to partial differential equations in complex geometriescited by 122
14 more
- 2021PhyCRNet: Physics-informed Convolutional-Recurrent Network for Solving Spatiotemporal PDEscited by 97
- 2020A Method for Representing Periodic Functions and Enforcing Exactly Periodic Boundary Conditions with Deep Neural Networkscited by 86
- 2020Learning Differential Equations that are Easy to Solvecited by 81
- 2020Multi-scale Deep Neural Network (MscaleDNN) for Solving Poisson-Boltzmann Equation in Complex Domainscited by 78
- 2021Understanding Pooling in Graph Neural Networkscited by 69
- 2023Separable Physics-Informed Neural Networkscited by 64
- 2019A Phase Shift Deep Neural Network for High Frequency Approximation and Wave Problemscited by 34
- 2022Accelerated Training of Physics-Informed Neural Networks (PINNs) using Meshless Discretizationscited by 26
- 2020Linearly Constrained Neural Networkscited by 18
- 2023Fuzzing Automatic Differentiation in Deep-Learning Librariescited by 16
- 2022JAX-DIPS: Neural bootstrapping of finite discretization methods and application to elliptic problems with discontinuitiescited by 7
- 2022Replacing Automatic Differentiation by Sobolev Cubatures fastens Physics Informed Neural Nets and strengthens their Approximation Powercited by 4
- 2023Software-based Automatic Differentiation is Flawedcited by 3
- 2022Neuro-symbolic partial differential equation solvercited by 1
Built on by
Not cited yet.