원시데이터 수집 시스템
선정목록으로

Inverse design of structural color: finding multiple solutions <i>via</i> conditional generative adversarial networks

간접 관련 필름·전자재료 · (15) 디스플레이 패널재료 (13) 프리즘 필름(11) 배리어 필름

기본 정보

저자
  1. Peng Dai — Faculty of Engineering and Physical Sciences University of Southampton SO17 1BJ Southampton UK|||Faculty of Engineering and Physical Sciences , University of Southampton , SO17 1BJ , Southampton , UK
  2. Kai Sun — Faculty of Engineering and Physical Sciences University of Southampton SO17 1BJ Southampton UK|||Faculty of Engineering and Physical Sciences , University of Southampton , SO17 1BJ , Southampton , UK
  3. Xingzhao Yan — Faculty of Engineering and Physical Sciences University of Southampton SO17 1BJ Southampton UK|||Faculty of Engineering and Physical Sciences , University of Southampton , SO17 1BJ , Southampton , UK
  4. Otto L. Muskens — Faculty of Engineering and Physical Sciences University of Southampton SO17 1BJ Southampton UK|||Faculty of Engineering and Physical Sciences , University of Southampton , SO17 1BJ , Southampton , UK
  5. C.H. de Groot — Faculty of Engineering and Physical Sciences University of Southampton SO17 1BJ Southampton UK|||Faculty of Engineering and Physical Sciences , University of Southampton , SO17 1BJ , Southampton , UK
  6. Xupeng Zhu — School of Physics Science and Technology Lingnan Normal University 5240481 Zhanjiang China|||School of Physics Science and Technology , Lingnan Normal University , 5240481 , Zhanjiang , China
  7. Yueqiang Hu — National Engineering Research Center for High Efficiency Grinding College of Mechanical and Vehicle Engineering Hunan University 410082 Changsha China|||National Engineering Research Center for High Efficiency Grinding, College of Mechanical and Vehicle Engineering , Hunan University , 410082 , Changsha , China
  8. Huigao Duan — National Engineering Research Center for High Efficiency Grinding College of Mechanical and Vehicle Engineering Hunan University 410082 Changsha China|||National Engineering Research Center for High Efficiency Grinding, College of Mechanical and Vehicle Engineering , Hunan University , 410082 , Changsha , China
  9. Ruomeng Huang — Faculty of Engineering and Physical Sciences University of Southampton SO17 1BJ Southampton UK|||Faculty of Engineering and Physical Sciences , University of Southampton , SO17 1BJ , Southampton , UK
DOI
10.1515/nanoph-2022-0095
저널
Nanophotonics
발행년도
2022
발행기관
De Gruyter
피인용수
37
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1515/nanoph-2022-0095
토픽
Color Science and Applications
OpenAlex ID
W4280578746

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
(13) 프리즘 필름, (11) 배리어 필름
R&D 측면
분석·모델링
확신도
0.80
근거 용어
inverse design, structural color, conditional generative adversarial networks, color filter, nanophotonic structures
판단 근거
cGAN을 이용한 구조색 및 컬러필터의 역설계(Inverse Design) 방법론을 다루고 있으며, 이는 광학 필름 설계 기술에 해당합니다.
R&D 활용 포인트
디스플레이용 컬러필터(15) 및 광학 필름(13) 설계 시, 목표하는 색상 구현을 위한 최적의 미세 구조를 AI 모델로 신속하게 도출하는 데 활용 가능합니다.
평가 입력
초록 1,541자

초록

The "one-to-many" problem is a typical challenge that faced by many machine learning aided inverse nanophotonics designs where one target optical response can be achieved by many solutions (designs). Although novel training approaches, such as tandem network, and network architecture, such as the mixture density model, have been proposed, the critical problem of solution degeneracy still exists where some possible solutions or solution spaces are discarded or unreachable during the network training process. Here, we report a solution to the "one-to-many" problem by employing a conditional generative adversarial network (cGAN) that enables generating sets of multiple solution groups to a design problem. Using the inverse design of a transmissive Fabry-Pérot-cavity-based color filter as an example, our model demonstrates the capability of generating an average number of 3.58 solution groups for each color. These multiple solutions allow the selection of the best design for each color which results in a record high accuracy with an average index color difference Δ<i>E</i> of 0.44. The capability of identifying multiple solution groups can benefit the design manufacturing to allow more viable designs for fabrication. The capability of our cGAN is verified experimentally by inversely designing the RGB color filters. We envisage this cGAN-based design methodology can be applied to other nanophotonic structures or physical science domains where the identification of multi-solution across a vast parameter space is required.

본문 66,535자

본문 펼치기
The "one-to-many" problem is a typical challenge that faced by many machine learning aided inverse nanophotonics designs where one target optical response can be achieved by many solutions (designs). Although novel training approaches, such as tandem network, and network architecture, such as the mixture density model, have been proposed, the critical problem of solution degeneracy still exists where some possible solutions or solution spaces are discarded or unreachable during the network training process. Here, we report a solution to the "one-to-many" problem by employing a conditional generative adversarial network (cGAN) that enables generating sets of multiple solution groups to a design problem. Using the inverse design of a transmissive Fabry-Pérot-cavity-based color filter as an example, our model demonstrates the capability of generating an average number of 3.58 solution groups for each color. These multiple solutions allow the selection of the best design for each color which results in a record high accuracy with an average index color difference ΔE of 0.44. The capability of identifying multiple solution groups can benefit the design manufacturing to allow more viable designs for fabrication. The capability of our cGAN is verified experimentally by inversely designing the RGB color filters. We envisage this cGAN-based design methodology can be applied to other nanophotonic structures or physical science domains where the identification of multi-solution across a vast parameter space is required. Introduction Retrieval of structural arrangements for a desired optical performance has been the fundamental challenge in nanophotonics inverse design. [1] This challenging task requires searching a range of geometrical parameters in an ample design space. For the past decades, sophisticated methods have been developed to arrive at optimized solutions using heuristics-based approaches such as particle swarm, [2,3] genetic algorithms, [4][5][6] and gradient-based approaches. [7,8] Often, the intuition and experience of the designer have been critical in obtaining rational operational principles with the advantage that the performance of such structures can be understood. [7,[9][10][11][12] However, such a rational approach can be rather unsatisfactory as human intuition will not always guarantee an optimal design with the highest possible performance. Introduction The recent remarkable development of deep learning (DL) has offered great promise in solving some of the critical challenges faced in nanophotonics. [1,[13][14][15] DL is a subset of machine learning technology inspired by animal brains' biological neural networks. [16] Through a training process that involves iterative optimization of network parameters via gradient descent, [17] the DL model, which contains a few artificial neuron layers, can learn the non-linear relations between the photonic structure and optical response. In recent years, it has found many successful applications in photonic research such as chiral metamaterials, [18,19] wavefront engineering, [20][21][22] , and structural color. [23][24][25][26][27] An exhaustive overview of this field of study can be found in the review literatures. [14,15] In the inverse design of nanophotonic structures, the DL regression models have been utilized to predict the potential solution of optical response and achieved success to some extent under some specific regions and constraints. [9,25,[28][29][30][31] One of the main difficulties for inverse design is the "one-to-many" mapping characteristic where one target optical response can be produced by multiple structures. A direct inversion of the artificial neural network (ANN) to predict the design usually fails as the training will not converge due to the existence of several possible solutions. [32] To circumvent the challenges related to the "one-to-many" mapping, tandem networks architecture is proposed. [9] This type of network consists of two sub-networks: an actual inverse network that takes the optical response and outputs the desired design and a pre-trained forward network that evaluates the outputs and generates optical responses. The tandem architecture allows direct comparison in the physics domain and avoids confusion from different designs that lead to a similar optical response. In previous work, we adopted such an architecture for the inverse design of a Fabry-Pérot-cavity-based structural color with high design accuracy. [33] Despite the success in tackling the convergence problem using this tandem network, the one-tomany problem leaves us with some critical issues. A prominent limitation of the tandem approach resides in the existence of inaccessible solutions [15] or a dead zone [34] , which means that some possible solutions or solution spaces are discarded or unreachable during the network training process. In consequence, only a singular solution can be identified for each target optical response. The collapse of the network onto a set of singular solutions significantly limits the solution diversity and could even prevent reaching an optimal solution as the selected solution is not necessarily the best performing one. Therefore, developing an approach that enables identifying multiple solutions in different local/global optima can be extremely beneficial in achieving higher inverse design accuracy/performance. In addition, it will also provide more freedom in the actual fabrication process to select designs that fits the manufacturing requirement or facility limitation. For instance, a solution with the smaller dimensions could be selected to realize denser device integration while a large-dimension solution could be more suitable when the available facilities have certain resolution limitations. Furthermore, the performance decay induced by the fabrication error can also be mitigated via manufacturing a device with a less parameter-sensitive solution. Introduction Compared with other works that employed the generative models (e.g., generative adversarial networks (GAN) and variational autoencoder (VAE)) to design the 2D metasurface, [35][36][37][38][39] we introduced the GAN model [40] into the parameter-based 1D nanophotonic inverse design, which provides an approach fully addressing the one-to-many problem. GAN is one of the most popular generative models that has been widely used in computer vision and image synthesis. [41] It consists of two networks, a generator and a discriminator, which contest with each other during the training process to create authentic images. [42] Due to its unique ability to reveal the hidden distribution behind enormous training datasets, GAN has been used by optical scientists to inversely design metasurfaces and diffractive optical devices with a high degree of freedom. [22,[43][44][45][46] . Here, we investigate the potential of applying GAN in identifying multiple solutions for one target optical response. We argue that the geometrical distribution in the training dataset is a key hidden parameter that can be utilized in GAN to avoid dead zone and identify multiple solutions. Introduction We conduct an inverse design of a transmissive Fabry-Pérot (F-P) cavity-based structural color filter device using GAN as a demonstration. The structural color filter can display colors by selectively transmitting or reflecting the light with a specific wavelength by varying geometry. It has received enormous interest from research communities owing to its potential applications in display, full-color printing, optical encryption and solar cells. [47][48][49] The reasons for using such a system are threefolds: Firstly, the inverse design of the tri-layer F-P cavity structure (Ag-SiO 2 -Ag in this work) is a typical one-to-many problem as the transmissive peaks would appear periodically at the same wavelength as the increase of resonant cavity length; [50,51] Secondly, as a relatively simple structure with the well-established analytical model, [52] the performance of the developed GAN can be effectively investigated and evaluated. Thirdly, the design quality can be precisely quantified by the color difference index ΔE 2000 [53] (denoted as ΔE below), which is calculated from two CIELAB vectors and has a physical meaning in statistics compared to mean squared error (MSE). After training, our GAN produces an average of 3.58 solution groups for each color in the testing set, which covers 93.9% of all ground truths. These multiple solutions allow the selection of the best design for each color which results in the lowest average color difference ΔE of 0.44 that has ever been reported for the inverse design of structural color. The identification of multiple solution groups is verified experimentally by fabricating different multilayer structures to demonstrate the same color. Problems of Tandem Network We start by elaborating on the critical dead zone problem that the tandem network faces when performing inverse design. Taking the inverse design of a transmissive F-P-cavity-based structural color device as an example, the structure (shown in Figure 1a) has two reflective metal layers (Ag), which are separated by a lossless dielectric (SiO 2 ) and stacks on a quartz substrate. Problems of Tandem Network The function of color filter is achieved by multiple round-trip phase delays of electromagnetic waves in the F-P resonator. By tuning the thickness of each layer (d 1 , d 2 , and d 3 , denoted as a single design vector D below), the resonant peak can be controlled to produce different colors. In a typical one-to-many problem, one color, represented by the CIELAB vector Lab, could be produced by several different structures D 1 , D 2 , and D 3 . When this color (Lab) is fed to a tandem network, only one of these solutions will be selected. The other solutions will be discarded to minimize the loss during the training, as illustrated in Figure 1b. This solution degeneracy is due to the inherent contradiction between the one-to-one mapping nature of ANNs and the one-tomany mapping problem. Problems of Tandem Network One potential approach to resolve this contradiction is to introduce a latent vector z. The value of this latent vector can be sampled from a specific distribution (e.g., uniform or normal distribution) and assigned to the Lab (as shown in Figure 1c). Therefore, the one color can be split into three inputs by the variation of this latent vector and generates three one-to-one mappings that the tandem network can handle. However, these three inputs could still degenerate into very similar solutions within one solution group. The cartoon schematic of such degeneracy is illustrated in Figure 1d where the loss vs D landscape is plotted. The three sunken areas represent the three potential solution groups (outlined by blue lines) for this color. Different inputs can still be mapped into one sunken area, resulting in the degeneracy of the solution groups (depicted as the red dots). This behavior will be demonstrated and discussed later in the paper. Therefore, more constraint is required to force the network to search in the entire D space so all three solution groups can be identified (shown in Figure 1e). This additional constraint can be realized by generating a dataset distributed across the entire D space and forcing the network to learn such distribution. This means that alongside the effort to minimize the color difference, the distribution distance between the true thickness and the generator's predicted thickness should also be minimized during the training process. cGAN Network Design and Training The conditional generative adversarial networks [54] (cGAN) is a perfect tool for this task. cGAN usually has two parts, a discriminator and a generator. The generator takes a latent vector and the design target (condition) as inputs and outputs the generated data (also known as fake data). The discriminator evaluates the performance and distribution of the fake data and produces losses for backpropagation to shape the fake data close to the real data (training data). Figure 2 illustrates the network architectures used in this paper (details are shown in Figure S1). The generator comprises three sub-networks: Lab upraising layers, z upraising layers, and thickness regressor. The upraising layers are responsible for raising the dimensions of Lab and z from 3 and 2 to 128. The two upraised vectors are concatenated and put into the thickness regressor, which has 256 neurons per hidden layer and a sigmoid function at the end of the output layer, to generate the predicted thicknesses. The discriminator has two parallel networks: evaluator and Lab regressor. The evaluator evaluates the thickness data from the dataset (real) and generator (fake) and outputs two distribution scores. The difference between real and fake scores measures the distribution difference between ground truths and predicted data. The pre-trained Lab regressor takes thickness as input and returns the corresponding color (Lab). As mentioned above, during the training of cGAN, a reference data (real data) distribution is required so the generator could learn the distribution from these data via the evaluator. The dataset was generated by randomly sampling 50,000 different combinations of layer thicknesses (D) using a uniform distribution. We set the sampling range of 0 to 50 nm for the Ag films and 0 to 1,000 nm for the SiO 2 film. As a thicker Ag layer will significantly reduce the color brightness while too thick SiO 2 can cause many resonances in the visible spectrum and induce color degeneration and crosstalk, we believe that the sampling ranges and distribution are sufficient to cover the requested D space for diverse solution groups. The thickness distributions are shown in Figure 3a-3c, in which the thicknesses are uniformly divided into 100 groups, and the bars indicate the probability density of different groups. It is worth mentioning that other thickness distributions may also be applied as the reference distribution, but the uniform one is more straightforward for us due to its accessibility in implementation and excellent color coverage. These structural designs were then turned into transmission spectra via the transfer matrix method and converted into HSV (hue, saturation, and value) and CIELAB color models. All generated colors are plotted in the CIE 1931-xy chromaticity diagrams in Figure S2. The discussion of relationships between geometry parameters and the color is provided in section 2 of supplementary materials. The obtained dataset is divided into three groups for training (40,000), validation (5,000), and testing (5,000). cGAN Network Design and Training Before training our cGAN model, we firstly trained a Lab regressor to achieve forward modeling of the color Lab from a structure D. The detailed training process of this Lab regressor is provided in supplementary materials (Table S1 and Figure S4). The trained Lab regressor demonstrates an average color difference (ΔE) of 0.19 from the testing set. The significance of ΔE can be classified into five groups: 1) ΔE < 1, no discernable color difference; 2) 1 < ΔE < 2, the difference can be observed by experienced persons; 3) 2 < ΔE < 3.5, the difference can be observed by inexperienced persons; 4) 3.5 < ΔE < 5, clear difference can be noticed; 5) 5 < ΔE, two different colors are observed. [55] In the training of cGAN, both the color and thickness distribution differences are used in the loss function to apply backpropagation. We used Wasserstein distance as the distribution loss and applied spectral normalization to both evaluator and generator to improve the training stability. [56] The updating in the training process was alternatively performed on the generator and evaluator to minimize the hinge adversarial loss. [57][58][59] Details of the training process and the definitions of loss functions are provided in the supplementary materials (Table S2 and Equation S1-S3). cGAN Network Design and Training The training loss curves of the generator and evaluator are shown in Figure 3d. The loss of generator demonstrates a clear drop to close to zero, indicating the significant improvement of its predicting capability during the training process. The loss of evaluator compares the fake and real score and remains steadily at ca. 2 during training. To better understand this behavior, we plot the value of real and fake scores as a function of the training epoch in Figure 3e. It can be observed that the real and fake scores are close, indicating a balanced performance improvement for the generator and evaluator. This property is essential in cGAN training to ensure a balanced development of the generator and evaluator, which will be discussed in detail in the following section. Figure 3f displays the evolution curve of the generator. The Lab loss (red line), which is the MSE between prediction and ground truth of Lab, dropped fast in the first ten thousand epochs and then gradually converged to 0.02, meaning that the generator's prediction accuracy improved quickly then converged. The generator's fake score (blue line) in Figure 3f fluctuates around zero, which projects that the generator followed the development of the evaluator and had no model collapse during the training process. cGAN Performance Evaluation After training, we used the testing set to evaluate the performance of the generator. The testing set contains 5,000 data with the same uniform distribution as the training set (shown in Figure 4a- cGAN Performance Evaluation Evaluator Generator a b c 4c). The trained generator takes the 5,000 Lab and latent vectors z sampled from the standard normal distribution as inputs and predicts 5,000 inverse designed thicknesses (denoted as D p ). The distributions of the three thicknesses in D p are plotted in Figure 4d-4f. To quantify the distribution distance between predicted thickness and ground truth, the Jensen-Shannon distance (JSD) is introduced. The corresponding JSD computation process and reference values are provided in supplementary materials section 4 ( Figure S5 and Equation S4-S8). The measured JSDs for our case are 0.069 for d 1 , 0.067 for d 2 , and 0.066 for d 3 , reflecting that the predicted thickness and ground truth have great similarity in distribution. This proves that the trained generator is able to produce designs with restricted thickness distribution. Next, we investigated the capability of the generator in achieving diverse solutions. As mentioned above, the latent vector z is introduced to generate multiple solutions for each Lab. Currently, only one z is sampled for each Lab, hence only one solution is predicted for each color. In order to obtain multiple solutions, we randomly sampled 1,000 different z from the standard normal distribution for each Lab and classified the obtained 1,000 solutions into different solution groups by the density-based spatial clustering of applications with noise (DBSCAN), an unsupervised machine learning clustering algorithm. Details of the classification process can be found in section 5 of the supplementary materials. Figure 5a-5b present the distributions of solution group numbers when 100 and 1,000 z were assigned to each Lab, respectively. The aggregation of solution group numbers moves from 1-4 to 2-5 as the z number grew from 100 to 1,000, showing a significant solution diversity improvement. An average of 3.58 solution groups can be identified for these 5,000 Lab when each target color is assigned with 1,000 different z, proving the capability of our network in achieving diverse solution groups. Figure 5c plots the solution group number as a function of different z numbers used for each color. It can be observed that the solution group number initially increases sharply with increasing z number and eventually saturates when the z number reaches over 1,000 (highlighted by the red dot in Figure 5c). A maximum average solution number of 3.66 was obtained when 2,100 z was used for each color (highlighted by the red triangle a b c d e f cGAN Performance Evaluation in Figure 5c). The following slight decrease is related to limitations in the clustering algorithm. As the z number increases, the different solution groups may slightly overlap with each other, which cannot be distinguished by DBSCAN. Concurrently with the increasing number of solution groups, the color difference ΔE can also be significantly reduced. Figure 5d plots the ΔE distribution of 5,000 solutions when one z is sampled for each Lab. The majority of the ΔE is located between 0 to 5, with an average ΔE value of 2.98. While 1,000 z are sampled for each Lab, the lowest ΔE for each color almost falls in 0-1 (can be considered no color difference, as shown in Figure 5e), with an average value of 0.44. To the best of our knowledge, this is the lowest color difference reported for structural color inverse design. The dependence of the z number on the average lowest ΔE is presented in Figure 5f. An average lowest ΔE can reach below 1 when the z number is over 15 (highlighted by a red dot in Figure 5f inset) and below 0.5 when the z number is over 400 (highlighted by the red triangle in Figure 5f). To elucidate the high design accuracy achieved by our network, we compared the absolute d 2 differences (Δd 2 ) between the solutions obtained from each color (using 1,000 z) and its ground truth (global optimum). We discovered that 93.9% of the Δd 2 are within 5 nm, implying the majority of the ground truths have been successfully identified. Detailed distribution information of minimum Δd 2 is provided in Figure S6. cGAN Performance Evaluation All of these results suggest that both the quantity and quality of solutions can be improved using our network by increasing the number of z. It is worth mentioning that although multiple z sampling is required to achieve a high solution group number and low ΔE, the time required for such prediction is straightforward and largely effortless. For example, applying inverse design and solution optimization for 5000 colors with 1,000 z sampling for each color will only consume 16.18 s in our computation environment, which is equivalent to 3.24 ms per color. cGAN Performance Evaluation In order to verify the fabrication applications of multiple solution groups, we applied the generator to inversely design two colors generated by the F-P cavity. Table 1 lists the best solution for each obtained solution group. Both target colors have achieved more than two different solution groups. The ground truths (target designs) have been successfully identified as one of the solutions in both cases. In particular, five solution groups have been identified for color #2 with the d 2 value spanning from 39 to 985 nm, proving the powerful searching ability of our network. These multiple solution groups allow the selection of suitable designs for the manufacturing requirement. Films that are too thin can be challenging to fabricate with high quality. For example, a design with a very thin Ag layer (e.g., 3 nm in design 3 for color #2) could increase the fabrication relative error and might need to be discarded despite its low ΔE. Instead, a different design (e.g. design 4) could be selected due to its relatively thicker films but still competitive ΔE. The sensitivity of the solution to fabrication errors is also an important factor to consider. We calculated the sensitivity here as the ΔE when d 2 was added or subtracted by 1 nm (denoted as δ 1 and δ -1 , respectively). Higher δ ±1 means that the solution is more sensitive to fabrication error and requires a more precise fabrication process. Although the ground truth of color #1 in Table 1 has been successfully identified in design 1, the sizeable δ ±1 inflicts extreme requirements on the fabrication accuracy. cGAN Performance Evaluation On the other hand, design 3 with a slightly larger ΔE but the smallest δ ±1 would be more suitable for the actual application. The capability of our network in identifying multiple solution groups for each color is clearly advantageous for providing viable designs for fabrication. Table 1 The inverse design demonstrations of two colors. The target items are the ground truths. The designed items are from the solutions of the generator. cGAN Performance Evaluation We have proved from the discussion above that the proposed cGAN architecture can completely solve the "one-to-many" issue for this nanophotonics question. We argue that the vital component in this architecture is the evaluator, which enables the generator to learn the distribution of the dataset. Figure S8 presents the performance of the same networks with the evaluator disabled. The distributions of the three thicknesses designed for the testing set show no uniformity ( Figure S8a-S8c). The measured JSDs between these designed thicknesses and the testing set are 0.21 for d 1 , 0.64 for d 2 and 0.14 for d 3 , respectively. More importantly, with 1,000 z sampled for each color, the network failed to identify multiple solution groups. Instead, the distribution of d 2 is centralized between the range of 800 to 1000 nm, which leads to a relatively sizeable ΔE distribution ( Figure S8d) with an average ΔE of 7.88 and a limited color coverage ( Figure S8e). This proves that the evaluator plays a vital role in the solution quality and diversity of the generator. Finally, it is also worth pointing out that the balance between the generator and evaluator is also essential for the network performance ( Figure S9-S11). A stronger discriminator will lead to a divergent generator, while a weaker discriminator will slow the training. Details are discussed in section 4 of supplementary materials. Experimental Validation of Designed sRGB Color Filters To further evaluate the network generalization and search performance of our network, we performed the inverse design of three color filters with sRGB values of red (0.5, 0, 0), green (0, 0.5, 0), and blue (0, 0, 0.5) using our trained generator with 1,000 z sampling for each color. Note that these three colors are not presented in our dataset and hence have no ground truth. These examples could test the capability of our cCAN in searching multiply solutions for colors outside the dataset. To better visualize the searchability, we fixed the thicknesses of the top and bottom Ag layers to be 30 nm (this Ag restriction is removed in the cGAN inverse design) while sweeping the thickness of the SiO 2 layer (d 2 ) from 0 to 1,000 nm to generate the loss (MSE) curves for each color (shown in Figure 6a-6c). The loss between the target and swept colors varies as d 2 changes. A small loss represents a better solution, and a dip towards 0 in the loss curve indicates one locally optimal solution group for the target. Therefore, the solution group number of each target color can be estimated from the number of curve dips towards 0. In this case, we could identify two solution groups for both the red and green colors, and three solution groups for the blue color. In addition, all the solution groups correspond to the different resonant orders for each color. The two solution groups at ca. 160 nm and 350 nm correspond to the 1 st and 2 nd order resonances for red ( Figure 6a); the ca. 130 nm and 320 nm designs are the 1 st and 2 nd order resonances for green ( Figure 6b); and the ca.100 nm, 250 nm, and 410 nm designs are the first three resonant orders for blue (Figure 6c). The inverse design results of these three colors are demonstrated in Figure 6d-6f. Here, we plot the distributions of the 1,000 predicted d 2 values for the three colors, respectively, in which d 2 is uniformly divided into 100 groups in the range of 0-1000 nm and a bar indicates the solution number of each thickness group. Our network has successfully produced multiple solution groups for each color, matching the number and value of the solution groups identified from the loss curves. This suggests that our network can identify all possible solutions for different target colors. The relationships between the value of z and solution groups are discussed in supplementary materials ( Figure S7). We will now experimentally validate our multiple solution groups by fabricating the red, green, and blue color filters previously designed by our cGAN. The parameters of the best solution in each solution group for each color are listed in Table 2. All the designed color filters were fabricated on quartz substrates. Details of the fabrication process are available in the method section. Figure 7a-7c display the cross-sectional SEM of all fabricated samples. A three-layered structure containing Ag (blue shading) top and bottom layers and SiO 2 dielectric is clearly visible for all samples. It is also evident that the dimensions (especially the thickness of the SiO 2 layer) are significantly different for different designs of the same target color. The measured transmission spectra for all samples are compared with their theoretical (calculated from designed parameters) counterparts and shown in Figure 7d-7f. All measured spectra match well with the theoretical ones in terms of both transmission peak wavelength and intensity. The discrepancies in peak intensity at shorter wavelengths may be attributed to the surface oxidization of the Ag films. [60,61] Figure 7g-7i display the resultant colors for each design. For each target color (TGT.), we compare the theoretical colors from different designs (DSG.) with the colors converted from corresponding experimental spectra (EXPT. SPT.) and the photographs of the samples taken by the camera under a sunlight-like source (EXPT. PHT.). The discrepancy in the R2 photograph may result from the light source intensity or the camera parameters (e.g., white balance, contrast, exposure time, etc.). Conclusion In conclusion, a variation of cGAN has been successfully implemented to resolve the typical oneto-many problem in nanophotonics using the inverse design of the F-P-cavity-based color filter as a demonstration. We suggest that the key to avoiding solution group degeneracy is generating solutions with the same parameter distribution of a dataset covering most solution spaces. Equipped with an evaluator that enables learning the dataset distribution, the cGAN developed in this work is able to identify an average of 3.58 solution groups for each color. Simultaneous with the improved solution diversity, the quality of the solutions is also significantly improved. An average ΔE of 0.44 has been achieved when sampling 1,000 z for each color. The high design accuracy could be attributed to identifying 93.9% ground truths of the testing set. Finding multiple solution groups can also benefit design manufacturing to allow more viable designs for fabrication. The capability of our cGAN has also been verified experimentally by inverse designing the sRGB color filters. The measured spectra and photographs of fabricated two red, two green, and three blue color filters present excellent agreement with the designs. It should be acknowledged that the presented work is limited by its dataset range as well as its simple 3-layered structure. However, it is worth highlighting that the 3-layer F-P cavity structure only serves as an example to demonstrate the capability of cGAN and the novelties of this work remain valid. We envisage this cGAN-based design methodology to be applied to other nanophotonic structures or physical science domains where the identification of multi-solution across a vast parameter space is required. Method Fabrication: Before fabricating the device, a series of experiments were conducted to identify the deposition rate for both Ag and SiO 2 using both ellipsometry (Woollam M-2000DI) and atomic force microscopy (Park System X7) for calibration. The same recipes were then used to fabricate our designed structural colors to ensure the best experimental reproduction of the designed structures. During the fabrication of structural colors, the bottom Ag thin film was firstly deposited by the electron-beam evaporation system (Leybold LAB700) with a growth rate of 0.5 Å/s. Without breaking the vacuum, a 1 nm thin Ti film was formed by electron-beam evaporation with a growth rate of 0.1 Å/s on top of the Ag film to improve the adhesion between Ag and the following SiO 2 . The SiO 2 layer was subsequently formed on the Ti layer in a reactive sputtering system (Leybold Helios Pro XL) using Si target and O 2 plasma. The growth rate of SiO 2 is 0.52 nm/s. After completing the SiO 2 deposition, the top Ag film was formed with the same process condition as the bottom Ag film and then a 1 nm Ti film on top. Method Characterization: The refractive index of SiO 2 used in the calculation is measured by an ellipsometer (Woollam M-2000DI). The transmission spectra under normal incidence were measured by a spectrometer (Bentham PVE300) with Air as reference. The photographs were taken using a digital camera (Canon EOS 500D) with a shutter speed of 1/20 s, an aperture of f/5, and the default white balance. In order to produce the source with the correct color temperature, an Apple iPad Pro (10.5-inch, 2017 year version) was used as a backlight source, with both true tone and night shift switched off and brightness set as maximum. The original photograph is shown in Figure S13. The cross-sectional morphologies of fabricated multiple thin-film structures were characterized using a field-emission scanning electron microscope (JEOL 7500 FEGSEM) at an acceleration voltage of 2 kV and a working distance of 4 mm. Method Calculation: All the calculations and neural network training were performed on a Windows PC with the hardware: CPU: Intel Core i9-9900K; RAM: 48 GB; GPU: NVIDIA RTX 2070. The involved software packages include Python 3.8, PyTorch 1.9.0, NumPy, Scikit-Learn and Colour-Science. The refractive index of Ag used in the calculation is Ag (Palik 0-2 μm). [62] Introduction Retrieval of structural arrangements for a desired optical performance has been the fundamental challenge in nanophotonics inverse design. [1] This challenging task requires searching a range of geometrical parameters in an ample design space. For the past decades, sophisticated methods have been developed to arrive at optimized solutions using heuristics-based approaches such as particle swarm, [2,3] genetic algorithms, [4][5][6] and gradient-based approaches. [7,8] Often, the intuition and experience of the designer have been critical in obtaining rational operational principles with the advantage that the performance of such structures can be understood. [7,[9][10][11][12] However, such a rational approach can be rather unsatisfactory as human intuition will not always guarantee an optimal design with the highest possible performance. Introduction The recent remarkable development of deep learning (DL) has offered great promise in solving some of the critical challenges faced in nanophotonics. [1,[13][14][15] DL is a subset of machine learning technology inspired by animal brains' biological neural networks. [16] Through a training process that involves iterative optimization of network parameters via gradient descent, [17] the DL model, which contains a few artificial neuron layers, can learn the non-linear relations between the photonic structure and optical response. In recent years, it has found many successful applications in photonic research such as chiral metamaterials, [18,19] wavefront engineering, [20][21][22] , and structural color. [23][24][25][26][27] An exhaustive overview of this field of study can be found in the review literatures. [14,15] In the inverse design of nanophotonic structures, the DL regression models have been utilized to predict the potential solution of optical response and achieved success to some extent under some specific regions and constraints. [9,25,[28][29][30][31] One of the main difficulties for inverse design is the "one-to-many" mapping characteristic where one target optical response can be produced by multiple structures. A direct inversion of the artificial neural network (ANN) to predict the design usually fails as the training will not converge due to the existence of several possible solutions. [32] To circumvent the challenges related to the "one-to-many" mapping, tandem networks architecture is proposed. [9] This type of network consists of two sub-networks: an actual inverse network that takes the optical response and outputs the desired design and a pre-trained forward network that evaluates the outputs and generates optical responses. The tandem architecture allows direct comparison in the physics domain and avoids confusion from different designs that lead to a similar optical response. In previous work, we adopted such an architecture for the inverse design of a Fabry-Pérot-cavity-based structural color with high design accuracy. [33] Despite the success in tackling the convergence problem using this tandem network, the one-tomany problem leaves us with some critical issues. A prominent limitation of the tandem approach resides in the existence of inaccessible solutions [15] or a dead zone [34] , which means that some possible solutions or solution spaces are discarded or unreachable during the network training process. In consequence, only a singular solution can be identified for each target optical response. The collapse of the network onto a set of singular solutions significantly limits the solution diversity and could even prevent reaching an optimal solution as the selected solution is not necessarily the best performing one. Therefore, developing an approach that enables identifying multiple solutions in different local/global optima can be extremely beneficial in achieving higher inverse design accuracy/performance. In addition, it will also provide more freedom in the actual fabrication process to select designs that fits the manufacturing requirement or facility limitation. For instance, a solution with the smaller dimensions could be selected to realize denser device integration while a large-dimension solution could be more suitable when the available facilities have certain resolution limitations. Furthermore, the performance decay induced by the fabrication error can also be mitigated via manufacturing a device with a less parameter-sensitive solution. Introduction Compared with other works that employed the generative models (e.g., generative adversarial networks (GAN) and variational autoencoder (VAE)) to design the 2D metasurface, [35][36][37][38][39] we introduced the GAN model [40] into the parameter-based 1D nanophotonic inverse design, which provides an approach fully addressing the one-to-many problem. GAN is one of the most popular generative models that has been widely used in computer vision and image synthesis. [41] It consists of two networks, a generator and a discriminator, which contest with each other during the training process to create authentic images. [42] Due to its unique ability to reveal the hidden distribution behind enormous training datasets, GAN has been used by optical scientists to inversely design metasurfaces and diffractive optical devices with a high degree of freedom. [22,[43][44][45][46] . Here, we investigate the potential of applying GAN in identifying multiple solutions for one target optical response. We argue that the geometrical distribution in the training dataset is a key hidden parameter that can be utilized in GAN to avoid dead zone and identify multiple solutions. Introduction We conduct an inverse design of a transmissive Fabry-Pérot (F-P) cavity-based structural color filter device using GAN as a demonstration. The structural color filter can display colors by selectively transmitting or reflecting the light with a specific wavelength by varying geometry. It has received enormous interest from research communities owing to its potential applications in display, full-color printing, optical encryption and solar cells. [47][48][49] The reasons for using such a system are threefolds: Firstly, the inverse design of the tri-layer F-P cavity structure (Ag-SiO 2 -Ag in this work) is a typical one-to-many problem as the transmissive peaks would appear periodically at the same wavelength as the increase of resonant cavity length; [50,51] Secondly, as a relatively simple structure with the well-established analytical model, [52] the performance of the developed GAN can be effectively investigated and evaluated. Thirdly, the design quality can be precisely quantified by the color difference index ΔE 2000 [53] (denoted as ΔE below), which is calculated from two CIELAB vectors and has a physical meaning in statistics compared to mean squared error (MSE). After training, our GAN produces an average of 3.58 solution groups for each color in the testing set, which covers 93.9% of all ground truths. These multiple solutions allow the selection of the best design for each color which results in the lowest average color difference ΔE of 0.44 that has ever been reported for the inverse design of structural color. The identification of multiple solution groups is verified experimentally by fabricating different multilayer structures to demonstrate the same color. Problems of Tandem Network We start by elaborating on the critical dead zone problem that the tandem network faces when performing inverse design. Taking the inverse design of a transmissive F-P-cavity-based structural color device as an example, the structure (shown in Figure 1a) has two reflective metal layers (Ag), which are separated by a lossless dielectric (SiO 2 ) and stacks on a quartz substrate. Problems of Tandem Network The function of color filter is achieved by multiple round-trip phase delays of electromagnetic waves in the F-P resonator. By tuning the thickness of each layer (d 1 , d 2 , and d 3 , denoted as a single design vector D below), the resonant peak can be controlled to produce different colors. In a typical one-to-many problem, one color, represented by the CIELAB vector Lab, could be produced by several different structures D 1 , D 2 , and D 3 . When this color (Lab) is fed to a tandem network, only one of these solutions will be selected. The other solutions will be discarded to minimize the loss during the training, as illustrated in Figure 1b. This solution degeneracy is due to the inherent contradiction between the one-to-one mapping nature of ANNs and the one-tomany mapping problem. Problems of Tandem Network One potential approach to resolve this contradiction is to introduce a latent vector z. The value of this latent vector can be sampled from a specific distribution (e.g., uniform or normal distribution) and assigned to the Lab (as shown in Figure 1c). Therefore, the one color can be split into three inputs by the variation of this latent vector and generates three one-to-one mappings that the tandem network can handle. However, these three inputs could still degenerate into very similar solutions within one solution group. The cartoon schematic of such degeneracy is illustrated in Figure 1d where the loss vs D landscape is plotted. The three sunken areas represent the three potential solution groups (outlined by blue lines) for this color. Different inputs can still be mapped into one sunken area, resulting in the degeneracy of the solution groups (depicted as the red dots). This behavior will be demonstrated and discussed later in the paper. Therefore, more constraint is required to force the network to search in the entire D space so all three solution groups can be identified (shown in Figure 1e). This additional constraint can be realized by generating a dataset distributed across the entire D space and forcing the network to learn such distribution. This means that alongside the effort to minimize the color difference, the distribution distance between the true thickness and the generator's predicted thickness should also be minimized during the training process. cGAN Network Design and Training The conditional generative adversarial networks [54] (cGAN) is a perfect tool for this task. cGAN usually has two parts, a discriminator and a generator. The generator takes a latent vector and the design target (condition) as inputs and outputs the generated data (also known as fake data). The discriminator evaluates the performance and distribution of the fake data and produces losses for backpropagation to shape the fake data close to the real data (training data). Figure 2 illustrates the network architectures used in this paper (details are shown in Figure S1). The generator comprises three sub-networks: Lab upraising layers, z upraising layers, and thickness regressor. The upraising layers are responsible for raising the dimensions of Lab and z from 3 and 2 to 128. The two upraised vectors are concatenated and put into the thickness regressor, which has 256 neurons per hidden layer and a sigmoid function at the end of the output layer, to generate the predicted thicknesses. The discriminator has two parallel networks: evaluator and Lab regressor. The evaluator evaluates the thickness data from the dataset (real) and generator (fake) and outputs two distribution scores. The difference between real and fake scores measures the distribution difference between ground truths and predicted data. The pre-trained Lab regressor takes thickness as input and returns the corresponding color (Lab). As mentioned above, during the training of cGAN, a reference data (real data) distribution is required so the generator could learn the distribution from these data via the evaluator. The dataset was generated by randomly sampling 50,000 different combinations of layer thicknesses (D) using a uniform distribution. We set the sampling range of 0 to 50 nm for the Ag films and 0 to 1,000 nm for the SiO 2 film. As a thicker Ag layer will significantly reduce the color brightness while too thick SiO 2 can cause many resonances in the visible spectrum and induce color degeneration and crosstalk, we believe that the sampling ranges and distribution are sufficient to cover the requested D space for diverse solution groups. The thickness distributions are shown in Figure 3a-3c, in which the thicknesses are uniformly divided into 100 groups, and the bars indicate the probability density of different groups. It is worth mentioning that other thickness distributions may also be applied as the reference distribution, but the uniform one is more straightforward for us due to its accessibility in implementation and excellent color coverage. These structural designs were then turned into transmission spectra via the transfer matrix method and converted into HSV (hue, saturation, and value) and CIELAB color models. All generated colors are plotted in the CIE 1931-xy chromaticity diagrams in Figure S2. The discussion of relationships between geometry parameters and the color is provided in section 2 of supplementary materials. The obtained dataset is divided into three groups for training (40,000), validation (5,000), and testing (5,000). cGAN Network Design and Training Before training our cGAN model, we firstly trained a Lab regressor to achieve forward modeling of the color Lab from a structure D. The detailed training process of this Lab regressor is provided in supplementary materials (Table S1 and Figure S4). The trained Lab regressor demonstrates an average color difference (ΔE) of 0.19 from the testing set. The significance of ΔE can be classified into five groups: 1) ΔE < 1, no discernable color difference; 2) 1 < ΔE < 2, the difference can be observed by experienced persons; 3) 2 < ΔE < 3.5, the difference can be observed by inexperienced persons; 4) 3.5 < ΔE < 5, clear difference can be noticed; 5) 5 < ΔE, two different colors are observed. [55] In the training of cGAN, both the color and thickness distribution differences are used in the loss function to apply backpropagation. We used Wasserstein distance as the distribution loss and applied spectral normalization to both evaluator and generator to improve the training stability. [56] The updating in the training process was alternatively performed on the generator and evaluator to minimize the hinge adversarial loss. [57][58][59] Details of the training process and the definitions of loss functions are provided in the supplementary materials (Table S2 and Equation S1-S3). cGAN Network Design and Training The training loss curves of the generator and evaluator are shown in Figure 3d. The loss of generator demonstrates a clear drop to close to zero, indicating the significant improvement of its predicting capability during the training process. The loss of evaluator compares the fake and real score and remains steadily at ca. 2 during training. To better understand this behavior, we plot the value of real and fake scores as a function of the training epoch in Figure 3e. It can be observed that the real and fake scores are close, indicating a balanced performance improvement for the generator and evaluator. This property is essential in cGAN training to ensure a balanced development of the generator and evaluator, which will be discussed in detail in the following section. Figure 3f displays the evolution curve of the generator. The Lab loss (red line), which is the MSE between prediction and ground truth of Lab, dropped fast in the first ten thousand epochs and then gradually converged to 0.02, meaning that the generator's prediction accuracy improved quickly then converged. The generator's fake score (blue line) in Figure 3f fluctuates around zero, which projects that the generator followed the development of the evaluator and had no model collapse during the training process. cGAN Performance Evaluation After training, we used the testing set to evaluate the performance of the generator. The testing set contains 5,000 data with the same uniform distribution as the training set (shown in Figure 4a- cGAN Performance Evaluation Evaluator Generator a b c 4c). The trained generator takes the 5,000 Lab and latent vectors z sampled from the standard normal distribution as inputs and predicts 5,000 inverse designed thicknesses (denoted as D p ). The distributions of the three thicknesses in D p are plotted in Figure 4d-4f. To quantify the distribution distance between predicted thickness and ground truth, the Jensen-Shannon distance (JSD) is introduced. The corresponding JSD computation process and reference values are provided in supplementary materials section 4 ( Figure S5 and Equation S4-S8). The measured JSDs for our case are 0.069 for d 1 , 0.067 for d 2 , and 0.066 for d 3 , reflecting that the predicted thickness and ground truth have great similarity in distribution. This proves that the trained generator is able to produce designs with restricted thickness distribution. Next, we investigated the capability of the generator in achieving diverse solutions. As mentioned above, the latent vector z is introduced to generate multiple solutions for each Lab. Currently, only one z is sampled for each Lab, hence only one solution is predicted for each color. In order to obtain multiple solutions, we randomly sampled 1,000 different z from the standard normal distribution for each Lab and classified the obtained 1,000 solutions into different solution groups by the density-based spatial clustering of applications with noise (DBSCAN), an unsupervised machine learning clustering algorithm. Details of the classification process can be found in section 5 of the supplementary materials. Figure 5a-5b present the distributions of solution group numbers when 100 and 1,000 z were assigned to each Lab, respectively. The aggregation of solution group numbers moves from 1-4 to 2-5 as the z number grew from 100 to 1,000, showing a significant solution diversity improvement. An average of 3.58 solution groups can be identified for these 5,000 Lab when each target color is assigned with 1,000 different z, proving the capability of our network in achieving diverse solution groups. Figure 5c plots the solution group number as a function of different z numbers used for each color. It can be observed that the solution group number initially increases sharply with increasing z number and eventually saturates when the z number reaches over 1,000 (highlighted by the red dot in Figure 5c). A maximum average solution number of 3.66 was obtained when 2,100 z was used for each color (highlighted by the red triangle a b c d e f cGAN Performance Evaluation in Figure 5c). The following slight decrease is related to limitations in the clustering algorithm. As the z number increases, the different solution groups may slightly overlap with each other, which cannot be distinguished by DBSCAN. Concurrently with the increasing number of solution groups, the color difference ΔE can also be significantly reduced. Figure 5d plots the ΔE distribution of 5,000 solutions when one z is sampled for each Lab. The majority of the ΔE is located between 0 to 5, with an average ΔE value of 2.98. While 1,000 z are sampled for each Lab, the lowest ΔE for each color almost falls in 0-1 (can be considered no color difference, as shown in Figure 5e), with an average value of 0.44. To the best of our knowledge, this is the lowest color difference reported for structural color inverse design. The dependence of the z number on the average lowest ΔE is presented in Figure 5f. An average lowest ΔE can reach below 1 when the z number is over 15 (highlighted by a red dot in Figure 5f inset) and below 0.5 when the z number is over 400 (highlighted by the red triangle in Figure 5f). To elucidate the high design accuracy achieved by our network, we compared the absolute d 2 differences (Δd 2 ) between the solutions obtained from each color (using 1,000 z) and its ground truth (global optimum). We discovered that 93.9% of the Δd 2 are within 5 nm, implying the majority of the ground truths have been successfully identified. Detailed distribution information of minimum Δd 2 is provided in Figure S6. cGAN Performance Evaluation All of these results suggest that both the quantity and quality of solutions can be improved using our network by increasing the number of z. It is worth mentioning that although multiple z sampling is required to achieve a high solution group number and low ΔE, the time required for such prediction is straightforward and largely effortless. For example, applying inverse design and solution optimization for 5000 colors with 1,000 z sampling for each color will only consume 16.18 s in our computation environment, which is equivalent to 3.24 ms per color. cGAN Performance Evaluation In order to verify the fabrication applications of multiple solution groups, we applied the generator to inversely design two colors generated by the F-P cavity. Table 1 lists the best solution for each obtained solution group. Both target colors have achieved more than two different solution groups. The ground truths (target designs) have been successfully identified as one of the solutions in both cases. In particular, five solution groups have been identified for color #2 with the d 2 value spanning from 39 to 985 nm, proving the powerful searching ability of our network. These multiple solution groups allow the selection of suitable designs for the manufacturing requirement. Films that are too thin can be challenging to fabricate with high quality. For example, a design with a very thin Ag layer (e.g., 3 nm in design 3 for color #2) could increase the fabrication relative error and might need to be discarded despite its low ΔE. Instead, a different design (e.g. design 4) could be selected due to its relatively thicker films but still competitive ΔE. The sensitivity of the solution to fabrication errors is also an important factor to consider. We calculated the sensitivity here as the ΔE when d 2 was added or subtracted by 1 nm (denoted as δ 1 and δ -1 , respectively). Higher δ ±1 means that the solution is more sensitive to fabrication error and requires a more precise fabrication process. Although the ground truth of color #1 in Table 1 has been successfully identified in design 1, the sizeable δ ±1 inflicts extreme requirements on the fabrication accuracy. cGAN Performance Evaluation On the other hand, design 3 with a slightly larger ΔE but the smallest δ ±1 would be more suitable for the actual application. The capability of our network in identifying multiple solution groups for each color is clearly advantageous for providing viable designs for fabrication. Table 1 The inverse design demonstrations of two colors. The target items are the ground truths. The designed items are from the solutions of the generator. cGAN Performance Evaluation We have proved from the discussion above that the proposed cGAN architecture can completely solve the "one-to-many" issue for this nanophotonics question. We argue that the vital component in this architecture is the evaluator, which enables the generator to learn the distribution of the dataset. Figure S8 presents the performance of the same networks with the evaluator disabled. The distributions of the three thicknesses designed for the testing set show no uniformity ( Figure S8a-S8c). The measured JSDs between these designed thicknesses and the testing set are 0.21 for d 1 , 0.64 for d 2 and 0.14 for d 3 , respectively. More importantly, with 1,000 z sampled for each color, the network failed to identify multiple solution groups. Instead, the distribution of d 2 is centralized between the range of 800 to 1000 nm, which leads to a relatively sizeable ΔE distribution ( Figure S8d) with an average ΔE of 7.88 and a limited color coverage ( Figure S8e). This proves that the evaluator plays a vital role in the solution quality and diversity of the generator. Finally, it is also worth pointing out that the balance between the generator and evaluator is also essential for the network performance ( Figure S9-S11). A stronger discriminator will lead to a divergent generator, while a weaker discriminator will slow the training. Details are discussed in section 4 of supplementary materials. Experimental Validation of Designed sRGB Color Filters To further evaluate the network generalization and search performance of our network, we performed the inverse design of three color filters with sRGB values of red (0.5, 0, 0), green (0, 0.5, 0), and blue (0, 0, 0.5) using our trained generator with 1,000 z sampling for each color. Note that these three colors are not presented in our dataset and hence have no ground truth. These examples could test the capability of our cCAN in searching multiply solutions for colors outside the dataset. To better visualize the searchability, we fixed the thicknesses of the top and bottom Ag layers to be 30 nm (this Ag restriction is removed in the cGAN inverse design) while sweeping the thickness of the SiO 2 layer (d 2 ) from 0 to 1,000 nm to generate the loss (MSE) curves for each color (shown in Figure 6a-6c). The loss between the target and swept colors varies as d 2 changes. A small loss represents a better solution, and a dip towards 0 in the loss curve indicates one locally optimal solution group for the target. Therefore, the solution group number of each target color can be estimated from the number of curve dips towards 0. In this case, we could identify two solution groups for both the red and green colors, and three solution groups for the blue color. In addition, all the solution groups correspond to the different resonant orders for each color. The two solution groups at ca. 160 nm and 350 nm correspond to the 1 st and 2 nd order resonances for red ( Figure 6a); the ca. 130 nm and 320 nm designs are the 1 st and 2 nd order resonances for green ( Figure 6b); and the ca.100 nm, 250 nm, and 410 nm designs are the first three resonant orders for blue (Figure 6c). The inverse design results of these three colors are demonstrated in Figure 6d-6f. Here, we plot the distributions of the 1,000 predicted d 2 values for the three colors, respectively, in which d 2 is uniformly divided into 100 groups in the range of 0-1000 nm and a bar indicates the solution number of each thickness group. Our network has successfully produced multiple solution groups for each color, matching the number and value of the solution groups identified from the loss curves. This suggests that our network can identify all possible solutions for different target colors. The relationships between the value of z and solution groups are discussed in supplementary materials ( Figure S7). We will now experimentally validate our multiple solution groups by fabricating the red, green, and blue color filters previously designed by our cGAN. The parameters of the best solution in each solution group for each color are listed in Table 2. All the designed color filters were fabricated on quartz substrates. Details of the fabrication process are available in the method section. Figure 7a-7c display the cross-sectional SEM of all fabricated samples. A three-layered structure containing Ag (blue shading) top and bottom layers and SiO 2 dielectric is clearly visible for all samples. It is also evident that the dimensions (especially the thickness of the SiO 2 layer) are significantly different for different designs of the same target color. The measured transmission spectra for all samples are compared with their theoretical (calculated from designed parameters) counterparts and shown in Figure 7d-7f. All measured spectra match well with the theoretical ones in terms of both transmission peak wavelength and intensity. The discrepancies in peak intensity at shorter wavelengths may be attributed to the surface oxidization of the Ag films. [60,61] Figure 7g-7i display the resultant colors for each design. For each target color (TGT.), we compare the theoretical colors from different designs (DSG.) with the colors converted from corresponding experimental spectra (EXPT. SPT.) and the photographs of the samples taken by the camera under a sunlight-like source (EXPT. PHT.). The discrepancy in the R2 photograph may result from the light source intensity or the camera parameters (e.g., white balance, contrast, exposure time, etc.). Conclusion In conclusion, a variation of cGAN has been successfully implemented to resolve the typical oneto-many problem in nanophotonics using the inverse design of the F-P-cavity-based color filter as a demonstration. We suggest that the key to avoiding solution group degeneracy is generating solutions with the same parameter distribution of a dataset covering most solution spaces. Equipped with an evaluator that enables learning the dataset distribution, the cGAN developed in this work is able to identify an average of 3.58 solution groups for each color. Simultaneous with the improved solution diversity, the quality of the solutions is also significantly improved. An average ΔE of 0.44 has been achieved when sampling 1,000 z for each color. The high design accuracy could be attributed to identifying 93.9% ground truths of the testing set. Finding multiple solution groups can also benefit design manufacturing to allow more viable designs for fabrication. The capability of our cGAN has also been verified experimentally by inverse designing the sRGB color filters. The measured spectra and photographs of fabricated two red, two green, and three blue color filters present excellent agreement with the designs. It should be acknowledged that the presented work is limited by its dataset range as well as its simple 3-layered structure. However, it is worth highlighting that the 3-layer F-P cavity structure only serves as an example to demonstrate the capability of cGAN and the novelties of this work remain valid. We envisage this cGAN-based design methodology to be applied to other nanophotonic structures or physical science domains where the identification of multi-solution across a vast parameter space is required. Method Fabrication: Before fabricating the device, a series of experiments were conducted to identify the deposition rate for both Ag and SiO 2 using both ellipsometry (Woollam M-2000DI) and atomic force microscopy (Park System X7) for calibration. The same recipes were then used to fabricate our designed structural colors to ensure the best experimental reproduction of the designed structures. During the fabrication of structural colors, the bottom Ag thin film was firstly deposited by the electron-beam evaporation system (Leybold LAB700) with a growth rate of 0.5 Å/s. Without breaking the vacuum, a 1 nm thin Ti film was formed by electron-beam evaporation with a growth rate of 0.1 Å/s on top of the Ag film to improve the adhesion between Ag and the following SiO 2 . The SiO 2 layer was subsequently formed on the Ti layer in a reactive sputtering system (Leybold Helios Pro XL) using Si target and O 2 plasma. The growth rate of SiO 2 is 0.52 nm/s. After completing the SiO 2 deposition, the top Ag film was formed with the same process condition as the bottom Ag film and then a 1 nm Ti film on top. Method Characterization: The refractive index of SiO 2 used in the calculation is measured by an ellipsometer (Woollam M-2000DI). The transmission spectra under normal incidence were measured by a spectrometer (Bentham PVE300) with Air as reference. The photographs were taken using a digital camera (Canon EOS 500D) with a shutter speed of 1/20 s, an aperture of f/5, and the default white balance. In order to produce the source with the correct color temperature, an Apple iPad Pro (10.5-inch, 2017 year version) was used as a backlight source, with both true tone and night shift switched off and brightness set as maximum. The original photograph is shown in Figure S13. The cross-sectional morphologies of fabricated multiple thin-film structures were characterized using a field-emission scanning electron microscope (JEOL 7500 FEGSEM) at an acceleration voltage of 2 kV and a working distance of 4 mm. Method Calculation: All the calculations and neural network training were performed on a Windows PC with the hardware: CPU: Intel Core i9-9900K; RAM: 48 GB; GPU: NVIDIA RTX 2070. The involved software packages include Python 3.8, PyTorch 1.9.0, NumPy, Scikit-Learn and Colour-Science. The refractive index of Ag used in the calculation is Ag (Palik 0-2 μm). [62]

섹션 본문 45문단 · 65,460자

(제목 없음)

1The "one-to-many" problem is a typical challenge that faced by many machine learning aided inverse nanophotonics designs where one target optical response can be achieved by many solutions (designs). Although novel training approaches, such as tandem network, and network architecture, such as the mixture density model, have been proposed, the critical problem of solution degeneracy still exists where some possible solutions or solution spaces are discarded or unreachable during the network training process. Here, we report a solution to the "one-to-many" problem by employing a conditional generative adversarial network (cGAN) that enables generating sets of multiple solution groups to a design problem. Using the inverse design of a transmissive Fabry-Pérot-cavity-based color filter as an example, our model demonstrates the capability of generating an average number of 3.58 solution groups for each color. These multiple solutions allow the selection of the best design for each color which results in a record high accuracy with an average index color difference ΔE of 0.44. The capability of identifying multiple solution groups can benefit the design manufacturing to allow more viable designs for fabrication. The capability of our cGAN is verified experimentally by inversely designing the RGB color filters. We envisage this cGAN-based design methodology can be applied to other nanophotonic structures or physical science domains where the identification of multi-solution across a vast parameter space is required.

Introduction

2Retrieval of structural arrangements for a desired optical performance has been the fundamental challenge in nanophotonics inverse design. [1] This challenging task requires searching a range of geometrical parameters in an ample design space. For the past decades, sophisticated methods have been developed to arrive at optimized solutions using heuristics-based approaches such as particle swarm, [2,3] genetic algorithms, [4][5][6] and gradient-based approaches. [7,8] Often, the intuition and experience of the designer have been critical in obtaining rational operational principles with the advantage that the performance of such structures can be understood. [7,[9][10][11][12] However, such a rational approach can be rather unsatisfactory as human intuition will not always guarantee an optimal design with the highest possible performance.

3The recent remarkable development of deep learning (DL) has offered great promise in solving some of the critical challenges faced in nanophotonics. [1,[13][14][15] DL is a subset of machine learning technology inspired by animal brains' biological neural networks. [16] Through a training process that involves iterative optimization of network parameters via gradient descent, [17] the DL model, which contains a few artificial neuron layers, can learn the non-linear relations between the photonic structure and optical response. In recent years, it has found many successful applications in photonic research such as chiral metamaterials, [18,19] wavefront engineering, [20][21][22] , and structural color. [23][24][25][26][27] An exhaustive overview of this field of study can be found in the review literatures. [14,15] In the inverse design of nanophotonic structures, the DL regression models have been utilized to predict the potential solution of optical response and achieved success to some extent under some specific regions and constraints. [9,25,[28][29][30][31] One of the main difficulties for inverse design is the "one-to-many" mapping characteristic where one target optical response can be produced by multiple structures. A direct inversion of the artificial neural network (ANN) to predict the design usually fails as the training will not converge due to the existence of several possible solutions. [32] To circumvent the challenges related to the "one-to-many" mapping, tandem networks architecture is proposed. [9] This type of network consists of two sub-networks: an actual inverse network that takes the optical response and outputs the desired design and a pre-trained forward network that evaluates the outputs and generates optical responses. The tandem architecture allows direct comparison in the physics domain and avoids confusion from different designs that lead to a similar optical response. In previous work, we adopted such an architecture for the inverse design of a Fabry-Pérot-cavity-based structural color with high design accuracy. [33] Despite the success in tackling the convergence problem using this tandem network, the one-tomany problem leaves us with some critical issues. A prominent limitation of the tandem approach resides in the existence of inaccessible solutions [15] or a dead zone [34] , which means that some possible solutions or solution spaces are discarded or unreachable during the network training process. In consequence, only a singular solution can be identified for each target optical response. The collapse of the network onto a set of singular solutions significantly limits the solution diversity and could even prevent reaching an optimal solution as the selected solution is not necessarily the best performing one. Therefore, developing an approach that enables identifying multiple solutions in different local/global optima can be extremely beneficial in achieving higher inverse design accuracy/performance. In addition, it will also provide more freedom in the actual fabrication process to select designs that fits the manufacturing requirement or facility limitation. For instance, a solution with the smaller dimensions could be selected to realize denser device integration while a large-dimension solution could be more suitable when the available facilities have certain resolution limitations. Furthermore, the performance decay induced by the fabrication error can also be mitigated via manufacturing a device with a less parameter-sensitive solution.

4Compared with other works that employed the generative models (e.g., generative adversarial networks (GAN) and variational autoencoder (VAE)) to design the 2D metasurface, [35][36][37][38][39] we introduced the GAN model [40] into the parameter-based 1D nanophotonic inverse design, which provides an approach fully addressing the one-to-many problem. GAN is one of the most popular generative models that has been widely used in computer vision and image synthesis. [41] It consists of two networks, a generator and a discriminator, which contest with each other during the training process to create authentic images. [42] Due to its unique ability to reveal the hidden distribution behind enormous training datasets, GAN has been used by optical scientists to inversely design metasurfaces and diffractive optical devices with a high degree of freedom. [22,[43][44][45][46] . Here, we investigate the potential of applying GAN in identifying multiple solutions for one target optical response. We argue that the geometrical distribution in the training dataset is a key hidden parameter that can be utilized in GAN to avoid dead zone and identify multiple solutions.

5We conduct an inverse design of a transmissive Fabry-Pérot (F-P) cavity-based structural color filter device using GAN as a demonstration. The structural color filter can display colors by selectively transmitting or reflecting the light with a specific wavelength by varying geometry. It has received enormous interest from research communities owing to its potential applications in display, full-color printing, optical encryption and solar cells. [47][48][49] The reasons for using such a system are threefolds: Firstly, the inverse design of the tri-layer F-P cavity structure (Ag-SiO 2 -Ag in this work) is a typical one-to-many problem as the transmissive peaks would appear periodically at the same wavelength as the increase of resonant cavity length; [50,51] Secondly, as a relatively simple structure with the well-established analytical model, [52] the performance of the developed GAN can be effectively investigated and evaluated. Thirdly, the design quality can be precisely quantified by the color difference index ΔE 2000 [53] (denoted as ΔE below), which is calculated from two CIELAB vectors and has a physical meaning in statistics compared to mean squared error (MSE). After training, our GAN produces an average of 3.58 solution groups for each color in the testing set, which covers 93.9% of all ground truths. These multiple solutions allow the selection of the best design for each color which results in the lowest average color difference ΔE of 0.44 that has ever been reported for the inverse design of structural color. The identification of multiple solution groups is verified experimentally by fabricating different multilayer structures to demonstrate the same color.

Problems of Tandem Network

6We start by elaborating on the critical dead zone problem that the tandem network faces when performing inverse design. Taking the inverse design of a transmissive F-P-cavity-based structural color device as an example, the structure (shown in Figure 1a) has two reflective metal layers (Ag), which are separated by a lossless dielectric (SiO 2 ) and stacks on a quartz substrate.

7The function of color filter is achieved by multiple round-trip phase delays of electromagnetic waves in the F-P resonator. By tuning the thickness of each layer (d 1 , d 2 , and d 3 , denoted as a single design vector D below), the resonant peak can be controlled to produce different colors. In a typical one-to-many problem, one color, represented by the CIELAB vector Lab, could be produced by several different structures D 1 , D 2 , and D 3 . When this color (Lab) is fed to a tandem network, only one of these solutions will be selected. The other solutions will be discarded to minimize the loss during the training, as illustrated in Figure 1b. This solution degeneracy is due to the inherent contradiction between the one-to-one mapping nature of ANNs and the one-tomany mapping problem.

8One potential approach to resolve this contradiction is to introduce a latent vector z. The value of this latent vector can be sampled from a specific distribution (e.g., uniform or normal distribution) and assigned to the Lab (as shown in Figure 1c). Therefore, the one color can be split into three inputs by the variation of this latent vector and generates three one-to-one mappings that the tandem network can handle. However, these three inputs could still degenerate into very similar solutions within one solution group. The cartoon schematic of such degeneracy is illustrated in Figure 1d where the loss vs D landscape is plotted. The three sunken areas represent the three potential solution groups (outlined by blue lines) for this color. Different inputs can still be mapped into one sunken area, resulting in the degeneracy of the solution groups (depicted as the red dots). This behavior will be demonstrated and discussed later in the paper. Therefore, more constraint is required to force the network to search in the entire D space so all three solution groups can be identified (shown in Figure 1e). This additional constraint can be realized by generating a dataset distributed across the entire D space and forcing the network to learn such distribution. This means that alongside the effort to minimize the color difference, the distribution distance between the true thickness and the generator's predicted thickness should also be minimized during the training process.

cGAN Network Design and Training

9The conditional generative adversarial networks [54] (cGAN) is a perfect tool for this task. cGAN usually has two parts, a discriminator and a generator. The generator takes a latent vector and the design target (condition) as inputs and outputs the generated data (also known as fake data). The discriminator evaluates the performance and distribution of the fake data and produces losses for backpropagation to shape the fake data close to the real data (training data). Figure 2 illustrates the network architectures used in this paper (details are shown in Figure S1). The generator comprises three sub-networks: Lab upraising layers, z upraising layers, and thickness regressor. The upraising layers are responsible for raising the dimensions of Lab and z from 3 and 2 to 128. The two upraised vectors are concatenated and put into the thickness regressor, which has 256 neurons per hidden layer and a sigmoid function at the end of the output layer, to generate the predicted thicknesses. The discriminator has two parallel networks: evaluator and Lab regressor. The evaluator evaluates the thickness data from the dataset (real) and generator (fake) and outputs two distribution scores. The difference between real and fake scores measures the distribution difference between ground truths and predicted data. The pre-trained Lab regressor takes thickness as input and returns the corresponding color (Lab). As mentioned above, during the training of cGAN, a reference data (real data) distribution is required so the generator could learn the distribution from these data via the evaluator. The dataset was generated by randomly sampling 50,000 different combinations of layer thicknesses (D) using a uniform distribution. We set the sampling range of 0 to 50 nm for the Ag films and 0 to 1,000 nm for the SiO 2 film. As a thicker Ag layer will significantly reduce the color brightness while too thick SiO 2 can cause many resonances in the visible spectrum and induce color degeneration and crosstalk, we believe that the sampling ranges and distribution are sufficient to cover the requested D space for diverse solution groups. The thickness distributions are shown in Figure 3a-3c, in which the thicknesses are uniformly divided into 100 groups, and the bars indicate the probability density of different groups. It is worth mentioning that other thickness distributions may also be applied as the reference distribution, but the uniform one is more straightforward for us due to its accessibility in implementation and excellent color coverage. These structural designs were then turned into transmission spectra via the transfer matrix method and converted into HSV (hue, saturation, and value) and CIELAB color models. All generated colors are plotted in the CIE 1931-xy chromaticity diagrams in Figure S2. The discussion of relationships between geometry parameters and the color is provided in section 2 of supplementary materials. The obtained dataset is divided into three groups for training (40,000), validation (5,000), and testing (5,000).

10Before training our cGAN model, we firstly trained a Lab regressor to achieve forward modeling of the color Lab from a structure D. The detailed training process of this Lab regressor is provided in supplementary materials (Table S1 and Figure S4). The trained Lab regressor demonstrates an average color difference (ΔE) of 0.19 from the testing set. The significance of ΔE can be classified into five groups: 1) ΔE < 1, no discernable color difference; 2) 1 < ΔE < 2, the difference can be observed by experienced persons; 3) 2 < ΔE < 3.5, the difference can be observed by inexperienced persons; 4) 3.5 < ΔE < 5, clear difference can be noticed; 5) 5 < ΔE, two different colors are observed. [55] In the training of cGAN, both the color and thickness distribution differences are used in the loss function to apply backpropagation. We used Wasserstein distance as the distribution loss and applied spectral normalization to both evaluator and generator to improve the training stability. [56] The updating in the training process was alternatively performed on the generator and evaluator to minimize the hinge adversarial loss. [57][58][59] Details of the training process and the definitions of loss functions are provided in the supplementary materials (Table S2 and Equation S1-S3).

11The training loss curves of the generator and evaluator are shown in Figure 3d. The loss of generator demonstrates a clear drop to close to zero, indicating the significant improvement of its predicting capability during the training process. The loss of evaluator compares the fake and real score and remains steadily at ca. 2 during training. To better understand this behavior, we plot the value of real and fake scores as a function of the training epoch in Figure 3e. It can be observed that the real and fake scores are close, indicating a balanced performance improvement for the generator and evaluator. This property is essential in cGAN training to ensure a balanced development of the generator and evaluator, which will be discussed in detail in the following section. Figure 3f displays the evolution curve of the generator. The Lab loss (red line), which is the MSE between prediction and ground truth of Lab, dropped fast in the first ten thousand epochs and then gradually converged to 0.02, meaning that the generator's prediction accuracy improved quickly then converged. The generator's fake score (blue line) in Figure 3f fluctuates around zero, which projects that the generator followed the development of the evaluator and had no model collapse during the training process.

cGAN Performance Evaluation

12After training, we used the testing set to evaluate the performance of the generator. The testing set contains 5,000 data with the same uniform distribution as the training set (shown in Figure 4a-

13Evaluator Generator a b c 4c). The trained generator takes the 5,000 Lab and latent vectors z sampled from the standard normal distribution as inputs and predicts 5,000 inverse designed thicknesses (denoted as D p ). The distributions of the three thicknesses in D p are plotted in Figure 4d-4f. To quantify the distribution distance between predicted thickness and ground truth, the Jensen-Shannon distance (JSD) is introduced. The corresponding JSD computation process and reference values are provided in supplementary materials section 4 ( Figure S5 and Equation S4-S8). The measured JSDs for our case are 0.069 for d 1 , 0.067 for d 2 , and 0.066 for d 3 , reflecting that the predicted thickness and ground truth have great similarity in distribution. This proves that the trained generator is able to produce designs with restricted thickness distribution. Next, we investigated the capability of the generator in achieving diverse solutions. As mentioned above, the latent vector z is introduced to generate multiple solutions for each Lab. Currently, only one z is sampled for each Lab, hence only one solution is predicted for each color. In order to obtain multiple solutions, we randomly sampled 1,000 different z from the standard normal distribution for each Lab and classified the obtained 1,000 solutions into different solution groups by the density-based spatial clustering of applications with noise (DBSCAN), an unsupervised machine learning clustering algorithm. Details of the classification process can be found in section 5 of the supplementary materials. Figure 5a-5b present the distributions of solution group numbers when 100 and 1,000 z were assigned to each Lab, respectively. The aggregation of solution group numbers moves from 1-4 to 2-5 as the z number grew from 100 to 1,000, showing a significant solution diversity improvement. An average of 3.58 solution groups can be identified for these 5,000 Lab when each target color is assigned with 1,000 different z, proving the capability of our network in achieving diverse solution groups. Figure 5c plots the solution group number as a function of different z numbers used for each color. It can be observed that the solution group number initially increases sharply with increasing z number and eventually saturates when the z number reaches over 1,000 (highlighted by the red dot in Figure 5c). A maximum average solution number of 3.66 was obtained when 2,100 z was used for each color (highlighted by the red triangle a b c d e f

14in Figure 5c). The following slight decrease is related to limitations in the clustering algorithm. As the z number increases, the different solution groups may slightly overlap with each other, which cannot be distinguished by DBSCAN. Concurrently with the increasing number of solution groups, the color difference ΔE can also be significantly reduced. Figure 5d plots the ΔE distribution of 5,000 solutions when one z is sampled for each Lab. The majority of the ΔE is located between 0 to 5, with an average ΔE value of 2.98. While 1,000 z are sampled for each Lab, the lowest ΔE for each color almost falls in 0-1 (can be considered no color difference, as shown in Figure 5e), with an average value of 0.44. To the best of our knowledge, this is the lowest color difference reported for structural color inverse design. The dependence of the z number on the average lowest ΔE is presented in Figure 5f. An average lowest ΔE can reach below 1 when the z number is over 15 (highlighted by a red dot in Figure 5f inset) and below 0.5 when the z number is over 400 (highlighted by the red triangle in Figure 5f). To elucidate the high design accuracy achieved by our network, we compared the absolute d 2 differences (Δd 2 ) between the solutions obtained from each color (using 1,000 z) and its ground truth (global optimum). We discovered that 93.9% of the Δd 2 are within 5 nm, implying the majority of the ground truths have been successfully identified. Detailed distribution information of minimum Δd 2 is provided in Figure S6.

15All of these results suggest that both the quantity and quality of solutions can be improved using our network by increasing the number of z. It is worth mentioning that although multiple z sampling is required to achieve a high solution group number and low ΔE, the time required for such prediction is straightforward and largely effortless. For example, applying inverse design and solution optimization for 5000 colors with 1,000 z sampling for each color will only consume 16.18 s in our computation environment, which is equivalent to 3.24 ms per color.

16In order to verify the fabrication applications of multiple solution groups, we applied the generator to inversely design two colors generated by the F-P cavity. Table 1 lists the best solution for each obtained solution group. Both target colors have achieved more than two different solution groups. The ground truths (target designs) have been successfully identified as one of the solutions in both cases. In particular, five solution groups have been identified for color #2 with the d 2 value spanning from 39 to 985 nm, proving the powerful searching ability of our network. These multiple solution groups allow the selection of suitable designs for the manufacturing requirement. Films that are too thin can be challenging to fabricate with high quality. For example, a design with a very thin Ag layer (e.g., 3 nm in design 3 for color #2) could increase the fabrication relative error and might need to be discarded despite its low ΔE. Instead, a different design (e.g. design 4) could be selected due to its relatively thicker films but still competitive ΔE. The sensitivity of the solution to fabrication errors is also an important factor to consider. We calculated the sensitivity here as the ΔE when d 2 was added or subtracted by 1 nm (denoted as δ 1 and δ -1 , respectively). Higher δ ±1 means that the solution is more sensitive to fabrication error and requires a more precise fabrication process. Although the ground truth of color #1 in Table 1 has been successfully identified in design 1, the sizeable δ ±1 inflicts extreme requirements on the fabrication accuracy.

17On the other hand, design 3 with a slightly larger ΔE but the smallest δ ±1 would be more suitable for the actual application. The capability of our network in identifying multiple solution groups for each color is clearly advantageous for providing viable designs for fabrication. Table 1 The inverse design demonstrations of two colors. The target items are the ground truths. The designed items are from the solutions of the generator.

18We have proved from the discussion above that the proposed cGAN architecture can completely solve the "one-to-many" issue for this nanophotonics question. We argue that the vital component in this architecture is the evaluator, which enables the generator to learn the distribution of the dataset. Figure S8 presents the performance of the same networks with the evaluator disabled. The distributions of the three thicknesses designed for the testing set show no uniformity ( Figure S8a-S8c). The measured JSDs between these designed thicknesses and the testing set are 0.21 for d 1 , 0.64 for d 2 and 0.14 for d 3 , respectively. More importantly, with 1,000 z sampled for each color, the network failed to identify multiple solution groups. Instead, the distribution of d 2 is centralized between the range of 800 to 1000 nm, which leads to a relatively sizeable ΔE distribution ( Figure S8d) with an average ΔE of 7.88 and a limited color coverage ( Figure S8e). This proves that the evaluator plays a vital role in the solution quality and diversity of the generator. Finally, it is also worth pointing out that the balance between the generator and evaluator is also essential for the network performance ( Figure S9-S11). A stronger discriminator will lead to a divergent generator, while a weaker discriminator will slow the training. Details are discussed in section 4 of supplementary materials.

Experimental Validation of Designed sRGB Color Filters

19To further evaluate the network generalization and search performance of our network, we performed the inverse design of three color filters with sRGB values of red (0.5, 0, 0), green (0, 0.5, 0), and blue (0, 0, 0.5) using our trained generator with 1,000 z sampling for each color. Note that these three colors are not presented in our dataset and hence have no ground truth. These examples could test the capability of our cCAN in searching multiply solutions for colors outside the dataset. To better visualize the searchability, we fixed the thicknesses of the top and bottom Ag layers to be 30 nm (this Ag restriction is removed in the cGAN inverse design) while sweeping the thickness of the SiO 2 layer (d 2 ) from 0 to 1,000 nm to generate the loss (MSE) curves for each color (shown in Figure 6a-6c). The loss between the target and swept colors varies as d 2 changes. A small loss represents a better solution, and a dip towards 0 in the loss curve indicates one locally optimal solution group for the target. Therefore, the solution group number of each target color can be estimated from the number of curve dips towards 0. In this case, we could identify two solution groups for both the red and green colors, and three solution groups for the blue color. In addition, all the solution groups correspond to the different resonant orders for each color. The two solution groups at ca. 160 nm and 350 nm correspond to the 1 st and 2 nd order resonances for red ( Figure 6a); the ca. 130 nm and 320 nm designs are the 1 st and 2 nd order resonances for green ( Figure 6b); and the ca.100 nm, 250 nm, and 410 nm designs are the first three resonant orders for blue (Figure 6c). The inverse design results of these three colors are demonstrated in Figure 6d-6f. Here, we plot the distributions of the 1,000 predicted d 2 values for the three colors, respectively, in which d 2 is uniformly divided into 100 groups in the range of 0-1000 nm and a bar indicates the solution number of each thickness group. Our network has successfully produced multiple solution groups for each color, matching the number and value of the solution groups identified from the loss curves. This suggests that our network can identify all possible solutions for different target colors. The relationships between the value of z and solution groups are discussed in supplementary materials ( Figure S7). We will now experimentally validate our multiple solution groups by fabricating the red, green, and blue color filters previously designed by our cGAN. The parameters of the best solution in each solution group for each color are listed in Table 2. All the designed color filters were fabricated on quartz substrates. Details of the fabrication process are available in the method section. Figure 7a-7c display the cross-sectional SEM of all fabricated samples. A three-layered structure containing Ag (blue shading) top and bottom layers and SiO 2 dielectric is clearly visible for all samples. It is also evident that the dimensions (especially the thickness of the SiO 2 layer) are significantly different for different designs of the same target color. The measured transmission spectra for all samples are compared with their theoretical (calculated from designed parameters) counterparts and shown in Figure 7d-7f. All measured spectra match well with the theoretical ones in terms of both transmission peak wavelength and intensity. The discrepancies in peak intensity at shorter wavelengths may be attributed to the surface oxidization of the Ag films. [60,61] Figure 7g-7i display the resultant colors for each design. For each target color (TGT.), we compare the theoretical colors from different designs (DSG.) with the colors converted from corresponding experimental spectra (EXPT. SPT.) and the photographs of the samples taken by the camera under a sunlight-like source (EXPT. PHT.). The discrepancy in the R2 photograph may result from the light source intensity or the camera parameters (e.g., white balance, contrast, exposure time, etc.).

Conclusion

20In conclusion, a variation of cGAN has been successfully implemented to resolve the typical oneto-many problem in nanophotonics using the inverse design of the F-P-cavity-based color filter as a demonstration. We suggest that the key to avoiding solution group degeneracy is generating solutions with the same parameter distribution of a dataset covering most solution spaces. Equipped with an evaluator that enables learning the dataset distribution, the cGAN developed in this work is able to identify an average of 3.58 solution groups for each color. Simultaneous with the improved solution diversity, the quality of the solutions is also significantly improved. An average ΔE of 0.44 has been achieved when sampling 1,000 z for each color. The high design accuracy could be attributed to identifying 93.9% ground truths of the testing set. Finding multiple solution groups can also benefit design manufacturing to allow more viable designs for fabrication. The capability of our cGAN has also been verified experimentally by inverse designing the sRGB color filters. The measured spectra and photographs of fabricated two red, two green, and three blue color filters present excellent agreement with the designs. It should be acknowledged that the presented work is limited by its dataset range as well as its simple 3-layered structure. However, it is worth highlighting that the 3-layer F-P cavity structure only serves as an example to demonstrate the capability of cGAN and the novelties of this work remain valid. We envisage this cGAN-based design methodology to be applied to other nanophotonic structures or physical science domains where the identification of multi-solution across a vast parameter space is required.

Method

21Fabrication: Before fabricating the device, a series of experiments were conducted to identify the deposition rate for both Ag and SiO 2 using both ellipsometry (Woollam M-2000DI) and atomic force microscopy (Park System X7) for calibration. The same recipes were then used to fabricate our designed structural colors to ensure the best experimental reproduction of the designed structures. During the fabrication of structural colors, the bottom Ag thin film was firstly deposited by the electron-beam evaporation system (Leybold LAB700) with a growth rate of 0.5 Å/s. Without breaking the vacuum, a 1 nm thin Ti film was formed by electron-beam evaporation with a growth rate of 0.1 Å/s on top of the Ag film to improve the adhesion between Ag and the following SiO 2 . The SiO 2 layer was subsequently formed on the Ti layer in a reactive sputtering system (Leybold Helios Pro XL) using Si target and O 2 plasma. The growth rate of SiO 2 is 0.52 nm/s. After completing the SiO 2 deposition, the top Ag film was formed with the same process condition as the bottom Ag film and then a 1 nm Ti film on top.

22Characterization: The refractive index of SiO 2 used in the calculation is measured by an ellipsometer (Woollam M-2000DI). The transmission spectra under normal incidence were measured by a spectrometer (Bentham PVE300) with Air as reference. The photographs were taken using a digital camera (Canon EOS 500D) with a shutter speed of 1/20 s, an aperture of f/5, and the default white balance. In order to produce the source with the correct color temperature, an Apple iPad Pro (10.5-inch, 2017 year version) was used as a backlight source, with both true tone and night shift switched off and brightness set as maximum. The original photograph is shown in Figure S13. The cross-sectional morphologies of fabricated multiple thin-film structures were characterized using a field-emission scanning electron microscope (JEOL 7500 FEGSEM) at an acceleration voltage of 2 kV and a working distance of 4 mm.

23Calculation: All the calculations and neural network training were performed on a Windows PC with the hardware: CPU: Intel Core i9-9900K; RAM: 48 GB; GPU: NVIDIA RTX 2070. The involved software packages include Python 3.8, PyTorch 1.9.0, NumPy, Scikit-Learn and Colour-Science. The refractive index of Ag used in the calculation is Ag (Palik 0-2 μm). [62]

Introduction

24Retrieval of structural arrangements for a desired optical performance has been the fundamental challenge in nanophotonics inverse design. [1] This challenging task requires searching a range of geometrical parameters in an ample design space. For the past decades, sophisticated methods have been developed to arrive at optimized solutions using heuristics-based approaches such as particle swarm, [2,3] genetic algorithms, [4][5][6] and gradient-based approaches. [7,8] Often, the intuition and experience of the designer have been critical in obtaining rational operational principles with the advantage that the performance of such structures can be understood. [7,[9][10][11][12] However, such a rational approach can be rather unsatisfactory as human intuition will not always guarantee an optimal design with the highest possible performance.

25The recent remarkable development of deep learning (DL) has offered great promise in solving some of the critical challenges faced in nanophotonics. [1,[13][14][15] DL is a subset of machine learning technology inspired by animal brains' biological neural networks. [16] Through a training process that involves iterative optimization of network parameters via gradient descent, [17] the DL model, which contains a few artificial neuron layers, can learn the non-linear relations between the photonic structure and optical response. In recent years, it has found many successful applications in photonic research such as chiral metamaterials, [18,19] wavefront engineering, [20][21][22] , and structural color. [23][24][25][26][27] An exhaustive overview of this field of study can be found in the review literatures. [14,15] In the inverse design of nanophotonic structures, the DL regression models have been utilized to predict the potential solution of optical response and achieved success to some extent under some specific regions and constraints. [9,25,[28][29][30][31] One of the main difficulties for inverse design is the "one-to-many" mapping characteristic where one target optical response can be produced by multiple structures. A direct inversion of the artificial neural network (ANN) to predict the design usually fails as the training will not converge due to the existence of several possible solutions. [32] To circumvent the challenges related to the "one-to-many" mapping, tandem networks architecture is proposed. [9] This type of network consists of two sub-networks: an actual inverse network that takes the optical response and outputs the desired design and a pre-trained forward network that evaluates the outputs and generates optical responses. The tandem architecture allows direct comparison in the physics domain and avoids confusion from different designs that lead to a similar optical response. In previous work, we adopted such an architecture for the inverse design of a Fabry-Pérot-cavity-based structural color with high design accuracy. [33] Despite the success in tackling the convergence problem using this tandem network, the one-tomany problem leaves us with some critical issues. A prominent limitation of the tandem approach resides in the existence of inaccessible solutions [15] or a dead zone [34] , which means that some possible solutions or solution spaces are discarded or unreachable during the network training process. In consequence, only a singular solution can be identified for each target optical response. The collapse of the network onto a set of singular solutions significantly limits the solution diversity and could even prevent reaching an optimal solution as the selected solution is not necessarily the best performing one. Therefore, developing an approach that enables identifying multiple solutions in different local/global optima can be extremely beneficial in achieving higher inverse design accuracy/performance. In addition, it will also provide more freedom in the actual fabrication process to select designs that fits the manufacturing requirement or facility limitation. For instance, a solution with the smaller dimensions could be selected to realize denser device integration while a large-dimension solution could be more suitable when the available facilities have certain resolution limitations. Furthermore, the performance decay induced by the fabrication error can also be mitigated via manufacturing a device with a less parameter-sensitive solution.

26Compared with other works that employed the generative models (e.g., generative adversarial networks (GAN) and variational autoencoder (VAE)) to design the 2D metasurface, [35][36][37][38][39] we introduced the GAN model [40] into the parameter-based 1D nanophotonic inverse design, which provides an approach fully addressing the one-to-many problem. GAN is one of the most popular generative models that has been widely used in computer vision and image synthesis. [41] It consists of two networks, a generator and a discriminator, which contest with each other during the training process to create authentic images. [42] Due to its unique ability to reveal the hidden distribution behind enormous training datasets, GAN has been used by optical scientists to inversely design metasurfaces and diffractive optical devices with a high degree of freedom. [22,[43][44][45][46] . Here, we investigate the potential of applying GAN in identifying multiple solutions for one target optical response. We argue that the geometrical distribution in the training dataset is a key hidden parameter that can be utilized in GAN to avoid dead zone and identify multiple solutions.

27We conduct an inverse design of a transmissive Fabry-Pérot (F-P) cavity-based structural color filter device using GAN as a demonstration. The structural color filter can display colors by selectively transmitting or reflecting the light with a specific wavelength by varying geometry. It has received enormous interest from research communities owing to its potential applications in display, full-color printing, optical encryption and solar cells. [47][48][49] The reasons for using such a system are threefolds: Firstly, the inverse design of the tri-layer F-P cavity structure (Ag-SiO 2 -Ag in this work) is a typical one-to-many problem as the transmissive peaks would appear periodically at the same wavelength as the increase of resonant cavity length; [50,51] Secondly, as a relatively simple structure with the well-established analytical model, [52] the performance of the developed GAN can be effectively investigated and evaluated. Thirdly, the design quality can be precisely quantified by the color difference index ΔE 2000 [53] (denoted as ΔE below), which is calculated from two CIELAB vectors and has a physical meaning in statistics compared to mean squared error (MSE). After training, our GAN produces an average of 3.58 solution groups for each color in the testing set, which covers 93.9% of all ground truths. These multiple solutions allow the selection of the best design for each color which results in the lowest average color difference ΔE of 0.44 that has ever been reported for the inverse design of structural color. The identification of multiple solution groups is verified experimentally by fabricating different multilayer structures to demonstrate the same color.

Problems of Tandem Network

28We start by elaborating on the critical dead zone problem that the tandem network faces when performing inverse design. Taking the inverse design of a transmissive F-P-cavity-based structural color device as an example, the structure (shown in Figure 1a) has two reflective metal layers (Ag), which are separated by a lossless dielectric (SiO 2 ) and stacks on a quartz substrate.

29The function of color filter is achieved by multiple round-trip phase delays of electromagnetic waves in the F-P resonator. By tuning the thickness of each layer (d 1 , d 2 , and d 3 , denoted as a single design vector D below), the resonant peak can be controlled to produce different colors. In a typical one-to-many problem, one color, represented by the CIELAB vector Lab, could be produced by several different structures D 1 , D 2 , and D 3 . When this color (Lab) is fed to a tandem network, only one of these solutions will be selected. The other solutions will be discarded to minimize the loss during the training, as illustrated in Figure 1b. This solution degeneracy is due to the inherent contradiction between the one-to-one mapping nature of ANNs and the one-tomany mapping problem.

30One potential approach to resolve this contradiction is to introduce a latent vector z. The value of this latent vector can be sampled from a specific distribution (e.g., uniform or normal distribution) and assigned to the Lab (as shown in Figure 1c). Therefore, the one color can be split into three inputs by the variation of this latent vector and generates three one-to-one mappings that the tandem network can handle. However, these three inputs could still degenerate into very similar solutions within one solution group. The cartoon schematic of such degeneracy is illustrated in Figure 1d where the loss vs D landscape is plotted. The three sunken areas represent the three potential solution groups (outlined by blue lines) for this color. Different inputs can still be mapped into one sunken area, resulting in the degeneracy of the solution groups (depicted as the red dots). This behavior will be demonstrated and discussed later in the paper. Therefore, more constraint is required to force the network to search in the entire D space so all three solution groups can be identified (shown in Figure 1e). This additional constraint can be realized by generating a dataset distributed across the entire D space and forcing the network to learn such distribution. This means that alongside the effort to minimize the color difference, the distribution distance between the true thickness and the generator's predicted thickness should also be minimized during the training process.

cGAN Network Design and Training

31The conditional generative adversarial networks [54] (cGAN) is a perfect tool for this task. cGAN usually has two parts, a discriminator and a generator. The generator takes a latent vector and the design target (condition) as inputs and outputs the generated data (also known as fake data). The discriminator evaluates the performance and distribution of the fake data and produces losses for backpropagation to shape the fake data close to the real data (training data). Figure 2 illustrates the network architectures used in this paper (details are shown in Figure S1). The generator comprises three sub-networks: Lab upraising layers, z upraising layers, and thickness regressor. The upraising layers are responsible for raising the dimensions of Lab and z from 3 and 2 to 128. The two upraised vectors are concatenated and put into the thickness regressor, which has 256 neurons per hidden layer and a sigmoid function at the end of the output layer, to generate the predicted thicknesses. The discriminator has two parallel networks: evaluator and Lab regressor. The evaluator evaluates the thickness data from the dataset (real) and generator (fake) and outputs two distribution scores. The difference between real and fake scores measures the distribution difference between ground truths and predicted data. The pre-trained Lab regressor takes thickness as input and returns the corresponding color (Lab). As mentioned above, during the training of cGAN, a reference data (real data) distribution is required so the generator could learn the distribution from these data via the evaluator. The dataset was generated by randomly sampling 50,000 different combinations of layer thicknesses (D) using a uniform distribution. We set the sampling range of 0 to 50 nm for the Ag films and 0 to 1,000 nm for the SiO 2 film. As a thicker Ag layer will significantly reduce the color brightness while too thick SiO 2 can cause many resonances in the visible spectrum and induce color degeneration and crosstalk, we believe that the sampling ranges and distribution are sufficient to cover the requested D space for diverse solution groups. The thickness distributions are shown in Figure 3a-3c, in which the thicknesses are uniformly divided into 100 groups, and the bars indicate the probability density of different groups. It is worth mentioning that other thickness distributions may also be applied as the reference distribution, but the uniform one is more straightforward for us due to its accessibility in implementation and excellent color coverage. These structural designs were then turned into transmission spectra via the transfer matrix method and converted into HSV (hue, saturation, and value) and CIELAB color models. All generated colors are plotted in the CIE 1931-xy chromaticity diagrams in Figure S2. The discussion of relationships between geometry parameters and the color is provided in section 2 of supplementary materials. The obtained dataset is divided into three groups for training (40,000), validation (5,000), and testing (5,000).

32Before training our cGAN model, we firstly trained a Lab regressor to achieve forward modeling of the color Lab from a structure D. The detailed training process of this Lab regressor is provided in supplementary materials (Table S1 and Figure S4). The trained Lab regressor demonstrates an average color difference (ΔE) of 0.19 from the testing set. The significance of ΔE can be classified into five groups: 1) ΔE < 1, no discernable color difference; 2) 1 < ΔE < 2, the difference can be observed by experienced persons; 3) 2 < ΔE < 3.5, the difference can be observed by inexperienced persons; 4) 3.5 < ΔE < 5, clear difference can be noticed; 5) 5 < ΔE, two different colors are observed. [55] In the training of cGAN, both the color and thickness distribution differences are used in the loss function to apply backpropagation. We used Wasserstein distance as the distribution loss and applied spectral normalization to both evaluator and generator to improve the training stability. [56] The updating in the training process was alternatively performed on the generator and evaluator to minimize the hinge adversarial loss. [57][58][59] Details of the training process and the definitions of loss functions are provided in the supplementary materials (Table S2 and Equation S1-S3).

33The training loss curves of the generator and evaluator are shown in Figure 3d. The loss of generator demonstrates a clear drop to close to zero, indicating the significant improvement of its predicting capability during the training process. The loss of evaluator compares the fake and real score and remains steadily at ca. 2 during training. To better understand this behavior, we plot the value of real and fake scores as a function of the training epoch in Figure 3e. It can be observed that the real and fake scores are close, indicating a balanced performance improvement for the generator and evaluator. This property is essential in cGAN training to ensure a balanced development of the generator and evaluator, which will be discussed in detail in the following section. Figure 3f displays the evolution curve of the generator. The Lab loss (red line), which is the MSE between prediction and ground truth of Lab, dropped fast in the first ten thousand epochs and then gradually converged to 0.02, meaning that the generator's prediction accuracy improved quickly then converged. The generator's fake score (blue line) in Figure 3f fluctuates around zero, which projects that the generator followed the development of the evaluator and had no model collapse during the training process.

cGAN Performance Evaluation

34After training, we used the testing set to evaluate the performance of the generator. The testing set contains 5,000 data with the same uniform distribution as the training set (shown in Figure 4a-

35Evaluator Generator a b c 4c). The trained generator takes the 5,000 Lab and latent vectors z sampled from the standard normal distribution as inputs and predicts 5,000 inverse designed thicknesses (denoted as D p ). The distributions of the three thicknesses in D p are plotted in Figure 4d-4f. To quantify the distribution distance between predicted thickness and ground truth, the Jensen-Shannon distance (JSD) is introduced. The corresponding JSD computation process and reference values are provided in supplementary materials section 4 ( Figure S5 and Equation S4-S8). The measured JSDs for our case are 0.069 for d 1 , 0.067 for d 2 , and 0.066 for d 3 , reflecting that the predicted thickness and ground truth have great similarity in distribution. This proves that the trained generator is able to produce designs with restricted thickness distribution. Next, we investigated the capability of the generator in achieving diverse solutions. As mentioned above, the latent vector z is introduced to generate multiple solutions for each Lab. Currently, only one z is sampled for each Lab, hence only one solution is predicted for each color. In order to obtain multiple solutions, we randomly sampled 1,000 different z from the standard normal distribution for each Lab and classified the obtained 1,000 solutions into different solution groups by the density-based spatial clustering of applications with noise (DBSCAN), an unsupervised machine learning clustering algorithm. Details of the classification process can be found in section 5 of the supplementary materials. Figure 5a-5b present the distributions of solution group numbers when 100 and 1,000 z were assigned to each Lab, respectively. The aggregation of solution group numbers moves from 1-4 to 2-5 as the z number grew from 100 to 1,000, showing a significant solution diversity improvement. An average of 3.58 solution groups can be identified for these 5,000 Lab when each target color is assigned with 1,000 different z, proving the capability of our network in achieving diverse solution groups. Figure 5c plots the solution group number as a function of different z numbers used for each color. It can be observed that the solution group number initially increases sharply with increasing z number and eventually saturates when the z number reaches over 1,000 (highlighted by the red dot in Figure 5c). A maximum average solution number of 3.66 was obtained when 2,100 z was used for each color (highlighted by the red triangle a b c d e f

36in Figure 5c). The following slight decrease is related to limitations in the clustering algorithm. As the z number increases, the different solution groups may slightly overlap with each other, which cannot be distinguished by DBSCAN. Concurrently with the increasing number of solution groups, the color difference ΔE can also be significantly reduced. Figure 5d plots the ΔE distribution of 5,000 solutions when one z is sampled for each Lab. The majority of the ΔE is located between 0 to 5, with an average ΔE value of 2.98. While 1,000 z are sampled for each Lab, the lowest ΔE for each color almost falls in 0-1 (can be considered no color difference, as shown in Figure 5e), with an average value of 0.44. To the best of our knowledge, this is the lowest color difference reported for structural color inverse design. The dependence of the z number on the average lowest ΔE is presented in Figure 5f. An average lowest ΔE can reach below 1 when the z number is over 15 (highlighted by a red dot in Figure 5f inset) and below 0.5 when the z number is over 400 (highlighted by the red triangle in Figure 5f). To elucidate the high design accuracy achieved by our network, we compared the absolute d 2 differences (Δd 2 ) between the solutions obtained from each color (using 1,000 z) and its ground truth (global optimum). We discovered that 93.9% of the Δd 2 are within 5 nm, implying the majority of the ground truths have been successfully identified. Detailed distribution information of minimum Δd 2 is provided in Figure S6.

37All of these results suggest that both the quantity and quality of solutions can be improved using our network by increasing the number of z. It is worth mentioning that although multiple z sampling is required to achieve a high solution group number and low ΔE, the time required for such prediction is straightforward and largely effortless. For example, applying inverse design and solution optimization for 5000 colors with 1,000 z sampling for each color will only consume 16.18 s in our computation environment, which is equivalent to 3.24 ms per color.

38In order to verify the fabrication applications of multiple solution groups, we applied the generator to inversely design two colors generated by the F-P cavity. Table 1 lists the best solution for each obtained solution group. Both target colors have achieved more than two different solution groups. The ground truths (target designs) have been successfully identified as one of the solutions in both cases. In particular, five solution groups have been identified for color #2 with the d 2 value spanning from 39 to 985 nm, proving the powerful searching ability of our network. These multiple solution groups allow the selection of suitable designs for the manufacturing requirement. Films that are too thin can be challenging to fabricate with high quality. For example, a design with a very thin Ag layer (e.g., 3 nm in design 3 for color #2) could increase the fabrication relative error and might need to be discarded despite its low ΔE. Instead, a different design (e.g. design 4) could be selected due to its relatively thicker films but still competitive ΔE. The sensitivity of the solution to fabrication errors is also an important factor to consider. We calculated the sensitivity here as the ΔE when d 2 was added or subtracted by 1 nm (denoted as δ 1 and δ -1 , respectively). Higher δ ±1 means that the solution is more sensitive to fabrication error and requires a more precise fabrication process. Although the ground truth of color #1 in Table 1 has been successfully identified in design 1, the sizeable δ ±1 inflicts extreme requirements on the fabrication accuracy.

39On the other hand, design 3 with a slightly larger ΔE but the smallest δ ±1 would be more suitable for the actual application. The capability of our network in identifying multiple solution groups for each color is clearly advantageous for providing viable designs for fabrication. Table 1 The inverse design demonstrations of two colors. The target items are the ground truths. The designed items are from the solutions of the generator.

40We have proved from the discussion above that the proposed cGAN architecture can completely solve the "one-to-many" issue for this nanophotonics question. We argue that the vital component in this architecture is the evaluator, which enables the generator to learn the distribution of the dataset. Figure S8 presents the performance of the same networks with the evaluator disabled. The distributions of the three thicknesses designed for the testing set show no uniformity ( Figure S8a-S8c). The measured JSDs between these designed thicknesses and the testing set are 0.21 for d 1 , 0.64 for d 2 and 0.14 for d 3 , respectively. More importantly, with 1,000 z sampled for each color, the network failed to identify multiple solution groups. Instead, the distribution of d 2 is centralized between the range of 800 to 1000 nm, which leads to a relatively sizeable ΔE distribution ( Figure S8d) with an average ΔE of 7.88 and a limited color coverage ( Figure S8e). This proves that the evaluator plays a vital role in the solution quality and diversity of the generator. Finally, it is also worth pointing out that the balance between the generator and evaluator is also essential for the network performance ( Figure S9-S11). A stronger discriminator will lead to a divergent generator, while a weaker discriminator will slow the training. Details are discussed in section 4 of supplementary materials.

Experimental Validation of Designed sRGB Color Filters

41To further evaluate the network generalization and search performance of our network, we performed the inverse design of three color filters with sRGB values of red (0.5, 0, 0), green (0, 0.5, 0), and blue (0, 0, 0.5) using our trained generator with 1,000 z sampling for each color. Note that these three colors are not presented in our dataset and hence have no ground truth. These examples could test the capability of our cCAN in searching multiply solutions for colors outside the dataset. To better visualize the searchability, we fixed the thicknesses of the top and bottom Ag layers to be 30 nm (this Ag restriction is removed in the cGAN inverse design) while sweeping the thickness of the SiO 2 layer (d 2 ) from 0 to 1,000 nm to generate the loss (MSE) curves for each color (shown in Figure 6a-6c). The loss between the target and swept colors varies as d 2 changes. A small loss represents a better solution, and a dip towards 0 in the loss curve indicates one locally optimal solution group for the target. Therefore, the solution group number of each target color can be estimated from the number of curve dips towards 0. In this case, we could identify two solution groups for both the red and green colors, and three solution groups for the blue color. In addition, all the solution groups correspond to the different resonant orders for each color. The two solution groups at ca. 160 nm and 350 nm correspond to the 1 st and 2 nd order resonances for red ( Figure 6a); the ca. 130 nm and 320 nm designs are the 1 st and 2 nd order resonances for green ( Figure 6b); and the ca.100 nm, 250 nm, and 410 nm designs are the first three resonant orders for blue (Figure 6c). The inverse design results of these three colors are demonstrated in Figure 6d-6f. Here, we plot the distributions of the 1,000 predicted d 2 values for the three colors, respectively, in which d 2 is uniformly divided into 100 groups in the range of 0-1000 nm and a bar indicates the solution number of each thickness group. Our network has successfully produced multiple solution groups for each color, matching the number and value of the solution groups identified from the loss curves. This suggests that our network can identify all possible solutions for different target colors. The relationships between the value of z and solution groups are discussed in supplementary materials ( Figure S7). We will now experimentally validate our multiple solution groups by fabricating the red, green, and blue color filters previously designed by our cGAN. The parameters of the best solution in each solution group for each color are listed in Table 2. All the designed color filters were fabricated on quartz substrates. Details of the fabrication process are available in the method section. Figure 7a-7c display the cross-sectional SEM of all fabricated samples. A three-layered structure containing Ag (blue shading) top and bottom layers and SiO 2 dielectric is clearly visible for all samples. It is also evident that the dimensions (especially the thickness of the SiO 2 layer) are significantly different for different designs of the same target color. The measured transmission spectra for all samples are compared with their theoretical (calculated from designed parameters) counterparts and shown in Figure 7d-7f. All measured spectra match well with the theoretical ones in terms of both transmission peak wavelength and intensity. The discrepancies in peak intensity at shorter wavelengths may be attributed to the surface oxidization of the Ag films. [60,61] Figure 7g-7i display the resultant colors for each design. For each target color (TGT.), we compare the theoretical colors from different designs (DSG.) with the colors converted from corresponding experimental spectra (EXPT. SPT.) and the photographs of the samples taken by the camera under a sunlight-like source (EXPT. PHT.). The discrepancy in the R2 photograph may result from the light source intensity or the camera parameters (e.g., white balance, contrast, exposure time, etc.).

Conclusion

42In conclusion, a variation of cGAN has been successfully implemented to resolve the typical oneto-many problem in nanophotonics using the inverse design of the F-P-cavity-based color filter as a demonstration. We suggest that the key to avoiding solution group degeneracy is generating solutions with the same parameter distribution of a dataset covering most solution spaces. Equipped with an evaluator that enables learning the dataset distribution, the cGAN developed in this work is able to identify an average of 3.58 solution groups for each color. Simultaneous with the improved solution diversity, the quality of the solutions is also significantly improved. An average ΔE of 0.44 has been achieved when sampling 1,000 z for each color. The high design accuracy could be attributed to identifying 93.9% ground truths of the testing set. Finding multiple solution groups can also benefit design manufacturing to allow more viable designs for fabrication. The capability of our cGAN has also been verified experimentally by inverse designing the sRGB color filters. The measured spectra and photographs of fabricated two red, two green, and three blue color filters present excellent agreement with the designs. It should be acknowledged that the presented work is limited by its dataset range as well as its simple 3-layered structure. However, it is worth highlighting that the 3-layer F-P cavity structure only serves as an example to demonstrate the capability of cGAN and the novelties of this work remain valid. We envisage this cGAN-based design methodology to be applied to other nanophotonic structures or physical science domains where the identification of multi-solution across a vast parameter space is required.

Method

43Fabrication: Before fabricating the device, a series of experiments were conducted to identify the deposition rate for both Ag and SiO 2 using both ellipsometry (Woollam M-2000DI) and atomic force microscopy (Park System X7) for calibration. The same recipes were then used to fabricate our designed structural colors to ensure the best experimental reproduction of the designed structures. During the fabrication of structural colors, the bottom Ag thin film was firstly deposited by the electron-beam evaporation system (Leybold LAB700) with a growth rate of 0.5 Å/s. Without breaking the vacuum, a 1 nm thin Ti film was formed by electron-beam evaporation with a growth rate of 0.1 Å/s on top of the Ag film to improve the adhesion between Ag and the following SiO 2 . The SiO 2 layer was subsequently formed on the Ti layer in a reactive sputtering system (Leybold Helios Pro XL) using Si target and O 2 plasma. The growth rate of SiO 2 is 0.52 nm/s. After completing the SiO 2 deposition, the top Ag film was formed with the same process condition as the bottom Ag film and then a 1 nm Ti film on top.

44Characterization: The refractive index of SiO 2 used in the calculation is measured by an ellipsometer (Woollam M-2000DI). The transmission spectra under normal incidence were measured by a spectrometer (Bentham PVE300) with Air as reference. The photographs were taken using a digital camera (Canon EOS 500D) with a shutter speed of 1/20 s, an aperture of f/5, and the default white balance. In order to produce the source with the correct color temperature, an Apple iPad Pro (10.5-inch, 2017 year version) was used as a backlight source, with both true tone and night shift switched off and brightness set as maximum. The original photograph is shown in Figure S13. The cross-sectional morphologies of fabricated multiple thin-film structures were characterized using a field-emission scanning electron microscope (JEOL 7500 FEGSEM) at an acceleration voltage of 2 kV and a working distance of 4 mm.

45Calculation: All the calculations and neural network training were performed on a Windows PC with the hardware: CPU: Intel Core i9-9900K; RAM: 48 GB; GPU: NVIDIA RTX 2070. The involved software packages include Python 3.8, PyTorch 1.9.0, NumPy, Scikit-Learn and Colour-Science. The refractive index of Ag used in the calculation is Ag (Palik 0-2 μm). [62]

참고문헌 55건

  1. The CIEDE2000 color-difference formula: Implementation notes, supplementary test data, and mathematical observations Color Research & Application · Wiley · 2004 10.1002/col.20070
  2. Topology optimization for nano‐photonics Laser & Photonics Review · Wiley · 2010 10.1002/lpor.201000014
  3. Structural and Optical Properties of Chemical Bath Deposited Silver Oxide Thin Films: Role of Deposition Time Advances in Materials Science and Engineering · Hindawi Publishing Corporation · 2013 10.1155/2013/450820
  4. Neural Network Inverse Modeling and Applications to Microwave Filter Design IEEE Transactions on Microwave Theory and Techniques · IEEE Microwave Theory and Techniques Society · 2008 10.1109/tmtt.2008.919078
  5. A very short planar silica spot-size converter using a nonperiodic segmented waveguide Journal of Lightwave Technology · Institute of Electrical and Electronics Engineers · 1998 10.1109/50.712252
  6. General transfer-matrix method for optical multilayer systems with coherent, partially coherent, and incoherent interference Applied Optics · Optica Publishing Group · 2002 10.1364/ao.41.003978
  7. Colorful solar selective absorber integrated with different colored units Optics Express · Optica Publishing Group · 2015 10.1364/oe.24.000a92
  8. Near-Ideal Optical Metamaterial Absorbers with Super-Octave Bandwidth ACS Nano · American Chemical Society · 2014 10.1021/nn4057148
  9. Reflective Color Filters and Monolithic Color Printing Based on Asymmetric Fabry–Perot Cavities Using Nickel as a Broadband Absorber Advanced Optical Materials · Wiley · 2016 10.1002/adom.201600110
  10. Binary particle swarm optimized 2 × 2 power splitters in a standard foundry silicon photonic platform Optics Letters · Optica Publishing Group · 2016 10.1364/ol.41.003868
  11. Ellipsometric Study of the Optical Properties of Silver Oxide Prepared by Reactive Magnetron Sputtering Journal of the Korean Physical Society · Springer Science+Business Media · 2005
  12. Artificial Structural Color Pixels: A Review Materials · Multidisciplinary Digital Publishing Institute · 2017 10.3390/ma10080944
  13. Training Deep Neural Networks for the Inverse Design of Nanophotonic Structures ACS Photonics · American Chemical Society · 2018 10.1021/acsphotonics.7b01377
  14. Inverse design in nanophotonics Nature Photonics · Nature Portfolio · 2018 10.1038/s41566-018-0246-9
  15. Generative Model for the Inverse Design of Metasurfaces Nano Letters · American Chemical Society · 2018 10.1021/acs.nanolett.8b03171
  16. Deep-Learning-Enabled On-Demand Design of Chiral Metamaterials ACS Nano · American Chemical Society · 2018 10.1021/acsnano.8b03569
  17. Stepwise-Nanocavity-Assisted Transmissive Color Filter Array Microprints Research · American Association for the Advancement of Science · 2018 10.1155/2018/8109054
  18. Plasmonic colours predicted by deep learning Scientific Reports · Nature Portfolio · 2019 10.1038/s41598-019-44522-7
  19. Probabilistic Representation and Inverse Design of Metamaterials Based on a Deep Generative Model with Semi‐Supervised Learning Strategy Advanced Materials · Wiley · 2019 10.1002/adma.201901111
  20. Deep learning Nature · Nature Portfolio · 2015 10.1038/nature14539
  21. Review of numerical optimization techniques for meta-device design [Invited] Optical Materials Express · Optica Publishing Group · 2019 10.1364/ome.9.001842
  22. A multi-frequency piezoelectric vibration energy harvester with liquid filled container as the proof mass Applied Physics Letters · American Institute of Physics · 2019 10.1063/1.5089289
  23. Designing nanophotonic structures using conditional deep convolutional generative adversarial networks Nanophotonics · De Gruyter · 2018 10.1515/nanoph-2019-0117
  24. Hierarchical Design and Optimization of Silicon Photonics IEEE Journal of Selected Topics in Quantum Electronics · IEEE Photonics Society · 2019 10.1109/jstqe.2019.2935299
  25. Simulator‐based training of generative neural networks for the inverse design of metasurfaces Nanophotonics · De Gruyter · 2019 10.1515/nanoph-2019-0330
  26. The inverse design of structural color using machine learning Nanoscale · Royal Society of Chemistry · 2019 10.1039/c9nr06127d
  27. Full color generation with Fano-type resonant HfO<sub>2</sub> nanopillars designed by a deep-learning approach Nanoscale · Royal Society of Chemistry · 2019 10.1039/c9nr07408b
  28. A Bidirectional Deep Neural Network for Accurate Silicon Color Design Advanced Materials · Wiley · 2019 10.1002/adma.201905467
  29. Deep learning: a new tool for photonic nanostructure design Nanoscale Advances · Royal Society of Chemistry · 2020 10.1039/c9na00656g
  30. Deep learning enabled inverse design in nanophotonics Nanophotonics · De Gruyter · 2020 10.1515/nanoph-2019-0474
  31. Free-Form Diffractive Metagrating Design Based on Generative Adversarial Networks ACS Nano · American Chemical Society · 2019 10.1021/acsnano.9b02371
  32. Design of high-performance plasmonic nanosensors by particle swarm optimization algorithm combined with machine learning Nanotechnology · IOP Publishing · 2020 10.1088/1361-6528/ab95b8
  33. Robust Freeform Metasurface Design Based on Progressively Growing Generative Networks ACS Photonics · American Chemical Society · 2020 10.1021/acsphotonics.0c00539
  34. A data-efficient self-supervised deep learning model for design and characterization of nanophotonic structures Science China Physics Mechanics and Astronomy · Springer Science+Business Media · 2020 10.1007/s11433-020-1575-2
  35. Deep neural networks for the evaluation and design of photonic devices Nature Reviews Materials · Nature Portfolio · 2020 10.1038/s41578-020-00260-1
  36. Numerical Optimization Methods for Metasurfaces Laser & Photonics Review · Wiley · 2020 10.1002/lpor.201900445
  37. An improved tandem neural network for the inverse design of nanophotonics devices Optics Communications · Elsevier BV · 2020 10.1016/j.optcom.2020.126513
  38. Deep learning for the design of photonic structures Nature Photonics · Nature Portfolio · 2020 10.1038/s41566-020-0685-y
  39. Design Space Reparameterization Enforces Hard Geometric Constraints in Inverse-Designed Nanophotonic Devices ACS Photonics · American Chemical Society · 2020 10.1021/acsphotonics.0c01202
  40. Machine learning–assisted global optimization of photonic devices Nanophotonics · De Gruyter · 2020 10.1515/nanoph-2020-0376
  41. Generative adversarial networks Communications of the ACM · Association for Computing Machinery · 2020 10.1145/3422622
  42. Inverse design in nanophotonics Nature Photonics · Nature Portfolio · 2018 10.1038/s41566-018-0246-9
  43. Deep learning in nano-photonics: inverse design and beyond Photonics Research · Optica Publishing Group · 2021 10.1364/prj.415960
  44. Deep neural networks for the evaluation and design of photonic devices Nature Reviews Materials · Nature Portfolio · 2020 10.1038/s41578-020-00260-1
  45. Building Multifunctional Metasystems <i>via</i> Algorithmic Construction ACS Nano · American Chemical Society · 2021 10.1021/acsnano.0c09424
  46. Artificial Structural Colors and Applications The Innovation · Elsevier BV · 2021 10.1016/j.xinn.2021.100081
  47. Multifunctional Metasurface Design with a Generative Adversarial Network Advanced Optical Materials · Wiley · 2021 10.1002/adom.202001433
  48. Deep learning in nano-photonics: inverse design and beyond Photonics Research · Optica Publishing Group · 2021 10.1364/prj.415960
  49. Accurate inverse design of Fabry–Perot-cavity-based color filters far beyond sRGB via a bidirectional artificial neural network Photonics Research · Optica Publishing Group · 2021 10.1364/prj.415141
  50. Realizing transmitted metasurface cloak by a tandem neural network Photonics Research · Optica Publishing Group · 2021 10.1364/prj.418445
  51. A deep learning approach to the forward prediction and inverse design of plasmonic metasurface structural color Applied Physics Letters · American Institute of Physics · 2021 10.1063/5.0055733
  52. Metamaterial Reverse Multiple Prediction Method Based on Deep Learning Nanomaterials · Multidisciplinary Digital Publishing Institute · 2021 10.3390/nano11102672
  53. A mixture‐density‐based tandem optimization network for on‐demand inverse design of thin‐film high reflectors Nanophotonics · De Gruyter · 2021 10.1515/nanoph-2021-0392
  54. Highly suppressed solar absorption in a daytime radiative cooler designed by genetic algorithm Nanophotonics · De Gruyter · 2021 10.1515/nanoph-2021-0436
  55. Pushing the Limits of Functionality‐Multiplexing Capability in Metasurface Design Based on Statistical Machine Learning Advanced Materials · Wiley · 2022 10.1002/adma.202110022