Dan DeGenaro1, Xin Li2, Obed Amo3, Michael Pokojovy3,4, Sarah Adel Bargal1, Markus Lange-Hegermann5, Bogdan Raiță2
1Computer Science, Georgetown University · 2Mathematics, Georgetown University · 3Mathematics and Statistics, Old Dominion University · 4School of Data Science, Old Dominion University · 5Institute Industrial IT, OWL University of Applied Sciences and Arts
This material is based upon work supported by the U.S. National Science Foundation under award No. 2555785.
Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the U.S. National Science Foundation.
Given measurements \((\mathbf{E}(t_i,x_i,y_i,z_i),\mathbf{B}(t_i,x_i,y_i,z_i))\), approximate electromagnetic fields \(\mathbf{E},\mathbf{B}\) depending on
time \(t\) and space \((x,y,z)\) solving Maxwell's system:
\begin{align*}&\partial_t\mathbf{E}=\nabla\times\mathbf{B}\\ &\partial_t\mathbf{B}=-\nabla\times\mathbf{E}\\ &\nabla\cdot\mathbf{E}=0\\ &\nabla\cdot\mathbf{B}=0\end{align*}
Our proposed algorithm:
FLASH-MAX (Fast-Learning Accurate Solver for Homogeneous MAXwell equations):
a custom neural network that solves the PDE exactly and trains in seconds.
RF & antennasFull radiation patterns from a few sensors, no hours of waiting.
Tomography & imagingRapid reconstruction from limited probing data.
Plasma diagnosticsReal-time fields in fusion reactors.
SciML "holy grail"ML speed, physics-grade reliability (zero residual).
Numerical
FEM, FDTD
PINNs
physics in the loss
EPGP
exact-prior GPs
Neural operators
FNO, DeepONet
Our method has none of the limitations and shares most advantages.
In addition it is both fastest and can operate in a data regime where the other methods break down.
Neural operators amortize over many problem instances, a different regime; we compute weights in seconds for any data set, so we do not compare against them.
Let \(\mathbf{x}=(t,x,y,z)\), \(\mathbf{z}=(z_0,z_1,z_2,z_3)\). Our architecture is \begin{align*} &(\hat{\mathbf{E}}(\mathbf{x}),\hat{\mathbf{B}}(\mathbf{x}))=\sum_{k=1}^{W} w_{k1}\,\mathbf{p}_1(\mathbf{z}_{k1})\,\sigma\!\left(\mathbf{x}\cdot\mathbf{z}_{k1}+b_{k1}\right)+w_{k2}\,\mathbf{p}_2(\mathbf{z}_{k2})\,\sigma\!\left(\mathbf{x}\cdot\mathbf{z}_{k2}+b_{k2}\right) \\ \text{where }&\begin{cases} z_0^2=z_1^2+z_2^2+z_3^2,\\ \mathbf{p}_1(\mathbf{z})=(-z_1z_3,\,-z_2z_3,\,z_0^2-z_3^2,\,-z_0z_2,\,z_0z_1,\,0),\mathbf{p}_2(\mathbf{z})=(z_1z_2,\,-z_0^2+z_2^2,\,z_2z_3,\,-z_0z_3,\,0,\,z_0z_1). \end{cases} \end{align*}
Fitting from data \((\mathbf{X},\mathbf{E}(\mathbf{X}),\mathbf{B}(\mathbf{X}))\) sampled from some ground-truth solution \((\mathbf{E},\mathbf{B})\), we can cover both initial-value and initial-boundary-value problems. We train the standard loss
\[\mathrm{Loss}=\operatorname{MSE}\left((\hat{\mathbf{E}}(\mathbf{X}),\hat{\mathbf{B}}(\mathbf{X})),(\mathbf{E}(\mathbf{X}),\mathbf{B}(\mathbf{X}))\right)\]
solvepde in Macaulay2 (Sturmfels' Group, Commutative and Computer Algebra). Seconds to 5% validation error. bdry: ✓ boundary data used, ✗ initial data only. !: never reached 5% (best error shown). n/c: did not converge. –: FEM needs boundary data.
FLASH-MAX is 2 orders of magnitude fastest everywhere: 3 to 59 s.
Closest race: Plane, 119.3 s (FEM) vs 6.8 s with boundary data.
Truths: plane waves, radial waves, Hopf fibration, random solution.
FLASH-MAX reaches ≈1% error on every ground truth within 70 s.
S-EPGP is far behind; FEM and PINN never reach the residual threshold (boundary data included).
100 points
Single-digit error everywhere
(worst 7.4%).
500 points
All ground truths under 1% error.