A field guide · plasma-PINN campaign · canonical form · convergence proof · benchmark
A physics-informed neural network turns a PDE into a loss function. Here is the whole arc — the setup, the trick, the loss, the promise — then a proof of where it breaks, a head-to-head against a mesh, and a plain ledger of what the method genuinely is and is not.
I The setup
Start with the object of study: an unknown field u(t,x) on a domain, bound by a differential operator. The canonical form:
Rearranged, the same rule becomes a residual — a quantity that is exactly zero when, and only when, u solves the equation. This one symbol is the hinge the entire method swings on:
This campaign's running example is fusion-transport diffusion — density n spreading through a plasma with a spatially varying diffusivity D(x):
II The trick
Instead of a grid of sample values, guess that the solution is a small neural network. Feed it coordinates, read off the field:
Because uθ is a differentiable program, the derivatives in f — ut, ux, uxx — come from automatic differentiation, not from finite differences. They are exact to machine precision, at any point, with no mesh.
A campaign refinement: bake the boundary and initial conditions into the architecture so they hold by construction, not by penalty — nθ = x(L−x)·t·MLPθ vanishes at the walls and at t=0 automatically.
III The loss
There is no target field to imitate. Instead, the network is scored on how badly it breaks the PDE — plus whatever sparse data or boundary values are known. Minimize the total:
That is the beauty of it: a boundary-value problem in calculus becomes an unconstrained optimization in θ. No linear solve, no mesh, no timestep. It also — as Act V shows — inherits every pathology optimization is heir to.
IV The promise
Read straight off the equations, the appeal is real and worth stating plainly:
Add resolution-independence — a trained uθ evaluates on any grid without retraining — and on paper the PINN looks like a general-purpose solver. The campaign existed to test whether the paper holds.
V The reckoning
Every claim above was put head-to-head with a competent classical solver at matched accuracy. The scoreboard, from this campaign:
The mesh is extraordinarily efficient. Training an optimizer to convergence never catches a single tridiagonal solve.
Well-posed and cheap for the mesh; the soft-residual PINN collapsed once observations were noisy.
Against an unregularized nodal least-squares that oscillates worse with every added unknown, the smooth network wins. Hold that result up to the light in Act VI.
The formulation also carries documented failure modes that no benchmark can wish away: advection-dominated PDEs fail (a Kolmogorov n-width obstruction), discontinuities and chaos resist approximation, and soft boundary penalties turn training into a hand-weighted multi-objective problem riddled with local optima.
VI The proof
The benchmark scoreboard is empirical. But there is a matching result from the convergence theory of Doumèche, Biau & Boyer: a standard PINN can drive its training loss to zero while its true error runs to infinity. It is not risk-consistent.
There exist minimizing sequences of the PINN risk whose empirical risk → 0 while the theoretical risk → ∞, with the weights ‖θ‖₂ → ∞. Shown for the friction ODE and the heat equation.
The mechanism is visual. The residual only samples the PDE at finitely many collocation points. A network can thread every data point with near-zero derivative at those points — passing the PDE test — and swing wildly between them. The loss sees nothing; the solution is garbage.
In the pure-solver heat case it is starker still: the function that is identically zero satisfies the linear PDE and the zero boundary conditions perfectly — so it minimizes the residual while completely ignoring the bell-shaped initial state it was meant to evolve. And this pathology is generic: it holds wherever the operator vanishes on regions where ∇u=0 — friction, advection, heat, Schrödinger, Maxwell, Navier–Stokes.
The cure is exactly the campaign's theme, now as a theorem: regularize. Penalizing ‖θ‖₂ bounds the network's smoothness (Prop. 4.2, the Hölder norm is controlled by the weight norm), which restores consistency:
Ridge buys statistical accuracy. A stronger, Sobolev-type regularization (penalizing derivatives, not just weights) is what buys strong convergence to the physical solution — the estimator that is both data-accurate and PDE-consistent (Thms 5.7, 5.8, 5.13). The lesson repeats at every level: the prior is load-bearing.
✦ The map
Everything above, distilled. Each claim is tagged with its grounding — the canonical formulation, the convergence theory, or this campaign's measurements.
The through-line: a PINN is a convenient, mesh-free, differentiable way to pose a physics problem — and not, by itself, a fast or trustworthy way to solve one. What makes it trustworthy is the regularizer, and the regularizer is portable to cheaper machinery.
VII The moral
The field-inverse "win" deserved an honest opponent. The PINN carried a smoothness prior (its ℒsmooth term); the classical baseline carried none. So give the mesh the same prior — first-order Tikhonov, the discrete twin of that integral:
More accurate, robust to the number of unknowns (the naive 35→90% blow-up flattens to ~11%), and ~10²–10³× faster. The PINN's edge was an artifact of a disarmed opponent.
In an ill-posed inverse, what tames the problem is the prior — not the function approximator. And once you have the right prior, the cheapest vehicle for it wins: a mesh, a Gaussian process. The neural network was never doing the work.
None of this says PINNs are useless — the honest niche is feasibility and convenience: a mesh-free solver you can stand up in a few lines where no gridded solver is set up, and a field you can differentiate anywhere. What the equations promise as performance, a competent mesh keeps taking back.