Physics-Informed Electromagnetic Modeling of Hardware-Impaired Reconfigurable Intelligent Surfaces

Qiaojian Han, Yueheng Li, Haixia Zhang, Dongfeng YuanarXiv 2026

TL;DR

Reconfigurable Intelligent Surfaces (RISs) act like programmable mirrors for wireless signals, but real-world hardware quirks often make them behave very differently from idealized textbook equations. This paper introduces a physics-informed neural network that first learns ideal electromagnetic laws, and then fine-tunes itself on just a tiny handful of impaired data. The result is fast, accurate far-field signal prediction that prevents engineers from wildly overestimating real-world data rates.

What Problem Does This Paper Address?

Imagine trying to bounce a flashlight beam off a disco ball where a few mirrors are tilted, dusty, or glued in place. That is the reality of deploying a Reconfigurable Intelligent Surface (RIS)—a 2D array of tiny elements designed to steer high-frequency millimeter-wave wireless signals around obstacles.

In theory, we model RISs as ideal phase-shift arrays. In practice, manufacturing tolerances, circuit aging, and electromagnetic interference between adjacent elements ("mutual coupling") distort the reflected waves. Ignoring these hardware impairments can ruin localization accuracy and cause engineers to overestimate network throughput by 20% or more.

While researchers have written analytical equations for individual quirks, you rarely know which combination of equations matches a physical board sitting on your lab bench. Purely data-driven machine learning could learn the board's behavior from measurements, but gathering massive electromagnetic datasets is slow and expensive. Meanwhile, standard Physics-Informed Neural Networks (PINNs) struggle here: when ideal physical equations clash with messy real-world data, their loss functions pull the network in opposite directions ("conflicting gradients"), stalling training. Furthermore, traditional PINNs require reconstructing the entire 3D space for every new phase configuration, which is computationally impractical.

Methods

To get the best of both worlds—Maxwell’s equations and data-driven adaptability—the authors redesign both the network architecture and the training schedule.

Fig. 1. The network structure and training protocol of the proposed model. The phase map is passed through the residual U-Net magnetic current predictor gΘ, which predicts the complex tangential magnetic current. The predicted complex magnetic current is then propagated by the fixed Green function operator to obtain the far electric field magnitude pattern. During ideal-state pretraining, all parameters of gΘ are trainable and the loss is Lphys. During impairment- aware fine-tuning, most pretrained parameters are kept fixed and only a small trainable subset is updated using the data loss Ldata.
  1. Embedded Electromagnetic Forward Model: Instead of forcing a neural network to predict the complex 3D far-field radiation pattern directly from a 2D RIS phase map, a Residual U-Net backbone predicts an intermediate physical quantity: the equivalent tangential magnetic current right on the RIS surface. A fixed, mathematical Green function operator (derived directly from Maxwell's equations) then propagates that surface current out to the far-field electric field pattern. This completely bypasses full-domain 3D field reconstruction.
  2. Decoupled Two-Stage Learning: To eliminate gradient tug-of-war between ideal physics and flawed hardware data, the authors separate them in time:
  3. Stage 1 (Ideal-State Pretraining): All U-Net parameters are trained exclusively using a physics loss based on ideal Maxwell boundary conditions—no far-field pattern labels required.
  4. Stage 2 (Impairment-Aware Fine-Tuning): Most of the pretrained network is frozen. Only a small subset of layers is unlocked and fine-tuned on hardware-impaired far-field data using standard mean-squared error.

Finally, the authors include a mathematical transformation for the predicted surface currents to handle unseen incoming wave angles without retraining, and map the predicted electric fields directly to receiver power and Shannon achievable data rates.

Datasets

Because standardized real-world benchmarks covering diverse impairment combinations are scarce, the authors construct seven synthetic datasets simulating a $20 \times 20$ RIS operating at 28 GHz:

  • Six individual impairment sets: Uniform phase deviation, Von Mises phase deviation, random amplitude attenuation, circuit-level amplitude-phase coupling, inter-element mutual coupling, and element "stuck-at" failures (dead elements locked at $0$ or $\pi$).
  • One combined impairment set: A realistic worst-case mashup stacking 10% stuck-at failures, phase errors, amplitude attenuation, amplitude-phase coupling, and mutual coupling all at once.

Each dataset pairs 5,000 random 1-bit RIS phase configurations with their simulated far-field magnitude patterns (split into 2,000 train, 1,000 validation, and 2,000 test samples).

Key Insights and Ideas

  • Separating physics from data cures gradient conflict: In ablation tests, training from scratch with both physics and data losses simultaneously performed worse on impaired hardware (0.271 SSIM) than just using data alone (0.884 SSIM), proving how badly ideal physics clashes with non-ideal reality when mixed naively. Sequential pretraining and fine-tuning jumps performance to 0.995 SSIM.
  • Pure physics pretraining is faster and cleaner: During Stage 1, training on surface boundary physics alone beat hybrid data+physics training in both accuracy and speed (taking ~329 seconds vs. ~8,649 seconds), without needing a single far-field label.
  • Predicting surface currents unlocks zero-shot angle generalization: Because the neural network predicts physical surface currents rather than raw far-field images, you can analytically strip out the reference wave's angle and polarization, apply a new incoming wave's geometry, and predict patterns for unseen incidence angles without fine-tuning.

Key Results

Across all seven impairment categories, the proposed model nails the spatial structure of the reflected waves.

Fig. 3. Typical far electric field magnitude comparisons across the seven hardware impairment models and the ideal-state check. The upper row shows the ground-truth pattern E, and the lower row shows the prediction bE.
  • High Accuracy & Fast Convergence: Fine-tuning converges within 100 epochs. On the challenging combined-impairment test set, the model achieves a Normalized MSE (NMSE) of $4.90 \times 10^{-5}$ and an SSIM of 0.9947 (compared to 0.2167 SSIM if impairments are ignored). Mutual coupling proved the hardest single impairment to learn, though still reaching 0.9250 SSIM.
  • 10x Sample Efficiency: Fine-tuned on just 200 impaired samples, the proposed model outperforms a physics-structured baseline trained from scratch on 2,000 samples ($3.69 \times 10^{-4}$ vs. $9.99 \times 10^{-4}$ NMSE).
  • Millisecond Inference: Forward propagation takes 5.89 ms per sample on an NVIDIA RTX A6000 GPU.
  • Realistic Data Rate Prediction: When tested on structured beamforming tasks (single-user, multi-user, and null-steering) without extra fine-tuning, assuming an ideal RIS overestimated user data rates by 121% to 249% (and missed null-direction interference by 973%). The proposed model predicted true achievable user rates within 0.01% to 0.83% error.

Limitations and Future Work

Not discussed in the paper. (Note: The authors do not include a dedicated limitations or future work discussion, though it is apparent from the methodology that all evaluations rely on simulated analytical datasets of a $20 \times 20$ 1-bit RIS rather than physical anechoic chamber measurements, and the Green function layer adds ~5.7 ms of latency compared to a 0.21 ms direct-prediction backbone).

Summary updated

BibTeX
@misc{han2026physics,
  author = {Qiaojian Han and Yueheng Li and Haixia Zhang and Dongfeng Yuan},
  title = {{Physics-Informed Electromagnetic Modeling of Hardware-Impaired Reconfigurable Intelligent Surfaces}},
  year = {2026},
  eprint = {2611.40352},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40352},
}
Figure