Spline-PINN: Approaching PDEs without Data Using Fast, Physics-Informed Hermite-Spline CNNs

Nils Wandel, Michael Weinmann, Michael Neidlin, Reinhard Klein

Solving Partial Differential Equations (PDEs) is fundamental to fields like aerodynamics, weather forecasting, and wave propagation. Traditionally, researchers have faced a trade-off between the high accuracy but slow speed of classical solvers (CFD), the data-free but geometry-specific nature of Physics-Informed Neural Networks (PINNs), and the fast but artifact-prone performance of physics-constrained Convolutional Neural Networks (CNNs).

Presented at AAAI-22, Spline-PINN introduces a hybrid architecture that bridges these gaps. It combines the data-free training of PINNs with the speed and generalization of CNNs by utilizing Hermite splines to represent continuous physical fields on a discrete grid.

Methodology: Bridging Grids and Continua

The core innovation of Spline-PINN is the use of Hermite Spline Kernels. Standard CNNs predict raw pixel values, which often leads to discretization artifacts when calculating gradients (finite differences) at high Reynolds numbers. In contrast, Spline-PINN predicts the coefficients of Hermite splines—piecewise polynomials that ensure mathematical smoothness across the grid.

The Spline-PINN pipeline translates discrete spline coefficients into a continuous Hermite spline representation, allowing for exact gradient calculation within the PDE model.

Because these splines have analytical derivatives, the model can calculate exact gradients (such as velocity or pressure changes) at any point in space. This differentiable pipeline allows the network to be trained using a "Physics-Informed Loss," where the error signal is derived from how much a prediction violates physical laws (e.g., Navier-Stokes equations) rather than its distance from ground-truth data.

Data-Free Training and Generalization

Unlike traditional PINNs, which must be retrained for every new domain geometry, Spline-PINN learns a generalized PDE model. During training, the model is exposed to a variety of randomized synthetic domains and obstacle shapes.

The iterative training loop utilizes a physics-informed loss to update the PDE Net and training pool without requiring ground-truth simulation data.

This unsupervised approach allows the model to learn general physical principles. For fluid simulations, the authors further simplify the learning process by using a vector potential to ensure the fluid remains incompressible (divergence-free) by design.

Key Results and Performance

Spline-PINN demonstrates significant improvements over previous machine learning approaches to fluid dynamics:

  • Real-Time Inference: The model achieves speeds of 30–60 FPS, making it orders of magnitude faster than industrial CFD solvers like Ansys.
  • High Fidelity at Scale: The model successfully handles high Reynolds numbers ($Re=10,000$), capturing complex phenomena like Karman vortex streets and the Doppler effect with far fewer artifacts than finite-difference-based CNNs.
  • Benchmark Accuracy: In the standard DFG cylinder-in-flow benchmark, Spline-PINN produced drag and lift coefficients remarkably close to official values—a milestone for fully unsupervised ML methods.

Limitations and Future Outlook

While Spline-PINN represents a major step forward, challenges remain. The current implementation focuses on Dirichlet boundary conditions; extending the framework to Neumann or Robin boundaries is a priority for future work. Additionally, while the mathematical framework scales to 3D, the memory requirements for 3D spline coefficients on dense grids present a significant engineering hurdle. Future iterations may explore "multigrid" Hermite spline CNNs to further enhance resolution and efficiency.

Summary updated

BibTeX
@inproceedings{wandel2022spline,
  author = {Nils Wandel and Michael Weinmann and Michael Neidlin and Reinhard Klein},
  title = {{Spline-PINN: Approaching PDEs without Data Using Fast, Physics-Informed Hermite-Spline CNNs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i8.20830},
}
Figure