Abstract
Electromagnetic fields are commonly controlled through geometric design, but existing approaches often lack efficient and differentiable modeling tools for complex shapes. Here we introduce Electromagnetic Sculptor, a differentiable geometric optimization framework for manipulating electromagnetic fields on arbitrarily meshed structures. The framework combines a numerical electromagnetic model based on shooting and bouncing rays with a gradient-based geometric optimizer that stabilizes mesh deformation through spatial filtering. To avoid excessive shape distortion during optimization, a shape-preserving regularization strategy is incorporated. The method is demonstrated using radar cross section reduction as a representative application. Numerical and experimental results show pronounced field suppression at both single frequencies and across a broadband range, while maintaining geometric smoothness and manufacturability. The framework enables fast optimization for models containing thousands of vertices, with simulated results consistent with experimental measurements. These results illustrate how differentiable computation can be integrated with physically grounded electromagnetic modeling and practical design constraints.
Similar content being viewed by others
Data availability
The RCS measurement data used in this research have been uploaded to the Supplementary Data. Additionally, the RCS measurement data and mesh files used can be accessed via https://github.com/yankaiqiao/EM-Sculptor/.
Code availability
The code used in this study is available from the corresponding authors upon reasonable request.
References
Dainese, P. et al. Shape optimization for high efficiency metasurfaces: theory and implementation. Light Sci. Appl. 13, 300 (2024).
Liu, Z. et al. Generative model for the inverse design of metasurfaces. Nano Lett. 18, 6570–6576 (2018).
Li, M. et al. A gradient-based aero-stealth optimization design method for flying wing aircraft. Aerosp. Sci. Technol. 92, 156–169 (2019).
Li, M. et al. An efficient adjoint method for the aero-stealth shape optimization design. Aerosp. Sci. Technol. 118, 107017 (2021).
Chen, Y. et al. Semantic–electromagnetic inversion with pretrained multimodal generative model. Adv. Sci. 11, 2406793 (2024).
Yang, L. et al. DPO-SDF: differentiable physical optics method with signed distance field for 3-D reconstruction of perfect electric conductors. IEEE Trans. Antennas Propag. 72, 1759–1771 (2024).
Fan, Y. et al. Hybrid channel tracking for THz massive MIMO communication systems in dynamic environments. IEEE J. Sel. Areas Commun. 43, 988–1003 (2025).
Fan, Y. et al. Dynamic delay-Doppler-angle domain channel tracking for THz massive MIMO-OTFS communication systems. IEEE Trans. Wireless Commun. 24, 5163–5178 (2025).
Forrest, S. Genetic algorithms: principles of natural selection applied to computation. Science 261, 872–878 (1993).
Banks, A., Vincent, J. & Anyakoha, C. A review of particle swarm optimization. Part I: background and development. Nat. Comput. 6, 467–484 (2007).
Faris, H. et al. Grey wolf optimizer: a review of recent variants and applications. Neural Comput. Appl. 30, 413–435 (2018).
Qing, A., Lee, C. K. & Jen, L. Electromagnetic inverse scattering of two-dimensional perfectly conducting objects by real-coded genetic algorithm. IEEE Trans. Geosci. Remote Sens. 39, 665–676 (2001).
Salucci, M. et al. Learned global optimization for inverse scattering problems: matching global search with computational efficiency. IEEE Trans. Antennas Propag. 70, 6240–6255 (2022).
He, Z. et al. A space-mapping-based optimal EM design of RCS reduction for electrically large targets. IEEE Trans. Antennas Propag. 69, 6702–6711 (2021).
Wang, H., Zou, Q. & Lin, H. A quasi-optimal shape design method for electromagnetic scatterers based on NURBS surfaces and filter-enhanced GWO. IEEE Trans. Antennas Propag. 71, 4236–4245 (2023).
Elsawy, M. M. R. et al. Numerical optimization methods for metasurfaces. Laser Photonics Rev. 14, 1900445 (2020).
Ji, W. et al. Recent advances in metasurface design and quantum optics applications with machine learning, physics-informed neural networks, and topology optimization methods. Light Sci. Appl. 12, 169 (2023).
Jin, J. et al. Efficient EM topology optimization incorporating advanced matrix Padé via Lanczos and genetic algorithm for microwave design. IEEE Trans. Microwave Theory Tech. 69, 3645–3666 (2021).
Cheng, M. et al. A review of data-driven surrogate models for design optimization of electric motors. IEEE Trans. Transp. Electrif. 10, 8413–8431 (2024).
Yang, Y., Yu, W. M. & Cui, T. J. Efficient RCS modeling with an adaptive design-based Gaussian process method. IEEE Antennas Wirel. Propag. Lett. 23, 2006–2010 (2024).
Elsawy, M. M. R. et al. Global optimization of metasurface designs using statistical learning methods. Sci. Rep. 9, 17918 (2019).
Rezaee Jordehi, A. & Jasni, J. Parameter selection in particle swarm optimisation: a survey. J. Exp. Theor. Artif. In. 25, 527–542 (2013).
Jing, G. et al. Neural network-based surrogate model for inverse design of metasurfaces. Photon. Res. 10, 1462–1471 (2022).
Zhang, Q. et al. Machine-learning designs of anisotropic digital coding metasurfaces. Adv. Theory Simul. 2, 1800132 (2019).
Wang, Q. et al. Machine learning-assisted quasi-bisection method for pixelated patch antenna bandwidth optimization. IEEE Antennas Wirel. Propag. Lett. 23, 4807–4811 (2024).
Wu, Q. et al. Machine-learning-assisted optimization for antenna geometry design. IEEE Trans. Antennas Propag. 72, 2083–2095 (2024).
Tanriover, I., Lee, D. & Chen, W. Deep generative modeling and inverse design of manufacturable free-form dielectric metasurfaces. ACS Photonics 10, 875–883 (2023).
Li, L. et al. DeepNIS: deep neural network for nonlinear electromagnetic inverse scattering. IEEE Trans. Antennas Propag. 67, 1819–1825 (2019).
Zhang, H. et al. Semantic regularization of electromagnetic inverse problems. Nat. Commun. 15, 3869 (2024).
Raissi, M., Perdikaris, P. & Karniadakis, G. E. Physics-informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 378, 686–707 (2019).
Shan, T. et al. Physics-informed supervised residual learning for electromagnetic modeling. IEEE Trans. Antennas Propag. 71, 3393–3407 (2023).
Seo, D. et al. Structural optimization of a one-dimensional freeform metagrating deflector via deep reinforcement learning. ACS Photonics 9, 452–458 (2022).
Jiang, H., Khoo, Y. & Yang, H. Reinforced inverse scattering. SIAM J. Sci. Comput. 46, 884–902 (2024).
Yang, T., Cheng, D. & Wang, Y. Designing freeform imaging systems based on reinforcement learning. Opt. Express 28, 30309–30323 (2020).
López, D. P. Programmable integrated silicon photonics waveguide meshes: optimized designs and control algorithms. IEEE J. Select. Topics Quantum Electron. 26, 1–12 (2020).
Lalau-Keraly, C. M. et al. Adjoint shape optimization applied to electromagnetic design. Opt. Express 21, 21693–21701 (2013).
Qiao, T. et al. Pixel antenna optimization using the adjoint method and the method of moving asymptote. IEEE Trans. Antennas Propag. 71, 2873–2878 (2023).
Bahmani, S. et al. Topology optimization of optical nanoantennas with desired multipoles. Opt. Express 33, 19418–19441 (2025).
Sun, A. et al. Edge-guided inverse design of digital metamaterial-based mode multiplexers for high-capacity multi-dimensional optical interconnect. Nat. Commun. 16, 2372 (2025).
Gongal-Reddy, V. M. R. et al. Parallel decomposition approach to gradient-based EM optimization. IEEE Trans. Microwave Theory Tech. 64, 3380–3399 (2016).
Abadi, M. et al. TensorFlow: a system for large-scale machine learning. In Proc. 12th USENIX Conference on Operating Systems Design and Implementation (OSDI 16) 265–283 (USENIX Association, 2016).
Paszke, A. et al. PyTorch: an imperative style, high-performance deep learning library. Adv. Neural Inf. Process. Syst. 32, 8024–8035 (2019).
Hu, Y. et al. A theory-guided deep neural network for time domain electromagnetic simulation and inversion using a differentiable programming platform. IEEE Trans. Antennas Propag. 70, 767–772 (2021).
Müller, J., Philipp, D. & Günther, M. Differentiable cosimulator for electrically reconfigurable structures. IEEE Access 13, 191343–191356 (2025).
Ruder, S. An overview of gradient descent optimization algorithms. Preprint at arXiv https://doi.org/10.48550/arXiv.1609.04747 (2016).
Staib, M. et al. Escaping saddle points with adaptive gradient methods. In Proc. 36th International Conference on Machine Learning (PMLR) Vol. 97, 5956–5965 (PMLR, 2019).
Encinas-Lago, G. et al. A cost-effective RISs deployment to abate the coverage problem in B5G Networks. IEEE Trans. Wireless Commun. 23, 15276–15290 (2024).
Jin, J. M. Theory and Computation of Electromagnetic Fields (John Wiley & Sons, 2015).
Nicolet, B., Jacobson, A. & Jakob, W. Large steps in inverse rendering of geometry. ACM Trans. Graphics. 40, 1–13 (2021).
Wang, N., Zhang, Y. & Li, Z. Pixel2Mesh: generating 3D mesh models from single RGB images. In Proc. European Conference on Computer Vision (ECCV) 52–67 (Springer, 2018).
Tojo, K. et al. Stealth shaper: reflectivity optimization as surface stylization. In ACM SIGGRAPH 2023 Conf. Proc. 1–10 (Association for Computing Machinery, 2023).
Chang, W. et al. Spatiotemporal bilateral gradient filtering for inverse rendering. In ACM SIGGRAPH Asia 2024 Conf. 1–11 (Association for Computing Machinery, 2024).
Sorkine, O. & Alexa, M. As-rigid-as-possible surface modeling. In Symp. Geom. Process. 109–116 (Eurographics Association, 2007).
Crane, K., Pinkall, U. & Schröder, P. Robust fairing via conformal curvature flow. ACM Trans. Graph. 32, 1–10 (2013).
Belogay, E. et al. Calculating the Hausdorff distance between curves. Inf. Process. Lett. 64, 17–22 (1997).
Aguilar, A. et al. Overview of recent advances in the electromagnetic field solver FEKO. In 2015 9th Eur. Conf. Antennas Propag. (EuCAP) 1–5 (IEEE, 2015).
Mao, N. et al. The research of standard model’s RCS calculation and its analytical efficiency based on FASTEM-STUDIO. In 2022 2nd Int. Signal Process. Commun. Eng. Manage. Conf. (ISPCEM) 194–197 (IEEE, 2022).
Tulgar, O., Durgut, K. & Ergin, A. A. A simple and efficient SBR implementation for RCS calculation using target scaling. IEEE Trans. Antennas Propag. 70, 3680–3687 (2021).
Acknowledgements
This work was supported by the National Key Research and Development Program of China under Grant No. 2023YFB3811501, National Natural Science Foundation of China under Grant Nos. 62301146 and 62288101, Natural Science Foundation of Jiangsu Province of China under Grant No. BK20230816, China Postdoctoral Science Foundation under Grant Nos. 2023M730554 and BX20220065 and Postgraduate Research and Practice Innovation Program of Jiangsu Province under Grant No. KYCX25_0463.
Author information
Authors and Affiliations
Contributions
Kaiqiao Yang and Che Liu contributed equally to this work. Tie Jun Cui and Wenming Yu supervised the research. All authors contributed to the data analysis and revision of the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Communications Engineering thanks the anonymous reviewers for their contribution to the peer review of this work. Primary Handling Editors: [Yu-Cheng Chen] and [Wenjie Wang]. A peer review file is available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Yang, K., Liu, C., Yu, W. et al. Electromagnetic Sculptor: a differentiable geometric optimization framework to manipulate electromagnetic fields. Commun Eng (2026). https://doi.org/10.1038/s44172-026-00642-3
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s44172-026-00642-3


