Physics-Informed Deep B-Spline Networks

Zhuoyuan Wang, Raffaele Romagnoli, Saviz Mowlavi, Yorie Nakahira

TL;DR

Physics-Informed Deep B-Spline Networks (PI-BSNet) combine the flexibility of neural networks with the structural guarantees of B-splines to solve parametric families of partial differential equations (PDEs). By predicting a compact set of B-spline control points instead of dense solution values, PI-BSNet enforces initial and boundary conditions by construction and leverages analytical derivatives to drastically accelerate training.

What Problem Does This Paper Address?

Physics-Informed Neural Networks (PINNs) have revolutionized how we solve partial differential equations (PDEs) by embedding physical laws directly into neural network loss functions. However, standard PINNs struggle when applied to families of parametric PDEs where system parameters, initial conditions, or boundary conditions (ICBCs) change dynamically.

Existing methods typically treat ICBCs as "soft constraints" by adding penalty terms to the loss function. This approach requires tedious hyperparameter tuning and frequently fails to guarantee exact compliance, especially when initial conditions are highly variable or discontinuous. Furthermore, computing PDE residuals across the entire space-time domain using automatic differentiation (AD) is computationally heavy, making real-time inference or rapid training difficult for safety-critical, time-varying applications like autonomous control.

Methods

The authors introduce PI-BSNet, an architecture that decouples parameter learning from spatial-temporal representation by integrating a neural network with a structured B-spline basis.

Figure 1: Diagram of PI-BSNet. The coefficient network takes system and ICBC parameters as input and outputs the control points tensor, which is then multiplied by the B-spline basis to produce the final output. Physics and data losses are used to train the coefficient network using closed-form derivative formulas, while the compliance of ICBC conditions is strictly enforced through the B-spline basis.

The framework consists of two main components:

  1. Coefficient Network ($G_\theta$): A standard multilayer perceptron (MLP) that takes the PDE parameters ($u$) and ICBC parameters ($\alpha$) as inputs. Instead of predicting the solution values directly, it outputs a compact tensor of B-spline control points ($\tilde{C}$).
  2. B-Spline Basis Functions: A fixed, pre-calculated tensor product of B-spline bases. The final PDE solution prediction ($\tilde{s}$) is generated by multiplying the predicted control points by this basis.

Key Innovations:

  • Hard Constraints by Construction: By utilizing clamped knot vectors for the B-splines, the boundary and initial values of the predicted function match the boundary control points exactly. Dirichlet boundary conditions and initial conditions are directly assigned to these control points, completely eliminating the need for corresponding loss terms.
  • Analytical Derivatives: Instead of relying on computationally expensive automatic differentiation (AD) to compute physics residuals, PI-BSNet uses closed-form, analytical derivative formulas inherent to B-splines.
  • Theoretical Guarantees: The paper fills a critical theoretical gap by proving that deep B-spline networks are universal approximators for families of parametric PDEs and deriving explicit generalization error bounds for elliptic and parabolic PDE settings.

Datasets

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

  1. Recovery Probabilities (Convection-Diffusion Equation): A 1D space + 1D time problem featuring a severe discontinuity at the initial boundary, simulating safety probabilities in dynamical systems.
  2. Advection Equations with Nonhomogeneous ICBCs: A problem with high-frequency sinusoidal initial conditions and varying wave velocities.
  3. Diffusion on a Trapezoid: A problem testing the network's capability on non-rectangular domains using a coordinate mapping transformation.

Key Insights and Ideas

  • Learning Control Points vs. Dense Grids: Shifting the network's objective from predicting millions of individual space-time grid values to predicting a compact set of control points drastically simplifies the optimization landscape.
  • The Power of Analytical Gradients: B-splines possess exact, cheap-to-compute derivatives. Bypassing automatic differentiation for the physics loss removes a massive computational bottleneck during backpropagation.
  • Zero-Loss Initialization for Boundaries: Because Dirichlet boundaries are hard-coded into the spline structure, the boundary loss is exactly zero from epoch one. This prevents the network from experiencing "gradient pathologies" where physics losses and boundary losses battle each other during training.

Key Results

PI-BSNet was compared against nine baseline methods, including standard PINNs, hard-constrained variants (EPINN, SFHCPINN), and operator learning methods (PI-DeepONet, PI-FNO).

  • Superior Accuracy on Discontinuities: In the recovery probability task, PI-BSNet accurately captured the ground truth solution, whereas all baseline models failed to resolve the sharp discontinuity near the boundary.
Visualizations comparing the recovery probability predictions and absolute errors of PI-BSNet against various baselines.
  • Blazing Fast Convergence: PI-BSNet's loss dropped significantly faster than any baseline, achieving stable convergence in a fraction of the epochs.
Loss convergence curves over training epochs for PI-BSNet and baseline models.
  • Optimal Efficiency-Accuracy Trade-off: PI-BSNet achieved the lowest prediction error while requiring the shortest training time among all tested models. At test time, the forward pass took a mere $\sim 10^{-4}$ seconds.
Training time vs. prediction error trade-off graph highlighting PI-BSNet's superior performance.

Limitations and Future Work

Despite its impressive performance, the authors note a few limitations:

  • The Curse of Dimensionality: For an $n$-dimensional problem, the number of control points scales exponentially as $O(\ell^n)$. This makes fixed B-spline bases parameter-heavy for very high-dimensional PDEs.
  • Domain Restrictions: Standard B-splines natively support rectangular domains. While the authors successfully used domain transformations to solve a trapezoidal problem, extending the method to highly complex, irregular geometries remains an open challenge.

Future research directions include incorporating adaptive knot placement to reduce the number of required control points and exploring hierarchical B-splines to scale the framework to higher dimensions.

Summary updated

Abstract

Physics-informed machine learning offers a promising framework for solving complex partial differential equations (PDEs) by integrating observational data with governing physical laws. However, learning PDEs with varying parameters and changing initial conditions and boundary conditions (ICBCs) with theoretical guarantees remains an open challenge. In this paper, we propose physics-informed deep B-spline networks, a novel technique that approximates a family of PDEs with different parameters and ICBCs by learning B-spline control points through neural networks. The proposed B-spline representation reduces the learning task from predicting solution values over the entire domain to learning a compact set of control points, enforces strict compliance to initial and Dirichlet boundary conditions by construction, and enables analytical computation of derivatives for incorporating PDE residual losses. While existing approximation and generalization theories are not applicable in this setting - where solutions of parametrized PDE families are represented via B-spline bases - we fill this gap by showing that B-spline networks are universal approximators for such families under mild conditions. We also derive generalization error bounds for physics-informed learning in both elliptic and parabolic PDE settings, establishing new theoretical guarantees. Finally, we demonstrate in experiments that the proposed technique has improved efficiency-accuracy tradeoffs compared to existing techniques in a dynamical system problem with discontinuous ICBCs and can handle nonhomogeneous ICBCs and non-rectangular domains.
BibTeX
@article{wang2026physics,
  author = {Zhuoyuan Wang and Raffaele Romagnoli and Saviz Mowlavi and Yorie Nakahira},
  title = {{Physics-Informed Deep B-Spline Networks}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure