EM-GANSim: Real-time and Accurate EM Simulation Using Conditional GANs for 3D Indoor Scenes
Ruichen Wang, Dinesh Manocha
TL;DR
EM-GANSim presents a physics-informed conditional GAN to predict 3D indoor EM heatmaps in real time, conditioning on encoded geometry and transmitter location. The generator uses CNNs and a composite loss that blends adversarial, MSE, and physics terms for direct, reflected, and diffracted propagation, while the discriminator enforces geometry-consistent realism. On a large corpus of indoor scenes, EM-GANSim achieves real-time inference with roughly a 5x speedup over ray-tracing baselines, with accuracy approaching traditional RT methods and robust generalization across diverse environments. The work provides a large EM propagation dataset and outlines a path toward dynamic indoor and urban wireless simulations for rapid network planning and real-time decision support.
Abstract
We present a novel machine-learning (ML) approach (EM-GANSim) for real-time electromagnetic (EM) propagation that is used for wireless communication simulation in 3D indoor environments. Our approach uses a modified conditional Generative Adversarial Network (GAN) that incorporates encoded geometry and transmitter location while adhering to the electromagnetic propagation theory. The overall physically-inspired learning is able to predict the power distribution in 3D scenes, which is represented using heatmaps. We evaluated our method on 15 complex 3D indoor environments, with 4 additional scenarios later included in the results, showcasing the generalizability of the model across diverse conditions. Our overall accuracy is comparable to ray tracing-based EM simulation, as evidenced by lower mean squared error values. Furthermore, our GAN-based method drastically reduces the computation time, achieving a 5X speedup on complex benchmarks. In practice, it can compute the signal strength in a few milliseconds on any location in 3D indoor environments. We also present a large dataset of 3D models and EM ray tracing-simulated heatmaps. To the best of our knowledge, EM-GANSim is the first real-time algorithm for EM simulation in complex 3D indoor environments. We plan to release the code and the dataset.
