A model-agnostic data enhancement (MADE) algorithm is proposed to comprehensively investigate the circular dichroism (CD) properties in the higher-order diffracted patterns of two-dimensional (2D) chiral metamaterials possessing different parameters. A remarkable feature of MADE algorithm is that it leverages substantially less data from a target problem and some training data from another already solved topic to generate a domain adaptation dataset, which is then used for model training at no expense of abundant computational resources. Specifically, nine differently shaped 2D chiral metamaterials with different unit period and one special sample containing multiple chiral parameters are both studied utilizing the MADE algorithm where three machine learning models (i.e, artificial neural network, random forest regression, support vector regression) are applied. The conventional rigorous coupled wave analysis approach is adopted to capture CD responses of these metamaterials and then assist the training of MADE, while the additional training data are obtained from our previous work. Significant evaluations regarding optical chirality in 2D metamaterials possessing various shape, unit period, width, bridge length, and separation length are performed in a fast, accurate, and data-friendly manner. The MADE framework introduced in this work is extremely important for the large-scale, efficient design of 2D diffractive metamaterials and more advanced photonic devices.
Optical chirality is viewed as one of the most promising and alluring aspects pertaining to chirality, a ubiquitous phenomenon in nature. Owning to its significant and striking characteristics, optical chirality has rapidly spread into the areas of integrated photonic communications , pharmaceutics , chemistry , spectroscopy , sensitive detection , quantum computing , and nanoscience , , . Understanding the chiroptical response not only assists one to explore the physical origins of such effect but also benefits its future perspectives. One crucial format of optical chirality, namely the circular dichroism (CD) , which describes the absorption variation when irradiated by the left circularly polarized (LCP) and right circularly polarized (RCP) light, should be acknowledged here. Particularly, the CD spectroscopy technique has been widely applied in performance characterization of the cutting-edge optical chirality-based nanodevices . Two mirror images of chiral metamaterials that cannot be superimposed on each other, referred as enantiomers, behave differently to the LCP and RCP light, which is attributed to left or right handedness of samples. Importantly, optical chirality in artificial metallic structures can be engineered by changing the geometric parameters , demonstrating significant advantages over the natural materials owning weak chiroptical response .
Recent years have witnessed growing academic interests in chiral metamaterials, considering their excellent potentials for applications in chiral sensing, filtering, switching, polarization manipulation, and biological detection , , . Particularly, these metallic nanostructures can give rises to a plethora of remarkable physical phenomena when arranged into the periodic arrays, in which the adjacent modules will affect the overall near-field reaction. In contrast to the three-dimensional (3D) counterparts, two-dimensional (2D) chiral metamaterials have demonstrated distinguished and exceptional performances that can significantly promote the development of chirality-based photonic devices , [, 17], in terms of ultracompact footprint, limited losses, controllable optical dispersion, and excellent compatibility with CMOS fabrication , , , , . One special but remarkable representative of such materials is 2D diffractive chiral metamaterial that possesses considerably large optical chirality in a higher-order diffraction beam than the zeroth order, which has emerged as a powerful platform for the exploration of tremendous unrevealed disciplines, including ultrafast detection, nonlinear chiroptical phenomena, polarization-selective communication devices, and chirality-relevant quantum optics . While continuous efforts have been spent on the diverse diffractive metamaterials embracing the G-shaped , L-shaped , U-shaped  ones, etc., these investigation processes normally require complicated experimental setups or abundant computational resources. Therefore, a powerful and smart designing tool that can leverage previous research data is in great need, aiming at systematically exploring enormous 2D chiral metamaterials and other appealing photonic structures with the least resources, high accuracy, and ultrafast speed.
Deep learning networks or machine learning (ML) methods are significant for a wide range of scientific and industrial processes, covering the aspects of finance , [, 27], medicine , , , transportation , , , communication , [, 35], nanoscience , , , , and sensors . Particularly, these learning-based algorithms have emerged as one of the most successful research routes for computational physics and photonic device design , , , , , . In general, the training dataset created by either numerical simulations or experimental measurements is usually required in order to facilitate a predesigned artificial neural network (ANN) or other ML model to learn the underlying rules, followed by the trained model solving a target problem. Despite striking progress achieved in this area, the training process in most photonics-involved works relies heavily on optical response data from target devices , , , , whose size is relatively large. Unfortunately, it is not easy to acquire a large amount of data for many cases. Especially, for some topics needing to perform expensive experiments, this problem turns more prominent. Meanwhile, such abundant training data may not be recycled once the ML model is trained, leading to the serious waste of massive computing resources and time.
In this work, we introduce and employ a data enhancement algorithm associated with different ML methods to predict the optical chirality of various 2D diffractive chiral metamaterials, aiming at reducing the amount of training data with the assistance of a formerly addressed problem, whose key routine is recognized as the model-agnostic data enhancement (MADE) algorithm. Instead of consuming expensive computational resources to generate abundant training data for the target problem (target domain dataset), the MADE algorithm desires a relatively small target domain dataset computed by the rigorous coupled wave analysis (RCWA) method, as well as certain CD data from alternative already studied metamaterials (source domain dataset), to develop the domain adaptation dataset for model training. A vivid illustration of our proposed framework is shown in Figure 1. Specially, the source domain datasets are utilized to reduce the size of target domain datasets. Once the domain adaptation dataset and mapping dataset are available, the target issue turns to be the CD response study in the higher-order diffraction modes using deep learning network or other ML techniques. By means of the MADE algorithm, we first investigate the multiple shaped (e.g., T-like, U-like, and I-like) chiral metamaterials with diverse unit period and then look deeper into the impact of various geometric parameters on CDs for a specific chiral sample, during which the highly nonlinear dependence of CD response on the chiral parameters including shape, unit period, width, separation length, and bridge length is profoundly disclosed. Remarkable and significant superiorities of such algorithm over the traditional numerical methods or pure ML approaches are also revealed, in consideration of accuracy, computational speed, and resources, as well as the generalizable and flexible abilities.
The model-agnostic data enhancement (MADE) algorithm makes use of a limited amount of data from a target issue together with certain samples from a previously studied topic (source domain) to improve prediction accuracy for the target problem, whose main procedure is illustrated in Algorithm 1. From the architecture of MADE in Figure 1, one can see that two datasets, namely the source domain and target domain datasets, are needed at the input, which are extracted from a similar question that already exists and a new problem to be solved, respectively. While at the output of MADE, the domain adaptation dataset and mapping dataset are created, which are then used for model training and prediction. What follows is the application of ML models in predicting the behaviors of the target problem. It is worth noting that the MADE algorithm can be considered as the data preprocessing for neural networks or other ML models, which indicates that these two types of algorithms must be utilized (defined as MADE-ML) together to address a practical target problem. The main idea of MADE is to enhance the diversity of target domain data through source domain data, thereby expanding the training dataset. This is of vital significance since there has been worldwide recognition that ML methods (including deep learning networks) need to consume abundant data to learn features. In this case, a limited data size is very likely to cause failure in prediction , [, 52]. Here, the ML model is expressed as follows, with a function f representing the training model and the input of x:
In the prediction phase, xS, yS, and β are known, with xpred = xT. Then, the predicted value ypred is equal to the following equation:
Obviously, the difference between these two methods is whether the source domain data is used. In our approach, different source domain samples are combined with certain target domain samples to acquire different training samples, thereby expanding the size of whole training dataset. If the number of samples in target domain and source domain is nT and nS, respectively, the total size of the training dataset can be up to nT × nS in our method. Although nT is limited, the training dataset can still be augmented by the large nS. In particular, each xpred corresponds to multiple source domain samples in order to generate the input of function g, and thus, the final ypred should be the average of multiple ypred.
In other aspects, to avoid the potential data explosion caused by nS, only partial source domain data are used to match the target domain data. Particularly, in the MADE model, we exploit the minimum Euclidean distance as a measurement standard to select K source domain samples for each target domain sample, leading to the total training dataset size of KnT, where K is a hyperparameter (see step 9 in Algorithm 1). In fact, the Euclidean distance captures the similarity between two samples in our model. A new concept of superposition is introduced here. As shown in Figure 2, the sample yS and sample yT have similar distributions, so their superimposed results of yS+yT are also similar to their distributions, indicating that the original features of the data are retained to the greatest extent during the superimposition. Thus, when selecting K samples in the source domain that are similar to the target domain, the K results obtained by their superposition would follow similar distributions, which is conductive to model training. On the contrary, for the sample and sample yT acquire different distributions, their superposition result would be significantly different from yT, suggesting that the characteristics of the original data are lost during the superposition. Therefore, it would be extremely beneficial to choose samples from source domain with high similarity to target domain.
Furthermore, both the calculation of Euclidean distance and the superposition between samples require the samples in different domains to have the same dimensions. It is thus necessary to perform domain adaptation on the source domain dataset to enhance the similarity between the two datasets (see steps 7–8 in Algorithm 1) and ensure their same dimensions (see steps 1–4 in Algorithm 1). In MADE, the domain adaptation is realized using a fully connected neural network, which can not only avoid the design of kernel functions but also exhibit the scalability , in contrast to ML methods. Additionally, if the source domain datasets are varied, the neural network does not need to retrain the domain adaptation model. The schematic illustration of the domain adaptive neural network is presented in Figure 3, which contains five key layers, namely an input layer, an output layer, and three hidden layers. Notably, the number of neurons in the input layer depends on the sample size in source domain, while the neuron numbers in the output layer are dominant by the dimension of target domain datasets. Next, we denote the number of neurons in ith hidden layer as Ni (i = 1, 2, 3), with Ni to be a set of hyperparameters. We have to dynamically adjust Ni according to the samples in two domains. The activation layer for nonlinear transformation uses the ‘softplus’ function, which is defined as follows:
Lastly, the training of the neural network can be regarded as an optimization problem where the algorithm minimizes the discrepancy between the model output and the label for input data. Therefore, during the training process of the domain adaptive neural network, another loss function is applied to measure such discrepancy, which is mathematically expressed as follows:
The target theme in this context is the accurate and efficient prediction of the higher-order diffracted CD response in 2D diffractive chiral metamaterials, whose vivid schematics are shown in Figure 4. Thus, two important categories of such metamaterials are investigated, namely multiple structures and multiple geometric parameters. Firstly, nine types of left-handed chiral metamaterials in Figure 4(a) are comprehensively studied, with one variable to be unit period. Particularly, these arrays are denoted as S1–S9, which possess a length of l and identical width and separation (0.2l), with the rest graphic parameters in a specific proportion to l, just like their shapes in Figure 4(a). This results in a unit period of a = 2.4l. These metamaterials share the same depth profiles: from top to bottom, they are the h = 30 nm gold arrays, a 10 nm Cr layer, a 200 nm SiO2 film, and a Si substrate, respectively, as illustrated in Figure 4(b). On the other hand, we also focus on the influence of various geometric parameters on CDs in the higher-order diffraction beams. Hence, we select S1 metamaterials for such demonstration (see Figure 4(c)), whose unit cell consists of several key graphic parameters embracing a length of l, a bridge length of lb, a width of w, a separation between two adjacent nanoparticles of s, and a gap length of g = 0.5l–1.5w, determining the unit period of a = 2l+2w. To show the common features of S1–S9 metamaterials, we employ the RCWA algorithm to compute the normalized intensities of n = 1–4 diffraction order beams under irradiation of both LCP and RCP light and illustrate one LCP result from S1 array (a = 2.4 μm, l = 1 μm, w = s = 0.2 μm, lb = 0.4 μm) in Figure 4(d). It can be explicitly seen from this figure that light intensity in the third-order diffraction pattern is the weakest compared to other cases. Though not shown here, its CD response defined as CD = (IRCP – ILCP)/(ILCP + IRCP) is however the largest, where ILCP and IRCP are the third-order diffracted beam intensities induced by LCP and RCP light, respectively. Similar phenomena are also observed in S2–S9 nanostructures.
To assist the training of the MADE model, we first perform RCWA numerical simulations for the above two categories of metamaterials. Precisely, the target domain dataset (DT1) for the first category contains 1899 pairs of the third-order diffraction IRCP and ILCP spectra for S1–S9 arrays in different gold lengths (0.8–5 μm), covering a wavelength range of 0.4–1.03 μm. While for the second category, its target domain dataset (DT2) is extracted from 2785 S1 samples, which consist of diverse gold length (0.8–2 μm), width (0.1l–0.3l), space (0.2l–l), and bridge length (0.4l–l). In addition, the source domain datasets are also needed for the MADE training process. In this work, we use the data from two published works , [, 42] that employ deep neural networks in CD response analysis for the source domain. Particularly, the data in work 1 contain chiroptical responses from nine different structures , while work 2 provides the different optical responses from a T-like array with four key graphic parameters .
Once the datasets of target domain and source domain are available, we start to train the MADE model incorporated with ANN, or simply MADE-ANN, aiming at predicting the third-order diffracted chiroptical responses. Specifically, regarding the first category, we randomly select 1200 samples from the target domain dataset DT1 as the input for MADE, with the remaining 699 samples for testing, while we acquire the nine-structure data (from work 1) as the source domain dataset. Hence, the comparisons of the normalized third-order LCP/RCP intensities calculated by MADE-ANN and RCWA are shown in Figure 5(a–i), in which the unit period of S1–S9 is picked randomly to guarantee the high precision of MADE-ANN. In case of the second category, we divide the target domain dataset DT2 into the training and verification parts at random, whose sample sizes are 2000 and 785, respectively, along with T-like structure data (from work 2) as the source domain dataset. The resulting chiroptical responses predicted by MADE-ANN are shown in Figure 5(j–l), where the RCWA calculated curves are also provided. The most eye-catching conclusion from Figure 5 is that the MADE-ANN–predicted optical chirality (i.e., pred curves) matches extremely well with the RCWA simulations (i.e., label spectra) in all cases, indicating that the MADE algorithm is feasible to explore the relationship between chiral parameters and optical chirality.
In order to verify the model-agnostic feature of MADE, two more ML models in addition to the ANN, namely the random forest regression (RFR)  and support vector regression (SVR) , are implemented in the MADE framework, accompanied by two target domain datasets (DT1 and DT2) and two source datasets (nine-structure dataset  and T-like structure dataset ). For each target domain dataset, we use two above source domain datasets to train these three ML models. Notably, before proceeding to the model training, we need to normalize the RCWA data to be in the range of [0,1], considering their relatively small absolute values, which is defined as follows:
|Method and setup||420 samples (×10−3)||810 samples (×10−3)||1200 samples (×10−3)|
|Method and setup||6000 samples (×10−3)||1200 samples (×10−3)||2000 samples (×10−3)|
Moreover, it is easily discerned that the dataset types in the source domain would also affect the MAE performances. Precisely, the nine-structure data are more suitable to act as the source domain dataset for the first category metamaterials than the T-like structure data, which is the opposite case in the second category metamaterials. This indicates that the similarity of dataset between the source domain and target domain would largely contribute to high precision of MADE models, which in turn confirms the necessity of the domain adaptive neural network in the MADE framework. Also, it is undeniable that the ANN acquires the best performances regarding high predicting precision, while SVR suffers from the worst MAEs.
Additional insights into the features of the MADE algorithm are provided by the dependence of MAE on the amount of training data, with the corresponding curves being exhibited in Figure 6. Notably, the pure ML algorithms and MADE-ML methods are both considered for full comparison, with the latter algorithm possessing two source domain datasets. It can be intuitively seen from this figure that the improvement of predicting precision becomes more obvious with a larger amount of training data and then it turns steady after reaching a certain extent. This phenomenon means that the significant increase in the dimension of training data is required to boost the performance of the model. This trend highlights the advantages of the MADE algorithm, which can still enhance the effect of ML models even if the method of increasing the data fails. From Y axis of all plots in Figure 6, one can find that the MADE models can significantly reduce the MAEs compared to the ANN, with the same size of training data. Meanwhile, if demanding the same level of MAE conditions, we can clearly discover that the amount of data for MADE algorithms is much smaller than the case without MADE. Interestingly, this trend becomes more prominent at a smaller MAE. Take Figure 6(a) for instance, to achieve the MAE of 6.678 × 10−3, the pure ANN model needs 600 pairs of samples for training, while for the MADE-ANN algorithm with the nine-structure dataset (source domain), only 120 pairs of data are desired. When the MAE becomes even smaller (4.4 × 10−3), the pure ANN uses 1200 pairs of training samples, whereas the MADE-ANN based on the nine-structure source dataset only adopts 270 pairs of samples. Similar trends are discovered in other ML algorithms and other MADE-ML models for two categories of metamaterials. These results undoubtedly prove that a MADE-ML algorithm is superior to a non-MADE algorithm in the prediction of the third-order diffracted chiroptical response.
Furthermore, the computational time is an alternative key factor that determines the performance of the MADE algorithm. Here, RCWA and three MADE-ML methods are employed for such evaluation, with the ML algorithm to be ANN, RFR, or SVR. To ensure a fair and efficient comparison, the number of training samples in target domain is fixed at 1000 for all three MADE-ML models. In addition, the nine-structure source domain dataset is employed in the first category metamaterials, while the T-like structure source domain dataset is applied in the second category. The results under the above circumstances are shown in Table 3. It is noticeable that each indicator in Table 3 represents the average central processing unit time consumed by an algorithm to predict 100 samples. One important finding is that the MADE-ML models take more computational time than the baseline methods, regardless of predicting accuracy. This is reasonable since the consumed time of MADE mainly comes from two aspects: on the one hand, the MADE algorithm needs to select K mapping dataset according to the minimum Euclidean distance, which means that computational time would be very large if the source domain contains too many samples; on the other hand, the overall predicting precision highly relies on the average of multiple prediction results, which means multiple CD evaluations by MADE-ML are desired in this process. Although the prediction time of MADE-ML algorithms turns larger than that of the pure ML algorithm, this increment is negligible compared to the RCWA method. Equally important, the intuitive comparison of calculation accuracy between MADE-ML and RCWA is also presented in Table 3. Here, the mean absolute percentage error (MAPE) is the main evaluation factor, which is mathematically expressed as follows:
|Method and setup||Average CPU time(ms)||Mean absolute percentage error (%)|
|First category||Second category||First category||Second category|
|RCWA||1.98 × 105||/||1.98 × 105||/||0||/||0||/|
|ANN||5.52 × 10−3||1.06||6.79 × 10−2||1.12||0.676||0.292||0.568||0.389|
It represents the proportion of prediction error in the absolute value. Notably, all the training data for three ML models are furnished by RCWA, indicating that the MAPE of RCWA is zero. It is clearly observed that the ANN acquires the smallest MAPE compared to RFR and SVR, whose computational accuracy is larger than 99%. While the MAPE of SVR is the largest, the prediction precision of which is still over 90%. Although three ML methods lose a certain degree of accuracy, the MADE algorithm improves the prediction accuracy to some extent while keeping substantially small amount of training data.
Utilizing the MADE algorithm, we can explore the intricate and nonintuitive dependence of CD characteristics in the higher-order diffraction beams on geometrical parameters in an accurate and fast manner. In this context, the shape and unit period of 2D chiral metamaterials are two chiral parameters that most significantly affect the optical CD responses. Accounting for the analogy between the investigated diffractive metamaterials and a simple grating where the grating equation of a sinθ = n·λ is applied, the unit period is assumed to not only cause shifts in the resonance wavelengths but also influence distributions of higher-order diffraction beams in real space.
Notably, the unit period is selected to be proportional to the gold length of S1–S9 metamaterials, namely a = 2.4l. Thus, for simplicity, we directly investigate the third-order diffraction CD properties of S1–S9 nanostructures in case of various gold length l employing the MADE algorithm, with the results being presented in Figure 7. One significant finding from this figure is that the CD responses exhibit highly nonlinear dependences on both the wavelength λ and gold length l, in cases of nine differently shaped metamaterials. Moreover, the complicated bisignate characteristics of CD responses are observed at first glance for most l of S1–S9 metamaterials. One salient example is S4 array in which the triple or more sophisticated bisignate features of CD are discovered. Alternatively, the blue CD modes play a dominant role across the contour map of S5 nanostructures, while the red modes turn much stronger in S7 array. As for the other seven metamaterials, a quasi-balance seems to be reached between these two modes. On the other hand, the spatial locations of higher-order diffraction beams can be altered via the change of unit period, which enables the angle-resolved optical chirality detection with a larger flexibility. Equally important, it is apparent that the CD maps of S1–S9 metamaterials behave quite distinctively, revealing that these metamaterials contain diverse electromagnetic modes and then different electric field distribution at near-field.
It is of vital importance at this stage to look deeper into the complex relationship between different chiral parameters and optical chirality. Thus, we study the third-order diffracted chiroptical response of S1 metamaterials possessing various gold width, separation length, bridge length, and gold length, by means of the MADE method. The corresponding results are illustrated in Figure 8. It is noticeable that to ensure the effectiveness of this investigation, only one factor is changed at a time with the other ones remaining the same. The most obvious finding to emerge from this figure is that the width, space length, bridge length, and gold length contribute diversely to optical chirality in the third-order diffracted beams. In general, the unit period follows a relation of a = 2l + 2s. Thus, the variations of space length and gold length would result in different unit periods. Additionally, diverse width and bridge length would cause changes in the patterns of metamaterials, generating a distinctive near-field distribution that determines the far-field chiroptical reaction , [, 58]. Here, the point sources are no longer suitable to describe our S1 metamaterials since their dimensions are not that small compared to the irradiation wavelength. This suggests that the CD properties of higher-order diffraction beams are highly dependent on the patterns and far-field reaction of a chiral module.
Moving on now to the detailed evaluation of each chiral parameter, from Figure 8(a), one can easily discern that the light intensity in the third-order diffraction beam increases with gold width until w = 0.2l, under irradiation by either LCP or RCP light. However, the LCP intensity exhibits a clear decay when the width turns larger than 0.2l, unlike the case of RCP light. In the contrary, the strongest CD response is observed at w = 0.3l of Figure 8(d), suggesting that to acquire a maximum CD, the relatively large LCP/RCP intensity is not a requirement. In terms of space, it is found from Figure 8(b, f) that the peaks of light intensity and chiroptical response both exhibit redshifts with space length, which can be explained by the enlarged unit period. Nevertheless, a larger space length would cause a weak coupling effect among adjacent nanoparticles, eventually affecting the CD performance. When it comes to the bridge length, a surprising observation from Figure 8(c) is that most the LCP and RCP resonant modes locate in the range of 1∼1.35 μm, while the big optical CDs distribute across a much wider wavelength regime (see Figure 8(g)). Furthermore, the characterization of unit period’s influence on optical chirality is performed in S1 metamaterial with graphic parameters of w = 0.3l, s = 0.2l, and lb = 0.6l. The main results under the above circumstances are summarized in Figure 8(d, h). It is immediately discovered that the wavelength of LCP/RCP resonance becomes longer at a larger unit period, so does the wavelength of CD maximum. Anyhow, this dependence seems not to obey a fixed rule. Additionally, the strength of CD response in Figure 8(h) exhibits a highly nonlinear dependence on the unit period.
In conclusion, we have established a MADE framework associated with different ML networks to efficiently predict and evaluate the CD responses of various 2D chiral metamaterials, accounting for up to the fourth diffraction order beams. Precisely, the MADE algorithm requires only a small amount of CD spectra from a target metamaterial for the CD performance characterization, provided that additional data from previously explored nanostructures can be utilized to assist the training process, which can address the data limitation of pure ML algorithms. Particularly, the MADE algorithm does not necessarily demand the high similarity of datasets between the source and target domains, and different ML techniques (e.g, ANN, RFR, SVR) can be perfectly applied in this framework, suggesting its excellent generalization ability. The traditional RCWA approach is utilized to furnish a limited amount of training data for MADE, along with some training data from a solved problem. Thus, the complicated and nonintuitive relationships between the higher-order diffracted optical chirality and the shape, unit period, width, space length, and bridge length of 2D diffractive chiral metamaterials are explicitly explored using the MADE framework together with various ML algorithms. This approach is confirmed to own remarkably fast computational speed and high accuracy comparable to RCWA toward optical chirality manipulation in diffractive chiral metamaterials, transforming this rule-based problem into a small data-driven study. It is significant to mention that the MADE algorithm can be easily extended to the design of other functional metamaterials. For instance, our MADE approach can readily employ a limited amount of training data from 3D metamaterials, together with some results from an already solved nanostructure, to achieve the accelerated and efficient characterization of 3D samples. The generalization and flexibility of the MADE algorithm contribute in several ways to our understanding of transfer learning in the efficient prediction of chiroptical response inside diffracted chiral metamaterials and provide a basis for the large-scale, optimal design of complex photonic devices.
RCWA is viewed as an effective and efficient method to explore the electromagnetic properties of periodic nanostructures. By leveraging the RCWA method implemented in Synopsys RSoft DiffractMOD, we numerically calculate the intensities of higher-order diffraction beams for various 2D chiral metamaterials under circularly polarized light irradiation, in order to generate the target domain datasets for MADE training. Moreover, the most crucial MADE algorithm is implemented in Python. In particular, the K-means algorithm and PCA algorithm integrated in the MADE framework come from the ML library, namely scikit-sklearn . The domain adaptive neural network is built by TensorFlow2.2-gpu, which is an open-source system for large-scale ML . Based on the target domain datasets provided by RCWA simulations and source domain datasets from some previously studied problems, we can generate domain adaptation datasets and mapping datasets. At this point, the target problem converts into a problem where the optical chirality of higher-order diffraction patterns is explored, by means of either a deep learning network or other ML techniques.
 Z. Shi, X. Ren, H. Qiao, et al., J. Photochem. Photobiol. C Photochem. Rev., p. 100354, 2020, https://doi.org/10.1016/j.jphotochemrev.2020.100354. Search in Google Scholar
 R. Culkin and S. R. Das, J. Invest. Manag., vol. 15, p. 92, 2017. Search in Google Scholar
 Y. Kiarashinejad, M. Zandehshahvar, S. Abdollahramezani, O. Hemmatyar, R. Pourabolghasem, and A. Adibi, Adv. Intell. Syst., vol. 2, p. 1900132, 2020, https://doi.org/10.1002/aisy.201900132. Search in Google Scholar
 D. P. Kingma and J. Ba, arXiv preprint arXiv:1412.6980, 2014. Search in Google Scholar
 A. Liaw and M. Wiener, R. News, vol. 2, p. 18, 2002. Search in Google Scholar
 H. Drucker, C. J. Burges, L. Kaufman, A. J. Smola, and V. Vapnik, Eds., “Advances in neural information processing systems,” in Proceedings of the 9th International Conference on Neural Information Processing Systems, Princeton, New Jersey, U.S., NIPS’96, 1996, pp. 155–161. Search in Google Scholar
 F. Pedregosa, G. Varoquaux, A. Gramfort, et al., J. Mach. Learn. Res. vol. 12, p. 2825, 2011. Search in Google Scholar
 M. Abadi, A. Agarwal, P. Barham, et al., arXiv preprint arXiv:1603.04467, 2016. Search in Google Scholar