piratenet
PINNeval: A Comprehensive Evaluation Standard for Physics-Informed Neural Networks
von Bargen, Kevin, Ebrahimy, Hamid, Römer, Tim
The Physics-Informed Neural Network (PINN) literature has produced a rapidly expanding catalogue of methods. We divide a PINN training pipeline systematically into four components and observe that many existing benchmarks study these components in isolation. These components are domain-importance adaptation, loss balancing, neural network architecture, and optimization scheme. Moreover, the studies set the surrounding and not considered components of the pipeline to a minimal default that is no longer representative of current best practice approaches. Conclusions drawn under such conditions may not transfer to competitive pipelines. In this work, we propose a new evaluation protocol that (1) treats the four components as an integrated system; (2) crucially requires competitive implementations of the components not under investigation; (3) specifies the metrics and reporting format; and (4) is accompanied by structured documentation that ensures the traceability of evaluations across studies. Based on this comprehensive protocol, we release PINNpipe, an innovative JAX package containing 18 different methods from the current literature as well as nine efficiently implemented benchmark problems. Using PINNpipe, we illustrate our evaluation protocol in relation to established benchmark studies and report results that challenge common assumptions.
Fourier Feature Pyramids for Physics-Informed Neural Networks
Zhao, Brandon, Wang, Yixuan, Barron, Jonathan T., Bouman, Katherine L., Verbin, Dor, Srinivasan, Pratul P.
ABSTRACT We present an improved neural field architecture for solving partial differential equations (PDEs). Current physics-informed neural networks (PINNs) provide a flexible framework for solving PDEs, but they struggle to achieve highly accurate solutions and require computation that scales poorly with parameter count. Our model, which we call beignet(Bandlimited Embedding with Interpolated Grid Network), replaces the random Fourier feature embedding used by existing PINN models with a trainable multi-resolution Fourier feature pyramid. To query beignetat a continuous coordinate, we use Fourier interpolation at each level of the pyramid to return features at the input coordinate, and then decode this vector with a fully-connected neural network trunk. Our model provides multiple benefits: 1) Spatial derivatives can be computed efficiently by using the chain rule to compose derivatives of the neural network computed with automatic differentiation with derivatives of the feature grid computed spectrally by the Fast Fourier transform (FFT). We demonstrate that beignetfinds significantly more accurate solutions on PDE benchmarks using fewer parameters than state-of-the-art PINN methods. We further evaluate beigneton the self-similar inviscid Burgers blowup problem and show that it can minimize residuals to near machine precision using Adam, an accuracy regime previously attained only by using computationally expensive higher-order optimizers. 1 INTRODUCTION Physics-informed neural networks (PINNs) (Raissi et al., 2019) are a flexible approach for approximating partial differential equation (PDE) solutions by parameterizing them as coordinate-based neural networks (multilayer perceptrons, or MLPs, that take in coordinates and output values of the field). PINNs are optimized to minimize the PDE residual over batches of coordinates sampled from the solution domain. As noted in prior work (Basri et al., 2020; Rahaman et al., 2019; Xu et al., 2020; 2019), neural networks suffer from spectral bias as standard gradient descent optimization dynamics result in them learning low-frequency components much faster than high-frequency components. Fourier feature embeddings (Tancik et al., 2020) mitigate this problem by passing input coordinates through a set of sinusoidal mappings before applying the MLP. In PINNs, the frequencies for these sinusoids are typically sampled from Gaussian distributions, with a single scalar that controls the bandwidth of the induced kernel (Wang et al., 2021). Existing approaches for scaling PINNs to more challenging problems rely on increasing either the Fourier feature bandwidth or the size of the underlying MLP, but both strategies introduce significant optimization and computational challenges. Alternatively, increasing the size of the MLP substantially increases the computational cost of evaluating PDE derivatives through automatic differentiation.
TINNs: Time-Induced Neural Networks for Solving Time-Dependent PDEs
Dai, Chen-Yang, Chang, Che-Chia, Lin, Te-Sheng, Lai, Ming-Chih, Lai, Chieh-Hsin
Physics-informed neural networks (PINNs) solve time-dependent partial differential equations (PDEs) by learning a mesh-free, differentiable solution that can be evaluated anywhere in space and time. However, standard space-time PINNs take time as an input but reuse a single network with shared weights across all times, forcing the same features to represent markedly different dynamics. This coupling degrades error performance and can destabilize training when enforcing PDE, boundary, and initial constraints jointly. We propose Time-Induced Neural Networks (TINNs), a novel architecture that parameterizes the network weights as a learned function of time, allowing the effective spatial representation to evolve over time while maintaining shared structure. The resulting formulation naturally yields a nonlinear least-squares problem, which we optimize efficiently using a Levenberg-Marquardt method. Experiments on various time-dependent PDEs show up to 4 times improved relative error and 10 times faster convergence compared to PINNs and strong baselines.
PirateNets: Physics-informed Deep Learning with Residual Adaptive Networks
Wang, Sifan, Li, Bowen, Chen, Yuhan, Perdikaris, Paris
While physics-informed neural networks (PINNs) have become a popular deep learning framework for tackling forward and inverse problems governed by partial differential equations (PDEs), their performance is known to degrade when larger and deeper neural network architectures are employed. Our study identifies that the root of this counter-intuitive behavior lies in the use of multi-layer perceptron (MLP) architectures with non-suitable initialization schemes, which result in poor trainablity for the network derivatives, and ultimately lead to an unstable minimization of the PDE residual loss. To address this, we introduce Physics-informed Residual Adaptive Networks (PirateNets), a novel architecture that is designed to facilitate stable and efficient training of deep PINN models. PirateNets leverage a novel adaptive residual connection, which allows the networks to be initialized as shallow networks that progressively deepen during training. We also show that the proposed initialization scheme allows us to encode appropriate inductive biases corresponding to a given PDE system into the network architecture. We provide comprehensive empirical evidence showing that PirateNets are easier to optimize and can gain accuracy from considerably increased depth, ultimately achieving state-of-the-art results across various benchmarks. All code and data accompanying this manuscript will be made publicly available at \url{https://github.com/PredictiveIntelligenceLab/jaxpi}.