Learning Physics-Informed Neural Networks without Stacked Back-propagation

Di He, Shanda Li, Wenlei Shi, Xiaotian Gao, Jia Zhang, Jiang Bian, Liwei Wang, Tie-Yan Liu

TL;DR

Standard Physics-Informed Neural Networks (PINNs) scale poorly on high-dimensional, high-order partial differential equations (PDEs) because computing derivative-based losses requires slow, sequential "stacked" back-propagation. This paper introduces a back-propagation-free derivative estimator using Gaussian smoothed models and Stein's Identity, enabling fully parallelized training that achieves over a 3x speedup on 250-dimensional problems without sacrificing accuracy.

What Problem Does This Paper Address?

Physics-Informed Neural Networks (PINNs) have become a go-to framework for solving partial differential equations (PDEs) by embedding physical laws directly into a neural network's loss function. However, they hit a massive scalability wall when facing high-dimensional, second-order PDEs (like those found in optimal control or financial engineering).

The culprit is stacked back-propagation. To compute the PDE residual loss, modern deep learning frameworks must perform automatic differentiation multiple times to calculate high-order partial derivatives before they can even begin the actual back-propagation step to update the network's weights. This process is inherently sequential and scales poorly with the input dimension ($O(d^{k-1})$ for a $k$-th order, $d$-dimensional PDE), making standard PINNs computationally intractable for large-scale, high-dimensional settings.

Methods

The authors bypass stacked back-propagation entirely by redesigning how the PDE solution is parameterized and evaluated:

  1. Gaussian Smoothed Parameterization: Instead of using a standard neural network directly as the solution, they define the solution $u(x; \theta)$ as a smoothed model—specifically, the expected output of a base network $f$ under injected Gaussian noise: $$u(x; \theta) = \mathbb{E}_{\delta \sim \mathcal{N}(0, \sigma^2 I)} [f(x+\delta; \theta)]$$
  2. Back-propagation-free Derivative Estimation: By applying Stein's Identity, the derivatives of the smoothed model $u$ with respect to the input $x$ can be rewritten as expectations of the base network's outputs multiplied by a noise term. This means first-order gradients, Hessians, and Laplacians can be estimated simultaneously in a single forward pass using Monte Carlo sampling.
  3. Variance Reduction: Naively estimating Stein derivatives introduces massive variance, especially when the noise level ($\sigma$) is small. To stabilize training, the authors implement two variance reduction techniques:
  4. Control Variates: Using the un-noised network output $f(x)$ as a baseline.
  5. Antithetic Variables: Sampling symmetric noise pairs ($\delta$ and $-\delta$) and averaging their results.

Combined, these techniques make the estimator's variance independent of $\sigma$, allowing the network to maintain high model capacity without unstable training.

Figure 1: Training process of the original PINN approach and our approach. The original approach requires multiple backward passes to compute the derivative terms in the loss. By contrast, our approach leverages the Stein’s derivative estimators to compute the loss without back-propagation.

Datasets

The method was evaluated using synthetic data generated from three distinct PDE benchmarks:

  • 2-Dimensional Poisson's Equation: Used as a low-dimensional sanity check and for visual verification.
  • 100-Dimensional Heat Equation: A standard high-dimensional parabolic PDE.
  • 250-Dimensional Hamilton-Jacobi-Bellman (HJB) Equation: A complex, non-linear, high-dimensional second-order PDE common in optimal control theory.

Key Insights and Ideas

  • Trading Exactness for Parallelism: The core "aha!" moment is realizing that by smoothing the model, we can trade exact, sequentially computed analytical derivatives for stochastic, fully parallelizable estimators. This shifts the dimension-level computational complexity from $O(d^{k-1})$ to $O(1)$ on parallel hardware like GPUs.
  • The Expressivity-Variance Dilemma: The authors prove that a large noise level ($\sigma$) restricts the model's Lipschitz constant, severely limiting its capacity to fit complex, sharp PDE solutions. Conversely, a small $\sigma$ blows up vanilla estimator variance.
  • Symmetry Saves the Day: The combination of control variates and antithetic sampling completely decouples the estimator's variance from $\sigma$. This mathematical synergy is what makes the method practically viable, yielding a 100x accuracy improvement in second-order derivative estimation.

Key Results

  • Significant High-Dimensional Speedups: On the 100-dimensional Heat Equation, the proposed method achieved a 2.83x speedup (0.83 minutes vs. 2.35 minutes) while matching the accuracy of standard PINNs ($L^1$ error of 0.53% vs. 0.52%).
  • Scaling to 250 Dimensions: For the highly non-linear 250-dimensional HJB equation, the method cut training time from 38.16 hours down to 12.07 hours (a 3.16x speedup), maintaining a highly competitive $L^1$ relative error of 0.91% compared to the baseline's 0.95%.
  • Low-Dimensional Overhead: On the 2D Poisson equation, the method was actually slower than standard PINNs (28.44s vs. 18.96s). This confirms that the approach is specialized for high-dimensional regimes where the parallelization benefits outweigh the Monte Carlo sampling overhead.

Limitations and Future Work

  • High-Dimension Specificity: The acceleration benefits disappear in low-dimensional settings due to the overhead of drawing thousands of Gaussian samples ($K=2048$ in experiments) per iteration.
  • Precision Limits: Although variance reduction helps, $\sigma$ still cannot be made arbitrarily close to zero because dividing by tiny values (like $\sigma^4$ in the Laplacian estimator) introduces floating-point round-off errors.
  • Future Directions: The authors suggest extending this back-propagation-free paradigm to broader classes of complex PDEs beyond the parabolic and elliptic equations explored in this work.

Summary updated

BibTeX
@inproceedings{he2023learning,
  author = {Di He and Shanda Li and Wenlei Shi and Xiaotian Gao and Jia Zhang and Jiang Bian and Liwei Wang and Tie-Yan Liu},
  title = {{Learning Physics-Informed Neural Networks without Stacked Back-propagation}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
}
Figure