Inverse Design of Diffractive Metasurfaces Using Diffusion Models

Liav Hen, Erez Yosef, Dan Raviv, Raja Giryes, Jacob Scheuer · DOI

Introduction

Metasurfaces are ultra-thin optical components composed of sub-wavelength "meta-atoms" designed to manipulate light with high precision. However, the design process is notoriously difficult due to the highly non-linear relationship between a meta-atom's geometry and its optical response. Traditional inverse design methods, such as topology optimization, are computationally expensive and prone to local minima.

Conceptual overview of a metasurface transforming an incident light source into a specific far-field diffraction pattern.

This paper introduces MetaGen, a generative framework utilizing conditional diffusion models to streamline this process. By integrating physics-based simulations directly into the generative loop, MetaGen enables the design of complex optical elements in a fraction of the time required by conventional methods.

Methodology: The MetaGen Framework

MetaGen leverages conditional diffusion models to transform random noise into valid metasurface geometries. The generation is guided by a target far-field scattering pattern and a specific operating wavelength.

Data Generation and Representation

To train the model, the authors developed a scalable pipeline that generates diverse geometries using low-pass filtered noise and parameterized shapes like rectangles and crosses. These geometries are represented as binary images for the neural network, which are then mapped to physical structures.

A meta-atom represented as (a) a binary image and (b) a 3D schematic, illustrating the mapping between geometric parameters and physical structure.

Physics-Informed Guidance

A key innovation is the integration of a differentiable Rigorous Coupled-Wave Analysis (RCWA) simulator. During the sampling process, this simulator provides "posterior sampling" guidance, nudging the diffusion model toward designs that more accurately match the desired physical output. Additionally, MetaGen can serve as a "warm start" initializer for traditional gradient descent, significantly accelerating convergence.

Experimental Evaluation

The authors evaluated MetaGen using several large-scale datasets:

  • B2 & C2: Primary datasets containing 3.6 million samples each, using $SiO_2$ and Silicon ($Si$) respectively.
  • A1-A3: Datasets with increasing periodicity to test structural complexity scaling.
  • Out-of-Distribution (OOD) Patterns: A set of complex target patterns (e.g., X-shapes) to test generalization.

Key Results and Insights

  • Efficiency: MetaGen designed a $5 \times 5$ uniform beam splitter in just 28 minutes, compared to the 2.6 to 18.9 hours required by traditional optimization.
  • Accuracy: MetaGen achieved a relative error of 0.1012, significantly outperforming other generative models like CVAE (0.5326) and WGAN-GP (0.2857).
  • Generalization: The model demonstrated the ability to interpolate across wavelengths not seen during training, suggesting it captures underlying physical principles rather than simple pattern matching.

Conclusion and Future Work

MetaGen represents a significant step forward in the rapid design of nanophotonic devices. While the current model faces challenges in covering the entire theoretical scattering space due to training data distribution, future work will focus on multi-layered metasurfaces and handling oblique light incidence.

Summary updated

BibTeX
@inproceedings{hen2025inverse,
  author = {Liav Hen and Erez Yosef and Dan Raviv and Raja Giryes and Jacob Scheuer},
  title = {{Inverse Design of Diffractive Metasurfaces Using Diffusion Models}},
  booktitle = {ACS},
  year = {2025},
  doi = {10.1021/acsphotonics.5c01384},
}
Figure