Solving Maxwell's equations with Non-Trainable Graph Neural Network Message Passing
Stefanos Bakirtzis, Marco Fiore, Jie Zhang, Ian Wassell
TL;DR
The paper tackles the high computational cost of transient Maxwell simulations by recasting the discretized update equations into a fixed-weight, two-layer graph neural network (GNN) with predefined edge weights, yielding GEM, a graph-driven solver. By aligning the local message-passing schema with the FDTD update scheme, GEM achieves exact equivalence to standard solvers while exploiting GPU-accelerated GNN implementations for dramatic speedups (up to ~40× over CPU FDTD) and without any training. The authors validate GEM against a conventional FDTD solver across thousands of random scenarios, and demonstrate its applicability to SAR in biological tissue and THz photonic crystals, with perfect fidelity ($R^2$ ~ 0.9999). They also extend the framework to absorbing boundary conditions via a split-field PML formulation and show substantial performance advantages as domain size grows. The work suggests a broader paradigm of graph-driven numerical solvers that can outperform legacy methods and potentially generalize to other PDEs, offering a pathway to fast, accurate simulations in electromagnetics, biology, and photonics.
Abstract
Computational electromagnetics (CEM) is employed to numerically solve Maxwell's equations, and it has very important and practical applications across a broad range of disciplines, including biomedical engineering, nanophotonics, wireless communications, and electrodynamics. The main limitation of existing CEM methods is that they are computationally demanding. Our work introduces a leap forward in scientific computing and CEM by proposing an original solution of Maxwell's equations that is grounded on graph neural networks (GNNs) and enables the high-performance numerical resolution of these fundamental mathematical expressions. Specifically, we demonstrate that the update equations derived by discretizing Maxwell's partial differential equations can be innately expressed as a two-layer GNN with static and pre-determined edge weights. Given this intuition, a straightforward way to numerically solve Maxwell's equations entails simple message passing between such a GNN's nodes, yielding a significant computational time gain, while preserving the same accuracy as conventional transient CEM methods. Ultimately, our work supports the efficient and precise emulation of electromagnetic wave propagation with GNNs, and more importantly, we anticipate that applying a similar treatment to systems of partial differential equations arising in other scientific disciplines, e.g., computational fluid dynamics, can benefit computational sciences
