<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Author Correction: Large area optimization of meta-lens via data-free machine learning</title></titleStmt>
			<publicationStmt>
				<publisher>Nature Publishing Group</publisher>
				<date>12/01/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10540141</idno>
					<idno type="doi">10.1038/s44172-023-00114-y</idno>
					<title level='j'>Communications Engineering</title>
<idno>2731-3395</idno>
<biblScope unit="volume">2</biblScope>
<biblScope unit="issue">1</biblScope>					

					<author>Maksym Zhelyeznyakov</author><author>Johannes Fröch</author><author>Anna Wirth-Singh</author><author>Jaebum Noh</author><author>Junsuk Rho</author><author>Steve Brunton</author><author>Arka Majumdar</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Sub-wavelength diffractive optics, commonly known as meta-optics, present a complex numerical simulation challenge, due to their multi-scale nature. The behavior of constituent sub-wavelength scatterers, or meta-atoms, needs to be modeled by full-wave electromagnetic simulations, whereas the whole meta-optical system can be modeled using ray/ Fourier optics. Most simulation techniques for large-scale meta-optics rely on the local phase approximation (LPA), where the coupling between dissimilar meta-atoms is neglected. Here we introduce a physics-informed neural network, coupled with the overlapping boundary method, which can efficiently model the meta-optics while still incorporating all of the coupling between meta-atoms. We demonstrate the efficacy of our technique by designing 1mm aperture cylindrical meta-lenses exhibiting higher efficiency than the ones designed under LPA. We experimentally validated the maximum intensity improvement (up to 53%) of the inverse-designed meta-lens. Our reported method can design large aperture ( ~10 4 -10 5 λ) meta-optics in a reasonable time (approximately 15 minutes on a graphics processing unit) without relying on the LPA.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I</head><p>n the age of silicon computing, numerical simulations are at the heart of understanding and designing physical systems. For many cases, analytical solutions to complex device geometries are intractable to compute, or simply do not exist. From extremely large systems like rockets <ref type="bibr">1</ref> to ultra-small nanophotonic devices <ref type="bibr">2</ref> , numerical simulations provide scientists and engineers with the necessary tools to design nonintuitive structures. In electromagnetics, direct solvers, including the finite difference time domain (FDTD) <ref type="bibr">3</ref> and the finite difference frequency domain (FDFD) <ref type="bibr">4,</ref><ref type="bibr">5</ref> simulators, are the usual choices when dealing with heterogeneous structures with subwavelength features that require a high degree of numerical accuracy. Most commonly, electromagnetic simulation tools serve to validate the qualitative designs created by engineers based on prior knowledge and intuition. In recent years, the field of nanophotonics has incorporated a new paradigm of computer-aided device design, where a device's performance is summarized by a quantitative figure of merit (FOM) that is optimized over. This method involves running a forward numerical simulation, computing the FOM, and iteratively modifying the device's geometry based on an optimization algorithm to reach the desired FOM. Such optimization methods, often termed as inverse design, have already been used to create multi-functional and efficient nanophotonic structures <ref type="bibr">2,</ref><ref type="bibr">[6]</ref><ref type="bibr">[7]</ref><ref type="bibr">[8]</ref><ref type="bibr">[9]</ref><ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref><ref type="bibr">[13]</ref><ref type="bibr">[14]</ref><ref type="bibr">[15]</ref> . However, electromagnetic simulators suffer from a computational resource problem when the device dimension becomes large (&#8819;10 3 &#955;), where &#955; is the device's operating wavelength. As most electromagnetic simulations are performed over a sub-wavelength grid size, with increased size, the number of input variable becomes prohibitively large, making the simulation slow and memory extensive. The limitation of such forward electromagnetic simulators becomes even more severe for inverse design, where many such forward simulations are needed.</p><p>Sub-wavelength diffractive optics, also known as meta-optics, present an important test-bed for these problems: the constituent elements of the meta-optics, i.e. meta-atoms, are sub-wavelength, but the dimensions of the whole meta-optics are on the order of ~10 3 &#955; -10 5 &#955;. Thus the underlying physics of each scatterer has to be modelled using full-wave electromagnetic simulation, but the whole meta-optical system needs to be simulated using ray or wave optics. Such multiscale electromagnetic simulators invariably rely on approximations, the most common of which is the local phase approximation (LPA): the scattering in any small region is taken to be the same as the scattering from a periodic surface <ref type="bibr">9</ref> . This approximation allows the simulation of each scatterer in a periodic array, abstracting out the electromagnetic response as a simple phase shift. While this significantly reduces the computational complexity of simulating a meta-optic, this approximation fails to consider the coupling of each scatterer with their dissimilar neighbors. In fact, it has already been shown that meta-optical lenses designed under LPA have suboptimal efficiencies <ref type="bibr">16</ref> , especially when the numerical aperture is large. The LPA becomes even more inaccurate when the material used to create the meta-lens has low index, such as SiN <ref type="bibr">17</ref> . We note that, while a full FDTD coupled with adjoint optimization has been used to design a meta-optic without relying on LPA, their size has been limited to only ~100&#955; <ref type="bibr">18</ref> . LPA can also be bypassed using Mie scattering approaches <ref type="bibr">19</ref> , which however limits the shape of scatterers.</p><p>To address the computational bottleneck of large-area inverse design, here we introduce a physics-informed neural network (PINN), to model super-cell subsections of a larger metasurface <ref type="bibr">[20]</ref><ref type="bibr">[21]</ref><ref type="bibr">[22]</ref> which in conjunction with the overlapping boundary method <ref type="bibr">[23]</ref><ref type="bibr">[24]</ref><ref type="bibr">[25]</ref><ref type="bibr">[26]</ref><ref type="bibr">[27]</ref> , can replace a traditional FDTD/ FDFD solver to predict the electric field distribution for a given dielectric distribution. PINNs and other model-based deep learning architectures have already been used in modeling physical systems <ref type="bibr">28</ref> .</p><p>We also note that a large number of works already used artificial neural networks to predict spectral responses of meta-optics of varying scatterer geometries <ref type="bibr">25,</ref><ref type="bibr">[29]</ref><ref type="bibr">[30]</ref><ref type="bibr">[31]</ref><ref type="bibr">[32]</ref><ref type="bibr">[33]</ref><ref type="bibr">[34]</ref><ref type="bibr">[35]</ref><ref type="bibr">[36]</ref> . However, these works used largely periodic structures for which LPA is accurate. We present a solution via PINNs <ref type="bibr">37,</ref><ref type="bibr">38</ref> for lenses and devices with spatially varying scatterer geometries, where it is necessary to model the whole electric field from several scatterers and their neighbors. The use of PINNs to accurately model the electromagnetic scattering beyond the LPA is the main contribution of this work. PINNs solve partial differential equations (PDEs) by minimizing a loss function constructed from the PDE itself. This loss function is generally some norm of the residual <ref type="bibr">37</ref> or an energy function derived from the PDE <ref type="bibr">39</ref> . PINNs have already seen wide usage in the field of fluid mechanics <ref type="bibr">[40]</ref><ref type="bibr">[41]</ref><ref type="bibr">[42]</ref> , biology <ref type="bibr">43</ref> , and solving stochastic PDEs <ref type="bibr">44</ref> . In electromagnetic inverse problems, PINNs have also been employed to design meta-optics and nanophotonic devices <ref type="bibr">45,</ref><ref type="bibr">46</ref> . These works, however, did not clearly demonstrate a simulation speedup, and are limited to the inverse design of only very small devices. We also note that pre-trained PINNs have been used to design small gratings <ref type="bibr">47</ref> ; however their methodology is limited to small gratings that deflect light fields to specific angles, and thus cannot be readily used for the inverse design of arbitrary meta-optics or a meta-lens.</p><p>In our work, we train PINNs to predict the electric fields from a parameterized set of dielectric meta-atoms corresponding to rectangular pillars. We then use this as a surrogate model to design cylindrical meta-lenses operating in the visible with a diameter of 1 mm (~1500&#955;). Large area meta-optics are simulated by partitioning the simulation region into groups of 11 metaatoms, with the outermost meta-atoms overlapping. After simulation, the fields are stitched together. Our PINNs do not require a training data set. They are trained by randomly generating distributions of dielectric meta-atoms &#1013;, feeding them into a neural network NN, and minimizing the residual of the linear Maxwell PDE operator</p><p>over the neural network training parameters. This means our PINNs are trained without ever invoking a forward numerical simulation of Maxwell's equations during the training process. Numerical simulations are invoked only to test the neural network performance (see next section, Supplementary Note 6, and Supplementary Fig. <ref type="figure">5</ref>). A similar data-free approach has been applied to deep-tissue microscopy <ref type="bibr">48</ref> , however inverse design was not demonstrated. Once trained, this method can calculate the full electromagnetic field response from a 1 mm diameter cylindrical meta-lens at ~630nm in approximately 3 seconds on a graphics processing unit (GPU). Furthermore, we demonstrate an experimental improvement (over 50%) of the maximum intensity of cylindrical metalenses over their forward designed hyperboloid counterparts, signifying the improvement over using LPA. We note that the reported method is robust enough to handle even larger meta-optics, with simulation time scaling only linearly with the aperture of the cylindrical lens (see Supplementary Note 9).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Methods</head><p>Deep neural network proxy to Maxwell's equations. Our problem statement is summarized in Fig. <ref type="figure">1c</ref>. The monochromatic electromagnetic scattering equation for an inhomogeneous, nonmagnetic material is given by: &#8711; &#8711; E&#240;x&#222; &#192; &#969; 2 &#1013;&#240;x&#222;E&#240;x&#222; &#188; i&#969;J &#240;x&#222;: &#240;2&#222;</p><p>In the 2D case, assuming out of plane polarization &#240;0; 0; E z &#222;, and the double curl vector identity, &#8711; &#215; &#8711; &#215; = &#8711; ( &#8711; &#8901; ) -&#8711; 2 we can simplify Eq. ( <ref type="formula">2</ref>) to:</p><p>where E z and J z are scalar fields. Equation ( <ref type="formula">3</ref>) is defined over all space, with boundary conditions at |x| &#8594; &#8734;. To simulate this equation, we discretize it on a Yee grid 3 by replacing the &#8711; operator with a matrix, and treating the field E z &#240;x&#222; and current J z as vectors E and J at discrete values of x. Similarly, we treat the dielectric distribution &#1013;(x) as a diagonal matrix &#949;. To truncate the simulation to a finite domain, we use perfectly matched boundary layers (PML), by making the transformation on the partial derivative operators &#8706; &#8706;x ! 1 1&#254;i &#963;&#240;x&#222; &#969; &#8706; &#8706;x . Making these substitutions, Eq. (3) becomes:</p><p>with matrices D h x ; D e x ; D h y ; D e y being the matrix representations of corresponding derivative operators on a Yee grid with incorporated PML boundaries. See Supplementary Note 5 and Supplementary Fig. <ref type="figure">4</ref> for a more detailed description of the matrices. These matrices were extracted from a modified version of the package angler <ref type="bibr">49</ref> with constants c, &#1013;, &#956; set to 1 and the length scale set to &#956;m. To build a neural network proxy to solve Eq. ( <ref type="formula">4</ref>), we employ a PINN (Fig. <ref type="figure">1a</ref> and <ref type="figure">b</ref>). PINNs generally use the coordinates of the computational grid as the input to the neural network, and then minimize the residual of the physical equations by approximating the target quantity being solved for with a neural network. This approach is slow since it effectively functions as an iterative solver re-parameterized over neural network weights and biases. It also required retraining the neural network for all different dielectric distributions. Our approach is to build a proxy solver that predicts the field E from a dielectric distribution &#949;. We pretrain the PINN to predict fields from inputs &#949; before optimizing our meta-lenses. The minimization problem to train the PINN becomes:</p><p>with NN(&#949;; &#952;) being the output field from the PINN, and || &#8901; || 1 is the vector l 1 norm. Here &#952; refers to the weights and biases of the neural network NN. A lower physics informed loss indicates that the neural network is actually satisfying the PDE, and thus predicting the field more accurately. We re-emphasize that there is no data term in f(&#1013;; &#952;), which simplifies the neural network training process. Furthermore, we believe that it mitigates the accumulation of error in the gradients during the inverse design process observed by Chen et. al. <ref type="bibr">47</ref> . Figure <ref type="figure">1</ref> outlines the general strategy for building the proxy model. During each epoch, 10 (batch size) dielectric distributions consisting of rectangular pillars of height h = 0.6 &#956;m with dielectric constant 4 (corresponding to SiN), are generated from 11 random pillar halfwidths per batch. The operation wavelength is &#955; = 0.633 &#956;m. The neural network architecture chosen is a UNET, shown in Fig. <ref type="figure">1a</ref> and b, due to previously reported good performance with scattering problems <ref type="bibr">47</ref> . The model is trained for 5 &#215; 10 5 epochs using the ADAM optimizer <ref type="bibr">50</ref> with a learning rate set to 5 &#215; 10 -4 . The final residual of the fields predicted by the neural network are of the order of ~0.5, compared to the numerical residual produced by FDFD which is on the order of 10 -16 . Although there is a large difference, in the next section we show that this still produces a simulator which is capable of outperforming the LPA when optimizing the efficiency of a metalens. Figure <ref type="figure">2a</ref> shows an example of a field predicted from a random set of pillars by the neural network, by a 2D FDFD code, and their difference, showing good qualitative match. A more quantitative measure of the errors is shown in Fig. <ref type="figure">2b</ref>, where we show the point-wise error probability density functions for the relative error between the complex fields predicted by FDFD and that predicted by the neural network and the field predicted under LPA, and the absolute error between pillar-wise average transmission coefficients. See Supplementary Note 3 for a more detailed description of the pillar wise transmission coefficient error. The relative error is expressed as:</p><p>For the PINN, E approx is the field predicted from a set of 11 pillars. For the LPA, E approx is fields predicted from the same set of pillars, and then stitched together over the same region. See Supplementary Fig. <ref type="figure">2</ref> for a visual explanation. The mean expected relative error for the neural network is &#956; = 0.21 with a standard deviation of &#963; = 0.103. When using the LPA over the same region, we get a mean relative error of &#956; = 1.01 with a standard deviation of 0.411. Thus, based on the relative field error, our method is 4.8 &#215; more accurate than the LPA. For the pillar-wise transmission coefficient error, we get an expected error of &#956; = 0.051 for the neural network with a standard deviation of &#963; = 0.033 and for the LPA method we get an expected error of &#956; = 0.38 with a standard deviation of 0.14. Thus, based on the transmission coefficient error, our method is 7.2 &#215; more accurate than the LPA.</p><p>Device optimization. The optimization process based on automatic differentiation functionality of PyTorch for large area metaoptics is outlined in Fig. <ref type="figure">3</ref>. The forward problem is solved via a pre-trained PINN. Since the input into the neural net is a meshed grid of pillars, a differentiable map from pillar half-widths (3a.) to meshed geometries (3b) must be generated. This is achieved by generating Gaussian functions centered around pillar centers, with standard deviations of pillar half-widths in the x dimension, and pillar height in the y dimension, and then using a modified softmax function to transform the Gaussians into rectangles with slightly rounded edges, making them differentiable via automatic differentiation (see Supplementary Note 4 and Supplementary Fig. <ref type="figure">3</ref>). The meshed structures are fed into two separate neural networks that have been pre-trained to predict the complex electric field (3c.). The fields are then stitched together with regions of the outer half-widths overlapping. The total field is then propagated using the angular spectrum method (3d). The propagated field is used to calculate the FOM f (3e.)from Eq. ( <ref type="formula">5</ref>). We use automatic differentiation to compute the gradients of the FOM with respect to the input half-widths &#8711; r ! f , and iteratively update them with the ADAM optimizer <ref type="bibr">50</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Results</head><p>We used the PINN surrogate model to optimize 9 different lenses, all with 1 mm aperture, with focal lengths ranging from 250 to 1500 &#956;m in increments of 250 &#956;m. The minimum feature size is set to 75 nm, to ensure fabricability. To compare our optimization approach, we also generated lenses according to the hyperboloid phase equation:</p><p>The phase is implemented under LPA using SiN (refractive index 2), a wavelength of 0.633&#956;m, and periodicity of p = 0.443 &#956;m (see Supplementary Fig. <ref type="figure">9</ref>). We then optimize the lens employing our PINN to increase the intensity at the focal spot, i.e., the FOM is given by:</p><p>Figure <ref type="figure">4a</ref> and b show the intensity profile of a forward designed and optimized lens with F = 500 &#956;m focal length. Figure <ref type="figure">4c</ref> shows the normalized intensity slice at the focal spot of both lenses. As seen in Fig. <ref type="figure">4d</ref> the maximum intensities at the focal spots improve in every case. Figure <ref type="figure">4e</ref> shows that the efficiency improves in all except for the lens with the highest NA. We also find a trend that the improvement in the maximum intensity of the inverse-designed meta-lens over the forward-design meta-lens increases with increasing NA. As with higher NA, the phase gradient becomes larger, we expect the LPA to be a worse approximation. Interpreting the efficiency improvement is more convoluted. We defined the efficiency as the ratio of the light energy inside a circle of radius of three times the full width half maximum (FWHM) at the focal spot over the total energy in the focal plane. With increasing NA, the FWHM decreases, making the efficiency improvement lower with increased NA. For the highest NA, the FWHM of the inverse-designed meta-lens is significantly lower than the forward-designed meta-lens, making the efficiency lower. We validated our designs by fabricating and experimentally testing the meta-lenses using a microscope (details of fabrication and characterization in Supplementary Note 1.1 and Supplementary Note 1.2). Figure <ref type="figure">5</ref> shows an example of the inverse optimized device. Figure <ref type="figure">5a-c</ref> shows the scanning electron micrographs (SEMs) of the fabricated optimized lens with focal length F = 500&#956;m. Figure <ref type="figure">5d</ref> shows the distribution of the dielectric pillar half-widths of the same forward and optimized lens. signifying the two designs are very different. Figure <ref type="figure">5e</ref> shows the focal spot intensities of the lenses integrated over a r = 3 &#215; FWHM region at the focal spot, which yields a quantitative value to compare the lens efficiency 51 among different devices.  Figure <ref type="figure">5f</ref> plots the maximum intensity plot as a function of the lens NA. For optimized lenses with NA &gt; 0.44, we see improvements of more than 25%, with a maximum improvement of 53% for the NA = 0.9 lens. The experimentally determined intensity integral, which is analogous to the efficiency of a lens, on has improvements of more than 18% in all cases except for the NA=0.9 case. This is because the FWHM of the optimized lens at the NA=0.9 case is actually smaller than the FWHM of the forward designed lens, leading to a smaller integration area when computing the energy. We note that, while a quantitative match between the experiment and design is not obtained, we did observe a similar trend in terms of improved intensity and efficiency as predicted by the theory. Fig. <ref type="figure">5g</ref> shows experimentally measured field profiles of the forward designed F = 500&#956;m metalens. Figure <ref type="figure">5h</ref> shows the same for an optimized lens. Figure <ref type="figure">5i</ref> is the slice of the focal spot intensity profile along the z = F plane. In all these figures, the intensity is normalized such that the maximum intensity of the forward designed lens is 1. nonzero elements that scale as ~38n 3 in 3D, making small problems still manageable. The other problem with generalizing this method to 3D is the large null-space of the &#8711; &#215; &#8711; &#215; operator which results in slow convergence of numerical methods <ref type="bibr">54,</ref><ref type="bibr">55</ref> . It is highly likely that this could also affect the training of the PINN, and require regularization or preconditioning which deflates the null space of this operator to properly converge onto a solution. On the other hand, in this work we showed that machineprecision numerical accuracy of numerical solvers may be not be needed for inverse design methods with FDFD. Solvers could be sped up by relaxing the relative error tolerance, such that iterative solvers converge quicker for predicting the forward and adjoint problems. Another interesting aspect will be to understand the optimal PINN to model the meta-optics, and if we can identify a relationship between the number of trainable parameters and size of the problem we are solving. In future work we aim to explore these options.</p></div></body>
		</text>
</TEI>
