Predictive and generative machine learning models for photonic crystals

Thomas Christensen, Charlotte Loh, Stjepan Picek, Domagoj Jakobović, Li Jing, Sophie Fisher, Vladimir Čeperić, John D. Joannopoulos, Marin SoljačićNanophotonics 2020

Abstract The prediction and design of photonic features have traditionally been guided by theory-driven computational methods, spanning a wide range of direct solvers and optimization techniques. Motivated by enormous advances in the field of machine learning, there has recently been a growing interest in developing complementary data-driven methods for photonics. Here, we demonstrate several predictive and generative data-driven approaches for the characterization and inverse design of photonic crystals. Concretely, we built a data set of 20,000 two-dimensional photonic crystal unit cells and their associated band structures, enabling the training of supervised learning models. Using these data set, we demonstrate a high-accuracy convolutional neural network for band structure prediction, with orders-of-magnitude speedup compared to conventional theory-driven solvers. Separately, we demonstrate an approach to high-throughput inverse design of photonic crystals via generative adversarial networks, with the design goal of substantial transverse-magnetic band gaps. Our work highlights photonic crystals as a natural application domain and test bed for the development of data-driven tools in photonics and the natural sciences.

Introduction

The design and characterization of photonic crystals (PhCs)—materials engineered to manipulate light through periodic dielectric arrangements—have traditionally relied on theory-driven computational methods. While techniques like Finite-Difference Time-Domain (FDTD) or plane-wave expansion are highly accurate, they are computationally intensive. A single forward simulation can take minutes, making iterative inverse design—where one seeks a structure to meet specific optical targets—prohibitively slow. This research addresses these challenges by introducing data-driven surrogate models that offer near-instantaneous predictions and efficient high-throughput design.

Methodology and Data Generation

The researchers constructed a comprehensive dataset of 20,000 unique 2D square-lattice PhC unit cells. These cells featured procedurally generated "two-tone" inclusions with permittivity values ranging from 1 to 10. For each cell, the first six Transverse Magnetic (TM) and Transverse Electric (TE) bands were calculated using the MIT Photonic Bands (MPB) package.

Overview of PhC unit cell samples, band structures, and dataset statistics.

Three primary machine learning architectures were evaluated:

  1. Predictive CNN: A convolutional neural network designed for regression, mapping permittivity maps to photonic band structures.
  2. Generative Adversarial Networks (GANs): Used for inverse design to "dream up" new structures with large band gaps.
  3. Image-to-Image Translation (pix2pix): A conditional GAN for guided design, allowing users to provide rough sketches that the model optimizes.

Key Results and Insights

The predictive CNN demonstrated remarkable performance, achieving a mean test error of approximately 0.6%. Crucially, the model provided a 6,000x speedup over traditional solvers, reducing simulation time from ~120 seconds to ~0.02 seconds per unit cell.

In the realm of inverse design, GANs successfully identified novel structures with substantial band gaps. The models learned fundamental physical principles, such as the necessity of high dielectric contrast for TM gaps, without explicit programming. Interestingly, generative models proved effective even with limited high-performance data (as few as 250 samples), highlighting their utility in data-scarce regimes.

Statistical analysis of band gaps across the dataset.

Limitations and Future Outlook

While the current work focuses on 2D square lattices, extending these models to 3D geometries presents a significant next step, albeit with increased computational and data complexity. Additionally, ensuring the "fabricability" of GAN-generated designs remains a priority; future iterations could integrate topology optimization constraints to prevent noisy or fractured inclusions. Despite the initial overhead of generating training data (approx. 700 CPU hours), the resulting models provide a powerful toolkit for rapid, high-throughput photonic discovery.

Summary updated

BibTeX
@inproceedings{christensen2020predictive,
  author = {Thomas Christensen and Charlotte Loh and Stjepan Picek and Domagoj Jakobović and Li Jing and Sophie Fisher and Vladimir Čeperić and John D. Joannopoulos and Marin Soljačić},
  title = {{Predictive and generative machine learning models for photonic crystals}},
  booktitle = {Nanophotonics},
  year = {2020},
  doi = {10.1515/nanoph-2020-0197},
}
Figure