Inverse Design of Photonic Devices with Strict Foundry Fabrication Constraints
간접 관련 필름·전자재료 · (13) 프리즘 필름 (11) 배리어 필름(15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.1021/acsphotonics.2c00313
- 저널
- ACS Photonics
- 발행년도
- 2022
- 발행기관
- American Chemical Society
- 피인용수
- 48
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1021/acsphotonics.2c00313
- 토픽
- Optical Coatings and Gratings
- OpenAlex ID
- W4282590114
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- (11) 배리어 필름, (15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- inverse design, nanophotonic devices, topology optimization, semiconductor foundries, photonic components
- 판단 근거
- 이 논문은 반도체 제조 공정의 제약 조건을 준수하면서 나노 광소자(photonic devices)를 설계하는 역설계(inverse design) 알고리즘을 다룹니다. 이는 코오롱인더스트리의 광학 필름(13)이나 디스플레이 관련 소재의 미세 구조 설계 및 공정 최적화 원리에 응용될 수 있습니다.
- R&D 활용 포인트
- 광학 필름의 미세 구조(microstructure) 설계나 디스플레이용 박막 봉지재의 나노 패턴 최적화 시, 제조 공정의 한계(최소 선폭, 간격 등)를 고려한 시뮬레이션 및 설계 자동화 도구로 활용 가능합니다.
- 평가 입력
- 본문 56,761자 중 30,032자 발췌
초록
본문 56,761자
본문 펼치기
섹션 본문 149문단 · 75,286자
(제목 없음)
1We introduce a new method for inverse design of nanophotonic devices which guarantees that resulting designs satisfy strict length scale constraints -including minimum width and spacing constraints required by commercial semiconductor foundries. The method adopts several concepts from machine learning to transform the problem of topology optimization with strict length scale constraints to an unconstrained stochastic gradient optimization problem. Specifically, we introduce a conditional generator for feasible designs and adopt a straight-through estimator for backpropagation of gradients to a latent design. We demonstrate the performance and reliability of our method by designing several common integrated photonic components.
I. INTRODUCTION
2Integrated photonic devices have led to game changing new capabilities in applications ranging from high-speed communications 1 to next-generation quantum computing platforms 2 and machine learning hardware accelerators 3 . These platforms stand to benefit from photonic components with improved performance, lower losses, larger bandwidths, and more compact footprints. However, achieving such multi-faceted specifications is extremely challenging through conventional intuition-backed design methodologies. In contrast, computational inverse design techniques can efficiently explore complex and high-dimensional design landscapes which are inaccessible to human designers. Enabled by adjoint variable methods 4,5 , gradient-based optimization techniques have proven to be among the most successful at producing photonic devices with high performance, with examples including wavelength-selective elements (e.g. multiplexers, filters, and resonators), signal routing elements (e.g. waveguide bends and couplers), and active components (e.g. modulators) [6][7][8][9][10][11][12][13][14][15][16] .
3The approach in gradient-based design strategies is to first formulate an objective function, calculated in terms of a device's simulated performance. Adjoint methods allow these objective functions and their gradients to be efficiently computed at a cost of only two full-wave simulations 4,5 , independently of the number of degrees of freedom in a design. When used in the context of modern automatic differentiation frameworks (e.g. JAX and TensorFlow), these techniques enable flexible endto-end device optimization frameworks 14,17 . However, guaranteeing that an optimized design yields the desired a) Electronic mail: mfschubert@gmail.com; Authors appear in order of contribution. b) Electronic mail: alfredkcc@x.team c) Electronic mail: iwill@x.team d) Electronic mail: aspy@x.team e) Electronic mail: dhalexander@google.com performance, while simultaneously satisfying the numerous design rules of modern semiconductor manufacturing processes 18,19 , still poses a major challenge. Particularly relevant for integrated photonic devices are the capabilities of the lithographic systems, which define constraints such as the minimum feature length scale that can be reliably printed. Elements of a design which are smaller than this length scale may print inconsistently or may be completely absent in the fabricated structure. Moreover, inclusion of a design feature with sub-resolution size can have broad yield implications. Thus, semiconductor foundries specify design rules which define the minimum width and minimum spacing of design features. Compliance with these rules, as validated by a design rule check (DRC), is typically a prerequisite for fabrication.
4There have been many proposals for DRC-compliant inverse design strategies. One class of strategies selects a design parameterization with intrinsic geometric length scale guarantees, e.g. by optimizing the placement of geometric primitives which already satisfy the desired minimum feature size constraints 20 . A related approach uses a parameterization which enables analytic constraints to be applied directly to the design degrees of freedom, e.g. by optimizing the coordinates of polygon vertices comprising shapes in the design mask 21 . However, the drawback in both of these strategies is that they offer up a limited landscape of potential designs. For example, when optimizing the vertices of a polygon, an optimizer will be unable to alter the topology of a design by closing or opening holes.
5In contrast, topology optimization strategies open up a much larger design landscape by parameterizing a design as a pixelated image, which is typically transformed by a sequence of convolutional filters and pixel-wise nonlinear functions 16,[22][23][24][25][26][27] . These so-called density or threefield parameterizations allow a gradient-based optimization algorithm (e.g. LBFGS or MMA 28 ) to modify any pixel within the design and apply arbitrary changes to the topology. In practice however, there is often a tradeoff between maintaining design feasibility (binarization of the pixels and feature size constraints) and attaining high performance. This is because a continuous optimizer must traverse infeasible regions of the design landscape before reaching feasible regions, which may or may not have high performance. The most common strategy in topology optimization is to begin with a continuous optimization phase before gradually ramping up binarization and applying design rule constraints. However, if binarization is ramped up too quickly, a continuous optimizer will stall and fail to make progress towards improving performance. Similarly, constraints or penalties on the feature size must be introduced in a way which will not push the optimizer away from high performance regions of the parameter space. Often in these strategies, the selection of optimization hyper parameters and the detailed strategy for enforcing design feasibility is an art and, moreover, depends on both the type of device being optimized as well as the performance objective.
6In this work we propose an always feasible gradientbased inverse design framework with strict guarantees on DRC-compliance. The key features of our proposal are a conditional generator for feasible designs, which is combined with a straight-through estimator (STE) to enable gradient backpropagation. The combination of these two components yields a differentiable transform which can be incorporated into an computational graph, much like a convolutional filter or projection operator in densitybased topology optimization. We apply our framework to several practical photonic design challenges (a waveguide bend, a beam splitter, a waveguide mode converter, and a demultiplexer), and demonstrate that the approach reliably yields designs with high performance.
A. Brush-based minimum length scale constraints
7In this section, we introduce a mathematical framework for measuring whether a binarized pixel array is DRC-compliant, focusing on the minimum width and minimum spacing rules commonly required by semiconductor foundries. In our framework, we consider binary arrays with values of −1 and +1, referring to these as void and solid, respectively. During the course of a fabrication workflow, such designs may be converted to contours by off-the-shelf algorithms, such as marching squares or dual contouring 29 .
8All binary arrays can be realized by sequentially setting individual pixels to void or solid; conceptually, this is equivalent to the repeated placements and translations of single-pixel void or solid brushes. While a single-pixel brush can generate all possible binary arrays, some arrays are infeasible with larger brushes. In the trivial case, a single-pixel solid feature cannot be realized with a 3 × 3 pixel solid brush, since centering the brush on a single pixel also sets adjacent pixels to solid. Throughout this paper, we refer to the pixel on which the brush is centered as a touch, t of the brush. Our goal is to determine whether a given design, x is feasible with a some brush, b, i.e. to determine whether all its solid and void features can be realized with b. When this is true, the condition
9is the morphological opening of x with brush b and ¬ is a logical not operation which changes solid features into void features and void features into solid features, i.e. a value of -1 to 1 and a value of 1 to -1. The morphological opening operation is computed by the application of a binary erosion, E followed by a dilation 30 , D with the same brush, i.e.
10. Intuitively, the dilation operation causes features in an image to expand while erosion causes features in an image to shrink. An illustration of these operations is provided in the supporting information. For a b-feasible design x, E(x, b) erodes the solid features and recovers the solid brush touches, while E(¬x, b) recovers the void brush touches. Dilation of the touches then restores the solid and void pixels, respectively. Intuitively, if x contains a small feature that is incompatible with b, then erosion will remove it entirely and no solid pixels will be restored by the dilation. Thus, the binary opening operation removes small features, while leaving feasible features unchanged. Length scale in a topology optimization context is typically associated with the minimum diameter of circular features. Thus, we say that if a design can be realized with an approximately circular brush b L with a diameter of L pixels, it has a minimum length scale of at least L·d, where d is the design pixel pitch. The minimum length scale of the design is the largest value of L for which Eqn. (1) is satisfied with brush b L . When contours are obtained by dual contouring (i.e. outlining pixels, for binary designs), a design with minimum length scale will also have related minimum width and spacing, equal to the minimum width of the brush itself. An example circular brush with associated measurements is shown in Fig. 1a and an example design which is feasible with the circular brush is shown in Fig. 2a.
11We turn now to minimum width and spacing constraints which result from foundry design rules. Given a minimum width and spacing constraint 31,32 , there are many brushes for which the associated feasible designs satisfy the constraint. The smallest of these is the notched square, i.e. a square brush which is solid everywhere except at the corners, as shown in Fig. 1b. An example design is shown in Fig. 2b. When the constraint requires a physical minimum feature width and spacing of w, designs feasible with the notched square brush of width L = w/d+2 will satisfy the constraint. Thus, if we can require that our designs are feasible with a notched square brush of width L = w/d + 2, we are also guaranteed to satisfy width and spacing rules of size w.
12Although reasoning about minimum width and spacing is straightforward for dual-contoured designs feasible with the notched-square brush, we have also extensively validated that such designs are design-rule compliant using industry standard design software such as KLayout 31 and Siemens Calibre Physical Verification 32 .
B. Generator for feasible designs
13In this section we describe our method of inverse design subject to strict length scale constraints. We have shown that designs which are feasible with a certain brush b (bfeasible) will satisfy minimum length scale or width and spacing constraints. Properly, this can be considered a combinatorial optimization problem. However, our approach is to approximately solve this problem, by transforming it into an unconstrained stochastic gradient optimization problem. Critically, we use a conditional generator for feasible designs and a straight-through estimator (STE) for backpropagation; these two components are discussed subsequently.
14In general, a binary design x can be produced by dilation with b of the solid and void touches t s b and t v b , i.e.
15We consider the generation of b-feasible arrays as a process in which t s b or t v b are updated with a single-element change at each step. In this context, we introduce several touch states and pixel states which may be associated with each location at any step in the process. Defining these states for the solid case: existing solid pixels are those which are assigned to solid by some touch in t s b ,
16Impossible solid touches are those which would assign an existing void pixel to solid, and consists of all pixels within some distance of existing void pixels,
17Valid solid touches are those which are not impossible and not already in t s b ,
18where ∧ is an element-wise logical and operation. Possible solid pixels are those obtained by dilating all existing or valid touches with b, i.e. they are those pixels which are or may be solid in a feasible array,
19where ∨ is an element-wise logical or operation. Required solid pixels are those which are not existing and not possible for void,
20Resolving solid touches are those which are valid and would assign solid to a required-solid pixel,
21Finally, free touches are valid but only color existing pixels. Corresponding void touches and pixels are be computed using the process. Fig. 3 shows an example of pixels and touches computed from the steps above and a full example is illustrated in the Supporting Information. A scheme that generates feasible arrays is outlined in Algorithm 1. The algorithm begins with empty t s b and t v b and loops until all pixels are existing for either solid or void. At each step, the pixel and touch states are updated. If free touches exist, all are selected. If resolving touches exist, one of these is selected; otherwise, any of the valid touches are selected.
22The algorithm sets at least one pixel at every step, and thus requires at most N iterations for a reward array with N pixels. A basic implementation of the algorithm involves full-array erosion and dilation operations at each step, which have cost proportional to O(N ), and leading to an overall cost O(N 2 ). However, it is straightforward to implement windowed operations which have fixed cost independent of N , and so feasible design generation with O(N ) complexity is possible.
23If touch selection is random, the algorithm simply yields a random feasible design. In practice, we greedily select the best touch as computed from a pixel reward array θ, where θ is obtained from a latent design produced in the course of an optimization, and is fixed during each run of the generator. The total reward of a solid touch is the sum of θ elements that would be set to solid were the touch to be made, i.e. the sum of θ elements set by the touch. The reward of a void touch is the negative sum of elements set to void by the touch. A simple illustrated example of how rewards for touches are calculated can be found in the supporting information. With this change, the algorithm becomes a conditional generator of feasible designs, where θ biases the feasible design generation. The designs in Fig. 2 have been created by running the algorithm on the same random reward array.
24To gain some intuition for why this scheme always produces feasible designs, consider that the algorithm will select exclusively solid or exclusively void until reaching a state where all remaining pixels are possible for both solid and void. In this state, no touch can lead to an invalid status. Since the starting state is one where all pixels are possible for both solid and void, we can see that the algorithm will never produce an invalid status.
25We emphasize that the full space of feasible designs of brush b is accessible by Algorithm 1. This can be clearly seen, since e.g. if θ = x is provided, where x is any feasible design, the output of the algorithm will simply be x.
C. Straight through estimator
26Algorithm 1 is not differentiable, and so it cannot be directly used with backpropagation in a gradient-based optimization setting. Drawing inspiration from the field of binary and quantized neural networks, we note that binary optimization can be viewed as topology optimization with a minimum length scale equal to a single pixel. Binary and quantized neural networks often make use of a STE in training, to backpropogate gradients through binary activation functions or to latent weights from which low-precision weights are obtained 33 . Specifically, in this approach one substitutes the gradient of a nondifferentiable function with that of an estimator, i.e.
27A typical estimator used for binarization (e.g. via application of the sign function) is the identity operation.
D. Computational graph
28The complete computational graph for the inverse design problem is depicted in Fig. 4. A latent design is passed through a transform, yielding the reward array θ. This is passed to the conditional generator, which produces a feasible design. We pass the design to an electromagnetic simulation engine which computes scattering matrix elements; these are the inputs to an objective function, which computes a scalar loss value. Optionally, we symmetrize the transform output to favor symmetric feasible designs. All operations in this graph are differentiable, with the exception of the generator -for which we use the STE. Thus, we can compute an estimated gradient of the loss with respect to the latent design.
29For the transform, we have found that
30is a good choice, where β is a scalar hyperparameter in the range 2-8. The convolutional transform aids in the optimization, as it ensures that the reward array θ is smooth, restricted in range, and has an associated length scale, determined by the brush size. The form of our estimator matches that of the transform. As with the transform, outputs of the estimator have a characteristic length scale and are restricted to the range (−1, 1), just as outputs of the generator itself are. Thus, the estimator can be seen as a differentiable approximation of the conditional generator. The success of this estimator is consistent with the finding in binary neural networks that estimators which approximate their forward-pass counterpart outperform simpler functions 34 .
31The latent design is randomly initialized with a bias so that the first feasible design is fully solid, and it is updated iteratively using the Adam scheme 35 , which is a common choice for stochastic optimization problems in machine learning. We use a learning rate of 0.01, and β 1 = 0.667 and β 2 = 0.9 for the decay of the gradient and second moment exponential moving averages, respectively.
32Notably, our method does not require scheduling of hyperparameters or changes in parameterization during the course of an optimization, and gives a feasible design at every optimization step. We expect that this simplicity could be advantageous from the perspective of a photonic designer tasked with creating a new component.
E. Objective function
33In a practical design application, one is generally concerned with creating a component that satisfies a performance specification, i.e. a desired level of insertion loss, return loss, and cross talk. We define such specification by defining a cutoff value |S cutoff | for the magnitude for each scattering parameter element of S. Additionally, there is an implicit bound on the allowed values, which is imposed by physical constraints. For example, transmission magnitudes greater than unity are not possible for passive photonic components. Our scalar objective function has the form
34where g is a vector of signs (+1 or -1) matching the size of S. The values of g are positive (+1) where the corresponding element of the cutoff array, |S cutoff | specifies the maximum value, and negative (-1) where |S cutoff | specifies the minimum value. w valid also has the same size as S and defines the range of allowed values for a scattering parameter element, which is defined as the distance between the performance cutoff, specified by |S cutoff |, and the physical bound on the scattering parameter element. For example, a minimum transmission amplitude cutoff of 0.5 (-3 dB in power transmission) would have a w valid of 0.5, because the maximum transmission possible is 1.0. All operations other than the min in the softplus of Eqn. (12) are element-wise.
A. Nanophotonic optimization problems
35In this section we apply our proposed inverse design framework to several integrated photonic components operating in the O-band, demonstrating designs for a waveguide bend, a mode converter, a beamsplitter, and a wavelength demultiplexer 36 . All components are optimized for their characteristics within two 10 nm wavelength bands centered at 1270 nm and 1290 nm. Performance targets for the components are specified in terms of their scattering parameters, and are summarized in Table I. Simulations of the components are performed using Ceviche 17 , an open source 2D finite difference frequency domain (FDFD) simulator. Silicon (ε r = 12.25) and silicon oxide (ε r = 2.25) are used for solid and void materials, respectively. All components are coupled to waveguides having 400 nm width, and we deal with the fundamental waveguide mode unless noted otherwise.
36The waveguide bend features a 1.6×1.6 µm 2 design region, with waveguides connecting to the left (port 1) and bottom (port 2). Given excitation from port 1, we aim to maximize transmission to port 2 while keeping backreflection low. Diagonal reflection symmetry is imposed, so that excitation from port 2 yields identical behavior.
37The spatial mode converter features a 1.6 × 1.6 µm 2 design region, with waveguides connecting to the left and right. We seek designs that maximally convert the fundamental waveguide mode on the left (port 1) to the second order mode on the right (port 2), with minimal backreflection into port 1.
38The beamsplitter design region is 3.2 × 2.0 µm 2 in size, with two waveguides connecting to the left (port 1 and port 4) and two waveguides connecting to the right (port 2 and port 3). Given excitation from port 1, the beamsplitter aims to divide power equally into port 2 and port 3 while minimizing backreflection into port 1 or transmission into port 4. We impose reflection symmetry along the horizontal and vertical axes, so that excitation from any other port yields identical behavior.
39The wavelength demultiplexer features a 6.4 × 6.4 µm 2 design region, with one waveguide connecting to the left (port 1) and two waveguides connecting to the right (port 2 and port 3). Given excitation from port 1, wavelengths in the first band are directed to port 2 while wavelengths in the second band are directed to port 3.
40In the optimization context, we consider three wavelengths per band -the center and extremal wavelengths. The specifications are considered to be fulfilled if the criteria in I are satisfied for all wavelengths. Our design resolution matches the 10 nm simulation resolution, so that e.g. a circular brush with diameter 10 corresponds to a 100 nm length scale. put port and substantial reflection back to the input port. Subsequent updates significantly modify the topology of the design, adding enclosed oxide features and developing isolated silicon features. We emphasize the key characteristic of our scheme -the design at every step is fully binary and satisfies the 100 nm length scale constraint. The target performance specification is achieved in 28 optimization steps, and the design continues to improve with more iterations. The lowest loss in the first 160 steps is found at step 122. Notably, the topology of this design differs from that at step 28, due to the fusing of two void features and the elimination of a third, along with changes in the shape of some solid features. The ability of our scheme to change topology while remaining feasible stands in contrast to some other methods, where the optimizer is locked in to a fixed topology once the optimization reaches an advanced state.
41For the mode converter, beamsplitter, and wavelength demultiplexer, the lowest-loss design from the first 160 optimization steps and corresponding field magnitudes are shown in Fig. 6. The scattering spectra for each is shown in Fig. 7, where each satisfies the performance target laid out in Table I and the 100 nm length scale constraint. As we have shown, the topology of a design can change substantially during the course of the optimization. Since the response of a device is generally discontinuous with major changes in the design shape or topology, a noisy loss trajectory is expected. This is illustrated in Fig. 8, which shows the normalized loss value versus iteration for the waveguide bend of Fig. 5 and the other three components. Points where the performance target is achieved are also highlighted. For each component, the loss generally decreases with step, but noise in the loss value and occasional regressions to higher loss can be seen.
42The waveguide bend and mode converter require fewer than 40 optimization iterations to achieve the target. Meanwhile, the beamsplitter and demultiplexer appear to be relatively more difficult problems, requiring approximately 100 steps to first reach the target. However, this is still well within the range of optimization steps required in an inverse design scheme 16 . In general, difficulty is directly related to the target specifications, length scale constraints, the physical size of the component, and the configuration of connecting waveguides. Reducing the Table I is achieved. length scale or increasing the design size will expand the solution space, and generally allow satisfactory solutions to be found with fewer optimization steps.
43C. Designs using 100 nm notched square brush Next, we turn to component designs generated using a 100 nm notched square brush. With the design resolution of 10 nm, these designs strictly satisfy an 80 nm minimum width and spacing constraint. The normalized loss trajectories four the components are plotted in Fig. 9. Scattering spectra and designs are found in the Supporting Information. For all components, designs achieving the performance target from Table I are found. However, the loss trajectories differ in several respects. Specifically, the trajectories are noisier, they generally contain fewer points that achieve the spec, and the spec is achieved later in the optimization. We attribute this to the fact that the notched square is relatively larger in area, limiting the design space accessible to the optimizer and making the problem more challenging. We expect that optimal hyperparameters of the Adam algorithm used to drive our optimization are somewhat problem-dependent, and in future work it would be interesting to explore various configurations. In particular, reducing the learning rate as the optimization progresses, which has been shown to aid in training of quantized neural networks 37 , could be beneficial.
D. Reliability and effect of length scale
44Our results indicate that our inverse design framework is capable of finding designs with desired performance for a variety of fabrication-constrained photonic inverse design problems. A useful method will find such solutions for a range of length scale constraints, and do so reliably. To evaluate this, we consider the optimization problems above for circular and notched-square brushes with 60 nm, 80 nm, 100 nm, and 130 nm size. To study reliability of the method, we run 20 independent optimizations with different random initialization, each for 500 steps. Thus, for a single problem configuration (combination of device type, brush shape, and brush size), 10,000 feasible designs were generated.
45Our analysis proceeds as follows: for each step i of an optimization run, we identify whether the target performance from Table I is achieved at any step j ≤ i. If the target performance is achieved at any such step, the run is considered successful at step i. Then, for each combination of component, brush shape, and brush size, we compute the number of runs which are successful at each step. From this, the fraction of successful runs is obtained and is shown in Fig. 10.
46Turning first to the 60 nm brushes, we observe that for all components and both brush shapes, we are able to consistently find designs which achieve the performance target. In most cases, only a few tens of optimization steps (and therefore simulations) are required. Random initialization affects the optimization trajectory, and the 20 different runs produce a distribution in the number of steps required to achieve the target. Comparing the circular and notched square brush, we find that with the circular brush the target performance is achieved slightly earlier, consistent with the hypothesis that the notched square presents a more challenging optimization problem. We observe this trend for other brush sizes discussed below. Across all component types designed with the 60 nm brush, the range of steps required to achieve the target performance is at most tens of steps wide, and in practical application a single optimization run may actually be sufficient to find a design which meets the desired performance specification.
47When designing with a 80 nm brush, we again are able to consistently achieve the target performance. Generally, we observe that the number of required steps is larger than for the 60 nm brush. However, in some cases, such as the wavelength demultiplexer with circular brush, the number of steps required follow similar distribution as with the 60 nm brush. This suggests that for some problems, decreasing the length below a threshold value has no benefit. We also see some outlier examples where the target performance specification is not achieved.
48As the brush sizes are increased to 100 nm, the general pattern is repeated. The target performance consistently achieved, but more steps are required and a larger number of outlier optimization runs fail to reach the target within 500 steps. At a brush size of 130 nm, the trend is repeated yet again. With this brush size, designs for the waveguide bend and mode converter which achieve the target continue to be consistently found. For the beamsplitter and wavelength demultiplexer, however, approximately half or fewer optimization runs achieve the target. Therefore, in a practical application of our inverse design method with such large length scales, it may be beneficial to launch multiple optimization runs to ensure that at least one can reach the target performance. Additionally larger design regions may be necessary.
49Much of the data supports the conclusion that larger brushes present more challenging optimization problems. We expect this also for theoretical reasons, since the design space with small brushes is strictly larger than that for larger brushes. However, with 130 nm brush we observe that some of the beamsplitter designs achieve the target performance ahead of the best 80 nm and 100 nm brush runs. This warrants further investigation in future work.
IV. CONCLUSION
50We have introduced an inverse design method which produces designs that are guaranteed to satisfy length scale constraints throughout the course of an optimization. Our always-feasible method is based on a conditional generator for designs and a straight-through gradient estimator, which is commonly used in quantized neural network training 33 . Combined, these two com-ponents enable the problem of length-scale-constrained topology optimization to be posed as an unconstrained stochastic gradient optimization problem.
51While the computational graph of our optimization scheme (Fig. 4) resembles that of some established topology optimization methods 16,26 , where a latent design is transformed into a physical design, the conditional generator used in our scheme avoids the challenges that established topology optimization techniques face in transitioning from performant infeasible regions of the design space to performant feasible designs. In such highdimensional design landscapes there is no guarantee that a high-performing infeasible design will be close to highperforming feasible designs, especially in integrated photonic devices where performance depends strongly on the collective interference of light from multiple scattering interfaces. Density-based optimization schemes often employ an unconstrained optimization stage 16,38 followed by multiple stages of increasing constraint enforcement, where device performance often drops significantly as design constraints are enabled. While the optimizer is often able to recover some level of performance, it is not guaranteed to be able to do so. In some cases, the performance of the final feasible design remains lower than earlier infeasible designs. A similar challenge in these optimization schemes lies in enforcing design binarization, which is often enabled gradually throughout several optimization stages by tuning a hyperparameter of the latent variable transformation 26 . While these changes to the device binarization reduce device performance, they present another challenge in that increased binarization is fundamentally at odds with the differentiability of the optimization graph. Essentially, the binarization nonlinearity approaches a step function with zero gradients. The effect of this trade off is that during late stages of the optimization, the algorithm is not able to significantly change the topology of the structure. In contrast, our always-feasible inverse design scheme always produces binarized designs and, moreover, is able to explore changes to the topology throughout the optimization (Fig. 5).
52An added benefit of our always-feasible inverse design method is the user's ability to halt an optimization run once a design with sufficiently high performance is generated. In contrast, obtaining a high performance design in a three field optimization scheme is typically not a sufficient condition for halting an optimization because multiple rounds of infeasible optimization are required to achieve high performance. Moreover, the higher levels of performance that are achieved during the unconstrained three field optimization stages are not guaranteed to be achieved during the stages where fabrication constraints and binarization have been applied.
53The results presented in this paper demonstrate that our method can reliably find high-performing designs for a variety of 2D nanophotonic inverse design problems. We believe the good performance of our method, and its simplicity, could make it a useful new scheme in practical applications of inverse design. In the future, it would be important to use a realistic 3D electromagnetic simulator 39 to design components that can be manufactured in commercial foundries. Another interesting direction would be to apply the method to topology optimization problems in other physical domains.
54We also see possible improvements to the underlying method. Specifically, conditional generators for designs satisfying additional constraints would be valuable, such as minimum solid area and void area 16 , which are frequently included in foundry design rules. Even for width and spacing constraints addressed by the current scheme, it would be useful to develop new generators which are not conservative, i.e. which do not require a brush larger than the target minimum width. Finally, the estimator and transform functions warrant additional study, and we see potential for learned estimators.
55Figs. S1 and S2 illustrate the generation of a 6×8 feasible design in 12 steps, using the algorithm from the main text conditioned on the input pixel reward array θ shown in Fig. S3. A notched-square brush of width 5 pixels is used.
56Step Step 2
57Step 3
58Step 4
59Step 5 0 1 2 3 4 5 6 7
60Step 6 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Figure S1. The first six steps of design generation.
61Step 1 : Solid and void touches are valid at all locations, and all pixels are possible.
62Step 2 : A void touch is placed at A6. Pixels covered by the touch become existing pixels for void, and impossible pixels for solid. A7 becomes a free touch for void.
63Step 3 : The free touch A7 is taken. The design and pixels are unaffected.
64Step 4 : A solid touch is placed at A0.
65Step 5 : A void touch is placed at E6. Location C4 becomes a required pixel for void. There are required-resolving touches in columns 3, 4, and 5, while there are free touches in columns 6 and 7. The resolving (but not free) touches would set C4 to void, but would also remove possible solid pixels.
66Step 6 : All the free touches are taken. The required pixel C4 is resolved, and no required-resolving touches remain.
S2
67A B C D E F
68Step 7 Step 12 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Figure S2. Additional steps of design generation.
69Step 7 : A void touch is placed at D4. Pixels E0, E1, F0, and F1 are now required for void. Both free and resolving (but not free) void touches exist.
70Step 8 : All the free touches are taken. E1 and F1 are resolved, but E0 and F0 remain required void pixels.
71Step 9 : A void touch is placed at F0, and the required pixels are resolved. F1 and F2 are now free void touches.
72Step 10 : The free touches at F1 and F2 are taken.
73Step 11 : A void touch is placed at C5. Pixels at A3 and C2 are now required for void. Since all remaining pixels must now be void, only free void touches remain.
74Step 12 : The free touches are made, and the design is complete. Figure S3. The continuous valued pixel reward array used to bias the 6×8 feasible design generation stepped through in Figs. S1 and S2 .
S2. DESIGNS USING 100 NM NOTCHED SQUARE BRUSH
75Scattering spectra for components created with a 100 nm notched square brush are shown in Fig. S4. The corresponding designs are shown in Fig. S5. Each component is the lowest-loss component found in the first 160 steps of a randomly-initialized optimization run. Figure S7. Simple example illustrating how rewards for otuches are calculated from the sum of θ elements set by the touch. In particular, the reward for placing a solid touch at the middle pixel (i.e. the pixel with the purple border) will be given by the sum of the sum of the values of θ over all the pixels covered by centering the brush at the middle pixel; i.e. it will be equal to 0.5 + 0.5 +0.7 + 0.7 + (-0.6) = 1.8. In contrast, the reward for placing a void touch at the middle pixel will be the negative sum (-1.8). Therefore, as the generator generates the feasible design, the middle pixel will more likely be set as a solid touch rather than a void touch, as expected from the predominantly positive valued (blue) θ in this example.
I. INTRODUCTION
76Integrated photonic devices have led to game changing new capabilities in applications ranging from high-speed communications 1 to next-generation quantum computing platforms 2 and machine learning hardware accelerators 3 . These platforms stand to benefit from photonic components with improved performance, lower losses, larger bandwidths, and more compact footprints. However, achieving such multi-faceted specifications is extremely challenging through conventional intuition-backed design methodologies. In contrast, computational inverse design techniques can efficiently explore complex and high-dimensional design landscapes which are inaccessible to human designers. Enabled by adjoint variable methods 4,5 , gradient-based optimization techniques have proven to be among the most successful at producing photonic devices with high performance, with examples including wavelength-selective elements (e.g. multiplexers, filters, and resonators), signal routing elements (e.g. waveguide bends and couplers), and active components (e.g. modulators) [6][7][8][9][10][11][12][13][14][15][16] .
77The approach in gradient-based design strategies is to first formulate an objective function, calculated in terms of a device's simulated performance. Adjoint methods allow these objective functions and their gradients to be efficiently computed at a cost of only two full-wave simulations 4,5 , independently of the number of degrees of freedom in a design. When used in the context of modern automatic differentiation frameworks (e.g. JAX and TensorFlow), these techniques enable flexible endto-end device optimization frameworks 14,17 . However, guaranteeing that an optimized design yields the desired a) Electronic mail: mfschubert@gmail.com; Authors appear in order of contribution. b) Electronic mail: alfredkcc@x.team c) Electronic mail: iwill@x.team d) Electronic mail: aspy@x.team e) Electronic mail: dhalexander@google.com performance, while simultaneously satisfying the numerous design rules of modern semiconductor manufacturing processes 18,19 , still poses a major challenge. Particularly relevant for integrated photonic devices are the capabilities of the lithographic systems, which define constraints such as the minimum feature length scale that can be reliably printed. Elements of a design which are smaller than this length scale may print inconsistently or may be completely absent in the fabricated structure. Moreover, inclusion of a design feature with sub-resolution size can have broad yield implications. Thus, semiconductor foundries specify design rules which define the minimum width and minimum spacing of design features. Compliance with these rules, as validated by a design rule check (DRC), is typically a prerequisite for fabrication.
78There have been many proposals for DRC-compliant inverse design strategies. One class of strategies selects a design parameterization with intrinsic geometric length scale guarantees, e.g. by optimizing the placement of geometric primitives which already satisfy the desired minimum feature size constraints 20 . A related approach uses a parameterization which enables analytic constraints to be applied directly to the design degrees of freedom, e.g. by optimizing the coordinates of polygon vertices comprising shapes in the design mask 21 . However, the drawback in both of these strategies is that they offer up a limited landscape of potential designs. For example, when optimizing the vertices of a polygon, an optimizer will be unable to alter the topology of a design by closing or opening holes.
79In contrast, topology optimization strategies open up a much larger design landscape by parameterizing a design as a pixelated image, which is typically transformed by a sequence of convolutional filters and pixel-wise nonlinear functions 16,[22][23][24][25][26][27] . These so-called density or threefield parameterizations allow a gradient-based optimization algorithm (e.g. LBFGS or MMA 28 ) to modify any pixel within the design and apply arbitrary changes to the topology. In practice however, there is often a tradeoff between maintaining design feasibility (binarization of the pixels and feature size constraints) and attaining high performance. This is because a continuous optimizer must traverse infeasible regions of the design landscape before reaching feasible regions, which may or may not have high performance. The most common strategy in topology optimization is to begin with a continuous optimization phase before gradually ramping up binarization and applying design rule constraints. However, if binarization is ramped up too quickly, a continuous optimizer will stall and fail to make progress towards improving performance. Similarly, constraints or penalties on the feature size must be introduced in a way which will not push the optimizer away from high performance regions of the parameter space. Often in these strategies, the selection of optimization hyper parameters and the detailed strategy for enforcing design feasibility is an art and, moreover, depends on both the type of device being optimized as well as the performance objective.
80In this work we propose an always feasible gradientbased inverse design framework with strict guarantees on DRC-compliance. The key features of our proposal are a conditional generator for feasible designs, which is combined with a straight-through estimator (STE) to enable gradient backpropagation. The combination of these two components yields a differentiable transform which can be incorporated into an computational graph, much like a convolutional filter or projection operator in densitybased topology optimization. We apply our framework to several practical photonic design challenges (a waveguide bend, a beam splitter, a waveguide mode converter, and a demultiplexer), and demonstrate that the approach reliably yields designs with high performance.
A. Brush-based minimum length scale constraints
81In this section, we introduce a mathematical framework for measuring whether a binarized pixel array is DRC-compliant, focusing on the minimum width and minimum spacing rules commonly required by semiconductor foundries. In our framework, we consider binary arrays with values of −1 and +1, referring to these as void and solid, respectively. During the course of a fabrication workflow, such designs may be converted to contours by off-the-shelf algorithms, such as marching squares or dual contouring 29 .
82All binary arrays can be realized by sequentially setting individual pixels to void or solid; conceptually, this is equivalent to the repeated placements and translations of single-pixel void or solid brushes. While a single-pixel brush can generate all possible binary arrays, some arrays are infeasible with larger brushes. In the trivial case, a single-pixel solid feature cannot be realized with a 3 × 3 pixel solid brush, since centering the brush on a single pixel also sets adjacent pixels to solid. Throughout this paper, we refer to the pixel on which the brush is centered as a touch, t of the brush. Our goal is to determine whether a given design, x is feasible with a some brush, b, i.e. to determine whether all its solid and void features can be realized with b. When this is true, the condition
83is the morphological opening of x with brush b and ¬ is a logical not operation which changes solid features into void features and void features into solid features, i.e. a value of -1 to 1 and a value of 1 to -1. The morphological opening operation is computed by the application of a binary erosion, E followed by a dilation 30 , D with the same brush, i.e.
84. Intuitively, the dilation operation causes features in an image to expand while erosion causes features in an image to shrink. An illustration of these operations is provided in the supporting information. For a b-feasible design x, E(x, b) erodes the solid features and recovers the solid brush touches, while E(¬x, b) recovers the void brush touches. Dilation of the touches then restores the solid and void pixels, respectively. Intuitively, if x contains a small feature that is incompatible with b, then erosion will remove it entirely and no solid pixels will be restored by the dilation. Thus, the binary opening operation removes small features, while leaving feasible features unchanged. Length scale in a topology optimization context is typically associated with the minimum diameter of circular features. Thus, we say that if a design can be realized with an approximately circular brush b L with a diameter of L pixels, it has a minimum length scale of at least L·d, where d is the design pixel pitch. The minimum length scale of the design is the largest value of L for which Eqn. (1) is satisfied with brush b L . When contours are obtained by dual contouring (i.e. outlining pixels, for binary designs), a design with minimum length scale will also have related minimum width and spacing, equal to the minimum width of the brush itself. An example circular brush with associated measurements is shown in Fig. 1a and an example design which is feasible with the circular brush is shown in Fig. 2a.
85We turn now to minimum width and spacing constraints which result from foundry design rules. Given a minimum width and spacing constraint 31,32 , there are many brushes for which the associated feasible designs satisfy the constraint. The smallest of these is the notched square, i.e. a square brush which is solid everywhere except at the corners, as shown in Fig. 1b. An example design is shown in Fig. 2b. When the constraint requires a physical minimum feature width and spacing of w, designs feasible with the notched square brush of width L = w/d+2 will satisfy the constraint. Thus, if we can require that our designs are feasible with a notched square brush of width L = w/d + 2, we are also guaranteed to satisfy width and spacing rules of size w.
86Although reasoning about minimum width and spacing is straightforward for dual-contoured designs feasible with the notched-square brush, we have also extensively validated that such designs are design-rule compliant using industry standard design software such as KLayout 31 and Siemens Calibre Physical Verification 32 .
B. Generator for feasible designs
87In this section we describe our method of inverse design subject to strict length scale constraints. We have shown that designs which are feasible with a certain brush b (bfeasible) will satisfy minimum length scale or width and spacing constraints. Properly, this can be considered a combinatorial optimization problem. However, our approach is to approximately solve this problem, by transforming it into an unconstrained stochastic gradient optimization problem. Critically, we use a conditional generator for feasible designs and a straight-through estimator (STE) for backpropagation; these two components are discussed subsequently.
88In general, a binary design x can be produced by dilation with b of the solid and void touches t s b and t v b , i.e.
89We consider the generation of b-feasible arrays as a process in which t s b or t v b are updated with a single-element change at each step. In this context, we introduce several touch states and pixel states which may be associated with each location at any step in the process. Defining these states for the solid case: existing solid pixels are those which are assigned to solid by some touch in t s b ,
90Impossible solid touches are those which would assign an existing void pixel to solid, and consists of all pixels within some distance of existing void pixels,
91Valid solid touches are those which are not impossible and not already in t s b ,
92where ∧ is an element-wise logical and operation. Possible solid pixels are those obtained by dilating all existing or valid touches with b, i.e. they are those pixels which are or may be solid in a feasible array,
93where ∨ is an element-wise logical or operation. Required solid pixels are those which are not existing and not possible for void,
94Resolving solid touches are those which are valid and would assign solid to a required-solid pixel,
95Finally, free touches are valid but only color existing pixels. Corresponding void touches and pixels are be computed using the process. Fig. 3 shows an example of pixels and touches computed from the steps above and a full example is illustrated in the Supporting Information. A scheme that generates feasible arrays is outlined in Algorithm 1. The algorithm begins with empty t s b and t v b and loops until all pixels are existing for either solid or void. At each step, the pixel and touch states are updated. If free touches exist, all are selected. If resolving touches exist, one of these is selected; otherwise, any of the valid touches are selected.
96The algorithm sets at least one pixel at every step, and thus requires at most N iterations for a reward array with N pixels. A basic implementation of the algorithm involves full-array erosion and dilation operations at each step, which have cost proportional to O(N ), and leading to an overall cost O(N 2 ). However, it is straightforward to implement windowed operations which have fixed cost independent of N , and so feasible design generation with O(N ) complexity is possible.
97If touch selection is random, the algorithm simply yields a random feasible design. In practice, we greedily select the best touch as computed from a pixel reward array θ, where θ is obtained from a latent design produced in the course of an optimization, and is fixed during each run of the generator. The total reward of a solid touch is the sum of θ elements that would be set to solid were the touch to be made, i.e. the sum of θ elements set by the touch. The reward of a void touch is the negative sum of elements set to void by the touch. A simple illustrated example of how rewards for touches are calculated can be found in the supporting information. With this change, the algorithm becomes a conditional generator of feasible designs, where θ biases the feasible design generation. The designs in Fig. 2 have been created by running the algorithm on the same random reward array.
98To gain some intuition for why this scheme always produces feasible designs, consider that the algorithm will select exclusively solid or exclusively void until reaching a state where all remaining pixels are possible for both solid and void. In this state, no touch can lead to an invalid status. Since the starting state is one where all pixels are possible for both solid and void, we can see that the algorithm will never produce an invalid status.
99We emphasize that the full space of feasible designs of brush b is accessible by Algorithm 1. This can be clearly seen, since e.g. if θ = x is provided, where x is any feasible design, the output of the algorithm will simply be x.
C. Straight through estimator
100Algorithm 1 is not differentiable, and so it cannot be directly used with backpropagation in a gradient-based optimization setting. Drawing inspiration from the field of binary and quantized neural networks, we note that binary optimization can be viewed as topology optimization with a minimum length scale equal to a single pixel. Binary and quantized neural networks often make use of a STE in training, to backpropogate gradients through binary activation functions or to latent weights from which low-precision weights are obtained 33 . Specifically, in this approach one substitutes the gradient of a nondifferentiable function with that of an estimator, i.e.
101A typical estimator used for binarization (e.g. via application of the sign function) is the identity operation.
D. Computational graph
102The complete computational graph for the inverse design problem is depicted in Fig. 4. A latent design is passed through a transform, yielding the reward array θ. This is passed to the conditional generator, which produces a feasible design. We pass the design to an electromagnetic simulation engine which computes scattering matrix elements; these are the inputs to an objective function, which computes a scalar loss value. Optionally, we symmetrize the transform output to favor symmetric feasible designs. All operations in this graph are differentiable, with the exception of the generator -for which we use the STE. Thus, we can compute an estimated gradient of the loss with respect to the latent design.
103For the transform, we have found that
104is a good choice, where β is a scalar hyperparameter in the range 2-8. The convolutional transform aids in the optimization, as it ensures that the reward array θ is smooth, restricted in range, and has an associated length scale, determined by the brush size. The form of our estimator matches that of the transform. As with the transform, outputs of the estimator have a characteristic length scale and are restricted to the range (−1, 1), just as outputs of the generator itself are. Thus, the estimator can be seen as a differentiable approximation of the conditional generator. The success of this estimator is consistent with the finding in binary neural networks that estimators which approximate their forward-pass counterpart outperform simpler functions 34 .
105The latent design is randomly initialized with a bias so that the first feasible design is fully solid, and it is updated iteratively using the Adam scheme 35 , which is a common choice for stochastic optimization problems in machine learning. We use a learning rate of 0.01, and β 1 = 0.667 and β 2 = 0.9 for the decay of the gradient and second moment exponential moving averages, respectively.
106Notably, our method does not require scheduling of hyperparameters or changes in parameterization during the course of an optimization, and gives a feasible design at every optimization step. We expect that this simplicity could be advantageous from the perspective of a photonic designer tasked with creating a new component.
E. Objective function
107In a practical design application, one is generally concerned with creating a component that satisfies a performance specification, i.e. a desired level of insertion loss, return loss, and cross talk. We define such specification by defining a cutoff value |S cutoff | for the magnitude for each scattering parameter element of S. Additionally, there is an implicit bound on the allowed values, which is imposed by physical constraints. For example, transmission magnitudes greater than unity are not possible for passive photonic components. Our scalar objective function has the form
108where g is a vector of signs (+1 or -1) matching the size of S. The values of g are positive (+1) where the corresponding element of the cutoff array, |S cutoff | specifies the maximum value, and negative (-1) where |S cutoff | specifies the minimum value. w valid also has the same size as S and defines the range of allowed values for a scattering parameter element, which is defined as the distance between the performance cutoff, specified by |S cutoff |, and the physical bound on the scattering parameter element. For example, a minimum transmission amplitude cutoff of 0.5 (-3 dB in power transmission) would have a w valid of 0.5, because the maximum transmission possible is 1.0. All operations other than the min in the softplus of Eqn. (12) are element-wise.
A. Nanophotonic optimization problems
109In this section we apply our proposed inverse design framework to several integrated photonic components operating in the O-band, demonstrating designs for a waveguide bend, a mode converter, a beamsplitter, and a wavelength demultiplexer 36 . All components are optimized for their characteristics within two 10 nm wavelength bands centered at 1270 nm and 1290 nm. Performance targets for the components are specified in terms of their scattering parameters, and are summarized in Table I. Simulations of the components are performed using Ceviche 17 , an open source 2D finite difference frequency domain (FDFD) simulator. Silicon (ε r = 12.25) and silicon oxide (ε r = 2.25) are used for solid and void materials, respectively. All components are coupled to waveguides having 400 nm width, and we deal with the fundamental waveguide mode unless noted otherwise.
110The waveguide bend features a 1.6×1.6 µm 2 design region, with waveguides connecting to the left (port 1) and bottom (port 2). Given excitation from port 1, we aim to maximize transmission to port 2 while keeping backreflection low. Diagonal reflection symmetry is imposed, so that excitation from port 2 yields identical behavior.
111The spatial mode converter features a 1.6 × 1.6 µm 2 design region, with waveguides connecting to the left and right. We seek designs that maximally convert the fundamental waveguide mode on the left (port 1) to the second order mode on the right (port 2), with minimal backreflection into port 1.
112The beamsplitter design region is 3.2 × 2.0 µm 2 in size, with two waveguides connecting to the left (port 1 and port 4) and two waveguides connecting to the right (port 2 and port 3). Given excitation from port 1, the beamsplitter aims to divide power equally into port 2 and port 3 while minimizing backreflection into port 1 or transmission into port 4. We impose reflection symmetry along the horizontal and vertical axes, so that excitation from any other port yields identical behavior.
113The wavelength demultiplexer features a 6.4 × 6.4 µm 2 design region, with one waveguide connecting to the left (port 1) and two waveguides connecting to the right (port 2 and port 3). Given excitation from port 1, wavelengths in the first band are directed to port 2 while wavelengths in the second band are directed to port 3.
114In the optimization context, we consider three wavelengths per band -the center and extremal wavelengths. The specifications are considered to be fulfilled if the criteria in I are satisfied for all wavelengths. Our design resolution matches the 10 nm simulation resolution, so that e.g. a circular brush with diameter 10 corresponds to a 100 nm length scale. put port and substantial reflection back to the input port. Subsequent updates significantly modify the topology of the design, adding enclosed oxide features and developing isolated silicon features. We emphasize the key characteristic of our scheme -the design at every step is fully binary and satisfies the 100 nm length scale constraint. The target performance specification is achieved in 28 optimization steps, and the design continues to improve with more iterations. The lowest loss in the first 160 steps is found at step 122. Notably, the topology of this design differs from that at step 28, due to the fusing of two void features and the elimination of a third, along with changes in the shape of some solid features. The ability of our scheme to change topology while remaining feasible stands in contrast to some other methods, where the optimizer is locked in to a fixed topology once the optimization reaches an advanced state.
115For the mode converter, beamsplitter, and wavelength demultiplexer, the lowest-loss design from the first 160 optimization steps and corresponding field magnitudes are shown in Fig. 6. The scattering spectra for each is shown in Fig. 7, where each satisfies the performance target laid out in Table I and the 100 nm length scale constraint. As we have shown, the topology of a design can change substantially during the course of the optimization. Since the response of a device is generally discontinuous with major changes in the design shape or topology, a noisy loss trajectory is expected. This is illustrated in Fig. 8, which shows the normalized loss value versus iteration for the waveguide bend of Fig. 5 and the other three components. Points where the performance target is achieved are also highlighted. For each component, the loss generally decreases with step, but noise in the loss value and occasional regressions to higher loss can be seen.
116The waveguide bend and mode converter require fewer than 40 optimization iterations to achieve the target. Meanwhile, the beamsplitter and demultiplexer appear to be relatively more difficult problems, requiring approximately 100 steps to first reach the target. However, this is still well within the range of optimization steps required in an inverse design scheme 16 . In general, difficulty is directly related to the target specifications, length scale constraints, the physical size of the component, and the configuration of connecting waveguides. Reducing the Table I is achieved. length scale or increasing the design size will expand the solution space, and generally allow satisfactory solutions to be found with fewer optimization steps.
117C. Designs using 100 nm notched square brush Next, we turn to component designs generated using a 100 nm notched square brush. With the design resolution of 10 nm, these designs strictly satisfy an 80 nm minimum width and spacing constraint. The normalized loss trajectories four the components are plotted in Fig. 9. Scattering spectra and designs are found in the Supporting Information. For all components, designs achieving the performance target from Table I are found. However, the loss trajectories differ in several respects. Specifically, the trajectories are noisier, they generally contain fewer points that achieve the spec, and the spec is achieved later in the optimization. We attribute this to the fact that the notched square is relatively larger in area, limiting the design space accessible to the optimizer and making the problem more challenging. We expect that optimal hyperparameters of the Adam algorithm used to drive our optimization are somewhat problem-dependent, and in future work it would be interesting to explore various configurations. In particular, reducing the learning rate as the optimization progresses, which has been shown to aid in training of quantized neural networks 37 , could be beneficial.
D. Reliability and effect of length scale
118Our results indicate that our inverse design framework is capable of finding designs with desired performance for a variety of fabrication-constrained photonic inverse design problems. A useful method will find such solutions for a range of length scale constraints, and do so reliably. To evaluate this, we consider the optimization problems above for circular and notched-square brushes with 60 nm, 80 nm, 100 nm, and 130 nm size. To study reliability of the method, we run 20 independent optimizations with different random initialization, each for 500 steps. Thus, for a single problem configuration (combination of device type, brush shape, and brush size), 10,000 feasible designs were generated.
119Our analysis proceeds as follows: for each step i of an optimization run, we identify whether the target performance from Table I is achieved at any step j ≤ i. If the target performance is achieved at any such step, the run is considered successful at step i. Then, for each combination of component, brush shape, and brush size, we compute the number of runs which are successful at each step. From this, the fraction of successful runs is obtained and is shown in Fig. 10.
120Turning first to the 60 nm brushes, we observe that for all components and both brush shapes, we are able to consistently find designs which achieve the performance target. In most cases, only a few tens of optimization steps (and therefore simulations) are required. Random initialization affects the optimization trajectory, and the 20 different runs produce a distribution in the number of steps required to achieve the target. Comparing the circular and notched square brush, we find that with the circular brush the target performance is achieved slightly earlier, consistent with the hypothesis that the notched square presents a more challenging optimization problem. We observe this trend for other brush sizes discussed below. Across all component types designed with the 60 nm brush, the range of steps required to achieve the target performance is at most tens of steps wide, and in practical application a single optimization run may actually be sufficient to find a design which meets the desired performance specification.
121When designing with a 80 nm brush, we again are able to consistently achieve the target performance. Generally, we observe that the number of required steps is larger than for the 60 nm brush. However, in some cases, such as the wavelength demultiplexer with circular brush, the number of steps required follow similar distribution as with the 60 nm brush. This suggests that for some problems, decreasing the length below a threshold value has no benefit. We also see some outlier examples where the target performance specification is not achieved.
122As the brush sizes are increased to 100 nm, the general pattern is repeated. The target performance consistently achieved, but more steps are required and a larger number of outlier optimization runs fail to reach the target within 500 steps. At a brush size of 130 nm, the trend is repeated yet again. With this brush size, designs for the waveguide bend and mode converter which achieve the target continue to be consistently found. For the beamsplitter and wavelength demultiplexer, however, approximately half or fewer optimization runs achieve the target. Therefore, in a practical application of our inverse design method with such large length scales, it may be beneficial to launch multiple optimization runs to ensure that at least one can reach the target performance. Additionally larger design regions may be necessary.
123Much of the data supports the conclusion that larger brushes present more challenging optimization problems. We expect this also for theoretical reasons, since the design space with small brushes is strictly larger than that for larger brushes. However, with 130 nm brush we observe that some of the beamsplitter designs achieve the target performance ahead of the best 80 nm and 100 nm brush runs. This warrants further investigation in future work.
IV. CONCLUSION
124We have introduced an inverse design method which produces designs that are guaranteed to satisfy length scale constraints throughout the course of an optimization. Our always-feasible method is based on a conditional generator for designs and a straight-through gradient estimator, which is commonly used in quantized neural network training 33 . Combined, these two com-ponents enable the problem of length-scale-constrained topology optimization to be posed as an unconstrained stochastic gradient optimization problem.
125While the computational graph of our optimization scheme (Fig. 4) resembles that of some established topology optimization methods 16,26 , where a latent design is transformed into a physical design, the conditional generator used in our scheme avoids the challenges that established topology optimization techniques face in transitioning from performant infeasible regions of the design space to performant feasible designs. In such highdimensional design landscapes there is no guarantee that a high-performing infeasible design will be close to highperforming feasible designs, especially in integrated photonic devices where performance depends strongly on the collective interference of light from multiple scattering interfaces. Density-based optimization schemes often employ an unconstrained optimization stage 16,38 followed by multiple stages of increasing constraint enforcement, where device performance often drops significantly as design constraints are enabled. While the optimizer is often able to recover some level of performance, it is not guaranteed to be able to do so. In some cases, the performance of the final feasible design remains lower than earlier infeasible designs. A similar challenge in these optimization schemes lies in enforcing design binarization, which is often enabled gradually throughout several optimization stages by tuning a hyperparameter of the latent variable transformation 26 . While these changes to the device binarization reduce device performance, they present another challenge in that increased binarization is fundamentally at odds with the differentiability of the optimization graph. Essentially, the binarization nonlinearity approaches a step function with zero gradients. The effect of this trade off is that during late stages of the optimization, the algorithm is not able to significantly change the topology of the structure. In contrast, our always-feasible inverse design scheme always produces binarized designs and, moreover, is able to explore changes to the topology throughout the optimization (Fig. 5).
126An added benefit of our always-feasible inverse design method is the user's ability to halt an optimization run once a design with sufficiently high performance is generated. In contrast, obtaining a high performance design in a three field optimization scheme is typically not a sufficient condition for halting an optimization because multiple rounds of infeasible optimization are required to achieve high performance. Moreover, the higher levels of performance that are achieved during the unconstrained three field optimization stages are not guaranteed to be achieved during the stages where fabrication constraints and binarization have been applied.
127The results presented in this paper demonstrate that our method can reliably find high-performing designs for a variety of 2D nanophotonic inverse design problems. We believe the good performance of our method, and its simplicity, could make it a useful new scheme in practical applications of inverse design. In the future, it would be important to use a realistic 3D electromagnetic simulator 39 to design components that can be manufactured in commercial foundries. Another interesting direction would be to apply the method to topology optimization problems in other physical domains.
128We also see possible improvements to the underlying method. Specifically, conditional generators for designs satisfying additional constraints would be valuable, such as minimum solid area and void area 16 , which are frequently included in foundry design rules. Even for width and spacing constraints addressed by the current scheme, it would be useful to develop new generators which are not conservative, i.e. which do not require a brush larger than the target minimum width. Finally, the estimator and transform functions warrant additional study, and we see potential for learned estimators.
129Figs. S1 and S2 illustrate the generation of a 6×8 feasible design in 12 steps, using the algorithm from the main text conditioned on the input pixel reward array θ shown in Fig. S3. A notched-square brush of width 5 pixels is used.
130Step Step 2
131Step 3
132Step 4
133Step 5 0 1 2 3 4 5 6 7
134Step 6 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Figure S1. The first six steps of design generation.
135Step 1 : Solid and void touches are valid at all locations, and all pixels are possible.
136Step 2 : A void touch is placed at A6. Pixels covered by the touch become existing pixels for void, and impossible pixels for solid. A7 becomes a free touch for void.
137Step 3 : The free touch A7 is taken. The design and pixels are unaffected.
138Step 4 : A solid touch is placed at A0.
139Step 5 : A void touch is placed at E6. Location C4 becomes a required pixel for void. There are required-resolving touches in columns 3, 4, and 5, while there are free touches in columns 6 and 7. The resolving (but not free) touches would set C4 to void, but would also remove possible solid pixels.
140Step 6 : All the free touches are taken. The required pixel C4 is resolved, and no required-resolving touches remain.
S2
141A B C D E F
142Step 7 Step 12 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Figure S2. Additional steps of design generation.
143Step 7 : A void touch is placed at D4. Pixels E0, E1, F0, and F1 are now required for void. Both free and resolving (but not free) void touches exist.
144Step 8 : All the free touches are taken. E1 and F1 are resolved, but E0 and F0 remain required void pixels.
145Step 9 : A void touch is placed at F0, and the required pixels are resolved. F1 and F2 are now free void touches.
146Step 10 : The free touches at F1 and F2 are taken.
147Step 11 : A void touch is placed at C5. Pixels at A3 and C2 are now required for void. Since all remaining pixels must now be void, only free void touches remain.
148Step 12 : The free touches are made, and the design is complete. Figure S3. The continuous valued pixel reward array used to bias the 6×8 feasible design generation stepped through in Figs. S1 and S2 .
S2. DESIGNS USING 100 NM NOTCHED SQUARE BRUSH
149Scattering spectra for components created with a 100 nm notched square brush are shown in Fig. S4. The corresponding designs are shown in Fig. S5. Each component is the lowest-loss component found in the first 160 steps of a randomly-initialized optimization run. Figure S7. Simple example illustrating how rewards for otuches are calculated from the sum of θ elements set by the touch. In particular, the reward for placing a solid touch at the middle pixel (i.e. the pixel with the purple border) will be given by the sum of the sum of the values of θ over all the pixels covered by centering the brush at the middle pixel; i.e. it will be equal to 0.5 + 0.5 +0.7 + 0.7 + (-0.6) = 1.8. In contrast, the reward for placing a void touch at the middle pixel will be the negative sum (-1.8). Therefore, as the generator generates the feasible design, the middle pixel will more likely be set as a solid touch rather than a void touch, as expected from the predominantly positive valued (blue) θ in this example.
참고문헌 39건
- Adam: A Method for Stochastic Optimization 2014
- Geometry projection method for optimizing photonic nanostructures Optics Letters · Optica Publishing Group · 2006 10.1364/ol.32.000077
- Topological design of electromechanical actuators with robustness toward over- and under-etching Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2012 10.1016/j.cma.2012.08.020
- Topology optimization for nano‐photonics Laser & Photonics Review · Wiley · 2010 10.1002/lpor.201000014
- TCAD development for lithography resolution enhancement IBM Journal of Research and Development · IBM · 2001 10.1147/rd.455.0651
- The method of moving asymptotes—a new method for structural optimization International Journal for Numerical Methods in Engineering · Wiley · 1987 10.1002/nme.1620240207
- Method for sensitivity analysis of photonic crystal devices Optics Letters · Optica Publishing Group · 2004 10.1364/ol.29.002288
- High-performance slow light photonic crystal waveguides with topology optimized or circular-hole based material layouts Photonics and Nanostructures - Fundamentals and Applications · Elsevier BV · 2012 10.1016/j.photonics.2012.04.004
- Photonic Device Layout Within the Foundry CMOS Design Environment IEEE Photonics Technology Letters · Institute of Electrical and Electronics Engineers · 2010 10.1109/lpt.2010.2041445
- Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computation arXiv (Cornell University) · Cornell University · 2013 10.48550/arxiv.1308.3432
- Dual contouring of hermite data 2002 10.1145/566570.566586
- Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activations arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1609.07061
- Large-Angle, Multifunctional Metagratings Based on Freeform Multimode Geometries Nano Letters · American Chemical Society · 2017 10.1021/acs.nanolett.7b01082
- Adjoint-based optimization of active nanophotonic devices Optics Express · Optica Publishing Group · 2018 10.1364/oe.26.003236
- On minimum length scale control in density based topology optimization Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2018 10.1007/s00158-018-1944-0
- Leveraging continuous material averaging for inverse electromagnetic design Optics Express · Optica Publishing Group · 2018 10.1364/oe.26.031717
- Inverse design of compact multimode cavity couplers Optics Express · Optica Publishing Group · 2018 10.1364/oe.26.026713
- Integrated microwave photonics Nature Photonics · Nature Portfolio · 2019 10.1038/s41566-018-0310-5
- Topology optimization of freeform large-area metasurfaces Optics Express · Optica Publishing Group · 2019 10.1364/oe.27.015765
- Analytical level set fabrication constraints for inverse design Scientific Reports · Nature Portfolio · 2019 10.1038/s41598-019-45026-0
- Understanding Straight-Through Estimator in Training Activation\n Quantized Neural Nets arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1903.05662
- On-chip integrated laser-driven particle accelerator Science · American Association for the Advancement of Science · 2020 10.1126/science.aay5734
- Dual contouring of hermite data ACM Transactions on Graphics · Association for Computing Machinery · 2002 10.1145/566654.566586
- Inverse design of digital nanophotonic devices using the adjoint method Photonics Research · Optica Publishing Group · 2020 10.1364/prj.383887
- Inverse-Designed Photonics for Semiconductor Foundries ACS Photonics · American Chemical Society · 2020 10.1021/acsphotonics.9b01540
- Inverse Design of Photonic Crystals through Automatic Differentiation ACS Photonics · American Chemical Society · 2020 10.1021/acsphotonics.0c00327
- Minimum length scale in topology optimization by geometric constraints Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2015 10.1016/j.cma.2015.05.003
- Inverse-designed non-reciprocal pulse router for chip-based LiDAR Nature Photonics · Nature Portfolio · 2020 10.1038/s41566-020-0606-0
- Inverse design of compact multimode cavity couplers Optics Express · Optica Publishing Group · 2018 10.1364/oe.26.026713
- Adjoint Method and Inverse Design for Nonlinear Nanophotonic Devices ACS Photonics · American Chemical Society · 2018 10.1021/acsphotonics.8b01522
- Forward-Mode Differentiation of Maxwell’s Equations ACS Photonics · American Chemical Society · 2019 10.1021/acsphotonics.9b01238
- Inverse design in nanophotonics Nature Photonics · Nature Portfolio · 2018 10.1038/s41566-018-0246-9
- Inference in artificial intelligence with deep optics and photonics Nature · Nature Portfolio · 2020 10.1038/s41586-020-2973-6
- Quantum circuits with many photons on a programmable nanophotonic chip Nature · Nature Portfolio · 2021 10.1038/s41586-021-03202-1
- Photonic topology optimization with semiconductor-foundry design-rule constraints Optics Express · Optica Publishing Group · 2021 10.1364/oe.431188
- A perspective on the pathway toward full wave simulation of large area metalenses Applied Physics Letters · American Institute of Physics · 2021 10.1063/5.0071245
- Neural nano-optics for high-quality thin lens imaging Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-26443-0
- Adjoint-based optimization of active nanophotonic devices Conference on Lasers and Electro-Optics · 2019 10.1364/cleo_si.2019.sw4j.5
- Morphological Image Analysis 2004 10.1007/978-3-662-05088-0