Abstract
Approximation of solutions to partial differential equations (PDE) is an important problem in computational science and engineering. Using neural networks as an ansatz for the solution has proven a challenge in terms of training time and approximation accuracy. In this contribution, we discuss how sampling the hidden weights and biases of the ansatz network from data-agnostic and data-dependent probability distributions allows us to progress on both challenges. In most examples, the random sampling schemes outperform iterative, gradient-based optimization of physics-informed neural networks regarding training time and accuracy by several orders of magnitude. For time-dependent PDE, we construct neural basis functions only in the spatial domain and then solve the associated ordinary differential equation with classical methods from scientific computing over a long time horizon. This alleviates one of the greatest challenges for neural PDE solvers because it does not require us to parameterize the solution in time. For second-order elliptic PDE in Barron spaces, we prove the existence of sampled networks with $L^2$ convergence to the solution. We demonstrate our approach on several time-dependent and static PDEs. We also illustrate how sampled networks can effectively solve inverse problems in this setting. Benefits compared to common numerical schemes include spectral convergence and mesh-free construction of basis functions.
Introduction
Physics-Informed Neural Networks (PINNs) have emerged as a versatile, mesh-free tool for solving partial differential equations (PDEs). However, their widespread adoption is hindered by two primary "core barriers": the difficulty of optimizing complex, non-convex loss functions via gradient descent, and the "causality gap," where treating time as a spatial dimension ignores the sequential nature of physical systems. This often leads to training instability, high computational costs, and failure to capture high-frequency dynamics over long horizons.
Methodology: The Frozen-PINN Framework
The proposed Frozen-PINN approach addresses these barriers by fundamentally changing how the neural network is trained. Instead of iterative gradient-based optimization, the method relies on random features and adaptive ODE solvers.
Space-Time Separation and Loss Decoupling
The core innovation lies in separating the spatial and temporal components of the solution. The solution is parameterized as: $$\hat{u}(x, t) = \sum_{i=1}^N c_i(t)\sigma(w_i \cdot x + b_i)$$ In this formulation, the spatial hidden layer parameters ($w_i$ and $b_i$) are sampled from a distribution and then frozen (never trained). Only the time-dependent output coefficients $c_i(t)$ are evolved. This transforms the PDE into a system of Ordinary Differential Equations (ODEs) for the coefficients, which can be solved using classical, efficient adaptive solvers like RK45.
Furthermore, the PINN loss is decoupled. The PDE residual is handled by the ODE solver, boundary conditions can be imposed as hard constraints, and initial conditions are solved as a simple least-squares problem. This eliminates the need for balancing competing loss terms with hyperparameters.
Smart Sampling: SWIM
To effectively capture sharp features like shocks or steep gradients, the authors introduce Sample Where It Matters (SWIM). While standard Extreme Learning Machines (ELM) use data-agnostic sampling (e.g., Gaussian), SWIM uses initial data to place basis functions specifically where the solution's gradients are steepest.
Experimental Evaluation
The Frozen-PINN framework was evaluated across eight challenging benchmarks, including linear advection, Burgers’ equation, and high-dimensional heat equations (up to 100D). The latter demonstrates the ability to overcome the "curse of dimensionality" where mesh-based methods fail.
Key Results
- Efficiency: Frozen-PINNs achieved training speedups of 45x to 100,000x compared to state-of-the-art PINN variants. On a standard laptop CPU, they often outperformed GPU-trained PINNs.
- Accuracy: The method frequently delivered 2 to 6 orders of magnitude better accuracy than standard PINNs.
- Stability: By construction, the method respects causality, allowing for stable simulations over long time horizons (e.g., 1000 seconds) where traditional PINNs typically diverge.
Conclusion
Frozen-PINNs represent a significant shift in neural PDE solvers. By leveraging the power of random features and classical numerical analysis, they bypass the optimization pitfalls of gradient descent. While currently requiring explicit PDE knowledge, the framework's efficiency and accuracy make it a compelling alternative to traditional numerical schemes and standard deep learning approaches.
Summary updated