Evolutionary Diffusion Framework Empowering High-Performance Freeform Terahertz Metasurface Sensing
Abstract
1. Introduction
2. Results and Discussion
2.1. Design Paradigm of Freeform Metasurfaces
2.2. Global Design Model Construction
2.2.1. Fast Prediction Network
2.2.2. Inverse Design Network
2.3. Characterization of Designed Metasurface
3. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| DL | Deep learning |
| THz | Terahertz |
| EM | Electromagnetic |
| GES | Generative-evolutionary strategy |
| SSRG | Stochastic Seeded Region Growing |
| CDG | Conditional Diffusion Generator |
| ARN | Attention-enhanced Residual Network |
| GANs | Generative adversarial networks |
| VAEs | Variational autoencoders |
| DDPM | Denoising diffusion probabilistic model |
| TPX | Polymethyl pentene |
| FDTD | Finite-Difference Time-Domain |
| PML | Perfectly matched layers |
| MPI | Modal Purity Index |
| SNR | Signal-to-Noise Ratio |
| MSE | Mean Squared Error |
| ASL | Asymmetric Screening Loss |
| MBD | Mean Binarization Deviation |
| FiLM | Feature-wise Linear Modulation |
References
- Sun, L.; Zhao, L.; Peng, R.Y. Research progress in the effects of terahertz waves on biomacromolecules. Mil. Med. Res. 2021, 8, 28. [Google Scholar] [CrossRef]
- Tonouchi, M. Cutting-edge terahertz technology. Nat. Photonics 2007, 1, 97–105. [Google Scholar] [CrossRef]
- Wang, P.; Lou, J.; Yu, Y.; Zhang, J.; Li, S.; Chen, X.; Liu, Y.; Wang, Z.; Wu, L.; Sun, Q.; et al. An ultra-sensitive metasurface biosensor for instant cancer detection based on terahertz spectra. Nano Res. 2023, 16, 7304–7311. [Google Scholar] [CrossRef]
- Dong, B.; Wei, B.; Wei, D.; Wang, G.; Zhang, J.; Li, H.; Zhao, T.; Yang, Z.; Liu, C.; Xu, W.; et al. Detection of low-concentration biological samples based on a QBIC terahertz metamaterial sensor. Sensors 2024, 24, 3649. [Google Scholar] [CrossRef] [PubMed]
- Gao, S.; Huang, K.; Lan, C.; Zhang, H.; Li, J.; Zhao, M.; Wang, X.; Liu, Y.; Chen, Q.; Tan, S.; et al. Terahertz biosensor for amino acids upon all-dielectric metasurfaces with high-quality factor. Adv. Compos. Hybrid Mater. 2024, 7, 85. [Google Scholar] [CrossRef]
- Luo, M.; Zhou, Y.; Zhao, X.; Zhang, T.; Li, W.; Chen, G.; Wang, H.; Liu, J.; Wu, Q.; Yang, Y.; et al. High-sensitivity optical sensors empowered by quasi-bound states in the continuum in a hybrid metal–dielectric metasurface. ACS Nano 2024, 18, 6477–6486. [Google Scholar] [CrossRef] [PubMed]
- Tian, J.; Cao, W. Reconfigurable flexible metasurfaces: From fundamentals towards biomedical applications. PhotoniX 2024, 5, 2. [Google Scholar] [CrossRef]
- Sun, M.; Lin, J.; Xue, Y.; Wang, W.; Shi, S.; Zhang, S.; Shi, Y. A terahertz metasurface sensor based on quasi-BIC for detection of additives in infant formula. Nanomaterials 2024, 14, 883. [Google Scholar] [CrossRef]
- Nie, W.; Pan, M.; Shi, Y.; Shu, W.; Li, H.; Yu, W.; Zhang, Y. A Sensitive THz Fingerprint Sensor Based on Silicon Cylindrical Trimers for the Detection of Kresoxim-methyl. Photonics 2024, 11, 1128. [Google Scholar] [CrossRef]
- Wang, W.N.; Li, H.Q.; Zhang, Y.; Zhang, C.L. Correlations between terahertz spectra and molecular structures of 20 standard α-amino acids. Acta Phys. Chim. Sin. 2009, 25, 2074–2079. [Google Scholar] [CrossRef]
- Baxter, J.B.; Guglietta, G.W. Terahertz spectroscopy. Anal. Chem. 2011, 83, 4342–4368. [Google Scholar] [CrossRef]
- Yu, J.; Pu, H.; Sun, D.W. An advanced deep learning-driven terahertz metamaterial sensor for distinguishing different red wines. Chem. Eng. J. 2025, 504, 158177. [Google Scholar] [CrossRef]
- Soukoulis, C.M.; Wegener, M. Past achievements and future challenges in the development of three-dimensional photonic metamaterials. Nat. Photonics 2011, 5, 523–530. [Google Scholar] [CrossRef]
- Xu, W.; Xie, L.; Ying, Y. Mechanisms and applications of terahertz metamaterial sensing: A review. Nanoscale 2017, 9, 13864–13880. [Google Scholar] [CrossRef]
- Lyu, J.; Huang, L.; Chen, L.; Jiang, S.; Li, J.; Zhang, S.; Wei, Z.; Fan, F.; Chang, S.; Wen, Q. Review on the terahertz metasensor: From featureless refractive index sensing to molecular identification. Photonics Res. 2024, 12, 194–208. [Google Scholar] [CrossRef]
- Wang, W.; Sun, K.; Xue, Y.; Lin, J.; Fang, J.; Shi, S.; Shi, Y. A review of terahertz metamaterial sensors and their applications. Opt. Commun. 2024, 556, 130266. [Google Scholar] [CrossRef]
- Niu, Q.; He, K.; Zhao, R.; Feng, X.; Song, J.; Chen, J.; Liu, S.; Wang, Y.; Wang, J.; Gu, C.; et al. Broadband-enhanced terahertz metasurface biosensor enables molecular fingerprint trace detection via single-shot acquisition. ACS Photonics 2025, 12, 5939–5947. [Google Scholar] [CrossRef]
- Wang, R.; Song, L.; Ruan, H.; Tang, T.; Zhang, Y.; Ma, Y.; Dong, G.; Zhao, X.; Wang, G. Ultrasensitive terahertz label-free metasensors enabled by quasi-bound states in the continuum. Research 2023, 6, 0155. [Google Scholar] [CrossRef] [PubMed]
- Ding, J.; Huang, L.; Luo, Y.; Deng, Z.; Huang, X.; Zhang, C.; Sun, Q.; Xiao, S. Multi-band polarization-independent quasi-bound states in the continuum based on tetramer-based metasurfaces and their potential application in terahertz microfluidic biosensing. Adv. Opt. Mater. 2023, 11, 2202021. [Google Scholar] [CrossRef]
- Wang, Y.; Zhang, X.; Wang, Y.; Song, J.; Sun, Y.; Hao, T.; Li, J.; Zhao, C.; Yan, L.; Li, S.; et al. Recent advances in metasurfaces: From THz biosensing to microwave wireless communications. Research 2024, 7, 0337. [Google Scholar] [CrossRef] [PubMed]
- Peurifoy, J.; Shen, Y.; Jing, L.; Yang, Y.; Cano, F.; Rodriguez, H.; Joannopoulos, J.D.; Soljačić, M.; Tegmark, M. Nanophotonic particle simulation and inverse design using artificial neural networks. Sci. Adv. 2018, 4, eaar4206. [Google Scholar] [CrossRef] [PubMed]
- Ge, H.; Bu, Y.; Ji, X.; Yang, H.; Shi, Y. Inverse design of multistructured terahertz metamaterial sensors based on improved conditional generative network. ACS Appl. Mater. Interfaces 2024, 16, 60772–60782. [Google Scholar] [CrossRef]
- Hail, C.U.; Foley, M.; Sokhoyan, R.; Grajower, M.; Atwater, H.A. High quality factor metasurfaces for two-dimensional wavefront manipulation. Nat. Commun. 2023, 14, 8476. [Google Scholar] [CrossRef]
- Yu, W.; Pan, M.; Liu, S.; Wang, X.; Jiang, S.; Li, J.; Zhang, S.; Fan, F.; Chang, S.; Wen, Q. Terahertz Broadband Bimodal Multiplexing Detection Based on Quasi-Bound States in the Continuum and Guided-Mode Resonance. Ann. Phys. 2025, 537, 2500022. [Google Scholar] [CrossRef]
- Phan, T.; Sell, D.; Wang, E.W.; Doshay, S.; Ekins-Daukes, N.J.; Fan, J.A. High-efficiency, large-area, topology-optimized metasurfaces. Light Sci. Appl. 2019, 8, 48. [Google Scholar] [CrossRef] [PubMed]
- Hou, J.; Jin, J.; Lin, H.; Shi, Y. An overview of deep learning techniques for inverse design of metasurface. In Proceedings of the 2023 IEEE MTT-S International Microwave Filter Workshop (NEMO), Hong Kong, 7–9 February 2026; pp. 110–113. [Google Scholar]
- Lv, J.; Zhang, R.; Gu, Q.; Zhang, S.; Wei, Z.; Fan, F.; Chang, S.; Wen, Q. Metasurfaces and their intelligent advances. Mater. Des. 2024, 237, 112610. [Google Scholar] [CrossRef]
- Li, J.; Ma, B.; Chen, H.; Cao, J.; Sun, X. Deep neural network-enabled dual-functional wideband absorbers. Sci. Rep. 2024, 14, 25159. [Google Scholar] [CrossRef]
- Wekalao, J.; Mehaney, A.; Alarifi, N.S.; Al-Dosari, M.; Ahmed, A.M. High-sensitivity graphene-gold metasurface optical biosensor for early melanoma detection optimized with machine learning using a one-dimensional convolutional neural network and binary encoding. Phys. E Low Dimens. Syst. Nanostructures 2025, 170, 116214. [Google Scholar] [CrossRef]
- Li, Z.; Pestourie, R.; Park, J.S.; Huang, Y.W.; Johnson, S.G.; Capasso, F. Inverse design enables large-scale high-performance meta-optics reshaping virtual reality. Nat. Commun. 2022, 13, 2409. [Google Scholar] [CrossRef]
- Cheng, M.; Fu, C.L.; Okabe, R.; Gusev, V.V.; Wang, J.S.; Smidt, T.E.; Li, J.; Zhang, S.; Solomon, J.M.; Grossman, J.C. Artificial intelligence-driven approaches for materials design and discovery. Nat. Mater. 2026, 25, 174–190. [Google Scholar] [CrossRef] [PubMed]
- Wang, S.; Liu, B.; Wu, X.; Li, H.; Deng, C.; Li, J.; Zhang, S.; Fan, F.; Chang, S.; Wen, Q. Transfer Learning Empowered Multiple-Indicator Optimization Design for Terahertz Quasi-Bound State in the Continuum Biosensors. Adv. Sci. 2025, 12, 2504855. [Google Scholar] [CrossRef]
- Zong, Z.; Wen, P.; Chai, Z.; Dong, H.; Fang, J.; Ge, L.; Li, Y.; Liu, Z.; Ma, W.; Shao, X.; et al. Deep Learning-Assisted Design of Mechanical Metamaterials. Adv. Intell. Discov. 2025, 2, 202500084. [Google Scholar] [CrossRef]
- Gezimati, M.; Singh, G. Terahertz data extraction and analysis based on deep learning techniques for emerging applications. IEEE Access 2024, 12, 21174–21198. [Google Scholar] [CrossRef]
- Malkiel, I.; Mrejen, M.; Nagler, A.; Arieli, U.; Wolf, L.; Suchowski, H. Plasmonic nanostructure design and characterization via deep learning. Light Sci. Appl. 2018, 7, 60. [Google Scholar] [CrossRef]
- Ma, W.; Liu, Z.; Kudyshev, Z.A.; Boltasseva, A.; Cai, W.; Liu, Y. Deep learning for the design of photonic structures. Nat. Photonics 2021, 15, 77–90. [Google Scholar] [CrossRef]
- Wiecha, P.R.; Petrov, A.Y.; Genevet, P.; Muskens, O.L. Inverse design of nanophotonics devices and materials. Photonics Nanostructures-Fundam. Appl. 2022, 52, 101084. [Google Scholar] [CrossRef]
- Richter, M.; Loth, Y.; Wigger, A.K.; El-Safoury, M.; Schober, S.; Al-Salami, S.D.; Kliem, M.; Tamosiūnas, V.; Mikulskis, P.; Peters, S.; et al. High specificity THz metamaterial-based biosensor for label-free transcription factor detection in melanoma diagnostics. Sci. Rep. 2023, 13, 20708. [Google Scholar] [CrossRef]
- Liu, Y.; Lin, Y.S. Terahertz metamaterial using reconfigurable H-shaped resonator with tunable perfect absorption characteristic. Mater. Today Commun. 2023, 35, 105700. [Google Scholar] [CrossRef]
- Guo, S.; Li, C.; Wang, D.; Wu, J.; Li, S.; Wang, X.; Yan, L. A Terahertz Metamaterial Sensor Based on Dual Resonant Mode and Enhancement of Sensing Performance. Plasmonics 2024, 19, 2223–2231. [Google Scholar] [CrossRef]
- Landy, N.I.; Sajuyigbe, S.; Mock, J.J.; Smith, D.R.; Padilla, W.J. Perfect metamaterial absorber. Phys. Rev. Lett. 2008, 100, 207402. [Google Scholar] [CrossRef]
- Cheng, J.; Li, R.; Wang, Y.; Wang, J.; Zhao, Z.; Wang, S.; Chen, Q.; Yan, L. Inverse design of generic metasurfaces for multifunctional wavefront shaping based on deep neural networks. Opt. Laser Technol. 2023, 159, 109038. [Google Scholar] [CrossRef]
- Qu, M.; Chen, J.; Su, J.; Gu, S.; Li, Z. Design of metasurface absorber based on improved deep learning network. IEEE Trans. Magn. 2023, 59, 2500106. [Google Scholar] [CrossRef]
- Wen, F.; Jiang, J.; Fan, J.A. Robust freeform metasurface design based on progressively growing generative networks. ACS Photonics 2020, 7, 2098–2104. [Google Scholar] [CrossRef]
- Dai, M.; Jiang, Y.; Yang, F.; Xu, X.; Zhao, W.; Dao, M.H.; Liu, Y. SLMGAN: Single-layer metasurface design with symmetrical free-form patterns using generative adversarial networks. Appl. Soft Comput. 2022, 130, 109646. [Google Scholar] [CrossRef]
- Naseri, P.; Hum, S.V. A generative machine learning-based approach for inverse design of multilayer metasurfaces. IEEE Trans. Antennas Propag. 2021, 69, 5725–5739. [Google Scholar] [CrossRef]
- Lin, W.; Zhang, J.; Zou, Z.; Lin, Y.; Peng, Y.; Yang, W.; Zhang, Y.; Guo, T.; Wu, C.; Zhou, X.; et al. VAE enhanced Tandem Neural Network for reverse design of metasurface structural-colors with high efficiency and accuracy. Opt. Commun. 2025, 601, 132760. [Google Scholar] [CrossRef]
- Ebbesen, T.W.; Lezec, H.J.; Ghaemi, H.F.; Thio, T.; Wolff, P.A. Extraordinary optical transmission through sub-wavelength hole arrays. Nature 1998, 391, 667–669. [Google Scholar] [CrossRef]
- Zhang, Z.; Zhao, F.; Gao, R.; Yao, C.; Wang, B.; Li, Z.; Wang, S.; Zhang, S.; Fan, F.; Chang, S.; et al. Rayleigh anomaly-enabled mode hybridization in gold nanohole arrays by scalable colloidal lithography for highly-sensitive biosensing. Nanophotonics 2022, 11, 507–517. [Google Scholar] [CrossRef]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
- Ho, J.; Jain, A.; Abbeel, P. Denoising diffusion probabilistic models. Adv. Neural Inf. Process. Syst. 2020, 33, 6840–6851. [Google Scholar]






Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Zhang, C.; Pan, M.; Hong, Q.; Shen, S.; Guo, C.; Shi, Y.; Zhang, Y. Evolutionary Diffusion Framework Empowering High-Performance Freeform Terahertz Metasurface Sensing. Sensors 2026, 26, 1972. https://doi.org/10.3390/s26061972
Zhang C, Pan M, Hong Q, Shen S, Guo C, Shi Y, Zhang Y. Evolutionary Diffusion Framework Empowering High-Performance Freeform Terahertz Metasurface Sensing. Sensors. 2026; 26(6):1972. https://doi.org/10.3390/s26061972
Chicago/Turabian StyleZhang, Chenxi, Mengya Pan, Qiankai Hong, Shengyuan Shen, Conghui Guo, Yanpeng Shi, and Yifei Zhang. 2026. "Evolutionary Diffusion Framework Empowering High-Performance Freeform Terahertz Metasurface Sensing" Sensors 26, no. 6: 1972. https://doi.org/10.3390/s26061972
APA StyleZhang, C., Pan, M., Hong, Q., Shen, S., Guo, C., Shi, Y., & Zhang, Y. (2026). Evolutionary Diffusion Framework Empowering High-Performance Freeform Terahertz Metasurface Sensing. Sensors, 26(6), 1972. https://doi.org/10.3390/s26061972

