Complex amplitude metasurface design method, system and device based on deep learning
Through the forward prediction and reverse design of the deep learning model, arbitrary control of the amplitude and phase of the metasurface is achieved, which solves the time-consuming and labor-intensive problem in the traditional design process and the processing difficulty of the two-dimensional model in the visible light band, and improves the design Accuracy and machining feasibility.
Patent Information
- Application Number
- CN202210334747.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-03-31
AI Technical Summary
The traditional metasurface design process requires a lot of optimization and selection, which is time-consuming and labor-intensive, and the two-dimensional model has processing difficulties when the wavelength band extends from mid-infrared to visible light, which affects the practical development of metasurfaces.
The complex amplitude metasurface design method based on deep learning is used to build a deep learning model, including a forward prediction model and a reverse design model, and use the training set and verification set for training to generate the full-mode structure of the device to achieve amplitude and phase prediction. Any control.
It reduces the difficulty of designing complex-amplitude metasurfaces, improves design accuracy, simplifies the design process, and achieves high-precision control in different wavebands. The use of a single-layer structure ensures the feasibility of processing.
Smart Images

Figure CN114692500B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical holography technology, and in particular to a complex amplitude type metasurface design method, system and device based on deep learning. Background Art
[0002] The metasurface is composed of a group of subwavelength structure arrays, and the amplitude, phase and polarization of electromagnetic waves can be arbitrarily controlled by adjusting the geometric size and orientation of each unit structure. In the traditional metasurface design process, designers need to make physical or empirical inferences about the optical response of the metasurface unit structure, which is usually accompanied by a process of continuous trial and error optimization. This requires designers to have rich professional knowledge, and the process of selecting the appropriate unit structure involves a lot of optimization and selection. The whole process is both time-consuming and labor-intensive.
[0003] In order to solve this problem, deep learning has been introduced into the design of metasurfaces in recent years because it can mine mutual representations of data at different levels. At present, metasurface designs based on deep learning are often pure amplitude responses or pure phase responses. Complex amplitude metasurfaces (simultaneous regulation of amplitude and phase) can achieve more flexible electromagnetic regulation and need to be studied in depth in combination with deep learning. At present, some studies have fixed the height of the three-dimensional unit structure and used the remaining two-dimensional plane as the design variable. Generative adversarial networks have been used to design dual-focus lenses and polarization multiplexing lenses. In addition, there are also studies that use generative adversarial networks and use multi-layer super units as control variables, all of which have achieved arbitrary control of amplitude and phase.
[0004] Although the supercell of the two-dimensional model can achieve arbitrary control of amplitude and phase, when the design band is expanded from the mid-infrared band to visible light, the two-dimensional model will bring some extremely small defects, or compared with the multi-layer structure supercell of the single-layer structure, both of which will bring greater difficulty to processing and are not conducive to the practical development of the metasurface. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a complex amplitude metasurface design method, system and device based on deep learning. The method uses a deep learning model to determine the full-mode structure of the complex amplitude device, reduces the difficulty of the design process, and improves the accuracy of the model design.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] The complex amplitude type metasurface design method based on deep learning provided by the present invention comprises the following steps:
[0008] Determine the structure of the superunit and control the structural degrees of freedom;
[0009] Collect complex amplitude response data sets of super units with different structural parameters; collect randomly generated target complex amplitude response data sets, and divide the two data sets into training set, validation set and test set respectively;
[0010] Constructing a deep learning model; the deep learning model includes a forward prediction model and a reverse design model, the forward prediction model is used to predict the complex amplitude response of the super unit according to the structural parameters, and the reverse design model is used to predict the structural parameters according to the target response;
[0011] The training is performed according to the collected training set and validation set. The training is carried out in two steps. The forward prediction model is first trained using the complex amplitude response data set. After the training is completed, it is loaded into the entire model and the training of the forward model is frozen. At this time, the entire network is trained using the target complex amplitude data set. During the process, only the reverse design model is trained. After the training is completed, the reverse design model is exported from the saved entire model.
[0012] The trained inverse design model is used to design complex-amplitude metasurface devices, the target amplitude and phase are generated according to the target device, and the full-mode structure of the device is generated in the inverse design model.
[0013] Furthermore, after the reverse design model training is completed, the following steps are also included:
[0014] It is determined whether the difference between the predicted response of the structural parameters designed by the inverse design model and the true complex amplitude response meets the preset threshold. If yes, the training process of the inverse design model is terminated. If not, the training is continued until the condition is met.
[0015] Furthermore, the model testing process is also included, and the model testing process includes the following steps:
[0016] Use the test data set to verify whether the accuracy meets the requirements. Generate the corresponding predicted complex amplitude response in the forward prediction model using the structural parameters of the complex amplitude response data test set. Difference is made between the predicted value and the actual response and the average value of the difference is calculated to determine whether the error meets the preset conditions. If the conditions are met, proceed to the next step of reverse model training. If not, adjust the hyperparameters in the forward model and retrain the forward model until the accuracy meets the requirements.
[0017] Furthermore, the model testing process further includes the following steps:
[0018] The target complex amplitude data test set is used to generate predictions of the super unit structure parameters in the inverse design model. The actual response is calculated based on the predicted value. The target complex amplitude is subtracted from the actual response and the average of the difference is calculated to determine whether the error meets the preset conditions. If the conditions are met, the model can be used for the next step of device design. If not, the hyperparameters in the inverse model are adjusted and the inverse model is retrained until the accuracy meets the requirements.
[0019] Further, the full mold structure is carried out according to the following steps:
[0020] The target device is set as a complex amplitude multiplexing device that displays a nanoprinted image in the near field and a holographic image in the Fraunhofer zone. The target nanoprinted image and the target holographic image are set. The target amplitude is determined according to the nanoprinted image. The target phase is calculated using the GS algorithm. Finally, the determined target complex amplitude is input into the inverse design model to generate a predicted full-mode structure.
[0021] Further, the method further comprises the following steps:
[0022] The finite difference time domain method is used to simulate the full-mode structure. Perfectly matched layer boundary conditions are used in the x-direction, y-direction and z-direction. Left-handed circularly polarized light is used as the incident light to obtain the simulation results and extract right-handed circularly polarized light for display.
[0023] The complex amplitude type metasurface design system based on deep learning provided by the present invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor comprises:
[0024] Parameter setting unit, used to determine the structure of the super unit and regulate the degree of freedom of the structure;
[0025] A data acquisition unit is used to collect complex amplitude response data sets of super units with different structural parameters; and collect randomly generated target complex amplitude response data sets, and divide the two data sets into a training set, a validation set, and a test set respectively;
[0026] A model building unit, used to build a deep learning model; the deep learning model includes a forward prediction model and a reverse design model, the forward prediction model is used to predict the complex amplitude response of the super unit according to the structural parameters, and the reverse design model is used to predict the structural parameters according to the target response;
[0027] The model training unit performs training based on the collected training set and validation set. The training is carried out in two steps. The forward prediction model is first trained using the complex amplitude response data set. After the training is completed, it is loaded into the entire model and the training of the forward model is frozen. At this time, the entire network is trained using the target complex amplitude data set. During the process, only the reverse design model is trained. After the training is completed, the reverse design model is exported from the saved entire model.
[0028] The device full-mode generation unit uses the trained inverse design model to design complex-amplitude metasurface devices, generates target amplitude and phase according to the target device, and generates the full-mode structure of the device in the inverse design model.
[0029] Further, the model training unit is provided with a training control unit and a model testing unit, and the training control unit is performed according to the following steps:
[0030] It is determined whether the difference between the predicted response of the structural parameters designed by the inverse design model and the true complex amplitude response meets the preset threshold. If yes, the training process of the inverse design model is terminated. If not, the training is continued until the condition is met.
[0031] The model testing unit is performed according to the following steps:
[0032] Use the test data set to verify whether the accuracy meets the requirements. Generate the corresponding predicted complex amplitude response in the forward prediction model using the structural parameters of the complex amplitude response data test set. Difference is made between the predicted value and the actual response and the average value of the difference is calculated to determine whether the error meets the preset conditions. If the conditions are met, proceed to the next step of reverse model training. If not, adjust the hyperparameters in the forward model and retrain the forward model until the accuracy meets the requirements.
[0033] The target complex amplitude data test set is used to generate predictions of the super unit structure parameters in the inverse design model. The actual response is calculated based on the predicted value. The target complex amplitude is subtracted from the actual response and the average of the difference is calculated to determine whether the error meets the preset conditions. If the conditions are met, the model can be used for the next step of device design. If not, the hyperparameters in the inverse model are adjusted and the inverse model is retrained until the accuracy meets the requirements.
[0034] The complex amplitude type metasurface provided by the present invention is a metasurface device manufactured according to the above-mentioned complex amplitude type metasurface design method based on deep learning.
[0035] The beneficial effects of the present invention are:
[0036] The present invention provides a complex amplitude type metasurface design method, system and device based on deep learning, which reduces the difficulty of designing complex amplitude type metasurfaces and ensures the processing feasibility of the metasurface. The arbitrary regulation of the amplitude and phase response of the super unit is realized, and the designer does not need to physically infer the response of the super unit with different structures according to the learned principles, and a large number of optimization and selection processes are omitted, which greatly reduces the threshold for designing complex amplitude type metasurfaces; in addition, since the deep learning model used is a fully connected layer structure, this model is simple to build and the training is very easy to converge, so in the process of building and training the model, the designer does not need to have an in-depth understanding of the relevant principles of deep learning, and can achieve high-precision training; the trained model can realize the prediction of structural parameters according to the target device very quickly, so this method can be extended to the design of more different complex amplitude type devices; finally, since the unit structure used is a relatively smooth single-layer structure, this ensures sufficient processing feasibility.
[0037] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to make the purpose, technical solution and beneficial effects of the present invention clearer, the present invention provides the following drawings for illustration:
[0039] Figure 1 It is a super unit structure.
[0040] Figure 2 For deep learning model architecture.
[0041] Figure 3 This is the forward prediction model training process.
[0042] Figure 4 Design the model training process for reverse engineering.
[0043] Figure 5 It is the design target picture and the full-mock simulation rendering. DETAILED DESCRIPTION
[0044] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0045] Example 1
[0046] The complex amplitude metasurface design method based on deep learning provided in this embodiment has the following basic principles: the metasurface is composed of a group of sub-wavelength structure arrays, and the amplitude, phase and polarization of the electromagnetic wave can be arbitrarily controlled by adjusting the geometric dimensions of each unit structure. Deep learning is composed of a neural network that simulates the human brain for analysis and learning, and can mine the mutual representation of data at different levels. The structural parameters of the superunits constituting the metasurface and their corresponding optical responses are two data sets with complex nonlinear relationships. The introduction of deep learning can mine the implicit relationship between the two sets of data sets, and the design of related metasurface devices can be carried out based on this relationship.
[0047] The complex amplitude type metasurface design method based on deep learning provided in this embodiment specifically includes the following steps:
[0048] 1. Determine the structure of the supercell and its controllable structural degrees of freedom, then use CST MicrowaveStudio software to collect the complex amplitude response data sets of the supercells with different structural parameters, and collect the randomly generated target complex amplitude response data sets, and divide the two data sets into training set, validation set and test set respectively.
[0049] 2. Use Tensorflow and Keras frameworks to build a preset deep learning model. The entire model consists of two parts: a forward prediction model that can predict the complex amplitude response of the superunit based on the structural parameters, and an inverse design model that can predict the structural parameters based on the target response. Compared with a single network, this model can solve the problem of multiple solutions that may appear in the inverse design process, resulting in low prediction accuracy.
[0050] 3. Training is performed based on the collected training set and validation set. The training is carried out in two steps. The forward prediction model is first trained using the complex amplitude response data set. After the training is completed, it is loaded into the entire model and the training of the forward model is frozen. At this time, the target complex amplitude data set is used to train the entire network. During this process, only the reverse design model is trained. After the training is completed, if the predicted response of the structural parameters designed by the reverse design model is close to its true complex amplitude response, that is, the target complex amplitude is almost equal to the actual complex amplitude response of the super unit, it means that the reverse design model at this time can realize the prediction of the super unit structural parameters according to the target complex amplitude. Finally, the reverse design model is exported from the saved entire model.
[0051] 4. Use the test data set to verify whether the accuracy meets the requirements. Generate the corresponding predicted complex amplitude response of the 1000 structural parameters of the complex amplitude response data test set in the forward prediction model. Subtract the predicted value from the actual response and calculate the average value of the difference to determine whether the error meets the preset conditions (the average amplitude deviation is less than 0.01, and the average phase deviation is less than 5°). If the conditions are met, the next step of reverse model training is carried out. If not, adjust the hyperparameters in the forward model and retrain the forward model until the accuracy meets the requirements. Use the target complex amplitude data test set to generate the prediction of the super unit structural parameters in the reverse design model, calculate the actual response of the predicted value in the CST Microwave Studio software, subtract the target complex amplitude from the actual response and calculate the average value of the difference to determine whether the error meets the preset conditions (the average amplitude deviation is less than 0.05, and the average phase deviation is less than 5°). If the conditions are met, the model can be used for the next step of device design. If not, adjust the hyperparameters in the reverse model and retrain the reverse model until the accuracy meets the requirements.
[0052] 5. Use the trained inverse design model to design complex amplitude metasurface devices, generate target amplitude and phase according to the target device, and generate the full-mode structure of the device in the inverse design model;
[0053] 6. Perform full-model simulation on the full-model structure, extract the final effect from the simulation results and display it.
[0054] Example 2
[0055] This embodiment uses a method for constructing a complex amplitude metasurface design based on deep learning, and the specific steps are as follows:
[0056] Determine the structure of the superunit and its controllable structural degrees of freedom, such as Figure 1 As shown, the supercell consists of a lower silicon dioxide (SiO2) substrate and an upper (TiO2) cross-shaped structure, where the values of H, W, and P are fixed at 600nm, 80nm, and 460nm, respectively. The cross-shaped structure consists of two mutually perpendicular cuboids with lengths and widths of Lx, W and Ly, W, respectively, and the entire cross-shaped structure is rotated by θ degrees. Then, CST Microwave Studio software was used to collect 21,000 sets of complex amplitude response data sets of supercells with different structural parameters {Lx, Ly, θ} (left-handed circularly polarized light with a wavelength of 532nm was incident from the supercell substrate, and the response results of the outgoing right-handed circularly polarized light were collected), and 21,000 sets of randomly generated target complex amplitude response data sets were collected, and the two data sets were divided into 16,000 sets as training sets, 4,000 sets as validation sets, and 1,000 sets as test sets;
[0057] Use Tensorflow and Keras framework to build preset deep learning models, such as Figure 2 As shown in Figure 2, the entire model consists of two parts: a forward prediction model that can predict the complex amplitude response of the super unit according to the structural parameters and an inverse design model that can predict the structural parameters according to the target response, as shown in Figure 2. Figure 2 As shown in the figure, Dense(i) represents a fully connected layer, i represents the number of neural units in this layer, and Dense(400) represents a fully connected layer with 400 neural units;
[0058] The BatcNormalization layer can adjust the distribution of activation values of each layer to make it have an appropriate breadth, thereby speeding up the training of the model and suppressing overfitting to a certain extent (the phenomenon that the training loss decreases while the verification loss does not decrease or even increases);
[0059] The Dropout layer can randomly delete neurons during the training process, which can effectively suppress overfitting. Dropout(0.25) means that during the training process, the neural units of the previous layer are randomly deleted at a ratio of 0.25 and then passed to the next layer;
[0060] Input(2) represents the input layer of the reverse design model, and the input two dimensions are amplitude and phase responses. Input(3) represents the input layer of the forward prediction model, and the input three-dimensional structural parameters.
[0061] The predicted structural parameters include {Lx, Ly, θ};
[0062] The input target complex amplitude response represents the target amplitude and target phase of the input set light field;
[0063] Outputting the predicted complex amplitude response means that when the reverse design model predicts the structural parameters according to a certain target complex amplitude response, the predicted value of the structural parameter will output the predicted complex amplitude response after being input into the forward prediction model;
[0064] In addition to the input layer and the output layer, both networks consist of 5 fully connected layers (Dense) with 400, 1000, 2500, 1000, and 400 neural units respectively. In order to suppress overfitting, BatchNormalization and Dropout strategies were used in the reverse design model and the forward prediction model respectively. The forward model used the relu function, and the reverse design model used the sigmoid function. The mean absolute error was used as the loss function in the entire training process, and the learning rate and batch number used were 10 respectively. -6 and 100;
[0065] The training is performed based on the collected training set and validation set. The training is carried out in two steps. The forward prediction model is first trained using the complex amplitude response data set. The training process is as follows: Figure 3 As shown; after the training is completed, it is loaded into the entire model and the training of the forward model is frozen. At this time, the target complex amplitude data set is used to train the entire network. During the process, only the reverse design model is trained. The training process is as follows Figure 4 As shown. After the training is completed, the predicted response of the structural parameters designed by the inverse design model is close to its true complex amplitude response, that is, the target complex amplitude is almost equal to the actual complex amplitude response of the super unit, which means that the inverse design model can predict the structural parameters of the super unit according to the target complex amplitude. Finally, the inverse design model is derived from the saved entire model;
[0066] Use the test data set to verify whether the accuracy meets the requirements. Generate the corresponding predicted complex amplitude response of the 1000 structural parameters of the complex amplitude response data test set in the forward prediction model. Subtract the predicted value from the actual response and calculate the average value of the difference. The average amplitude prediction deviation is 0.002, and the average phase prediction deviation is 3.11°. The accuracy meets the requirements. Use the target complex amplitude data test set to generate the prediction of the super unit structural parameters in the reverse design model. Calculate the actual response with the predicted value in the CST software. Subtract the target complex amplitude from the actual response and calculate the average value of the difference. The average amplitude prediction deviation is 0.01, and the average phase prediction deviation is 3.28°. The accuracy meets the requirements.
[0067] The trained inverse design model is used to design complex amplitude metasurface devices. The target device is set to a complex amplitude multiplexing device that can display nanoprinted images in the near field and holographic images in the Fraunhofer zone. The target nanoprinted image and target holographic image are set to Figure 5 In (a) and (b), the target amplitude can be determined based on the nano-printing image, and the target phase can be calculated using the GS algorithm (the GS algorithm provided in this embodiment is a prior art, and its specific calculation process is not repeated here), and finally the determined target complex amplitude is input into the reverse design model to generate a predicted full-mode structure.
[0068] The finite difference time domain method (FDTD) is used to simulate the full-mode structure. Perfectly matched layer boundary conditions are used in the x-direction, y-direction and z-direction. Left-handed circularly polarized light is used as the incident light. Right-handed circularly polarized light is extracted from the simulation results and the final effect is displayed, as shown in Figure 2. Figure 5 As shown in (c) and (d), the displayed nanoprinted grayscale images show good visual effects and the holographic images show high resolution.
[0069] The above-described embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.
Claims
1. Complex amplitude metasurface design method based on deep learning, Features: The following steps are involved: Determine the structure of the superunit and control the structural degrees of freedom; Collect complex amplitude response data sets of supercells with different structural parameters; And collect randomly generated target complex amplitude response data sets, and divide the two data sets into training set, validation set and test set respectively; Constructing a deep learning model; the deep learning model includes a forward prediction model and a reverse design model, the forward prediction model is used to predict the complex amplitude response of the super unit according to the structural parameters, and the reverse design model is used to predict the structural parameters according to the target response; The training is performed according to the collected training set and validation set. The training is carried out in two steps. The forward prediction model is first trained using the complex amplitude response data set. After the training is completed, it is loaded into the entire model and the training of the forward model is frozen. At this time, the entire network is trained using the target complex amplitude data set. During the process, only the reverse design model is trained. After the training is completed, the reverse design model is exported from the saved entire model. The trained inverse design model is used to design complex-amplitude metasurface devices, the target amplitude and phase are generated according to the target device, and the full-mode structure of the device is generated in the inverse design model.
2. The complex amplitude metasurface design method based on deep learning as claimed in claim 1, Features: After the reverse design model training is completed, the following steps are also included: It is determined whether the difference between the predicted response of the structural parameters designed by the inverse design model and the true complex amplitude response meets the preset threshold. If yes, the training process of the inverse design model is terminated. If not, the training is continued until the condition is met.
3. The complex amplitude metasurface design method based on deep learning as claimed in claim 1, Features: It also includes a model testing process, which includes the following steps: Use the test data set to verify whether the accuracy meets the requirements. Generate the corresponding predicted complex amplitude response in the forward prediction model using the structural parameters of the complex amplitude response data test set. Difference between the predicted value and the actual response is calculated and the average of the difference is taken to determine whether the error meets the preset conditions. If the conditions are met, proceed to the next step of reverse model training. If not, adjust the hyperparameters in the forward model and retrain the forward model until the accuracy meets the requirements.
4. The complex amplitude metasurface design method based on deep learning as claimed in claim 3, Features: The model testing process also includes the following steps: The target complex amplitude data test set is used to generate predictions of the super unit structure parameters in the inverse design model. The actual response is calculated based on the predicted value. The target complex amplitude is subtracted from the actual response and the average of the difference is calculated to determine whether the error meets the preset conditions. If the conditions are met, the model is used for the next step of device design. If not, the hyperparameters in the inverse model are adjusted and the inverse model is retrained until the accuracy meets the requirements.
5. The complex amplitude metasurface design method based on deep learning as claimed in claim 1, Features: The full-mode structure is carried out according to the following steps: The target device is set as a complex amplitude multiplexing device that displays a nanoprinted image in the near field and a holographic image in the Fraunhofer zone. The target nanoprinted image and the target holographic image are set. The target amplitude is determined according to the nanoprinted image. The target phase is calculated using the GIS algorithm. Finally, the determined target complex amplitude is input into the reverse design model to generate a predicted full-mode structure.
6. The complex amplitude metasurface design method based on deep learning as claimed in claim 1, Features: The following steps are also included: The finite difference time domain method is used to simulate the full-mode structure. Perfectly matched layer boundary conditions are used in the x-direction, y-direction and z-direction. Left-handed circularly polarized light is used as the incident light to obtain the simulation results and extract right-handed circularly polarized light for display.
7. A complex amplitude metasurface design system based on deep learning, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that The processor comprises: Parameter setting unit, used to determine the structure of the super unit and regulate the degree of freedom of the structure; A data acquisition unit is used to collect complex amplitude response data sets of super units with different structural parameters; and collect randomly generated target complex amplitude response data sets, and divide the two data sets into a training set, a validation set, and a test set respectively; A model building unit, used to build a deep learning model; the deep learning model includes a forward prediction model and a reverse design model, the forward prediction model is used to predict the complex amplitude response of the super unit according to the structural parameters, and the reverse design model is used to predict the structural parameters according to the target response; The model training unit performs training based on the collected training set and validation set. The training is carried out in two steps. The forward prediction model is first trained using the complex amplitude response data set. After the training is completed, it is loaded into the entire model and the training of the forward model is frozen. At this time, the entire network is trained using the target complex amplitude data set. During the process, only the reverse design model is trained. After the training is completed, the reverse design model is exported from the saved entire model. The device full-mode generation unit uses the trained inverse design model to design complex-amplitude metasurface devices, generates target amplitude and phase according to the target device, and generates the full-mode structure of the device in the inverse design model.
8. The complex amplitude type metasurface design system based on deep learning as claimed in claim 7, Features: The model training unit is provided with a training control unit and a model testing unit, and the training control unit is performed according to the following steps: Determine whether the difference between the predicted response of the structural parameter designed by the inverse design model and the true complex amplitude response meets a preset threshold, if yes, end the training process of the inverse design model, if no, continue training until the condition is met; The model testing unit is performed according to the following steps: Use the test data set to verify whether the accuracy meets the requirements. Generate the corresponding predicted complex amplitude response in the forward prediction model using the structural parameters of the complex amplitude response data test set. Difference is made between the predicted value and the actual response and the average value of the difference is calculated to determine whether the error meets the preset conditions. If the conditions are met, proceed to the next step of reverse model training. If not, adjust the hyperparameters in the forward model and retrain the forward model until the accuracy meets the requirements. The target complex amplitude data test set is used to generate predictions of super unit structural parameters in the inverse design model, and the actual response is calculated based on the predicted value. The target complex amplitude is subtracted from the actual response and the average value of the difference is calculated to determine whether the error meets the preset conditions. If the conditions are met, the model is used for the next step of device design. If they are not met, the hyperparameters in the inverse model are adjusted and the inverse model is retrained until the accuracy meets the requirements.
9. Complex amplitude metasurface, Features: The complex amplitude type metasurface is a metasurface device manufactured according to the complex amplitude type metasurface design method based on deep learning described in claims 1-6.
