Skip to main content
QUICK REVIEW

[Paper Review] Bias-Variance Trade-off in Physics-Informed Neural Networks with Randomized Smoothing for High-Dimensional PDEs

Zheyuan Hu, Zhouhao Yang|arXiv (Cornell University)|Nov 26, 2023
Model Reduction and Neural NetworksPhysics and Astronomy9 citations
TL;DR

The paper analyzes biases in Randomized Smoothing PINNs (RS-PINN) for high-dimensional PDEs, develops debiasing techniques and a hybrid biased-unbiased approach, and validates them on several high-D PDEs.

ABSTRACT

While physics-informed neural networks (PINNs) have been proven effective for low-dimensional partial differential equations (PDEs), the computational cost remains a hurdle in high-dimensional scenarios. This is particularly pronounced when computing high-order and high-dimensional derivatives in the physics-informed loss. Randomized Smoothing PINN (RS-PINN) introduces Gaussian noise for stochastic smoothing of the original neural net model, enabling Monte Carlo methods for derivative approximation, eliminating the need for costly auto-differentiation. Despite its computational efficiency in high dimensions, RS-PINN introduces biases in both loss and gradients, negatively impacting convergence, especially when coupled with stochastic gradient descent (SGD). We present a comprehensive analysis of biases in RS-PINN, attributing them to the nonlinearity of the Mean Squared Error (MSE) loss and the PDE nonlinearity. We propose tailored bias correction techniques based on the order of PDE nonlinearity. The unbiased RS-PINN allows for a detailed examination of its pros and cons compared to the biased version. Specifically, the biased version has a lower variance and runs faster than the unbiased version, but it is less accurate due to the bias. To optimize the bias-variance trade-off, we combine the two approaches in a hybrid method that balances the rapid convergence of the biased version with the high accuracy of the unbiased version. In addition, we present an enhanced implementation of RS-PINN. Extensive experiments on diverse high-dimensional PDEs, including Fokker-Planck, HJB, viscous Burgers', Allen-Cahn, and Sine-Gordon equations, illustrate the bias-variance trade-off and highlight the effectiveness of the hybrid RS-PINN. Empirical guidelines are provided for selecting biased, unbiased, or hybrid versions, depending on the dimensionality and nonlinearity of the specific PDE problem.

Motivation & Objective

  • Identify sources of bias in RS-PINN arising from MSE nonlinearity and PDE nonlinearity.
  • Develop debiasing strategies to correct identified biases for linear and nonlinear PDEs.
  • Propose a hybrid biased-unbiased RS-PINN to optimize convergence speed and accuracy.
  • Extend RS-PINN implementation with improved, lower-variance derivative estimations.
  • Provide empirical guidelines for choosing biased, unbiased, or hybrid RS-PINN based on problem characteristics.

Proposed method

  • Model RS-PINN as a smoothed neural network with Gaussian noise and Monte Carlo estimates of derivatives.
  • Decompose bias into two sources: MSE loss nonlinearity and PDE nonlinearity.
  • Debias Lb by using two independent Gaussian samples to form a product of MC estimates (Lb^(1)); prove unbiasedness.
  • Debias Lr for nonlinear PDEs by debiasing the squared gradient term using multiple Gaussian samples (Lr^(2)); generalize to nonlinearity order with n independent samples.
  • Introduce a hybrid scheme that starts biased for fast convergence and switches to unbiased for accuracy.
  • Provide implementation improvements for separate x- and t-noising in derivatives to reduce variance.
Figure 2: Anisotropic FP PDE: $10^{4}$ D convergence curves with respect to the epoch (left) and time (right). The hybrid version converges well by applying the biased version first; then, the unbiased version is used for finetuning and getting an even more stable final convergence result. Solely ap
Figure 2: Anisotropic FP PDE: $10^{4}$ D convergence curves with respect to the epoch (left) and time (right). The hybrid version converges well by applying the biased version first; then, the unbiased version is used for finetuning and getting an even more stable final convergence result. Solely ap

Experimental results

Research questions

  • RQ1What are the primary sources of bias in RS-PINN when solving high-dimensional PDEs?
  • RQ2How can we debias the RS-PINN loss and its gradients for linear versus nonlinear PDEs?
  • RQ3How does a biased-unbiased hybrid RS-PINN perform relative to purely biased or purely unbiased approaches across dimensions and nonlinearity orders?
  • RQ4What practical guidelines can be derived for choosing RS-PINN variants based on dimensionality and PDE nonlinearity?

Key findings

  • Biased RS-PINN has lower variance and faster per-epoch runtime but can be less accurate due to bias.
  • Unbiased RS-PINN removes bias at the cost of higher variance and slower convergence, especially in high dimensions.
  • Bias from MSE nonlinearity can be debiased via independent re-sampling (Lb^(1)); PDE nonlinearity requires additional sampling (Lg^(2)) to achieve unbiased gradients.
  • A hybrid biased-unbiased RS-PINN leverages fast initial convergence with bias and fine-tunes with unbiased estimates for accuracy.
  • Experiments on high-dimensional Fokker-Planck, HJB, viscous Burgers’, Allen-Cahn, and Sine-Gordon equations illustrate the bias-variance trade-off and the effectiveness of the hybrid approach.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.