S$^{2}$-PINN: Stochastic Separable Physics-Informed Neural Networks

Zhendong Li, Akwum OnwuntaNeurIPS 2026

TL;DR

In the real world, physical systems are messy—material properties vary, boundary conditions fluctuate, and forces are uncertain. S²-PINN solves random partial differential equations (PDEs) by cleanly Untangling space, time, and randomness into separate, specialized mathematical branches, then stitching them back together with low-rank tensor math. The result? A tiny, label-free neural solver that calculates statistical moments and calibrated uncertainty intervals far more accurately than standard physics-informed networks, using nearly 30 times fewer parameters.

What Problem Does This Paper Address?

Modeling physical laws with PDEs—like fluid flow through porous rock or heat diffusing across a metal plate—gets much harder when the system's parameters aren't known exactly, but are instead governed by random variables ($\mathbf{Z}$). Rather than a single deterministic answer, engineers need Uncertainty Quantification (UQ): what is the average behavior, what is the variance, and how reliable are our confidence intervals?

Classical UQ methods (like Monte Carlo or Stochastic Galerkin solvers) are trustworthy, but they hit a computational brick wall—the infamous "curse of dimensionality"—requiring thousands of repeated simulations or massive coupled equations as the number of random variables grows.

Physics-Informed Neural Networks (PINNs) offer a mesh-free, data-free alternative by baking PDE equations directly into a neural network's loss function. However, standard PINNs treat random variables just like extra spatial coordinates, tossing everything into one big multilayer perceptron (MLP). This ignores the underlying statistical structure, scales poorly, and forces you to sample densely just to guess the output's mean and variance. Meanwhile, Separable PINNs (SPINNs) have sped up deterministic PDEs by splitting up spatial axes, but naively adding stochastic dimensions to them creates a dense coefficient tensor that explodes in size.

Methods

The authors introduce S²-PINN (Stochastic Separable PINN), an architecture designed around a simple philosophy: space, time, and randomness behave differently, so give each its own tailored representation.

Figure 1: S2-PINN architecture. Three specialized branches—spatial (Gaussian dictionary with warp), temporal (learnable Fourier), stochastic (Hermite gPC)—are coupled via a rank-q CP core using Hadamard products. The hybrid loss combines PDE residual, gPC projection, boundary/initial conditions, and orthogonality regularization.

Instead of one giant black-box network, S²-PINN splits inputs into three specialized branches:

  1. Space ($\mathbf{x}$): A learnable dictionary of Gaussian "atoms" (bumps) paired with a tiny coordinate-warping MLP to adapt to spatial features.
  2. Time ($t$): Sine and cosine Fourier features with learnable frequencies, allowing time derivatives to be computed analytically rather than via expensive automatic differentiation.
  3. Randomness ($\mathbf{Z}$): Generalized Polynomial Chaos (gPC) basis functions—essentially orthogonal polynomials (like Hermite polynomials for Gaussian inputs) specifically chosen to match the probability distribution of the random inputs.

The Glue (Low-Rank CP Coupling): Instead of multiplying every spatial, temporal, and stochastic feature together—which would cost $O(M \cdot M_t \cdot G)$ operations—S²-PINN links the three branches using a Canonical Polyadic (CP) tensor decomposition of rank $q$. This expresses the solution as a sum of $q$ simple rank-one products, slashing computational complexity to linear scaling: $O((M + M_t + G)q)$. Because the gPC basis is orthonormal, statistical moments (like mean and variance) can be extracted cleanly, and spatial derivative costs are completely isolated from the number of stochastic modes.

Hybrid Physics Loss: Training doesn't use labeled simulation data. Alongside standard pointwise PDE residuals, S²-PINN adds a gPC-projected residual loss—which the authors prove is mathematically equivalent to a classical Stochastic Galerkin constraint—plus an orthogonality regularizer that keeps the spatial dictionary well-conditioned.

Datasets

Because S²-PINN is strictly physics-informed, it trains on collocation points rather than pre-computed datasets, though reference solutions are generated to test accuracy:

  • Four Manufactured Benchmarks: Transient Diffusion, Allen–Cahn (cubic reaction), Burgers (nonlinear advection), and steady-state Darcy flow. The first three have polynomial dependence on 5 random variables, while Darcy uses a tougher exponential dependence.
  • Non-Manufactured Forward Problems: 2D Stochastic Poisson and log-normal Darcy flow (evaluated against 10,000-sample finite-difference Monte Carlo runs), plus 2D incompressible Stochastic Navier–Stokes in vorticity form.
  • Scaling & Inverse Benchmarks: A high-dimensional diffusion stress test scaling up to $R=50$ random dimensions (23,426 gPC modes), and two stochastic inverse problems (2D diffusion and Burgers) using 1,000 scattered observations to infer unknown random-field parameters alongside the PDE solution.

Key Insights and Ideas

  • Spectral projection is a double-edged sword—and you can diagnose it before training: The gPC-projected loss acts like a spectral regularizer. When the true PDE solution aligns well with low-order polynomials, projection boosts accuracy and locks in uncertainty calibration. However, in log-normal Darcy flow (where exponential terms push energy into high-degree polynomial modes), forcing a low-degree projection actually introduces bias. Better yet, the authors provide a simple offline metric—the Subspace Energy Ratio (SER)—that checks the input random field before training even starts. If $\text{SER} < 95\%$, you know immediately to raise the polynomial degree or turn off the projection loss.
  • Architecture amplifies physics losses: Tacking the exact same gPC projection loss onto a standard MLP PINN yields erratic, mostly worse results. It works in S²-PINN because the network's separable gPC representation is structurally aligned with the projection math.
  • Calibration without accuracy is a trap: Vanilla PINNs and Deep Ensembles occasionally achieve decent empirical coverage intervals on paper, yet miss the actual mean and variance by an order of magnitude. S²-PINN nails both the moments and the calibration curve simultaneously.

Key Results

Using a single default hyperparameter setup across benchmarks (~7K parameters vs. ~200K for a Vanilla PINN, and 1 GB of GPU memory vs. 4 GB), S²-PINN outperforms nine baselines—including Deep Ensembles, PI-DeepONet, SPINN+Z, and even a supervised Neural Chaos oracle:

  • Manufactured PDEs: S²-PINN achieves relative $L^2$ errors in the $10^{-3}$ range for both mean ($3.44\times 10^{-3}$ to $4.40\times 10^{-3}$) and variance ($4.07\times 10^{-3}$ to $5.41\times 10^{-3}$), beating baselines by roughly one to two orders of magnitude.
  • Calibration: Across four nominal confidence levels (50% to 95%), S²-PINN hugs the ideal calibration diagonal with a mean calibration error of just $0.005\text{–}0.006$, whereas MC-Dropout severely under-covers.
Figure 2: Reliability diagrams. (a) Empirical coverage vs. nominal level, averaged over 4 PDEs. S2-PINN with projection and its no-projection ablation, Vanilla PINN; Deep Ensemble. The dashed diagonal indicates perfect calibration. (b) Per-PDE coverage gap, empirical minus nominal, for S2-PINN with and without projection.
  • Real-World & High-D Scaling: On non-manufactured Poisson, it cuts mean error by $59\times$ and variance error by $5\times$ vs. Vanilla PINNs. When pushed to 50 random dimensions on diffusion, it still maintains ~1% relative error ($1.09 \times 10^{-2}$ mean, $1.24 \times 10^{-2}$ variance).
  • Inverse Problems: Starting from poor guesses, S²-PINN jointly reconstructs the full stochastic solution field while recovering unknown random-field log-mean and standard deviation parameters to within $5 \times 10^{-5}$ on diffusion and $10^{-3}$ on nonlinear Burgers.

Limitations and Future Work

  • Regular geometry bias: Like other separable coordinate architectures, S²-PINN naturally prefers rectangular, grid-friendly domains. Tackling complex, irregular engineering geometries will require geometry-aware dictionaries, coordinate mappings, or mesh-based hybrids.
  • Truncation and rank bottlenecks: While the authors prove asymptotic density in $L^2$, using a finite rank $q$ and finite polynomial degree $p$ inevitably introduces approximation and truncation errors—especially for heavy-tailed or strongly non-polynomial random processes.
  • Future directions: The authors point toward adaptive CP rank selection during training, learnable gPC truncation strategies for unknown or complex input distributions, and geometry-adaptive coordinate warps.

Summary updated

Abstract

Uncertainty quantification (UQ) for random partial differential equations (PDEs) is ubiquitous in computational science and engineering. However, classical spectral solvers for this class of problems face the curse of dimensionality, and existing neural solvers often ignore the stochastic structure that makes moments and calibration tractable. We introduce a stochastic separable physics-informed neural network, dubbed S$^{2}$-PINN, that represents the solution $u(t,\mathbf{x},\mathbf{Z})$ of a random PDE with a learnable Gaussian spatial dictionary, Fourier temporal features, and a generalized polynomial chaos (gPC) stochastic basis, coupled by a low-rank Canonical Polyadic (CP) tensor decomposition core. The method is trained with a hybrid strong-form and gPC-projected residual loss. Our theoretical analysis establishes that the separable class is dense in $L^2$ under mild conditions, and the projected residual corresponds exactly to a stochastic Galerkin constraint. Furthermore, we show that mini-batch projection coefficients are logarithmically dependent on the number of gPC modes, and that the orthogonality penalty controls the conditioning of the learned spatial dictionary. Using four manufactured random PDE benchmarks, we show that S$^{2}$-PINN outperforms nine baselines in terms of mean and variance accuracy, as well as calibration, while using significantly fewer parameters. Further evaluations on non-manufactured Poisson and Darcy problems, a stochastic Navier--Stokes problem, a diffusion scaling study of higher random dimensions, and two stochastic inverse problems reveal the generalization capabilities of the proposed structure. Together, these results support stochastic separability as an effective design principle for physics-informed neural UQ. The code for the experiments can be found in [GitHub](https://github.com/DMax1314/s2pinn).
BibTeX
@inproceedings{li2026s,
  author = {Zhendong Li and Akwum Onwunta},
  title = {{S$^\{2\}$-PINN: Stochastic Separable Physics-Informed Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=lwTb5ix4w9},
}
Figure