Active learning for photonics
Ryan Lopez, Charlotte Loh, Rumen Dangovski, Marin Soljačić
TL;DR
This work addresses the data-hungry task of predicting photonic crystal band gaps by introducing an analytic last-layer Bayesian neural network (LL-BNN) within an active learning loop. The LL-BNN provides a closed-form predictive variance $s(x)$, enabling uncertainty-driven sample selection that prioritizes the most informative simulations and avoids MC sampling overhead. On a dataset of $11{,}376$ two-tone 2D photonic crystals, the approach achieves up to $2.6\times$ data savings while maintaining accuracy, demonstrating substantial improvements in data efficiency for surrogate modeling in photonics. The framework is general and readily extensible to other scientific regression tasks, offering a scalable path toward faster inverse design and topological optimization in photonics and beyond.
Abstract
Active learning for photonic crystals explores the integration of analytic approximate Bayesian last layer neural networks (LL-BNNs) with uncertainty-driven sample selection to accelerate photonic band gap prediction. We employ an analytic LL-BNN formulation, corresponding to the infinite Monte Carlo sample limit, to obtain uncertainty estimates that are strongly correlated with the true predictive error on unlabeled candidate structures. These uncertainty scores drive an active learning strategy that prioritizes the most informative simulations during training. Applied to the task of predicting band gap sizes in two-dimensional, two-tone photonic crystals, our approach achieves up to a 2.6x reduction in required training data compared to a random sampling baseline while maintaining predictive accuracy. The efficiency gains arise from concentrating computational resources on high uncertainty regions of the design space rather than sampling uniformly. Given the substantial cost of full band structure simulations, especially in three dimensions, this data efficiency enables rapid and scalable surrogate modeling. Our results suggest that analytic LL-BNN based active learning can substantially accelerate topological optimization and inverse design workflows for photonic crystals, and more broadly, offers a general framework for data efficient regression across scientific machine learning domains.
