Separable Tensor-Product Spline Trial Layer
Implementation & benchmark of arXiv:2607.20378 — PG-KINN: A Physics-Informed Petrov-Galerkin Kolmogorov-Arnold Network for Solving Forward and Inverse PDEs
Source paper: PG-KINN: A Physics-Informed Petrov-Galerkin Kolmogorov-Arnold Network for Solving Forward and Inverse PDEs arXiv:2607.20378 ⓘ · analyzed Aug 30, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Use the paper's correspondence between KAN splines and finite-element or isogeometric shape functions to build coordinate-separable tensor-product trial layers. Replace additive coordinate aggregation with a multiplicative contraction of one-dimensional spline expansions, yielding an explicit tensor-product basis without storing a dense multidimensional grid.
Formulas
Mathematical statement
A KAN scalar map uses the univariate B-spline expansion \(\phi_{ij}(x_j)=\sum_{m=1}^{G+r}c_m^{(i,j)}B_m(x_j)\), where \(B_m\) is the order-\(r\) spline basis, \(G\) is grid size, and \(c_m^{(i,j)}\) are trainable coefficients. The paper explains that in two dimensions the additive construction \(K(x,y)=\sum_iN_i^x(x)c_i^x+\sum_jN_j^y(y)c_j^y\) does not reproduce a tensor-product finite-element field. The multiplicative construction does: \(K_{mult}(x,y)=(\sum_iN_i^x(x)c_i^x)(\sum_jN_j^y(y)c_j^y)=\sum_{i,j}N_i^x(x)N_j^y(y)c_i^xc_j^y\). Here \(N_i^x,N_j^y\) are one-dimensional shape functions and \(c_i^x,c_j^y\) are factor coefficients. A sum of \(R\) such products gives a low-rank approximation to a general non-separable field, with parameter cost proportional to \(R D G\) rather than \(G^D\).
Implementation notes
1. Integration point: replace the first coordinate-mixing layer of a KAN, coordinate MLP, or implicit neural representation. For each rank \(k\) and coordinate \(d\), store a vector of spline coefficients \(c_{k,d,m}\); evaluate one-dimensional B-spline bases locally and combine their outputs multiplicatively. Use \(R\) separable products so expressivity is controlled by rank instead of a full tensor grid. 2. Pseudocode: u=zeros(batch); for k in range(R): z=ones(batch); for d in range(D): B=bspline_basis(x[:,d], knots[d], order=r); s=B @ coeff[k,d]; z=z*s; u=u+z; optionally add a residual additive KAN or MLP path. For two-dimensional PDEs this is u=sum_k (Nx @ a[k])*(Ny @ b[k]). Enforce known boundary conditions by multiplying the output by a boundary mask or retain a boundary penalty. 3. Compute spline bases and derivatives analytically or with a differentiable B-spline routine. The tensor-product representation is exact for rank-one separable fields; approximation quality for general fields is controlled empirically by rank \(R\). Products may cause exploding or vanishing activations, so initialize factor coefficients with scale \(R^{-1/(2D)}\), normalize each factor output, and use gradient clipping. 4. First experiment: fit a 2D manufactured PDE solution and compare a dense tensor-grid spline layer, additive KAN, and rank-\(R\) multiplicative KAN at matched parameter counts. Sweep \(R\in\{1,2,4,8\}\) and grid sizes, measuring relative field error, parameter memory, forward latency, and weak-residual error. The expected signal is lower memory and faster evaluation than a dense tensor-product basis for moderate rank, with accuracy improving as rank increases. Reject the method if the rank required to match additive-KAN accuracy removes the memory or speed advantage.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.