---
title: Electromagnetic Neural Networks
url: https://www.emergentmind.com/topics/electromagnetic-neural-network-emnn
type: topic
---

# Electromagnetic Neural Networks

Searching arXiv for recent papers on "electromagnetic neural network" and closely related formulations to ground the article.
Electromagnetic Neural Network (EMNN) denotes a family of neural-network formulations in which electromagnetic physics is not merely an application domain but an integral part of the model structure, training objective, or hardware substrate. Across the literature, the term has been used in at least three technically distinct senses: as a neural surrogate for electromagnetic forward or inverse operators in geophysics and logging [2011.03522], [2005.08919]; as a physics-informed network for solving Maxwell problems in discontinuous media [2407.20833]; and as a wave-domain architecture in which programmable metasurfaces are abstracted as neural-network layers, so that electromagnetic propagation itself performs parts of sensing or communication computation [2510.27270], [2407.15053], [2509.11551], [2604.23901]. A broader adjacent literature includes inverse-scattering networks derived from iterative solvers [1810.03990], physics-driven loss-based imaging networks [2507.16321], and knowledge-integrated scattering surrogates based on quasinormal-mode expansions [2509.06130]. Taken together, these works define EMNN not as a single architecture, but as a research program for coupling electromagnetic operators, constraints, and hardware with learnable representations.

## 1. Terminological scope and conceptual variants

The label EMNN is applied to multiple constructions that share a common premise: electromagnetic structure is embedded into learning more deeply than in generic black-box regression.

A first usage treats EMNN as a data-driven surrogate or inverse mapper for electromagnetic measurements. In airborne time-domain electromagnetics, a fully connected network is trained to map stacked gate data directly to a 30-layer subsurface model, replacing repeated deterministic inversion with a direct estimate of conductivity or resistivity [2011.03522]. In logging-while-drilling, a residual convolutional network is trained to emulate a proprietary extra-deep electromagnetic forward simulator, accelerating repeated log evaluation in geosteering workflows [2005.08919].

A second usage treats EMNN as a physics-informed solver. In this setting, the network approximates electromagnetic fields while Maxwell residuals appear explicitly in the loss. Nohra and Dufour formulate a single PINN for static and transient three-dimensional problems in discontinuous media, using first-order Maxwell equations, level-set enrichment, and strong boundary or initial condition imposition [2407.20833]. A plausible implication is that, in this branch of the literature, EMNN refers less to a specific network topology than to a solver class whose inductive bias is supplied by field equations and interface geometry.

A third usage, now prominent in metasurface-assisted communications, identifies EMNN with a physical-computing architecture. Zhang et al. abstract each layer of a stacked intelligent metasurface as a hidden layer composed of fixed free-space propagation matrices and trainable phase-only diagonal matrices, then optimize these jointly with transmitter and receiver deep networks by back-propagation [2510.27270]. Closely related formulations appear for semantic communications [2407.15053], end-to-end OFDM [2509.11551], and distributed UAV-mounted semantic systems [2604.23901]. Here the electromagnetic hardware is the network substrate.

Adjacent but not always explicitly named EMNN are networks that unroll inverse-scattering iterations into learned modules [1810.03990], optimize a CNN solely through physics-based data-consistency and prior losses [2507.16321], or encode scattering physics through a quasinormal-mode layer that guarantees energy conservation and causality [2509.06130]. This suggests that EMNN is best understood as an umbrella term covering several mechanisms for embedding electromagnetic structure into learning.

## 2. Physics embedding mechanisms

The unifying technical question is how Maxwellian structure enters the network. The literature exhibits several distinct answers.

In surrogate and inverse models, the embedding may be indirect but still substantial. The airborne TDEM study defines a forward operator $F$ mapping a 30-layer model $m \in \mathbb{R}^n$ to gate data $d \in \mathbb{R}^p$ with $n=30$ and $p=54$, then trains a parameterized inverse map $g_\theta : \mathbb{R}^p \to \mathbb{R}^n$ by minimizing a mean-squared reconstruction loss on synthetic pairs $\{d^{(i)},m^{(i)}\}$ [2011.03522]. The logging study similarly approximates a proprietary frequency-domain electromagnetic forward solver with a network $F_w \approx F$ composed of five residual convolutional blocks and two dense layers [2005.08919]. In both cases, the network does not enforce Maxwell equations during inference, but its training set is generated by a full electromagnetic simulator.

In physics-informed EMNNs, the embedding is explicit in the residuals. Nohra and Dufour define
\[
R_1(\mathbf{x},t):=\partial_t[\mu H]+\nabla\times E,\quad
R_2(\mathbf{x},t):=-\nabla\times H+\sigma E,
\]
together with Gauss-law residuals, and minimize a weighted sum of their discrete $L^2$ norms over collocation points [2407.20833]. Material discontinuities are represented through a level-set function $F(\mathbf{x})$, and the enriched input
\[
x_a=[\,\mathbf{x},\,p,\,S(\beta F(\mathbf{x})),\,\nabla S(\gamma F(\mathbf{x}))\,]^T
\]
injects interface-aware high-frequency features into the network [2407.20833]. The paper further argues that when the PDE residuals vanish, the four Maxwell-interface jump conditions are automatically satisfied.

In inverse scattering, physics can be enforced through the optimization loop rather than the architecture. The physics-driven neural network of [2507.16321] uses a lightweight CNN, but computes a predicted scattered field from the network output via Method of Moments and penalizes the discrepancy with measured fields. Its loss combines a data term, a lower-bound constraint on $\Re\{\epsilon_r\}$, and a total-variation prior [2507.16321]. DeepNIS takes a different route: it exploits the analogy between iterative nonlinear inverse scattering updates and deep residual modules, thereby unrolling solver structure into a cascade of complex-valued CNN blocks [1810.03990].

In scattering surrogates, physics may appear as a differentiable analytical layer. QNM-Net maps device geometry to the components of a quasinormal-mode expansion and assembles the scattering matrix through
\[
S(\omega)=e^{i\omega\tau}\,\Bigl[C(\omega)+D\,(i\omega-i\tilde\Omega)^{-1}M^{-1}D^\dagger C(\omega)\Bigr]\,e^{i\omega\tau},
\]
with energy conservation and causality enforced by construction [2509.06130]. This is a particularly strong form of inductive bias: rather than learning a free-form spectral response, the network learns resonant parameters with explicit physical meaning.

In metasurface EMNNs, the physics is the network. Each layer comprises a fixed propagation matrix derived from Rayleigh–Sommerfeld diffraction and a trainable diagonal matrix of complex transmission or phase coefficients [2510.27270], [2407.15053], [2509.11551], [2604.23901]. The forward pass is literal electromagnetic propagation through these layers, while back-propagation adjusts the phase or amplitude settings that correspond one-to-one with hardware controls.

## 3. Canonical architectural patterns

Although EMNN is not a single model class, several recurrent architectural templates have emerged.

### Surrogate and inversion architectures

The airborne TDEM EMNN employs a fully connected architecture with 54 input units, three hidden layers of 100, 500, and 200 neurons, and 30 output units representing the conductivity or resistivity parameters of 30 horizontal layers [2011.03522]. The activations are described only as “continuous and differentiable activation functions,” and the optimizer, learning rate, batch size, and epoch count are not specified [2011.03522]. Each sounding is processed independently after normalization by transmitter waveform and gate widths.

The extra-deep logging EMNN uses a markedly different topology: five stacked residual blocks based on 1D convolutions with 40 filters and kernel size 3, followed by a fully connected head that maps a flattened 880-dimensional vector to 512 hidden units and finally to 13 outputs [2005.08919]. The model has approximately 462 453 trainable parameters, uses ReLU activations throughout, and includes no explicit dropout or $\ell_2$ regularization [2005.08919].

DeepNIS represents an unrolled inverse-scattering architecture. Each complex-valued residual CNN module contains three layers and a residual shortcut, with typical filter choices $n_1=64$, $f_1=3$, and $n_2=1$, $f_3=3$ [1810.03990]. The first module takes a back-propagated image as input, and successive modules refine the contrast estimate.

### Physics-informed field solvers

The PINN-based EMNN of [2407.20833] consists of a fully connected feed-forward network with $\ell$ hidden layers, typically 5–8, width $w \approx 50$–100, and smooth activations such as $\tanh$ or $\cos$. Boundary and initial conditions are imposed strongly through a trial solution
\[
[H,E](\mathbf{x},t)=N(x_a)\,d(\mathbf{x})+V(\mathbf{x},t),
\]
where $d(\mathbf{x})$ vanishes on the boundary and $V(\mathbf{x},t)$ satisfies the prescribed conditions [2407.20833].

For EUV mask diffraction, the PINN in [2507.04153] is a single MLP with three hidden layers of 128 neurons each and $\tanh$ activations, outputting $H_x$ and $H_y$ at input point $\mathbf{x}=(x,y,z)$. The same paper also introduces a hybrid Waveguide Neural Operator that replaces the dominant linear solve in a Fourier-Galerkin waveguide method by a small neural operator, while retaining the rest of the waveguide pipeline unchanged [2507.04153].

### Metasurface EMNNs

In SIM-based communications, each metasurface layer is represented by two successive operations: a fixed propagation matrix and a trainable diagonal phase matrix [2510.27270]. For the transmit side, the $q$-th terminal uses the sequence
\[
V_q^1 \to \Phi_q^1 \to V_q^2 \to \Phi_q^2 \to \cdots \to V_q^{L_q} \to \Phi_q^{L_q},
\]
and the receive side uses the analogous $U_q^k$ and $\Psi_q^k$ blocks [2510.27270]. End-to-end OFDM extends this pattern to per-subcarrier operators $T_i$ and $R_{i,j}$, embedded between a base-station DNN transmitter and user-equipment DNN receiver [2509.11551].

Semantic-communication EMNNs use a similar diffractive stack. In [2407.15053], layer 0 performs source encoding and layers $1\ldots L$ perform semantic encoding, each layer being a planar array of $N$ meta-atoms with transmission coefficients $z_n^{(\ell)}=a_n^{(\ell)}e^{j\phi_n^{(\ell)}}$. The distributed variant in [2604.23901] duplicates this structure across multiple UAV-mounted SIMs and aggregates their received fields at a ground station.

### Comparative summary

| EMNN variant | Core architecture | Physics insertion |
|---|---|---|
| Airborne TDEM inversion | 54–100–500–200–30 fully connected network | Synthetic data from 1D TDEM forward model [2011.03522] |
| Extra-deep EM logging | 5 residual 1D-conv blocks + dense head | Training targets from proprietary Maxwell solver [2005.08919] |
| PINN for discontinuous media | Enriched-input MLP, 5–8 layers, width 50–100 | First-order Maxwell residuals and level-set interface encoding [2407.20833] |
| SIM-assisted communications | Alternating fixed diffraction matrices and trainable diagonal metasurface layers | Rayleigh–Sommerfeld propagation embedded as hidden layers [2510.27270], [2509.11551], [2407.15053], [2604.23901] |
| Inverse-scattering EMNN | Complex residual CNN cascade or CNN with physics loss | Unrolled solver updates or MoM-based data consistency [1810.03990], [2507.16321] |
| Scattering surrogate with QNM layer | Design encoder + physics parameter heads + QNM layer | Analytical quasinormal-mode expansion [2509.06130] |

## 4. Training regimes and optimization strategies

EMNN training differs substantially across subfields because the source of supervision differs.

For supervised surrogates and inverse maps, synthetic data generation is central. The airborne TDEM study samples 30-layer 1D models to form a laterally coherent “pseudo-2D” section informed by prior geological knowledge, solves the forward problem for each model, and uses approximately $N \approx 12\,000$ pairs for training [2011.03522]. No field data are used in training or fine-tuning; the VTEM dataset from Sakatti, Finland, is held out entirely for testing and validation [2011.03522]. Multi-start training is used to avoid poor local minima, and early stopping is based on a held-out validation subset [2011.03522].

The logging EMNN is trained on a dataset of 78 877 pairs after trimming, with an 80/10/10 train/validation/test split [2005.08919]. Optimization uses Adam with $\beta_1=0.9$, $\beta_2=0.999$, default learning rate, batch size 512, and early stopping with patience 800 epochs [2005.08919]. Training on an NVIDIA RTX 2080 Ti takes approximately 13 hours and converges in approximately 11 745 epochs [2005.08919].

PINN-based EMNNs typically use two-stage optimization. Nohra and Dufour employ Adam for 1 000–3 000 iterations with batch sampling of collocation points, then full-batch L-BFGS for 2 000–5 000 iterations to drive residuals to $10^{-6}$–$10^{-8}$ [2407.20833]. A curriculum on the interface sharpness parameter $\alpha$ in $\hat H(\mathbf{x})=S(\alpha F(\mathbf{x}))$ avoids vanishing-gradient traps when modeling discontinuities [2407.20833]. The EUV diffraction PINN similarly uses Adam at learning rate $10^{-3}$ followed by L-BFGS, whereas WGNO is trained in two Adam stages with learning rates $10^{-3}$ and $10^{-5}$ [2507.04153].

Metasurface EMNNs are trained end to end over both digital and wave-domain parameters. In SIM-assisted full-duplex communications, base training uses statistical CSI, random bit vectors, and binary cross-entropy loss, updating transmitter DNN weights, metasurface phases, and receiver DNN weights through AdamW [2510.27270]. Fine-tuning then replaces the statistical channel with instantaneous CSI and adapts the model using a small number of epochs [2510.27270]. The OFDM EMNN uses BCE loss, back-propagates through BS-DNN, TX-SIM, channel layer, RX-SIM, and UE-DNN, and employs transfer learning from statistical to instantaneous CSI [2509.11551]. The semantic SIM letter uses mini-batch gradient descent via Adam with batch size $B=64$, initial learning rate $\alpha=10^{-3}$ decayed by 0.8 if loss plateaus, and total epochs $\le 100$ [2407.15053]. The distributed semantic system introduces a trainable softmax temperature and a temperature-adaptive gradient optimization algorithm to mitigate gradient vanishing under wide channel attenuations [2604.23901].

Physics-driven inverse-scattering EMNNs may be trained per case rather than over a population. In [2507.16321], the network weights are initialized randomly and updated for a given measured dataset by minimizing the physics-driven loss; no supervised pretraining dataset is required. This differentiates PDNN from population-trained surrogates and suggests a continuum between learned solvers and optimization-based inversion.

## 5. Application domains and reported performance

The EMNN literature spans geophysical inversion, well logging, inverse scattering, computational electromagnetics, sensing, and communication systems. Because evaluation protocols differ across domains, reported results are best read in their application-specific context.

### Airborne and borehole electromagnetics

For airborne TDEM inversion, the reconstructed synthetic models yield forward responses differing from the originals by $\lesssim 4\%$ per sounding, while the ratio $m_{\text{rec}}/m_{\text{true}}$ stays within roughly $\pm 20\%$ over most of the section [2011.03522]. On the Sakatti VTEM field survey, the ANN inversion fits real data to $\lesssim 5\%$ per sounding, compared with $\lesssim 2\%$ for the deterministic 1D inversion, and the ratio of ANN to deterministic inversion conductivities lies between 0.3 and 3.0 in most places [2011.03522]. Computationally, 14 346 soundings with 54 gates are inverted in approximately 24 s on a standard laptop, about 1.7 ms per sounding, whereas the deterministic inversion takes on the order of $10^4$ s on a 64-CPU server [2011.03522].

For extra-deep electromagnetic logs, the DNN surrogate achieves $R^2 \ge 0.99$ on every one of the 13 log channels on the held-out test set [2005.08919]. In a synthetic geosteering run of 901 logging positions, the network computes all 13 channels in 0.13 s total, approximately 0.15 ms per position, exceeding 6 500 forward calls per second on a 10-core Xeon [2005.08919]. The largest discrepancies occur near layer boundaries and in some semi-degenerate shale scenarios, but are reported to remain within engineering tolerances for real-time inversion [2005.08919].

### Electromagnetic field solvers and diffraction

For static and transient discontinuous-media problems, the single-PINN EMNN achieves a maximum pointwise error $\|H_z^{\text{PINN}}-H_z^{\text{FEM}}\|_\infty/\|H_z^{\text{FEM}}\|_\infty \lesssim 1\%$ after 1 000 Adam and 2 000 L-BFGS iterations in a steady-state sphere-in-cube benchmark with smooth interface $\alpha=100$ [2407.20833]. With curriculum to $\alpha=800$, interface error is $\lesssim 2\%$ [2407.20833]. Multiple interfaces and non-trivial shapes are handled with comparable relative errors below 3%, and transient tests show excellent agreement with FEM while avoiding spurious divergence currents because $\nabla\cdot(\mu H)=0$ is enforced [2407.20833].

In EUV mask diffraction, the WGNO attains relative $L_2$ errors from $4.0\times10^{-8}$ to $4.7\times10^{-5}$ on 2D analytical tests, with inference around $1.7\times10^{-4}$ s [2507.04153]. For realistic 2D and 3D masks, reported relative $L_2$ errors are as low as $9.5\times10^{-7}$ and $1.0\times10^{-7}$, with over 200× inference speedup versus rigorous waveguide computation [2507.04153]. The PINN baseline is substantially less accurate and much slower to train in these tests [2507.04153].

### Inverse scattering and sensing

DeepNIS reports mean SSIM around 0.9 and MSE around 0.03 on 2 000 unseen MNIST-like shapes, compared with SSIM below 0.1 and MSE around 0.8 for back-propagation, and SSIM around 0.2 and MSE around 0.6 for contrast source inversion [1810.03990]. Runtime per image is under 1 s on GPU, compared with about 8 s for back-propagation and about 10 min for CSI on CPU [1810.03990]. On the FoamDielExt experimental dataset, DeepNIS attains SSIM 0.83, MSE 0.09, and about 1 s runtime [1810.03990].

The PDNN inverse-scattering scheme reports average relative errors of 2.1%, 3.0%, 2.4%, and 3.5% on square, circles, ring, and “Austria” profiles, improved further marginally by subregion reduction [2507.16321]. Runtime drops from about 360 s to about 50–80 s on an RTX 4090 after domain cropping [2507.16321]. At SNR $\ge 20$ dB, PDNN remains within 5% error; at SNR 10 dB, error is about 8% [2507.16321].

In learned integrated sensing with a physical dynamic metasurface layer, the learned EMNN reaches 92.5% classification accuracy with $M=4$ measurements and saturates at approximately 95% with $M=5$ for MNIST-like microwave object classification using $N=64$ metamaterial elements [1906.10251]. Accuracy variance is reported below 1% for $M \ge 4$, and polarizability perturbations up to $\pm 10\%$ degrade performance by less than 1% [1906.10251].

### Communications and semantic systems

In SIM-assisted co-frequency co-time full-duplex communications, increasing metasurface layers from 1 to 3 yields 1–2 dB additional self-interference suppression and reduces BER by an order of magnitude at mid-range SNR; a system with far fewer RF chains and 3 SIM layers of $9\times 9$ EM units can match or outperform a conventional CCFD configuration with much larger antenna counts [2510.27270]. Transfer learning reduces convergence time by over 50% relative to training from scratch [2510.27270].

In task-oriented semantic communications, a 10-layer-plus-input SIM with $21\times 21=441$ meta-atoms per layer, trained on MNIST at approximately 28 GHz, achieves more than 90% test recognition accuracy purely through wave-domain computation, with only a simple energy-comparison rule at the receiver [2407.15053]. The distributed UAV-enabled EMNN reports an average 8% accuracy improvement over the single-SIM baseline across multiple datasets, and on MNIST specifically reports 93.06% for the distributed architecture versus about 85% for centralized EMNN and about 75% for a standard DNN in the parameter-matched comparison [2604.23901].

For end-to-end OFDM, simulation results show that randomized transmit-power schedules improve robustness across 0–30 dBm, fine-tuning from a base model converges approximately 10× faster than training from scratch, DPSIM consistently outperforms SIM by 5–10 dB in BER versus SNR, and a SIM-E2E system with only 16T × 9R can match a conventional massive-MIMO 256T × 49R digital-only system [2509.11551].

## 6. Relations to neighboring research areas and recurrent misconceptions

EMNN overlaps with several broader research programs but is not reducible to any single one.

It is not synonymous with PINNs. PINNs are one important EMNN instantiation when Maxwell residuals define the loss, as in discontinuous-media field modeling [2407.20833] or the EUV diffraction PINN [2507.04153]. However, the term EMNN is also used for fully supervised surrogates without PDE residuals [2005.08919], direct inverse mappers [2011.03522], hardware-in-the-loop metasurface networks [2510.27270], and solver-unrolled inverse-scattering networks [1810.03990]. Conversely, many electromagnetic PINNs are not labeled EMNN.

It is also not limited to neural surrogates for forward simulation. In some literature, EMNN performs inversion directly from measurements to subsurface parameters [2011.03522], whereas in metasurface communications it represents a differentiable transceiver in which conventional tasks such as modulation, precoding, combining, demodulation, and decoding are carried out jointly during electromagnetic forward propagation [2510.27270], [2509.11551].

A further misconception is that EMNN necessarily implies black-box learning. Several of the strongest examples are explicitly knowledge-integrated. QNM-Net constrains the learned scattering response through a quasinormal-mode expansion that guarantees energy conservation and causality [2509.06130]. The PDNN inverse-scattering method is trained only from the measured fields and forward computations corresponding to the predicted solution, rather than from a supervised dataset of labeled scatterers [2507.16321]. These examples indicate that EMNN often serves precisely to reduce black-box behavior.

In metasurface settings, EMNN should not be confused with a metaphorical analogy alone. In the SIM papers, there is a literal correspondence between trainable network parameters and hardware control variables: per-element phases or transmission coefficients [2510.27270], [2407.15053], [2509.11551], [2604.23901]. This physical realizability distinguishes these architectures from purely software analogies to wave propagation.

Finally, fast inference should not be conflated with universal generalization. Several papers explicitly rely on representative synthetic training distributions [2011.03522], [2005.08919]. The geophysical studies note that training sections are informed by prior geological knowledge [2011.03522], and the logging surrogate is built from datasets designed to embrace geological rules and geosteering specifics supported by the forward model [2005.08919]. This suggests that EMNN performance can be highly contingent on the fidelity and coverage of the generative model.

## 7. Open problems and likely directions

Several themes recur across the literature as unresolved technical issues.

One is generalization across operating conditions, geometries, and materials. Supervised EMNN surrogates can be extremely fast, but their validity depends on training support. The QNM-based approach addresses this by encoding resonance structure directly and reports one to two orders of magnitude better data efficiency than black-box feed-forward networks in a photonic-crystal slab benchmark [2509.06130]. A plausible implication is that future EMNN development will increasingly emphasize structured latent physics rather than larger unconstrained networks.

A second theme is representation of discontinuities, resonances, and multiscale structure. The discontinuous-media PINN shows that first-order Maxwell formulations, level-set enrichment, and curriculum on interface sharpness are materially beneficial [2407.20833]. The EUV WGNO likewise suggests that hybridization with an established solver can outperform both generic PINNs and purely black-box approximators [2507.04153]. This suggests continued movement toward solver-informed and decomposition-based EMNNs.

A third theme is co-design of hardware and learning. In metasurface EMNNs, analog wave-domain processing and digital processing are already optimized jointly [2510.27270], [2509.11551]. Distributed variants introduce architectural questions absent from centralized digital networks, such as phase coherence across UAV-mounted SIMs, pre- versus post-detection combining, and the role of softmax temperature under channel attenuation [2604.23901]. These systems raise broader issues of calibration, quantization, control-channel overhead, and hardware nonidealities that are only partly addressed in current simulations.

A fourth theme is scalability to full-vector, broadband, and three-dimensional Maxwell problems. DeepNIS notes that extension to truly large 3D geometries and full-vector scattering remains under investigation [1810.03990]. PDNN identifies the Method of Moments inside the loss as the major bottleneck, with scaling concerns for high-resolution domains [2507.16321]. Even the successful discontinuous-media PINN reports training cost of about 5 min on a single GPU versus about 0.5 s for one FEM run in a benchmark, with amortization justified mainly over parametric sweeps [2407.20833]. This indicates that EMNN methods are not uniformly superior to classical solvers; their advantage is often conditional on repeated evaluations, inverse loops, or hardware co-design.

A final direction is interpretability and physical guarantees. QNM-Net is notable because it outputs resonant frequencies, port couplings, and phase delays with direct physical meaning, while enforcing causality and energy conservation by construction [2509.06130]. Comparable guarantees are less mature in other EMNN branches. A plausible implication is that future encyclopedia definitions of EMNN may increasingly center on this transition: from networks merely trained on electromagnetic data to networks whose internal organization is aligned with electromagnetic law, device physics, or physical hardware actuation.

Source: https://www.emergentmind.com/topics/electromagnetic-neural-network-emnn