An intelligent reverse design method, system and storage medium of high-dimensional optical superstructure

By employing an intelligent reverse design method for high-dimensional optical metastructures, combined with a neural network surrogate model and a hybrid evolutionary optimization algorithm, the problems of low efficiency and limited accuracy in traditional optical metastructure design are solved. This approach achieves efficient and accurate optical performance optimization and engineering adaptation, and provides a variety of feasible solutions.

CN123139716APending Publication Date: 2026-11-20SHANGHAI JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511709099.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-20
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Traditional optical metastructure design suffers from inefficiencies due to high-dimensional parameter spaces, lack of coordination in handling multiple constraints, time-consuming electromagnetic simulation calculations, disconnect between optical performance and device response, and insufficient engineering adaptability of solutions, making it difficult to meet the engineering requirements of complex functional devices.

Method used

A high-dimensional optical superstructure intelligent reverse design method is adopted. By obtaining design requirements, a multi-dimensional collaborative screening template is constructed. A neural network surrogate model and a hybrid evolutionary optimization algorithm are used, combined with Latin hypercube sampling, dynamic subspace search and gradient-guided intelligent repair, to achieve quantitative correlation between optical performance and detector response and optimization of diversified solutions.

Benefits of technology

It achieves millisecond-level prediction from structural parameters to optical performance, improving design efficiency by several orders of magnitude, ensuring the physical accuracy and engineering feasibility of performance evaluation, providing a variety of high-quality candidate solutions, and significantly improving the success rate and practicality of complex structure design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123139716A_ABST
    Figure CN123139716A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of optical superstructure, and more particularly to a kind of intelligent reverse design method of high-dimensional optical superstructure, including obtaining design requirement and analyzing target performance atlas parameter, through data check and photoelectric conversion relationship calculation comprehensive conversion factor;Multi-dimensional collaborative screening template is constructed;Latin hypercube sampling is used to generate structure parameter sample, and standardization structure-performance dataset is constructed by electromagnetic simulation and data processing;Data set is divided and neural network proxy model containing L2 regularization, LeakyReLU activation function is trained;Reverse optimization is realized by multi-module collaboration based on hybrid evolutionary optimization algorithm, including constraint perception population initialization, dynamic subspace search, hierarchical constraint processing, gradient-guided repair, multi-strategy variation and KMeans enhanced archive maintenance;Optimization result is output and verified by electromagnetic simulation.The present application solves the dimension disaster and exploration-development balance problem in the reverse design of high-dimensional optical structure, significantly improves design efficiency and engineering feasibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical metastructure design technology, and in particular to an intelligent reverse design method, system and storage medium for high-dimensional optical metastructures. Background Technology

[0002] Optical metastructures are a class of artificial structural systems composed of subwavelength-scale micro- and nano-units. By precisely controlling the geometric parameters of these units (such as period, width, and height), the amplitude, phase, and polarization state of electromagnetic waves can be flexibly manipulated, making them valuable for applications in cutting-edge fields such as very long-wave infrared detection, super-resolution imaging, and photonic computing. However, the traditional design process for optical metastructures relies heavily on human experience and time-consuming simulations, resulting in low overall R&D efficiency and limited design accuracy, making it difficult to meet the engineering requirements of complex functional devices.

[0003] The existing design methods mainly suffer from the following five technical bottlenecks: (1) The high-dimensional parameter space leads to the "curse of dimensionality": The performance of optical superstructures depends on multi-dimensional design parameters (such as n-dimensional multilayer metal-dielectric composite structures). Traditional evolutionary algorithms mostly adopt full-dimensional search, and the search space expands exponentially. For example, when each dimension takes 10 discrete values, the total number of combinations is as high as 10. n (1) The optimization cycle can take several weeks, and the algorithm is prone to getting stuck in local optima, resulting in extremely low global search efficiency. (2) Fragmentation of multiple constraints. During the design process, it is necessary to simultaneously meet the requirements of material optical properties (refractive index n, extinction coefficient k), processing technology limitations (minimum feature size, aspect ratio), geometric size constraints (substrate thickness) and mechanical stability. Traditional methods often deal with these constraints separately and lack a collaborative screening mechanism. For example, although a certain scheme has excellent optical performance, it cannot be manufactured because it exceeds the actual process capability, resulting in a waste of design resources. (3) Electromagnetic simulation calculation is time-consuming. Optical performance evaluation usually relies on finite difference time domain method (FDTD) or finite element method (FEM) simulation, and a single simulation takes 2 to 8 hours. If thousands of parameter combinations need to be evaluated, the total calculation time can reach several months, which seriously limits the exploration range of parameter space. (4) Optical performance is disconnected from device response. Traditional optimization uses only optical indicators (such as absorptivity and reflectivity) as objective functions, without establishing a quantitative correlation with the photoelectric response of the device (such as the relative responsivity of the detector). This results in some optically optimal solutions performing poorly in actual devices and failing to meet the requirements of engineering applications. (5) Insufficient engineering adaptability of the solution. Most algorithms only output a single optimal solution, ignoring uncertainties such as processing errors and material batch differences. When the optimal solution becomes unattainable due to process deviations, the optimization process needs to be restarted, significantly increasing the R&D cycle and cost.

[0004] Although some data-driven methods have attempted to replace time-consuming simulation processes with neural network models, significant limitations remain: First, existing models mostly focus on low-dimensional parameter spaces (≤10 dimensions), failing to effectively solve the optimization challenges of high-dimensional complex structures; second, constraint handling often employs fixed threshold strategies, leading to phased limitations in the search process, potentially eliminating potential optimal solutions early on or resulting in slow convergence later; and third, the quantitative coupling relationship between optical performance and photoelectric response has not been established, making it difficult to support system optimization from optical performance to device response.

[0005] Therefore, there is an urgent need for an efficient intelligent reverse engineering method for optical superstructures that can comprehensively consider high-dimensional structural parameters, coordinate multiple constraints, integrate data-driven proxy modeling and intelligent optimization algorithms, and simultaneously output diverse and manufacturable candidate structural solutions. This method aims to break through the dual bottlenecks of efficiency and accuracy in traditional design and promote the intelligent and engineering design process of complex optical devices. Summary of the Invention

[0006] The purpose of this invention is to overcome the shortcomings of existing technologies and provide an intelligent reverse engineering method for high-dimensional optical superstructures, comprising the following steps: S1: Obtain the design requirements of the optical superstructure, analyze the design requirements to obtain the target performance spectrum parameters, load the experimental spectrum data, perform data non-negativity verification and wavelength range consistency verification on the experimental spectrum data to obtain verification data. The verification data is used to calculate the comprehensive conversion factor of each wavelength point based on the photoelectric conversion relationship to realize the quantitative correlation between spectral characteristics and detector response. S2: Load the constraint configuration file and construct a multi-dimensional collaborative screening template that includes material constraints, processing constraints, size constraints, and additional performance constraints based on the constraint configuration file; S3: Based on the size constraints, Latin hypercube sampling (LHS) is used to generate uniformly distributed high-dimensional structural parameter samples. Electromagnetic simulation is used to calculate the optical performance data of each group of samples in the high-dimensional structural parameter samples within the target spectral range of the target performance spectrum parameters. The optical performance data is preprocessed to obtain a standardized structure-performance dataset. S4: Divide the standardized structure-performance dataset into a training set and a validation set, and train a neural network model based on the training set and the validation set to obtain a neural network proxy model; S5: In the constraint design space of the multi-dimensional collaborative screening template, the constraint-aware population initialization module, dynamic subspace search module, hierarchical dynamic constraint processing module, gradient-guided intelligent repair module, multi-strategy adaptive mutation module, and KMeans enhanced Archive intelligent maintenance module of the Hybrid Evolutionary Optimization Algorithm (HEO) are used to efficiently find the optimal structural parameters, so that the optical performance predicted by the neural network surrogate model reaches the best after being weighted by the comprehensive conversion factor, and the optimization result is obtained. S6: Based on the optimization results, generate the optimization convergence curve, the optimal response spectrum, and the parameter distribution evolution diagram, and output a standardized report containing the target configuration, optimal parameters, feasibility verification, and diverse solution sets.

[0007] Preferably, in step S1, the experimental spectral data undergoes data non-negativity verification and wavelength range consistency verification to obtain verification data. The verification data, based on the photoelectric conversion relationship, calculates the comprehensive conversion factor for each wavelength point, and further includes: S11: Convert the absorptivity, reflectivity and transmittance in the experimental spectrum data into column vectors by matrix stacking. If any element in the column vector is less than or equal to 0, terminate the calculation and output the abnormal wavelength point. S12: The minimum and maximum values ​​of the data wavelength must be equal to the minimum and maximum values ​​of the target spectral range, respectively. If they are not equal, return the data adjustment command. S13: The verification data is based on the photoelectric conversion relationship to calculate the comprehensive conversion factor at each wavelength point. The specific formula is as follows: ,in, This represents the relative response value at the peak wavelength. The measured output signal voltage, and Given the output signal of a known standard reference detector under identical conditions and the spectral responsivity calibrated by the standard reference detector; S14: Store the integrated conversion factor in association with its corresponding wavelength.

[0008] Preferably, in step S2, constructing a multi-dimensional collaborative screening template including material constraints, processing constraints, dimensional constraints, and additional performance constraints based on the constraint configuration file further includes: S21: Load the data files of the refractive index and extinction coefficient of the material at different wavelengths, and calculate the accurate refractive index and accurate extinction coefficient values ​​corresponding to the wavelength discrete points in the target spectral range by interpolation; S22: Set the minimum feature size and maximum aspect ratio based on the processing capability to determine the structural parameters and proportional relationships for processing feasibility; S23: Define the range of values ​​for the base thickness and high-dimensional structural parameters to ensure that adjacent parameters do not have physical conflicts and do not exceed the defined solution space domain; S24: The mechanical performance indicators that determine the structural stability, such as resistance to bending and compression, are used as additional constraints to limit the direction of structural design.

[0009] Preferably, in step S3, obtaining the standardized structure-performance dataset further includes: S31: The constrained Latin hypercube sampling (LHS) is used to generate uniformly distributed high-dimensional structural parameter samples that cover the parameter space. S32: Call the electromagnetic simulation to calculate the optical absorption performance corresponding to each group of structural parameters in the high-dimensional structural parameter sample, and construct optical performance data; S33: The optical performance data is preprocessed, including removing null values ​​and outliers, to obtain preprocessed data. The preprocessed data is then normalized to obtain a standardized structure-performance dataset. The calculation formula for normalization is as follows: ,in, For parameter values, This is the lower limit of the parameter's value range. This represents the upper limit of the parameter's value range. These are the normalized parameter values.

[0010] Preferably, in step S4, obtaining a neural network proxy model by training a neural network model based on the training set and the validation set further includes: S41: Based on the dimensions of the standardized structure-performance dataset, set an input layer with a specific number of nodes, set several hidden layers, each of which contains a fixed number of nodes, introduce an L2 regularization mechanism in each hidden layer, use the LeakyReLU activation function to activate the neurons in each hidden layer, set an output layer with a single node, and set the number of nodes to correspond to the number of wavelength points in the target spectral range, and select an appropriate activation function to ensure that the network output is positive, so as to construct a neural network model; S42: The Adam optimizer is used to optimize the training process of the neural network model, with the mean squared error (MSE) as the model loss function, in order to configure the neural network model. S43: Use the training set to train the configured neural network model to obtain the trained neural network model, and use the validation set to monitor the performance changes of the trained neural network model in real time during the training process to obtain the optimal training model; S44: After training, the mean absolute error and coefficient of determination of the validation set are calculated using the optimal training model. If they are not satisfied, the number of hidden layer neurons is increased or the dataset size is expanded to obtain the neural network proxy model.

[0011] Preferably, in step S5, the constraint-aware population initialization module, the dynamic subspace search module, the hierarchical dynamic constraint processing module, the gradient-guided intelligent repair module, the multi-strategy adaptive mutation module, and the KMeans-enhanced Archive intelligent maintenance module include: The constraint-aware population initialization module uses Latin hypercube sampling (LHS) to generate initial samples within the constraints of the multi-dimensional collaborative screening template. After lightweight constraint screening and diversity enhancement, the initial population is obtained, avoiding invalid searches and ensuring population diversity. The dynamic subspace search module searches in high-dimensional space in the early stage of iteration for high-dimensional problems, filters based on sensitive dimensions and dynamically supplements based on PCA in the middle stage of iteration, and focuses on local fine-grained search in low-dimensional space in the later stage of iteration. The hierarchical dynamic constraint processing module uses dynamic constraint thresholds to determine the feasibility of solutions. It expands the feasible region in the early stage of iteration, gradually tightens the threshold in the middle stage of iteration, and fixes the constraint threshold in the later stage of iteration. Gradient-guided intelligent repair module: Maps the sensitive input dimensions corresponding to infeasible solutions and corrects infeasible solutions by combining constraint gradients and target gradients; The multi-strategy adaptive mutation module primarily uses differential mutation to enhance global exploration in the early stages of iteration, balances differential and Gaussian mutation in the middle stages of iteration, and primarily uses Gaussian mutation in the later stages of iteration to achieve localized refined search. KMeans enhances the Archive intelligent maintenance module by establishing an Archive elite library to store the best solutions in the current population and to reclaim high-quality solutions eliminated from the parent generation. When the Archive elite library exceeds its capacity, it retains the optimal solutions of multiple clusters through PCA dimensionality reduction and KMeans clustering.

[0012] Preferably, in step S42, the mean squared error (MSE) is used as the model loss function, as shown below: ,in For sample size, This is the network prediction value. This is the actual label value.

[0013] Preferably, in step S44, the determination coefficient is calculated using the following formula: in, This is the sum of squares of the model prediction errors. The sum of squares of the total variation. This represents the true optical performance value of the i-th sample. It is the average of the true values. represents the predicted optical performance value of the i-th sample by the neural network surrogate model.

[0014] Based on the same concept, the present invention also provides an intelligent reverse engineering system for high-dimensional optical metastructures, comprising: The target definition and conversion factor calculation module is used to obtain the design requirements of the optical superstructure, parse the design requirements to obtain the target performance spectrum parameters, load the experimental spectrum data, and perform data non-negativity verification and wavelength range consistency verification on the experimental spectrum data to obtain verification data. The verification data calculates the comprehensive conversion factor of each wavelength point based on the photoelectric conversion relationship, realizing the quantitative correlation between spectral characteristics and detector response. The multi-dimensional constraint coordination module is used to load the constraint configuration file and construct a multi-dimensional coordination screening template that includes material constraints, processing constraints, size constraints, and additional performance constraints based on the constraint configuration file. The structure-performance dataset construction module is used to generate uniformly distributed high-dimensional structure parameter samples using Latin hypercube sampling (LHS) based on the size constraints, calculate the optical performance data of each group of samples in the high-dimensional structure parameter samples within the target spectral range of the target performance map parameters using electromagnetic simulation, and preprocess the optical performance data to obtain a standardized structure-performance dataset. The neural network proxy model training module is used to divide the standardized structure-performance dataset into a training set and a validation set, and train the neural network model based on the training set and the validation set to obtain the neural network proxy model. The Hybrid Evolutionary Optimization (HEO) inverse optimization module is used to efficiently find the optimal structural parameters in the constraint design space of the multi-dimensional collaborative screening template. This is achieved by employing the constraint-aware population initialization module, dynamic subspace search module, hierarchical dynamic constraint processing module, gradient-guided intelligent repair module, multi-strategy adaptive mutation module, and KMeans enhanced Archive intelligent maintenance module of the HEO algorithm. This ensures that the optical performance predicted by the neural network surrogate model reaches its optimal value after being weighted by the comprehensive conversion factor, thus obtaining the optimization result. The results output and verification module is used to generate optimization convergence curves, optimal response spectra, and parameter distribution evolution diagrams based on the optimization results, and output a standardized report containing target configuration, optimal parameters, feasibility verification, and diverse solution sets.

[0015] Based on the same concept, the present invention also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the intelligent reverse engineering method for high-dimensional optical superstructures as described in any one of the embodiments.

[0016] Compared with the prior art, the beneficial effects of the present invention are: This invention establishes a quantitative correlation between optical performance targets and detector electrical response characteristics through target definition and comprehensive conversion factor calculation. It uses a neural network surrogate model to achieve millisecond-level prediction from structural parameters to optical performance. Compared with traditional electromagnetic simulation methods, it improves design efficiency by several orders of magnitude while ensuring the physical accuracy of performance evaluation.

[0017] This invention constructs a multi-dimensional constraint collaborative screening template that includes materials, processing, dimensions, and mechanical properties. Combined with the dynamic constraint processing and gradient-guided repair mechanism of the hybrid evolutionary optimization algorithm, it effectively solves the "curse of dimensionality" problem in high-dimensional optimization while ensuring engineering feasibility, and significantly improves the success rate and optimization efficiency of complex structure design.

[0018] This invention enhances the Archive intelligent maintenance module with KMeans to retain diverse and high-quality candidate solutions, and uses electromagnetic simulation for final verification, forming a complete closed loop from intelligent design to physical verification. This not only ensures the reliability of the optimal solution, but also provides a wealth of alternative solutions for engineering applications, greatly improving the practicality and engineering applicability of the method. Attached Figure Description

[0019] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention.

[0020] Figure 1 This is a flowchart of the intelligent reverse design method for high-dimensional optical superstructures of the present invention; Figure 2 This is another flowchart of the intelligent reverse design method for high-dimensional optical superstructures of the present invention; Figure 3 This is a schematic diagram of the neural network proxy model of the present invention; Figure 4 A schematic diagram of the high-dimensional structural unit of the invention; Figure 5 This is the result of the comprehensive conversion factor calculation in this embodiment of the invention; Figure 6 The iterative optimization convergence curve of the hybrid optimization algorithm in this embodiment of the invention; Figure 7This is a population diversity change curve according to an embodiment of the present invention; Figure 8 This is the relative response spectrum of the optimal solution in an embodiment of the present invention. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Obviously, the described embodiments are only some, not all, of the embodiments described in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without creative effort are within the scope of protection of this application.

[0022] Those skilled in the art will understand that, unless otherwise stated, the singular forms “a” and “an” used herein, and “the”, may also include the plural forms. It should be further understood that the term “comprising” as used in this specification means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0023] First Embodiment Please see Figure 1 , Figure 2 and Figure 3 As shown, the intelligent reverse engineering method for high-dimensional optical superstructures provided in this embodiment specifically includes the following steps: S1: Obtain the design requirements of the optical superstructure, analyze the design requirements to obtain the target performance spectrum parameters, load experimental spectrum data including wavelength, absorptivity, reflectivity, transmittance, and photoelectric relative responsivity, perform data nonnegativity verification and wavelength range consistency verification on the experimental spectrum data to obtain verification data, calculate the comprehensive conversion factor of each wavelength point based on the photoelectric conversion relationship based on the verification data, and realize the quantitative correlation between spectral characteristics and detector response.

[0024] Preferably, in step S1, the experimental spectral data undergoes data non-negativity verification and wavelength range consistency verification to obtain verification data. The verification data is used to calculate the comprehensive conversion factor at each wavelength point based on the photoelectric conversion relationship, and further includes: S11: Convert the absorptivity, reflectivity and transmittance in the experimental spectral data into column vectors by matrix stacking. If any element in the column vector is less than or equal to 0, terminate the calculation and output the abnormal wavelength point. S12: The minimum and maximum values ​​of the data wavelength must be equal to the minimum and maximum values ​​of the target spectral range, respectively. If they are not equal, return the data adjustment command. S13: The verification data is based on the photoelectric conversion relationship, calculating the comprehensive conversion factor at each wavelength point. The specific formula is as follows: ,in, This represents the relative response value at the peak wavelength. The measured output signal voltage, and Given the output signal of a known standard reference detector under identical conditions and the spectral responsivity calibrated by the standard reference detector; S14: The comprehensive conversion factor is associated with and stored with its corresponding wavelength, serving as the core quantitative benchmark for the performance evaluation of the HEO algorithm in step S5.

[0025] S2: Load the constraint configuration file and construct a multi-dimensional collaborative screening template that includes material constraints, processing constraints, dimensional constraints, and additional performance constraints based on the constraint configuration file. Specifically, in this embodiment, the constraint configuration file is automatically loaded or generated to provide engineering feasibility boundaries for the design process and realize multi-constraint collaborative design.

[0026] Preferably, in step S2, constructing a multi-dimensional collaborative screening template that includes material constraints, processing constraints, dimensional constraints, and additional performance constraints based on the constraint configuration file further includes: S21: Load the data files of the refractive index and extinction coefficient of the material at different wavelengths, and calculate the accurate refractive index and accurate extinction coefficient values ​​corresponding to the wavelength discrete points in the target spectral range by interpolation to ensure that the wavelength points and refractive index correspond one-to-one with the extinction coefficient. S22: Set the minimum feature size and maximum aspect ratio based on the processing capability to determine the structural parameters and proportional relationships for processing feasibility; S23: Define the range of values ​​for the base thickness and high-dimensional structural parameters to ensure that adjacent parameters do not have physical conflicts and do not exceed the defined solution space domain; S24: The mechanical performance indicators that determine the structural stability, such as resistance to bending and compression, are used as additional constraints to limit the direction of structural design.

[0027] S3: Based on the size constraints, Latin hypercube sampling (LHS) is used to generate uniformly distributed high-dimensional structural parameter samples. Electromagnetic simulation is used to calculate the optical performance data of each sample in the high-dimensional structural parameter samples within the target spectral range of the target performance map parameters. The optical performance data is preprocessed to obtain a standardized structure-performance dataset.

[0028] Preferably, in step S3, obtaining the standardized structure-performance dataset further includes: S31: Constraint-aware Latin hypercube sampling (LHS) is used to generate uniformly distributed high-dimensional structural parameter samples that cover the parameter space. S32: Call electromagnetic simulation to calculate the optical absorption performance of each set of structural parameters in the high-dimensional structural parameter sample, and construct optical performance data; S33: Preprocess the optical performance data, including removing null values ​​and outliers, to obtain preprocessed data. Then, normalize the preprocessed data to obtain a standardized structure-performance dataset. The calculation formula for normalization is shown below: ,in, For parameter values, This is the lower limit of the parameter's value range. This represents the upper limit of the parameter's value range. These are the normalized parameter values.

[0029] S4: The standardized structure-performance dataset is divided into a training set and a validation set in an 8:2 ratio. A neural network model with L2 regularization, LeakyReLU activation function and batch normalization is trained based on the training set and the validation set to obtain a neural network surrogate model. Specifically, in this embodiment, the neural network includes an input layer, an intermediate hidden layer and an output layer. The Adam optimizer is used to train the model with mean squared error (MSE) as the loss function. The optimal model is saved by combining an early stopping mechanism and a model checkpoint to achieve millisecond-level prediction of structural parameters to optical performance.

[0030] Please see Figure 3 As shown, in step S4, the neural network proxy model is obtained by training the neural network model based on the training set and validation set, further including: S41: Based on the dimensions of the standardized structure-performance dataset (task input variable dimension), an input layer with a specific number of nodes is set to receive the raw input data and provide initial data support for subsequent network computation. Several hidden layers are set, each containing a fixed number of nodes, to build complex feature extraction and mapping capabilities. To avoid model overfitting, an L2 regularization mechanism is introduced in each hidden layer. Before the input of each layer is passed to the activation function, it is standardized. The LeakyReLU activation function is used to activate the neurons in each hidden layer. Through the nonlinear characteristics of this activation function, the complex nonlinear relationship between the input data and the output result is fitted, improving the network's ability to capture data patterns. Combining the properties of the task output variable (the output must be positive), an output layer with a single node is set, and the number of nodes corresponds to the number of wavelength points in the target spectral range. An appropriate activation function is selected to ensure that the network output result is positive, ensuring that the network output result meets the requirements of the actual business scenario for the positive or negative value of the numerical value, so as to build a neural network model. S42: The Adam optimizer is used to optimize the training process of the neural network model. The default parameters of the optimizer are used, and only the learning rate is specifically set to balance the training speed and convergence stability of the model. The mean squared error (MSE) is used as the model loss function. This function calculates the squared mean of the difference between the network prediction result and the true label to configure the neural network model. S43: Use the training set to train the configured neural network model to obtain the trained neural network model. Use the validation set to monitor the performance changes of the trained neural network model in real time during the training process to obtain the optimal trained model. Specifically, in this embodiment, the overall dataset is divided into three parts: training set, validation set, and test set. With model accuracy (measured by the fit between the learning curve and the prediction result) and training efficiency as objectives, while keeping other parameters unchanged, single-variable experiments are conducted on key hyperparameters to determine the optimal hyperparameter combination. Based on the optimal hyperparameter combination (number of hidden layers, training cycle, batch size) determined above, the model is trained using the training set, while the performance changes of the model during the training process are monitored in real time using the validation set until the preset training cycle is completed, and the trained model is obtained. S44: After training, use the optimal trained model to calculate the mean absolute error and coefficient of determination (R²) of the validation set. 2 If the conditions are not met, the number of hidden layer neurons is increased or the dataset size is expanded to obtain a neural network proxy model.

[0031] Preferably, in step S42, the mean squared error (MSE) is used as the model loss function, as shown below: ,in For sample size, This is the network prediction value. This is the actual label value.

[0032] Preferably, in step S44, the coefficient of determination is calculated using the following formula: in, This is the sum of squares of the model prediction errors. The sum of squares of the total variation. This represents the true optical performance value of the i-th sample. It is the average of the true values. represents the predicted optical performance value of the i-th sample by the neural network surrogate model.

[0033] S5: In the constraint design space of the multi-dimensional collaborative template selection, the Hybrid Evolutionary Optimization (HEO) algorithm efficiently finds the optimal structural parameters by employing its constraint-aware population initialization module, dynamic subspace search module, hierarchical dynamic constraint processing module, gradient-guided intelligent repair module, multi-strategy adaptive mutation module, and KMeans-enhanced Archive intelligent maintenance module. This ensures that the optical performance predicted by the neural network surrogate model reaches its optimal value after being weighted by the comprehensive transformation factor, thus obtaining the optimized result. Specifically, in this embodiment, the Hybrid Evolutionary Optimization (HEO) algorithm performs inverse optimization: based on the comprehensive transformation factor in step S1 and the neural network surrogate model in step S4, the HEO algorithm is used with "high-dimensional adaptation - constraint compatibility - balance between solution quality and diversity" as its core objective. Through multi-module collaboration, it achieves efficient solution of the performance optimization engineering problem of high-dimensional complex structures, including six major modules: population initialization, dynamic subspace search, hierarchical dynamic constraint processing, gradient-guided intelligent repair, multi-strategy adaptive mutation, and KMeans-enhanced Archive intelligent maintenance.

[0034] Preferably, in step S5, the constraint-aware population initialization module, the dynamic subspace search module, the hierarchical dynamic constraint processing module, the gradient-guided intelligent repair module, the multi-strategy adaptive mutation module, and the KMeans-enhanced Archive intelligent maintenance module include: The constraint-aware population initialization module uses Latin hypercube sampling (LHS) to generate initial samples within the constraints of a multi-dimensional collaborative screening template. After lightweight constraint screening and diversity enhancement, the initial population is obtained, avoiding invalid searches and ensuring population diversity, thus preventing premature population convergence. The dynamic subspace search module searches in high-dimensional space in the early stage of iteration for high-dimensional problems, filters based on sensitive dimensions and dynamically supplements based on PCA in the middle stage of iteration, and focuses on local fine-grained search in low-dimensional space in the later stage of iteration, solving the "exploration-development" balance problem and maintaining the continuity of subspace dimensions to avoid optimization oscillation. The hierarchical dynamic constraint processing module uses dynamic constraint thresholds to determine the feasibility of solutions. In the early stage of iteration, the feasible region is expanded to allow more potential solutions to participate in the search and avoid getting trapped in the local feasible region. In the middle stage of iteration, the threshold is gradually tightened to screen high-quality solutions. In the later stage of iteration, the constraint threshold is fixed to ensure the strict feasibility of the solution. The gradient-guided intelligent repair module maps the sensitive input dimensions corresponding to infeasible solutions and combines constraint gradients with target gradients to correct infeasible solutions, ensuring that the repaired solutions not only guarantee performance quality but also strictly meet page count requirements, thus improving repair efficiency. The multi-strategy adaptive mutation module primarily uses differential mutation to enhance global exploration in the early stages of iteration, balances differential and Gaussian mutation in the middle stages of iteration, and primarily uses Gaussian mutation in the later stages of iteration to achieve local fine-grained search, supplemented by boundary mutation to reduce out-of-bounds errors. KMeans enhances the Archive intelligent maintenance module by establishing an Archive elite library to store the best solutions in the current population and to reclaim high-quality solutions eliminated from the parent generation. When the Archive elite library exceeds its capacity, it retains the optimal solutions in the multi-cluster solution set through PCA dimensionality reduction and KMeans clustering, thus balancing the diversity of solutions with the size of the Archive.

[0035] S6: Generate optimization convergence curve, optimal response spectrum, and parameter distribution evolution diagram based on the optimization results. Output a standardized report containing target configuration, optimal parameters, feasibility verification, and diverse solution sets. Verify the optimal solution and high-quality candidate optical structures through electromagnetic simulation. The electromagnetic simulation verification includes reverse verification of the optimal solution and high-quality candidate optical structures to ensure the physical accuracy and engineering feasibility of the design results.

[0036] For applications of very long wave infrared photodetectors, the structure is reverse-engineered with the optimization band range of 3-45 micrometers as the target and the FWHM as the goal.

[0037] Based on experimentally measured detector structure and spectral data of absorptivity, reflectivity, transmittance, and photoelectric relative responsivity, the non-negativity of the data was verified to check its accuracy. All spectra were interpolated to achieve consistency within the target wavelength range. The conversion factor at each wavelength was calculated based on the photoelectric conversion relationship, realizing a quantitative correlation between spectral characteristics and detector response. The calculated comprehensive conversion factor is as follows: Figure 5 As shown.

[0038] The basic structure is a high-dimensional complex structure with 24 dimensions, and the structural unit diagram is as follows. Figure 4 As shown, this structure is complex with numerous dimensional parameters. To ensure fabrication feasibility, multiple fabrication constraints need to be added, such as a minimum linewidth ≥ 500nm and an aspect ratio ≥ 5. Therefore, the multi-dimensional constraints in this embodiment mainly focus on fabrication constraints.

[0039] Using electromagnetic simulation, based on the aforementioned structures and their variants, the corresponding reflection, absorption, and transmission spectra were calculated, constructing a structure-performance dataset with 400,000 data sets. The dataset was cleaned and normalized, then imported into a neural network surrogate model. The regularization coefficient of the neural network surrogate model was set to 1e-6, and the training optimization function used was Adam with its default parameters, with a learning rate set to 0.001.

[0040] The hybrid evolutionary optimization algorithm proposed in this invention initializes the population through Latin hypercube sampling, combines dynamic subspace selection, multi-strategy mutation (difference, Gaussian, boundary mutation), intelligent repair mechanisms, and Archive maintenance, and searches for the optimal solution with the support of a neural network model evaluation. The optimization process is simultaneously recorded and visualized. The population size is set to 100, the number of iterations to 200, and the subspace dimension is dynamically adjusted, linearly decreasing from aa to aa. KMeans are also used to ensure population diversity and optimization efficiency. The iterative optimization convergence curve is shown below. Figure 6 As shown in the figure. The population diversity change curve is as follows. Figure 7 As shown. The relative response spectrum of the optimal solution is as follows. Figure 8 As shown.

[0041] Second Embodiment Based on the same concept, the present invention also provides an intelligent reverse engineering system for high-dimensional optical metastructures, comprising: The target definition and conversion factor calculation module is used to obtain the design requirements of the optical superstructure, parse the design requirements to obtain the target performance spectrum parameters, load the experimental spectrum data, and perform data non-negativity verification and wavelength range consistency verification on the experimental spectrum data to obtain verification data. The verification data calculates the comprehensive conversion factor of each wavelength point based on the photoelectric conversion relationship, realizing the quantitative correlation between spectral characteristics and detector response. The multi-dimensional constraint coordination module is used to load the constraint configuration file and construct a multi-dimensional coordination screening template that includes material constraints, processing constraints, size constraints, and additional performance constraints based on the constraint configuration file. The structure-performance dataset construction module is used to generate uniformly distributed high-dimensional structure parameter samples using Latin hypercube sampling (LHS) based on the size constraints, calculate the optical performance data of each group of samples in the high-dimensional structure parameter samples within the target spectral range of the target performance map parameters using electromagnetic simulation, and preprocess the optical performance data to obtain a standardized structure-performance dataset. The neural network proxy model training module is used to divide the standardized structure-performance dataset into a training set and a validation set, and train the neural network model based on the training set and the validation set to obtain the neural network proxy model. The Hybrid Evolutionary Optimization (HEO) inverse optimization module is used to efficiently find the optimal structural parameters in the constraint design space of the multi-dimensional collaborative screening template. This is achieved by employing the constraint-aware population initialization module, dynamic subspace search module, hierarchical dynamic constraint processing module, gradient-guided intelligent repair module, multi-strategy adaptive mutation module, and KMeans enhanced Archive intelligent maintenance module of the HEO algorithm. This ensures that the optical performance predicted by the neural network surrogate model reaches its optimal value after being weighted by the comprehensive conversion factor, thus obtaining the optimization result. The results output and verification module is used to generate optimization convergence curves, optimal response spectra, and parameter distribution evolution diagrams based on the optimization results, and output a standardized report containing target configuration, optimal parameters, feasibility verification, and diverse solution sets.

[0042] Third Embodiment In some embodiments of this application, a computer device is also provided, including a memory and a processor, wherein the memory stores computer-readable instructions, which, when executed by the processor, cause the processor to perform the steps of the intelligent reverse engineering method for high-dimensional optical superstructures in the first embodiment of the present invention.

[0043] The present invention also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the intelligent reverse engineering method for high-dimensional optical superstructures in the first embodiment of the present invention.

[0044] It is understood that, for the aforementioned intelligent reverse engineering methods for high-dimensional optical superstructures, if all are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer server or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.

[0045] Computer-readable storage media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable storage medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0046] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A smart reverse engineering method for high-dimensional optical superstructures, characterized in that, Includes the following steps: S1: Obtain the design requirements of the optical superstructure, analyze the design requirements to obtain the target performance spectrum parameters, load the experimental spectrum data, perform data non-negativity verification and wavelength range consistency verification on the experimental spectrum data to obtain verification data. The verification data is used to calculate the comprehensive conversion factor of each wavelength point based on the photoelectric conversion relationship to realize the quantitative correlation between spectral characteristics and detector response. S2: Load the constraint configuration file and construct a multi-dimensional collaborative screening template that includes material constraints, processing constraints, size constraints, and additional performance constraints based on the constraint configuration file; S3: Based on the size constraints, Latin hypercube sampling (LHS) is used to generate uniformly distributed high-dimensional structural parameter samples. Electromagnetic simulation is used to calculate the optical performance data of each group of samples in the high-dimensional structural parameter samples within the target spectral range of the target performance spectrum parameters. The optical performance data is preprocessed to obtain a standardized structure-performance dataset. S4: Divide the standardized structure-performance dataset into a training set and a validation set, and train a neural network model based on the training set and the validation set to obtain a neural network proxy model; S5: In the constraint design space of the multi-dimensional collaborative screening template, the constraint-aware population initialization module, dynamic subspace search module, hierarchical dynamic constraint processing module, gradient-guided intelligent repair module, multi-strategy adaptive mutation module, and KMeans enhanced Archive intelligent maintenance module of the Hybrid Evolutionary Optimization Algorithm (HEO) are used to efficiently find the optimal structural parameters, so that the optical performance predicted by the neural network surrogate model reaches the best after being weighted by the comprehensive conversion factor, and the optimization result is obtained. S6: Based on the optimization results, generate the optimization convergence curve, the optimal response spectrum, and the parameter distribution evolution diagram, and output a standardized report containing the target configuration, optimal parameters, feasibility verification, and diverse solution sets.

2. The intelligent reverse engineering method for high-dimensional optical superstructures according to claim 1, characterized in that, In step S1, the experimental spectral data undergoes data non-negativity verification and wavelength range consistency verification to obtain verification data. This verification data is based on the photoelectric conversion relationship and calculates the comprehensive conversion factor for each wavelength point, further including: S11: Convert the absorptivity, reflectivity and transmittance in the experimental spectrum data into column vectors by matrix stacking. If any element in the column vector is less than or equal to 0, terminate the calculation and output the abnormal wavelength point. S12: The minimum and maximum values ​​of the data wavelength must be equal to the minimum and maximum values ​​of the target spectral range, respectively. If they are not equal, return the data adjustment command. S13: The verification data is based on the photoelectric conversion relationship to calculate the comprehensive conversion factor at each wavelength point. The specific formula is as follows: , in, This represents the relative response value at the peak wavelength. The measured output signal voltage, and Given the output signal of a known standard reference detector under identical conditions and the spectral responsivity calibrated by the standard reference detector; S14: Store the integrated conversion factor in association with its corresponding wavelength.

3. The intelligent reverse engineering method for high-dimensional optical superstructures according to claim 1, characterized in that, In step S2, a multi-dimensional collaborative screening template, including material constraints, processing constraints, dimensional constraints, and additional performance constraints, is constructed based on the constraint configuration file, further including: S21: Load the data files of the refractive index and extinction coefficient of the material at different wavelengths, and calculate the accurate refractive index and accurate extinction coefficient values ​​corresponding to the wavelength discrete points in the target spectral range by interpolation; S22: Set the minimum feature size and maximum aspect ratio based on the processing capability to determine the structural parameters and proportional relationships for processing feasibility; S23: Define the range of values ​​for the base thickness and high-dimensional structural parameters to ensure that adjacent parameters do not have physical conflicts and do not exceed the defined solution space domain; S24: The mechanical performance indicators that determine the structural stability, such as resistance to bending and compression, are used as additional constraints to limit the direction of structural design.

4. The intelligent reverse engineering method for high-dimensional optical superstructures according to claim 1, characterized in that, In step S3, obtaining the standardized structure-performance dataset further includes: S31: The constrained Latin hypercube sampling (LHS) is used to generate uniformly distributed high-dimensional structural parameter samples that cover the parameter space. S32: Call the electromagnetic simulation to calculate the optical absorption performance corresponding to each group of structural parameters in the high-dimensional structural parameter sample, and construct optical performance data; S33: The optical performance data is preprocessed, including removing null values ​​and outliers, to obtain preprocessed data. The preprocessed data is then normalized to obtain a standardized structure-performance dataset. The calculation formula for normalization is as follows: ,in, For parameter values, This is the lower limit of the parameter's value range. This represents the upper limit of the parameter's value range. These are the normalized parameter values.

5. The intelligent reverse engineering method for high-dimensional optical superstructures according to claim 1, characterized in that, In step S4, the neural network proxy model is obtained by training the neural network model based on the training set and the validation set, further including: S41: Based on the dimensions of the standardized structure-performance dataset, set an input layer with a specific number of nodes, set several hidden layers, each of which contains a fixed number of nodes, introduce an L2 regularization mechanism in each hidden layer, use the LeakyReLU activation function to activate the neurons in each hidden layer, set an output layer with a single node, and set the number of nodes to correspond to the number of wavelength points in the target spectral range, and select an appropriate activation function to ensure that the network output is positive, so as to construct a neural network model; S42: The Adam optimizer is used to optimize the training process of the neural network model, with the mean squared error (MSE) as the model loss function, in order to configure the neural network model. S43: Use the training set to train the configured neural network model to obtain the trained neural network model, and use the validation set to monitor the performance changes of the trained neural network model in real time during the training process to obtain the optimal training model; S44: After training, the mean absolute error and coefficient of determination of the validation set are calculated using the optimal training model. If they are not satisfied, the number of hidden layer neurons is increased or the dataset size is expanded to obtain the neural network proxy model.

6. The intelligent reverse engineering method for high-dimensional optical superstructures according to claim 1, characterized in that, In step S5, the constraint-aware population initialization module, dynamic subspace search module, hierarchical dynamic constraint processing module, gradient-guided intelligent repair module, multi-policy adaptive mutation module, and KMeans enhanced Archive intelligent maintenance module include: The constraint-aware population initialization module uses Latin hypercube sampling (LHS) to generate initial samples within the constraints of the multi-dimensional collaborative screening template. After lightweight constraint screening and diversity enhancement, the initial population is obtained, avoiding invalid searches and ensuring population diversity. The dynamic subspace search module searches in high-dimensional space in the early stage of iteration for high-dimensional problems, filters based on sensitive dimensions and dynamically supplements based on PCA in the middle stage of iteration, and focuses on local fine-grained search in low-dimensional space in the later stage of iteration. The hierarchical dynamic constraint processing module uses dynamic constraint thresholds to determine the feasibility of solutions. It expands the feasible region in the early stage of iteration, gradually tightens the threshold in the middle stage of iteration, and fixes the constraint threshold in the later stage of iteration. Gradient-guided intelligent repair module: Maps the sensitive input dimensions corresponding to infeasible solutions and corrects infeasible solutions by combining constraint gradients and target gradients; The multi-strategy adaptive mutation module primarily uses differential mutation to enhance global exploration in the early stages of iteration, balances differential and Gaussian mutation in the middle stages of iteration, and primarily uses Gaussian mutation in the later stages of iteration to achieve localized refined search. KMeans enhances the Archive intelligent maintenance module by establishing an Archive elite library to store the best solutions in the current population and to reclaim high-quality solutions eliminated from the parent generation. When the Archive elite library exceeds its capacity, it retains the optimal solutions of multiple clusters through PCA dimensionality reduction and KMeans clustering.

7. The intelligent reverse engineering method for high-dimensional optical superstructures according to claim 5, characterized in that, In step S42, the mean squared error (MSE) is used as the model loss function, as shown below: ,in For sample size, This is the network prediction value. This is the actual label value.

8. The intelligent reverse engineering method for high-dimensional optical superstructures according to claim 5, characterized in that, In step S44, the determination coefficient is calculated using the following formula: in, This is the sum of squares of the model prediction errors. The sum of squares of the total variation. This represents the true optical performance value of the i-th sample. It is the average of the true values. represents the predicted optical performance value of the i-th sample by the neural network surrogate model.

9. An intelligent reverse engineering system for high-dimensional optical superstructures, characterized in that, include: The target definition and conversion factor calculation module is used to obtain the design requirements of the optical superstructure, parse the design requirements to obtain the target performance spectrum parameters, load the experimental spectrum data, and perform data non-negativity verification and wavelength range consistency verification on the experimental spectrum data to obtain verification data. The verification data calculates the comprehensive conversion factor of each wavelength point based on the photoelectric conversion relationship, realizing the quantitative correlation between spectral characteristics and detector response. The multi-dimensional constraint coordination module is used to load the constraint configuration file and construct a multi-dimensional coordination screening template that includes material constraints, processing constraints, size constraints, and additional performance constraints based on the constraint configuration file. The structure-performance dataset construction module is used to generate uniformly distributed high-dimensional structure parameter samples using Latin hypercube sampling (LHS) based on the size constraints, calculate the optical performance data of each group of samples in the high-dimensional structure parameter samples within the target spectral range of the target performance map parameters using electromagnetic simulation, and preprocess the optical performance data to obtain a standardized structure-performance dataset. The neural network proxy model training module is used to divide the standardized structure-performance dataset into a training set and a validation set, and train the neural network model based on the training set and the validation set to obtain the neural network proxy model. The Hybrid Evolutionary Optimization (HEO) inverse optimization module is used to efficiently find the optimal structural parameters in the constraint design space of the multi-dimensional collaborative screening template. This is achieved by employing the constraint-aware population initialization module, dynamic subspace search module, hierarchical dynamic constraint processing module, gradient-guided intelligent repair module, multi-strategy adaptive mutation module, and KMeans enhanced Archive intelligent maintenance module of the HEO algorithm. This ensures that the optical performance predicted by the neural network surrogate model reaches its optimal value after being weighted by the comprehensive conversion factor, thus obtaining the optimization result. The results output and verification module is used to generate optimization convergence curves, optimal response spectra, and parameter distribution evolution diagrams based on the optimization results, and output a standardized report containing target configuration, optimal parameters, feasibility verification, and diverse solution sets.

10. A storage medium storing computer-readable instructions, characterized in that, When the computer-readable instructions are executed by one or more processors, the one or more processors cause the processors to perform the steps of the intelligent reverse engineering method for high-dimensional optical superstructures as described in any one of claims 1 to 8.