Introduction
Physics-Informed Neural Networks (PINNs) have emerged as a powerful framework for solving Partial Differential Equations (PDEs) by embedding physical laws into the loss function. However, a significant computational bottleneck arises when dealing with high-dimensional, second-order PDEs, such as the Hamilton-Jacobi-Bellman (HJB) equations in optimal control. The standard approach relies on "stacked back-propagation," where automatic differentiation (AD) is applied recursively to compute higher-order derivatives. This process is inherently sequential and computationally expensive, scaling poorly as the input dimension $d$ increases.
Methodology: Avoiding Stacked Back-propagation
To overcome this limitation, this work introduces a derivative estimation method that bypasses the need for nested AD passes. The core idea involves a re-parameterization of the solution using Gaussian smoothing and Stein’s Identity.
Gaussian Smoothed Model
Instead of directly optimizing a standard neural network $f(x)$, the solution $u(x)$ is defined as the expectation of the network's output over a local Gaussian neighborhood: $$u(x) = \mathbb{E}_{\delta \sim \mathcal{N}(0, \sigma^2 I)} [f(x + \delta)]$$ This formulation treats the solution at any point $x$ as a smoothed average of the base network $f$ in its vicinity.
Stein’s Identity for Derivative Estimation
By leveraging Stein’s Identity, the derivative of the expectation can be transformed into an expectation of the function itself multiplied by a noise term. This mathematical shift allows for the estimation of derivatives, including the Laplacian $\Delta u$, through Monte Carlo sampling in a single forward pass. Consequently, the derivative calculation becomes embarrassingly parallel, moving the computational load from the sequential "backward" pass to the parallelizable "forward" pass.
Variance Reduction Techniques
Direct application of Stein estimators can introduce significant noise, leading to unstable training. To mitigate this, two variance reduction techniques are employed:
- Control Variates: Centering the distribution by subtracting a baseline, typically $f(x)$.
- Antithetic Variables: Sampling noise in symmetric pairs ($\pm \delta$) to cancel out random fluctuations.
Experimental Evaluation
The proposed method was tested against standard PINNs on three PDE benchmarks of varying dimensionality.
High-Dimensional Scalability
The primary advantage of this approach is evident in high-dimensional settings:
- 100D Heat Equation: Training time was reduced from 2.35 minutes to 0.83 minutes (a ~2.8x speedup) while maintaining a low L1 error of approximately 0.5%.
- 250D HJB Equation: The method achieved a ~3.2x speedup, reducing training time from 38.16 hours to 12.07 hours.
These results demonstrate that the method achieves $O(1)$ time complexity relative to dimension for derivative calculations, effectively utilizing GPU parallelism.
Accuracy in Low Dimensions
In the 2D Poisson equation case, the model achieved a point-wise error of less than $2 \times 10^{-3}$ across the majority of the domain. This confirms that the Gaussian smoothing does not inherently degrade the network's ability to learn precise solutions for relatively smooth PDEs.
Discussion and Limitations
While the method offers significant speedups in high dimensions, it introduces a constant overhead due to Monte Carlo sampling. In low-dimensional problems (e.g., 2D), this overhead makes the method slower than traditional AD-based PINNs. Additionally, the Gaussian smoothing acts as a regularizer that limits the Lipschitz constant of the learned function, which may pose challenges for PDEs with sharp gradients or discontinuities.
Conclusion
By replacing sequential stacked back-propagation with parallelizable Stein’s derivative estimators, this approach significantly enhances the scalability of PINNs for high-dimensional second-order PDEs. The integration of variance reduction techniques ensures that this efficiency does not come at the cost of training stability or accuracy.
Summary updated