A method for predicting directional scattering of nanostructures under low labeling cost

By using autoencoders and cross-supervised learning, and by rationally selecting labeled samples and adaptively adjusting weights, the problem of high labeling costs in the prediction of directional scattering of nanostructures is solved, and high-precision prediction with high efficiency and low cost is achieved.

CN116738818BActive Publication Date: 2026-11-20TIANJIN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310477169.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2026-11-20
Estimated Expiration
2043-04-28

AI Technical Summary

Technical Problem

Existing technologies require a large number of labeled samples for directional scattering prediction of nanostructures, resulting in high labeling costs and long computation times, making it difficult to achieve efficient, low-cost, and high-precision prediction.

Method used

By rationally selecting labeled samples, using autoencoders for self-supervised training, combining clustering algorithms and cross-semi-supervised learning, the amount of labeled data is reduced, and the weights are adaptively adjusted using mean squared error and focus loss functions to fully utilize the information from unlabeled samples and construct a cross-semi-supervised model for prediction.

Benefits of technology

High-precision prediction of directional scattering of nanostructures was achieved with low annotation cost, reducing the workload of data annotation, improving prediction efficiency, and achieving results close to those of large-scale labeled datasets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116738818B_ABST
    Figure CN116738818B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of low cost under the prediction method of nanostructure directional scattering, the method includes the following steps: generating different shapes of nanostructure, after imaging, using feature compression and clustering to obtain sample with representativeness and diversity simultaneously, the scattering characteristics are calculated by numerical simulation;Using labeled sample respectively adopts mean square deviation loss and focal loss to obtain the prediction model with different weight distribution, cross semi-supervised learning strategy is used to two models to further improve the prediction accuracy.The present application effectively selects labeled sample and uses unlabeled data, the available information is maximized by the selection of labeled sample, the accuracy of directional scattering prediction is improved by the information mining of unlabeled data, and high-precision prediction of nanostructure directional scattering under low labeling cost is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the intersection of deep learning and nano-optics, and more specifically to a method for predicting directional scattering of nanostructures with low annotation costs using deep learning. Background Technology

[0002] Under the influence of an incident light field, optical nanostructures with subwavelength-scale size constraints can excite different electric and magnetic multipole moments. After satisfying certain general Kerker conditions, the coherent interference of these multipole moments can cause the emitted electromagnetic wave to propagate in a specific direction, thus generating far-field directional scattering. Based on this directional scattering characteristic of nanostructures, novel photonic devices that cannot be achieved or matched by traditional principles and techniques can be designed, showing significant application prospects and research value in fields such as integrated optics, solar cells, sensing, optical communication, and metasurfaces.

[0003] Nanostructures with different shapes exhibit different directional scattering characteristics. To select suitable nanostructures for designing photonic devices that meet practical needs, it is typically necessary to analyze the scattering characteristics of a large number of nanostructures with varying shapes. Traditionally, research and analysis methods are mainly divided into two categories: analytical model-based and numerical calculation-based. The first category, analytical model-based methods, establishes a mathematical analytical relationship between structural shape parameters and scattering characteristics, allowing for direct calculation of scattering characteristics in a single operation. This method has the advantage of short running time but is only applicable to a very limited number of simple shapes. The second category, numerical calculation-based methods, utilize various numerical simulation algorithms, such as the finite-difference time-domain method, the finite element method, and the finite integral method, to iteratively calculate electromagnetic problems. This method is applicable to arbitrary geometric shapes and spatial arrangements. However, because multiple iterations are required to obtain a simulation result, the computational time cost of this type of method often increases with the complexity of the problem, ranging from minutes to hours, or even days.

[0004] In recent years, many deep learning algorithms and network models have been gradually applied in the field of nanophotonics research. Existing research shows that well-trained deep learning network models can quickly predict various optical properties of a given nanostructure in a single operation, without requiring multiple iterative calculations, taking only a few seconds or even milliseconds. To achieve good training results and ensure prediction accuracy, a large number of data samples are usually required. Labeling the training samples, i.e., obtaining the corresponding optical responses, requires numerical simulation calculations to generate training samples with output labels in advance. The computational load of tens of thousands of data sets is usually still enormous, and sometimes even difficult to achieve. If the number of samples is reduced and nanostructures of different shapes are randomly selected for labeling, it will lead to a significant reduction in the model's prediction performance. To address this, this invention proposes a method for high-precision prediction of directional scattering of nanostructures with a small number of samples and low labeling costs, based on the idea of ​​rationally selecting labeled samples and adopting a cross-supervised semi-supervised learning strategy. Summary of the Invention

[0005] To address the urgent need to reduce sample annotation costs while maintaining high-precision prediction performance, this invention first significantly reduces the workload of annotation data by rationally selecting labeled samples. Then, it further fully utilizes unlabeled samples for cross-supervised semi-supervised learning, enabling prediction performance comparable to that using large-scale labeled datasets even with low-label data. To achieve the above objectives, this invention employs the following technical solution:

[0006] A method for predicting directional scattering of nanostructures with low annotation cost includes the following steps:

[0007] 1) Generate a large number of nanostructures of different shapes, image-represent the shape of the structures, use them for self-supervised training of the autoencoder, learn the latent features of the original image, and recover the original structure based on the latent features.

[0008] 2) The encoding part of the trained autoencoder is used to remove redundant information from the image, obtain low-dimensional features of the image, and use them as corresponding image features for the next step of analysis and processing.

[0009] 3) Clustering algorithms are used to cluster image features so that samples come from different clusters, ensuring that the selected samples cover the nanostructure categories of the original dataset and ensuring sample diversity;

[0010] 4) The representativeness of the sample is represented by the reciprocal of the distance from a single image feature to an image feature within a certain range. The representativeness score of different samples is calculated. The higher the score, the higher the priority of the selected sample, so as to ensure that the selected samples can represent the structural information of their respective categories and ensure the representativeness of the samples.

[0011] 5) Select nanostructures that are both representative and diverse, label these selected nanostructures, and then use numerical simulation methods to calculate their corresponding scattering characteristics.

[0012] 6) The network was trained using labeled samples and the mean squared error loss function was used to train network 1. The purpose of the mean squared error loss is to ensure the overall consistency between the model prediction results and the actual scattering of the structure. However, for some nanostructures with complex scattering, the prediction effect of model 1 is poor.

[0013] 7) Based on the difficulty of the training process, the weight factors are adaptively adjusted for different training samples. The relative weight of the corresponding loss is increased for samples with poor performance. The prediction model 2 is trained and basically complements the performance of model 1.

[0014] 8) Combine the labeled samples and the remaining unlabeled samples into a training set for training models 1 and 2. The calculation of the loss function is divided into two parts: for labeled samples, the simulation results are used to supervise the training of models 1 and 2, while for unlabeled samples, the prediction results of model 1 or 2 are used as pseudo-labels for training model 2 or 1.

[0015] Representative P(v) in step 4) i The result is obtained using the following formula:

[0016]

[0017] Among them, v i With v j Low-dimensional characterization representing two different nanostructures, D(v i This indicates that the nanostructure v i The sum of distances to the k nearest instances.

[0018] The formula for calculating the mean squared error loss (MSE) in step 6) is:

[0019]

[0020] Where H and W represent the width and height of the image, s(h, w) represents the scattering result obtained from numerical simulation, while s(h, w) represents the scattering result predicted by the model.

[0021] In step 7), the relative weights α(p) of the samples in the focus loss function t The formula for calculating ) is:

[0022] α(p t )=-(1-p t )log(p t )

[0023] Where, p tThe training accuracy representing the t-th nanostructure can be calculated using the following formula:

[0024]

[0025] Where a is the set threshold for training accuracy, x t This represents the binary image of the t-th nanostructure, gts t The image shows the scattering result of the numerical simulation of the t-th nanostructure.

[0026] As described in step 8):

[0027] Loss L of labeled samples s for:

[0028]

[0029] Where, x 1i and x 2i These are the prediction results of models 1 and 2 for the i-th image, respectively, while GTS... i This is the simulation result for the i-th image, N. l The number of labeled samples.

[0030] Unlabeled sample loss L for Model 1 and Model 2 us1 and L us2 The calculation formula is:

[0031]

[0032] Where, N ul This represents the number of unlabeled samples.

[0033] The present invention has the following advantages: 1) By selecting labeled nanostructures from the perspective of representativeness and diversity, the number of training samples is reduced, which greatly reduces the workload of numerical simulation required for data labeling; 2) By adopting a cross-supervised learning strategy, the information of unlabeled nanostructures is fully utilized, the training set is increased, and thus high-precision prediction of directional scattering of nanostructures is achieved with low labeling cost. Attached Figure Description

[0034] Figure 1 Binarized image representation of nanostructures in embodiments of the present invention.

[0035] Figure 2 The diagram shows the structure and training of the autoencoder in this embodiment of the invention.

[0036] Figure 3 This is a schematic diagram of the optical path for obtaining sample simulation results in an embodiment of the present invention.

[0037] Figure 4The prediction model U in this embodiment of the invention 2 -Net Structure Diagram

[0038] Figure 5 This is an illustrative diagram of the cross-semi-supervised method in an embodiment of the present invention.

[0039] Figure 6 This is an illustrative diagram of the pseudo-labels in the cross-supervision method of this invention.

[0040] Figure 7 This invention provides a comparison of the predictive performance of models under different training conditions in its embodiments. Detailed Implementation

[0041] The invention will now be described in further detail with reference to the accompanying drawings and specific embodiments. The embodiments are a clear and complete description of the technical solutions of the present invention, and are only some, not all, embodiments of the present invention. The specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.

[0042] 1) such as Figure 1 As shown, the thickness of the nanostructure is fixed at 200 nm, and its two-dimensional shape is represented by a binarized image with a size of 40×40, where each pixel corresponds to 10 nm. 30,000 images of different shapes were obtained using image generation and deformation techniques for self-supervised training of the autoencoder; Figure 2 As shown, a 40×40 nanostructure image is input into the encoding part of the autoencoder and transformed into a 1600-dimensional feature vector. The multilayer perceptron is used to reduce the dimensionality of the feature vector until it is compressed into a 20-dimensional feature vector v in the latent space. The decoding part then uses the multilayer perceptron to restore v. The original image is reconstructed by training the corresponding original image supervision network.

[0043] 2) After good training, the encoding part of the autoencoder can be used to reduce the dimensionality of 30,000 unlabeled nanostructure images to obtain low-dimensional features. These 20-dimensional image features will be used for the next step of analysis and processing.

[0044] 3) First, based on the clustering algorithm, the 20-dimensional low-dimensional representation space of all unlabeled nanostructure images is divided into 3000 clusters, and each nanostructure representation is assigned to the nearest cluster. That is, the centroid position of each cluster and the nanostructure partitioning method are sought to minimize the sum of squares of the clusters.

[0045]

[0046] Among them, c i Let S represent the centroid of the i-th cluster. i Let m represent the nanostructure characterization contained in the i-th cluster.i denoted by , where represents the number of nanostructure representations contained in the i-th cluster, and m represents the number of clusters.

[0047] 4) Utilizing the density P(v) of nanostructures i To estimate the v of nanostructures i Representativeness:

[0048]

[0049] Among them, v i With v j Low-dimensional characterization representing two different nanostructures, D(v i This indicates that the nanostructure v i The sum of distances to the 10 nearest instances.

[0050] For the 3000 clusters, the density of all nanostructures in each cluster is calculated. The nanostructure with the highest density in each cluster is selected as the representative sample of the cluster to ensure the representativeness of the sample.

[0051] 5) A representative sample was selected from each of the 3000 clusters, ensuring diversity. The structural material was set to silicon, and the incident plane wave wavelength was 780 nm. For the selected 3000 nanostructures, the far-field scattering distribution of each nanostructure was obtained through numerical simulation using the finite-difference time-domain algorithm. The data was labeled, and 60 data points were sampled within the ranges of polar angle and azimuth angle. The scattering distribution was then converted into a 60×60 two-dimensional grayscale image distribution (e.g., ...). Figure 3 (as shown);

[0052] 6) Construct two prediction network models 1 and 2 with the same structure, such as Figure 4 As shown, the overall network architecture is based on U 2 The U-Net model consists of a two-level nested U-Net module and a fusion module. The nested U-Net module includes three pairs of encoders (En_1, En_2, and En_3) and two pairs of decoders (De_1 and De_2), each of which is an independent U-Net. The structure of En_2 is the same as En_3 and De_1, but dilated convolutions replace the pooling and upsampling operations in the original U-Net within the encoder and decoder. Binary images of the nanostructures are input into the nested U-Net model. Three scattering images are generated from the En_3, De_1, and De_2 stages through convolutional layers. These output images are upsampled to a uniform 60×60 size and then fused by the fusion module to obtain the final scattering prediction result. Model 1 is trained using mean squared error loss (MSE), where each input nanostructure has the same weight.

[0053]

[0054] in, s(h, w) represents the scattering result obtained from numerical simulation, while s(h, w) represents the scattering result predicted by the model.

[0055] 7) Train Model 2 using the focus loss function. The focus loss function assigns different weight coefficients α(p) to different samples based on their difficulty level. t The calculation method is as follows:

[0056] α(p t )=-(1-p t )log(p t (4)

[0057] Where, p t The training accuracy of the t-th nanostructure is:

[0058]

[0059] Where, x t This represents the binary image of the t-th nanostructure, gts t The image shows the scattering result of the numerical simulation of the t-th nanostructure.

[0060] During training, the variance of the image scattering prediction and numerical simulation results for some complex nanostructures was relatively large, resulting in low training accuracy p. t With a lower mean squared error (MSE) and a larger weight α, the loss has a relatively large weight and contributes significantly to the overall loss. The model adaptively adjusts the weight α to focus on complex nanostructure images during each training round. When the mean squared error loss of the scattering prediction result corresponding to the nanostructure image reaches 0.00003, the training accuracy becomes 1, indicating that no extra attention is needed for such samples. Model 1, trained based on the MSE loss function, shows good prediction performance for simple nanostructure images, while Model 2, trained based on the focus loss function, shows better prediction performance for relatively complex nanostructure images.

[0061] 8) For example Figure 5 As shown, a cross-semi-supervised training strategy is further utilized to improve the prediction performance of models 1 and 2. First, for the labeled nanostructure images in the training samples, the simulation results are used to supervise the training of both models, with the corresponding loss function L... s for:

[0062]

[0063] Where, x 1i and x 2i These are the prediction results of models 1 and 2 for the i-th image, respectively, while GTS... i This is the simulation result for the i-th image.

[0064] Then, for the original unlabeled nanostructure images, the prediction results of Model 2 are used as pseudo-labels for training Model 1, with the loss function L... us1 for:

[0065]

[0066] Conversely, the prediction results of Model 1 can also be used as pseudo-labels to supervise the training of Model 2, with the loss function L... us2 for:

[0067]

[0068] Finally, the overall loss function L during training is:

[0069] L = L S +6×(L us1 +L us2 (9)

[0070] During training, when Model 1 and Model 2 perform poorly in prediction, the supervised loss for the labeled portion is adjusted to dominate, ensuring the models can learn the true simulation results. Once the prediction performance of Model 1 and Model 2 on labeled samples improves, the loss for the unlabeled portion is set to dominate, ensuring that Model 1 and Model 2 achieve comparable prediction results for both simple and complex nanostructure images, thus achieving complementary performance between the two models. Figure 6 As shown, as training progresses, for unlabeled nanostructure images, the prediction results of the two models are similar, and both can give pseudo-labels that are close to the actual simulation results.

[0071] 9) Figure 7 The sample size and model prediction error for different methods are presented, and the mean squared error loss is used as the evaluation metric to assess the model's training performance (all results are presented with three significant figures for ease of comparison). Figure 7 As can be seen, when 3000 training samples are randomly selected, the prediction error is 0.00206. When the number of samples is increased to 6000, the prediction error decreases to 0.000962. Considering diversity and publication, using the selected 3000 samples, after training based on mean squared error and focus loss respectively, the prediction errors are 0.00165 and 0.00127, respectively. Compared with the same number of random samples, the prediction error is significantly reduced, but it is still not as good as the case with 6000 random samples. However, by further combining the cross-supervised learning strategy, the results show that the prediction performance of both Model 1 and Model 2 is improved, which is equivalent to the case with 6000 random samples.

[0072] Therefore, the method for predicting directional scattering of nanostructures with low annotation cost proposed in this invention can ensure good prediction performance while effectively reducing the number of labeled samples. The effect is comparable to that of using twice the number of random samples, thereby greatly reducing the workload of numerical simulation with labeled samples. It is suitable for alleviating the problem of excessively high annotation cost in nanophotonics.

[0073] The above is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any solution obtained by those skilled in the art through equivalent changes or equivalent substitutions within the technical scope disclosed in this application should be covered within the scope of protection of this application. The scope of protection defined in the claims is the scope of protection of this application.

Claims

1. A method for predicting directional scattering of nanostructures with low annotation cost, characterized in that, Includes the following steps: 1) Generate a large number of nanostructures of different shapes, image-represent the shape of the structures, use them for self-supervised training of the autoencoder, learn the latent features of the original image, and recover the original structure based on the latent features. 2) The encoding part of the trained autoencoder is used to remove redundant information from the image, obtain low-dimensional features of the image, and use them as corresponding image features for the next step of analysis and processing. 3) Clustering algorithms are used to cluster image features so that samples come from different clusters, ensuring that the selected samples cover the nanostructure categories of the original dataset and ensuring sample diversity; 4) The representativeness of the sample is represented by the reciprocal of the distance from a single image feature to an image feature within a certain range. The representativeness score of different samples is calculated. The higher the score, the higher the priority of the selected sample, so as to ensure that the selected samples can represent the structural information of their respective categories and ensure the representativeness of the samples. 5) Select a small number of representative and diverse nanostructures, label these selected nanostructures, and then use numerical simulation methods to calculate their corresponding scattering characteristics. 6) The network was trained using labeled samples and the mean squared error loss function was used to train network 1. The purpose of the mean squared error loss is to ensure the overall consistency between the model prediction results and the actual scattering of the structure. However, for some nanostructures with complex scattering, the prediction effect of model 1 is poor. 7) Based on the difficulty of the training process, the weight factors are adaptively adjusted for different training samples. The relative weight of the corresponding loss is increased for samples with poor performance. The prediction model 2 is trained and basically complements the performance of model 1. 8) Combine the labeled samples and the remaining unlabeled samples into a training set for training models 1 and 2. The calculation of the loss function is divided into two parts: for labeled samples, the simulation results are used to supervise the training of models 1 and 2, while for unlabeled samples, the prediction results of model 1 or 2 are used as pseudo-labels for training model 2 or 1.

2. The method for predicting directional scattering of nanostructures with low annotation cost according to claim 1, characterized in that, Step 4) describes the sample representativeness P(v) i The result is obtained using the following formula: Among them, v i With v j Low-dimensional characterization representing two different nanostructures, D(v i This indicates that the nanostructure v i The sum of distances to the k nearest instances.

3. The method for predicting directional scattering of nanostructures with low annotation cost according to claim 1, characterized in that, The mean squared error loss (MSE) in step 6) is calculated using the following formula: Where H and W represent the width and height of the scattering image, s(h, w) represents the scattering result obtained from numerical simulation, while s(h, w) represents the scattering result predicted by the model.

4. The method for predicting directional scattering of nanostructures with low annotation cost according to claim 1, characterized in that, The relative weights α(p) of the samples in the focus loss in step 7) i The following formula is used to calculate: a(p t )=-(1-p t )log(p t ) Where, p t The training accuracy representing the t-th nanostructure can be calculated using the following formula: Where a is the set threshold for training accuracy, x t This represents the binary image of the t-th nanostructure, gts t The image shows the scattering result of the numerical simulation of the t-th nanostructure.

5. The method for predicting directional scattering of nanostructures with low annotation cost according to claim 1, characterized in that, As described in step 8): Loss L of labeled samples s The calculation formula is: Where, x 1i and x 2i These are the prediction results of models 1 and 2 for the i-th image, respectively, while GTS... i This is the simulation result for the i-th image, N. l The number of labeled samples; Unlabeled sample loss L for Model 1 and Model 2 us1 and L us2 The calculation formula is: Where, N ul This represents the number of unlabeled samples.