NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Applications and Manipulations of Physics-Informed Neural Networks in Solving Differential Equations

Aarush Gupta, Kendric Hsu, Syna MathodarXiv 2025 · DOI

Abstract

Physics-Informed Neural Networks (PINNs) represent a paradigm shift in scientific computing, integrating physical laws into deep learning frameworks. This paper evaluates PINNs in solving forward and inverse differential equation problems, highlighting their superior stability over traditional numerical methods like the Finite Difference Method (FDM) in regimes violating the CFL condition.

Introduction

Traditional deep learning models are often viewed as "black boxes" that require massive amounts of data. In scientific fields like fluid dynamics or medical imaging, data is frequently sparse or noisy, leading standard neural networks to overfit or produce results that violate physical laws. Conversely, traditional numerical solvers like the Finite Difference Method (FDM) are mathematically rigorous but highly sensitive to stability constraints. This paper investigates how PINNs bridge this gap by embedding the underlying differential equations directly into the learning process.

Methodology

The core innovation of a PINN is its loss function, which combines data-driven learning with physical constraints. The total loss is defined as: $$L_{total} = L_{data} + \lambda L_{residual}$$

  • $L_{data}$: The standard Mean Squared Error (MSE) between predictions and actual data.
  • $L_{residual}$: A term that calculates how well the network's output satisfies the governing differential equation.
  • $\lambda$: A regularization parameter that balances the influence of the physics vs. the raw data.
Figure 1: Schematic of a Physics-Informed Neural Network (PINN) architecture, illustrating the integration of data loss and residual loss components.

The authors implemented these networks using PyTorch and automatic differentiation, progressing from simple linear models to the complex Heat Equation.

Experimental Setup

To evaluate performance, the authors utilized synthetic datasets generated with controlled parameters and Gaussian noise ($\sigma^2 = 0.01$). For instance, linear models were trained on noisy points to see if the network could recover the underlying ground truth.

Figure 2: Synthetic noisy data points plotted against the ground truth linear function, representing the typical training input for the PINN.

For the Heat Equation, 100 points were generated from the analytical solution $u(x, t) = e^{-\pi^2 D t} \sin(\pi x)$ with $D=0.1$. A key part of the evaluation involved training on the interval $[0, 1]$ and testing on $[ -1, 2]$ to assess the model's ability to extrapolate based on physical priors.

Key Insights and Results

Stability and Robustness

The most significant finding was the comparison between PINNs and FDM regarding the CFL condition ($D\Delta t \leq 0.5(\Delta x)^2$). When this condition is violated, FDM errors grow exponentially. In a test case where the CFL condition was broken ($D=0.045$), the FDM MSE exploded to $3.52 \times 10^{128}$, while the PINN maintained a low MSE of $1.558 \times 10^{-7}$.

Inverse Problem Success

PINNs proved highly effective at "discovering" unknown physical constants. When tasked with finding an unknown thermal diffusivity $D$, the network converged to $0.0999$ (ground truth $0.1$) in approximately 72 seconds.

The Role of Regularization

The authors identified a "Goldilocks Zone" for the regularization parameter, finding that $\lambda = 1.0$ provided the best balance. Setting $\lambda$ too low caused overfitting to noise, while setting it too high made the model too rigid to fit the actual data points.

Conclusion and Future Work

PINNs demonstrate remarkable precision and stability, particularly in regimes where traditional numerical methods fail. While the current study relied on synthetic data and manual architectural tuning, it proves the concept for more complex applications. The authors aim to apply these PINNs to Glioblastoma (brain tumor) infiltration models, incorporating biological growth laws to predict tumor spread from sparse MRI data.

Summary updated

BibTeX
@misc{gupta2025applications,
  author = {Aarush Gupta and Kendric Hsu and Syna Mathod},
  title = {{Applications and Manipulations of Physics-Informed Neural Networks in Solving Differential Equations}},
  year = {2025},
  eprint = {2507.19522},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.19522},
}
Figure