On the failure of ReLU activation for physics-informed machine learning
Not on the map. Why?
Abstract (arXiv)
Physics-informed machine learning uses governing ordinary and/or partial differential equations to train neural networks to represent the solution field. Like any machine learning problem, the choice of activation function influences the characteristics and performance of the solution obtained from physics-informed training. Several studies have compared common activation functions on benchmark differential equations, and have unanimously found that the rectified linear unit (ReLU) is outperformed by competitors such as the sigmoid, hyperbolic tangent, and swish activation functions. In this work, we diagnose the poor performance of ReLU on physics-informed machine learning problems. While it is well-known that the piecewise linear form of ReLU prevents it from being used on second-order differential equations, we show that ReLU fails even on variational problems involving only first derivatives. We identify the cause of this failure as second derivatives of the activation, which are taken not in the formulation of the loss, but in the process of training. Namely, we show that automatic differentiation in PyTorch fails to characterize derivatives of discontinuous fields, which causes the gradient of the physics-informed loss to be mis-specified, thus explaining the poor performance of ReLU.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 9 of its 28 references that are in the map. First posted on arXiv 12 Dec 2025.
Builds on
9 of 28 references.
References · 9
- 2020Implicit Neural Representations with Periodic Activation Functionscited by 2,238
- 2017DGM: A deep learning algorithm for solving partial differential equationscited by 678
- 2017The Deep Ritz method: A deep learning-based numerical algorithm for solving variational problemscited by 583
- 2019AI Feynman: a Physics-Inspired Method for Symbolic Regressioncited by 548
- 2021Exact imposition of boundary conditions with distance functions in physics-informed deep neural networkscited by 137
- 2022Visualizing high-dimensional loss landscapes with Hessian directionscited by 16
- 2023Learning Specialized Activation Functions for Physics-informed Neural Networkscited by 14
- 2024Higher-order-ReLU-KANs (HRKANs) for solving physics-informed neural networks (PINNs) more accurately, robustly and fastercited by 13
- 2025Enhancing Physics-Informed Neural Networks Through Feature Engineeringcited by 8
Built on by
Citing papers per year: 2026: 1.
1 paper.