Table of Contents

Physics-Informed Neural Networks (PINNs)

Physics-Informed Neural Networks (PINNs) are a class of deep learning models that embed known physical laws — expressed as partial differential equations (PDEs) or ordinary differential equations (ODEs) — directly into the neural network training process as soft constraints in the loss function.1) This approach bridges data-driven machine learning with first-principles physics, enabling solutions that respect conservation laws, boundary conditions, and governing equations even with sparse or noisy data.

Core Concept

A PINN approximates the solution to a differential equation by training a neural network whose loss function includes three components:

The composite loss is:

L = L_D + L_F + L_B

The network learns to minimize all three simultaneously, producing solutions that are consistent with both observed data and known physics.2)

Training Process

  1. Define a neural network with inputs (spatial/temporal coordinates, parameters) and outputs (physical field quantities)
  2. Formulate the composite loss from data, PDE residuals, and boundary conditions
  3. Sample collocation points throughout the domain
  4. Compute PDE residuals using automatic differentiation (backpropagation computes the partial derivatives needed)
  5. Optimize using Adam followed by L-BFGS for fine-tuning
  6. Enforce boundary conditions either softly (as penalty terms) or via hard constraints built into the network architecture
  7. Validate against known solutions or experimental data

Advantages

Limitations

Applications

Key Frameworks

Key Researchers

See Also

References

1)
M. Raissi, P. Perdikaris, and G.E. Karniadakis, “Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations,” Journal of Computational Physics, 378:686-707, 2019. ScienceDirect
2)
Steve Brunton, “Physics Informed Neural Networks (PINNs),” University of Washington, 2024. YouTube
3)
P. Kumar and R. Ranjan, “A robust data-free physics-informed neural network for compressible flows with shocks,” Computers & Fluids, 308:106975, March 2026. ScienceDirect
4)
M. Cieslar, “Physics-Informed Neural Networks (PINNs),” Astronomical Observatory, University of Warsaw, October 2025. OAUW
5)
L. Lu et al., “DeepXDE: A Deep Learning Library for Solving Differential Equations,” SIAM Review, 2021.
6)
NVIDIA, “Modulus: A Framework for Physics-ML.” developer.nvidia.com
7)
D. Coscia et al., “PINA: Physics-Informed Neural networks for Advanced modeling,” JOSS, July 2023. JOSS