TL;DR
Physics-Informed Neural Networks (PINNs) offer an elegant, mesh-free framework for solving partial differential equations (PDEs), but suffer severely from the curse of dimensionality due to point-wise coordinate processing and expensive reverse-mode automatic differentiation. The authors introduce Separable PINN (SPINN), an architecture that factorizes coordinates across individual axes and leverages forward-mode automatic differentiation. This reduces network evaluations from $\mathcal{O}(n^d)$ to $\mathcal{O}(nd)$, achieving up to a $57\times$ wall-clock training speedup and over $1,100\times$ fewer FLOPs while matching or improving accuracy.
What Problem Does This Paper Address?
Standard PINNs parameterize the solution to a PDE using a single multi-layer perceptron (MLP) taking $d$-dimensional coordinate inputs: $\hat{u} = f(x_1, x_2, \dots, x_d)$. When evaluating PDE residual losses over a grid of resolution $n$ across $d$ dimensions, the model must process $n^d$ collocation points point-by-point.
Computing spatial and temporal derivatives at each of these $n^d$ points requires repeated passes through automatic differentiation (AD). As spatial resolution $n$ or dimensionality $d$ increases, both forward passes and memory consumption explode exponentially. Consequently, high-dimensional PDEs or dense collocation grids quickly exceed GPU memory limits and become computationally intractable to train.
Methods
SPINN tackles this bottleneck by decoupling multi-dimensional space into coordinate axes and restructuring how gradients are computed:
- Separated Body-Networks: Instead of passing concatenated coordinates to one MLP, SPINN assigns an independent sub-network $f_{\theta_i}: \mathbb{R} \to \mathbb{R}^r$ to each coordinate axis $i \in \{1, \dots, d\}$. Each body network takes a 1D coordinate and outputs an $r$-dimensional feature vector.
- Low-Rank Tensor Product Merging: Inspired by CANDECOMP/PARAFAC (CP) tensor decomposition, the solution is reconstructed via outer products and summation: $$\hat{u}(x) = \sum_{j=1}^r \prod_{i=1}^d f_{\theta_i, j}(x_i)$$
- Forward-Mode AD on Factorized Coordinates: Standard PINNs evaluate $n^d$ points, making forward-mode AD impractical. However, by querying body networks on 1D grids of size $n$ per dimension (only $nd$ total inputs) to produce outputs of size $n^d$ via cheap tensor merging, the Jacobian matrix becomes very "tall" ($nd \ll n^d$). Here, forward-mode AD (Jacobian-Vector Products / JVPs) is dramatically cheaper than reverse-mode AD (Vector-Jacobian Products / VJPs), requiring only $\mathcal{O}(nd)$ function evaluations instead of $\mathcal{O}(n^d)$.
- Parameter Optimization: Standard reverse-mode backpropagation is retained strictly for updating model parameters $\theta$ during loss minimization.
Datasets
Because PINNs solve continuous physical equations in an unsupervised manner, synthetic physical systems and PDE benchmarks are used rather than empirical datasets:
- 3D Linear & Non-linear Heat Diffusion Equations: Parabolic PDEs modeled on spatial domain $[-1, 1]^2$ and time $[0, 1]$. Ground truth solutions are generated numerically using the FEM-based solver FEniCS.
- 3D Helmholtz Equation: A time-independent wave equation on $[-1, 1]^3$, evaluated using an exact manufactured sinusoidal solution.
- (2+1)D Non-linear Klein-Gordon Equation: A hyperbolic relativistic wave equation evaluated over $[-1, 1]^2 \times [0, 10]$ against an analytical manufactured solution.
Key Insights and Ideas
- Linear Complexity in Grid Resolution: Factorizing coordinates shifts MLP evaluations from $\mathcal{O}(n^d)$ to $\mathcal{O}(nd)$. Increasing grid resolution (e.g., from $90^3$ to $360^3$) incurs barely noticeable computational overhead.
- The Tall-Jacobian Advantage: While machine learning predominantly relies on reverse-mode AD (backprop), separated function architectures produce tall Jacobian mappings ($\mathbb{R}^{nd} \to \mathbb{R}^{n^d}$). Forward-mode AD is analytically optimal for tall Jacobians, enabling orders-of-magnitude reduction in derivative computation operations.
- Extreme Memory Footprint Reduction: Conventional PINNs store extensive intermediate activations (primals) across all $n^d$ points for computational graph traversal. SPINN only records intermediate graph traces for $nd$ points, freeing up tens of gigabytes of VRAM.
Key Results
Evaluated against baseline PINNs on an NVIDIA A100 (40GB) GPU on fixed $90^3$ (729,000) collocation grids:
- Compute and Speedup:
- Achieved up to $57\times$ faster training time per iteration on the Klein-Gordon equation (dropping from 166.44 ms/iter to 2.93 ms/iter).
- Theoretical FLOP evaluation for forward passes and derivatives showed an overall $1,195\times$ reduction (556 MFLOPs for SPINN vs. 664,411 MFLOPs for PINN).
- GPU Memory: Memory consumption dropped from 35,640 MB for PINN down to 830–890 MB for SPINN (a $\sim40\times$ reduction).
- Accuracy: SPINN achieved lower relative $L_2$ errors across all test benchmarks (e.g., reducing error from $0.0092$ down to $0.0016$ on Klein-Gordon at $90^3$). Because of its low memory footprint, SPINN scaled easily to $180^3$ and $360^3$ points, driving error down even further (reaching $0.0009$).
Limitations and Future Work
- Domain Geometry Restrictions: The tensor outer-product formulation relies on factorizable coordinates sampled across orthogonal axes (Cartesian hypercubes). Extending SPINN to irregular or complex geometries remains an unaddressed challenge.
- Rank Expressiveness: Solution quality depends on the tensor rank parameter $r$. Highly coupled or turbulent dynamics may require large rank representations that could challenge the rank-1 summation assumption.
- Higher Dimensions: Although the paper demonstrates scaling on 3D/spatiotemporal systems, evaluating SPINN on ultra-high-dimensional PDEs ($d \ge 10$) was left for future exploration.
Summary updated