Scaled-boundary quadrature loss
Implementation & benchmark of arXiv:2608.15563 — Scaled boundary cubature scheme in higher dimensions: integration over polytopes and curved regions
Source paper: Scaled boundary cubature scheme in higher dimensions: integration over polytopes and curved regions arXiv:2608.15563 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace random interior collocation points in domain-integrated neural losses with deterministic points generated by scaling oriented boundary patches toward an interior center. The resulting quadrature exactly integrates low-degree polynomial integrands on affine polytopes and gives a mesh-free, geometry-aware loss for PINNs and neural fields.
Formulas
Mathematical statement
For a compact region \(\mathcal R\subset\mathbb R^d\), let oriented boundary patch \(i\) be parameterized by \(\bm s_i:D_i\to\mathbb R^d\), with scaling center \(\bm x_0\). The scaled-boundary map is \(\bm\varphi_i(\rho,\bm t)=\bm x_0+\rho(\bm s_i(\bm t)-\bm x_0)\), where \(0\leq\rho\leq1\) and \(\bm t\in D_i\). Its signed Jacobian is \(J_i(\rho,\bm t)=\rho^{d-1}\det[\bm s_i(\bm t)-\bm x_0,\partial_{t_1}\bm s_i,\ldots,\partial_{t_{d-1}}\bm s_i]\). The paper's proposition gives \(\int_{\mathcal R}f(\bm x)d\bm x=\sum_i\int_0^1\int_{D_i}f(\bm\varphi_i(\rho,\bm t))J_i(\rho,\bm t)d\bm t\,d\rho\), provided the oriented patches count the region with correct multiplicity; global injectivity is unnecessary. For tensor-product patch domains, Gauss quadrature gives a finite weighted sum. In the neural adaptation, \(f=\ell_\theta\) is a pointwise PDE residual, supervised error, energy density, or learned density.
Implementation notes
1. Integration point: modify the domain-integral part of a PINN or neural-field training objective, not the network architecture. Represent the geometry as oriented patches \(\bm s_i(\bm t)\); begin with triangles or quadrilateral faces of a tetrahedron, cube, or triangular prism. Choose an interior \(\bm x_0\), precompute Gauss nodes and weights \((\rho_q,w_q)\) and patch nodes and weights \((\bm t_q,w_{\bm t_q})\), and cache all physical points and quadrature weights before training. 2. Pseudocode: for patch i: for rho,t: x = x0 + rho*(s_i(t)-x0); tangent = jacobian_s_i(t); J = rho**(d-1)*det([s_i(t)-x0,tangent]); X.append(x); W.append(w_rho*w_t*J). At every optimizer step evaluate the network and its required spatial derivatives at all X, compute pointwise residuals ell, and set loss = sum(W*ell)/sum(W); backpropagate normally. For nonconvex domains, preserve the oriented signed-patch convention or decompose the shape into star-convex sectors. 3. Computed from the mathematics: the radial map, \(\rho^{d-1}\) factor, signed determinant, and quadrature weights. Estimated empirically: quadrature order, center location, patch subdivision, and whether signed or absolute weights are appropriate. Validate first by integrating monomials \(x^\alpha\) against an analytic polytope volume. 4. Cheap experiment: solve a 3D Poisson equation on a tetrahedron with a small tanh MLP, comparing uniform Monte Carlo collocation, a regular Cartesian grid, and SBC quadrature at equal network forward and derivative evaluations. Measure PDE residual, boundary-condition error, solution \(L^2\) error on a dense validation set, loss variance across seeds, and wall-clock time. Success is lower residual and validation error at the same number of evaluations, especially for thin, oblique, curved, or voxel-unfriendly domains; a secondary signal is smoother loss curves and fewer optimizer steps.
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.