Method, device and system for estimating threshold value of kernel density function of product defect
Through bootstrap sampling and bandwidth optimization methods, combined with insertion rules and least squares cross-validation, the problem of kernel density function threshold estimation for semiconductor equipment and other products under a small amount of sample data is solved, achieving fast and accurate defect detection and reducing time and cost.
Patent Information
- Application Number
- CN202410252037.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-19
- Filing Date
- 2024-03-06
- Publication Date
- 2024-09-24
AI Technical Summary
During the product development process, it is difficult for existing technologies to quickly and accurately estimate the thresholds of the kernel density functions of characteristic parameters of products such as semiconductor equipment, especially when the number of sample data is limited, resulting in an increase in the time and cost of detecting product defects.
Generate multiple sample data sets through a bootstrap sampling operation, optimize the kernel bandwidth using insertion rules and least squares cross-validation methods, estimate the threshold and tail region of the kernel density function, and quantify the uncertainty, providing quantitative values.
It achieves accurate estimation of the threshold, tail region and kernel bandwidth of the kernel density function even with a relatively small amount of sample data, reducing estimation turnaround time and resource consumption.
Smart Images

Figure CN118690718A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on and claims the benefit of priority from Korean Patent Application No. 10-2023-0039270 filed on March 24, 2023, and Korean Patent Application No. 10-2023-0065236 filed on May 19, 2023, in the Korean Intellectual Property Office, the disclosures of which are incorporated herein by reference in their entirety. Technical Field
[0003] The present disclosure relates to the field of product detection, and more specifically, to a method, an apparatus, and a system for selecting an optimal bandwidth estimation method for estimating a threshold of a kernel density function based on the amount of sample data, and to a method, an apparatus, and a system for estimating a threshold, a tail area, and a kernel bandwidth of a kernel density function even with a relatively small amount of sample data. Background Art
[0004] In the process of product development, it is very important to detect product defects. In order to detect product defects, a method of estimating a threshold value corresponding to the tail area of the probability density function (PDF) of the characteristic parameters of the product and detecting product defects using the estimated threshold value can be used. In order to reduce the time and cost of product development, it may be desirable to accurately and quickly estimate the threshold value of the characteristic parameters of the product. However, as products become miniaturized and manufacturing processes become complex, the number of situations for determining characteristic parameters increases and the turnaround time (TAT) of simulation increases accordingly, the number of sample data used to estimate the threshold value increases, and the time and cost for product development increase.
[0005] In order to estimate the tail region of the PDF, a method of optimizing parameters by using the maximum likelihood estimator (MLE) by assuming a population distribution can be used. However, this method of optimizing parameters by using MLE may be difficult to apply to the characteristic parameter distribution of semiconductor devices such as DRAM, because it is difficult to assume that the characteristic parameter distribution of semiconductor devices such as DRAM is a single parameterized distribution based on the characteristic parameter. The parameterized distribution can be applied to the distribution of thresholds or extreme values, but the problem is that the estimation accuracy can only be guaranteed when the assumptions for each distribution are valid. Summary of the invention
[0006] The inventive concept provides a method, an apparatus, and a system for selecting an optimal bandwidth estimation method for estimating a threshold of a kernel density function according to the amount of sample data.
[0007] The inventive concept also provides a method, an apparatus, and a system for estimating a threshold, a tail area, and a kernel bandwidth of a kernel density function even with a relatively small amount of sample data.
[0008] According to one aspect of the inventive concept, a method is provided, comprising: a bootstrap sampling operation, i.e., sampling a plurality of sample data sets based on a simulation data set including a plurality of simulation data of characteristic parameters of a product; a kernel bandwidth optimization operation, i.e., estimating an optimal kernel bandwidth for each sample data set by using a bandwidth estimation method selected from a plurality of bandwidth estimation methods for optimizing a kernel bandwidth of a kernel density function of defects regarding a product according to the number of sample data included in each sample data set; a threshold estimation operation, i.e., estimating a threshold value corresponding to a tail region of a kernel density function for each of the plurality of sample data sets based on the optimal kernel bandwidth estimated for each of the plurality of sample data sets; and a quantization operation, i.e., providing a quantitative value in which the uncertainty of the threshold value corresponding to the tail region of the kernel density function is quantified based on the threshold values of the plurality of sample data sets.
[0009] According to another aspect of the inventive concept, there is provided a device comprising: a sampling module configured to sample a plurality of sample data sets based on a simulation data set generated as a simulation result of a characteristic parameter of a product; an optimization module configured to estimate an optimal kernel bandwidth for each sample data set by using a bandwidth estimation method selected from a plurality of bandwidth estimation methods for optimizing a kernel bandwidth of a kernel density function regarding product defects according to the number of sample data included in each sample data set; an estimation module configured to estimate a threshold value corresponding to a tail region of a kernel density function for each of the plurality of sample data sets based on the optimal kernel bandwidth estimated for each of the plurality of sample data sets; and a quantization module configured to provide a quantitative value in which the uncertainty of the threshold value corresponding to the tail region of the kernel density function is quantified based on the threshold values of the plurality of sample data sets.
[0010] According to another aspect of the inventive concept, a system is provided, the system comprising: a simulation device configured to generate a simulation data set including a plurality of simulation data of characteristic parameters of a product by performing simulation on the characteristic parameters of the product; and an estimation device configured to estimate a threshold value corresponding to a tail region of a kernel density function regarding defects of the product based on the simulation data set, wherein the estimation device is configured to sample a plurality of sample data sets from the simulation data set, estimate an optimal kernel bandwidth for each sample data set by using a bandwidth estimation method selected from a plurality of bandwidth estimation methods for optimizing a kernel bandwidth of a kernel density function according to the number of sample data included in each sample data set, estimate a threshold value for each of the plurality of sample data sets based on the optimal kernel bandwidth estimated for each of the plurality of sample data sets, and generate a quantitative value for quantifying uncertainty of the threshold value based on the threshold value of the plurality of sample data sets.
[0011] According to another aspect of the inventive concept, a method is provided, comprising: sampling a plurality of sample data sets based on a simulation data set including a plurality of simulation data for product characteristic parameters, estimating an optimal kernel bandwidth for each sample data set using a method selected from an insertion rule method and a least squares cross validation method for optimizing a kernel bandwidth of a kernel density function regarding product defects according to the number of sample data included in each sample data set, estimating a threshold value corresponding to a tail region of the kernel density function for each of the plurality of sample data sets based on the estimated optimal kernel bandwidth for each of the plurality of sample data sets, and providing a quantitative value for quantifying the uncertainty of the threshold value based on the threshold value in the plurality of sample data sets. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Embodiments will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
[0013] Figure 1 is a diagram of a system according to some embodiments;
[0014] Figure 2 is a diagram of an estimation device according to some embodiments;
[0015] Figure 3A and Figure 3B is a diagram comparing techniques for generating sample data according to some embodiments;
[0016] Figure 4 is a graph illustrating a kernel function according to some embodiments;
[0017] Figure 5 is a graph showing an original kernel density function, a transformed kernel density function, and a true PDF according to some embodiments;
[0018] Figure 6 is a graph showing a change in kernel density function according to kernel bandwidth according to some embodiments;
[0019] Figure 7 is a diagram of an optimization module according to some embodiments;
[0020] Figure 8 is a graph illustrating kernel bandwidth and threshold estimation accuracy according to a bandwidth estimation method according to some embodiments;
[0021] Fig. 9 is a graph showing a threshold value according to the amount of sample data according to some embodiments;
[0022] Fig.10 is a graph showing average position, standard deviation, total calculation time, and average error of threshold values according to the number of sample data according to some embodiments;
[0023] Fig.11 is a flowchart for illustrating a method according to some embodiments;
[0024] Fig.12 is a flowchart for illustrating some implementations of operation S1110;
[0025] Fig.13 is a flowchart for illustrating some implementations of operation S1120;
[0026] Fig.14 is a flowchart for illustrating some implementations of operation S1320;
[0027] Fig.15 is a flowchart for illustrating some implementations of operation S1340;
[0028] Fig.16 is a flowchart for illustrating a method according to some embodiments; and
[0029] Fig.17 is a flow chart illustrating a method according to some embodiments. DETAILED DESCRIPTION
[0030] Hereinafter, embodiments will be described in detail with reference to the accompanying drawings.
[0031] Figure 1 is a diagram of a system according to some implementations.
[0032] refer to Figure 1 , the system 100 includes a simulation device 110 , an estimation device 120 and a defect detection device 130 .
[0033] The simulation device 110 is configured to perform simulation on characteristic parameters of a product.
[0034] The product may include a semiconductor device or a non-semiconductor device. In some embodiments, the product includes a memory device. According to some embodiments, the memory device includes a volatile memory device or a non-volatile memory device. The non-volatile memory device may include, for example, a dynamic random access memory (DRAM), a synchronous DRAM (SDRAM), a double data rate (DDR) SDRAM, a low power double data rate (LPDDR) SDRAM, a graphics double data rate (GDDR) SDRAM, DDR2 SDRAM, DDR3 SDRAM, DDR4 SDRAM, DDR5 SDRAM, a low power double data rate 4th generation (LPDDR4) DRAM, a low power double data rate 5th generation (LPDDR 5) DRAM, etc. Non-volatile memory may include flash memory, read only memory (ROM), magnetic RAM (MRAM), spin transfer torque MRAM, conductive bridging RAM (CBRAM), ferroelectric RAM (FeRAM), and phase-change RAM (PRAM). According to some embodiments, the product includes a non-memory device. The non-memory device may include, for example, a processor (such as a central processing unit, a neural network processing unit, or a graphics processing unit), an image sensor, a power management integrated circuit, etc.
[0035] The characteristic parameters of the product may include the physical quantity, physical characteristics and physical parameters of the product. In some embodiments, when the product is a DRAM, the characteristic parameters of the DRAM include, for example, Rtotal, tRDL, tREF, etc. Rtotal may be a parameter indicating the sum of the parasitic resistance and the channel resistance included in the DRAM. tRDL may be a parameter indicating the allowed time interval between data input and word line precharge, or a parameter indicating the last data input of the PRE command period. tREF may be a parameter indicating a refresh cycle. However, the characteristic parameters are not limited to Rtotal, tRDL and tREF.
[0036] The simulation device 110 may generate a simulation data set by performing a simulation on a characteristic parameter of a product. The simulation device 110 may provide the simulation data set to the estimation device 120. The simulation data set may include a plurality of simulation data. The simulation data may be data including samples of the characteristic parameter of the product. In some embodiments, when the characteristic parameter of the product is Rtotal, the simulation data includes a specific sample of Rtotal. Specifically, for example, the first simulation data may include 10 of Rtotal. 5 samples, the second simulation data may include 10 of Rtotal 6 samples, and the third simulation data may include 10 of Rtotal 7 Samples. 10 5 , 10 6 and 10 7 The number of samples of Rtotal may each be indicated.
[0037] In some embodiments, the simulation device 110 includes a technology computer-aided design (TCAD) simulation unit 111, a surrogate modeling unit 112, and a Monte Carlo simulation (MCS) result unit 113. The TCAD simulation unit 111 can perform TCAD simulation on characteristic parameters of a product. The surrogate modeling unit 112 can generate a surrogate model based on the TCAD simulation. The surrogate modeling unit 112 can generate samples by sampling data simulated via the surrogate model. The MCS result unit 113 can generate an MCS set by performing MCS on the samples, and can provide the MCS set as the aforementioned simulation data set to the estimation device 120. MCS can be a mathematical technique for estimating the possible output of an uncertain event.
[0038] The estimation device 120 may be a device for estimating a threshold of a kernel density function based on the kernel density function. The estimation device 120 may estimate a threshold corresponding to a tail region of the kernel density function regarding product defects based on a simulation data set. The threshold may be referred to as an extreme value.
[0039] In some implementations, the estimation device 120 includes a sampling module 121 , an optimization module 122 , an estimation module 123 , and a quantization module 124 .
[0040] The sampling module 121 may sample a plurality of sample data sets based on the simulation data set.
[0041] The optimization module 122 can estimate the optimal kernel bandwidth for each sample data set by using a bandwidth estimation method selected from a plurality of bandwidth estimation methods. In some embodiments, the optimization module 122 selects the optimal bandwidth estimation method from a plurality of bandwidth estimation methods according to the number of sample data included in each sample data set. The optimal kernel bandwidth can be estimated for each sample data set. That is, the number of optimal kernel bandwidths can correspond to the number of sample data sets. For example, when the number of sample data sets is N (N is an integer greater than or equal to 2), the number of optimal kernel bandwidths can also be N. The bandwidth estimation method can be an algorithm for optimizing the kernel bandwidth of a kernel density function. The kernel bandwidth can also be referred to as bandwidth.
[0042] The estimation module 123 may estimate a threshold for each of the plurality of sample data sets based on the best kernel bandwidth estimated for each of the plurality of sample data sets. For example, when the number of sample data sets is N, the number of thresholds may also be N.
[0043] The quantification module 124 can generate a quantitative value (quantitative value) that quantifies the uncertainty of the threshold value based on the threshold values of the multiple sample data sets. In some embodiments, the quantitative value is the average value of the threshold value. For example, the quantification module 124 can calculate the average value of the threshold values of the multiple sample data sets as the quantitative value. In some embodiments, the quantitative value is the standard deviation of the threshold value. For example, the quantification module 124 can calculate the standard deviation of the threshold values of the multiple sample data sets as the quantitative value. In some embodiments, the quantification module 124 separately calculates the average value and the standard deviation of the threshold values of the multiple sample data sets.
[0044] As described above, by using the optimal bandwidth estimation method according to the number of sample data, the threshold, tail area, and kernel bandwidth of the kernel density function can be accurately estimated.
[0045] Furthermore, as described above, by estimating the threshold, tail area, and kernel bandwidth of the kernel density function even with a relatively small amount of sample data, turn-around time (TAT) and resources for estimation may be reduced.
[0046] Figure 2 is a diagram of an estimation device according to some implementations.
[0047] refer to Figure 2 The estimation device 200 includes a sampling module 210, an optimization module 230, an estimation module 250, and a quantization module 260. In some implementations, in order to increase the accuracy of the kernel density function, the estimation device 200 further includes a forward transformation module 220 and an inverse transformation module 240.
[0048] The sampling module 210 may perform random sampling on the simulation data set DS_SIMUL. The random sampling of the simulation data set DS_SIMUL may be a sampling method for obtaining k sample data from a plurality of simulation data. k may be an integer of 2 or greater. The random sampling of the simulation data set DS_SIMUL may result in the generation of a sample data set DS_SMP including k sample data. The sampling module 210 may repeat the random sampling N times on the simulation data set DS_SIMUL. The N random samplings may result in the generation of N sample data sets DS_SMP.
[0049] The forward transformation module 220 can set a transformed kernel density function KDE_TRFM defined based on the domain of the transformation function based on the kernel function and the transformation function for the sample data set DS_SMP. The kernel function is a function used to estimate the function value based on the distance between samples, and will be referred to below. Figure 4 The transformation function can be a function that changes the domain of the kernel function. Figure 5 Some implementations of the transform function and forward transform module 220 are described.
[0050] The optimization module 230 may check the number of sample data included in the sample data set. The optimization module 230 may set the optimal transformed kernel density function KDE_TRFM according to the number of sample data. The optimization module 230 may optimize the kernel bandwidth KB_TRFM of the optimal transformed kernel density function KDE_TRFM for each sample data set by using the set optimal transformed kernel density function KDE_TRFM.
[0051] The inverse transform module 240 may calculate an optimal kernel bandwidth KB_OPT of the kernel density function from the optimal kernel bandwidth KB_TRFM of the transformed kernel density function KDE_TRFM based on an inverse transform function corresponding to the transform function and the kernel function.
[0052] The estimation module 250 may estimate a threshold value PTV corresponding to a tail region of the kernel density function based on each optimal kernel bandwidth KB_OPT.
[0053] In some embodiments, the sampling module 210, the forward transform module 220, the optimization module 230, the inverse transform module 240, and the estimation module 250 are configured as an iterative loop. The iterative loop can be repeated N times. When the iterative loop is repeated N times, N kernel bandwidths KB_TRFM and N optimal kernel bandwidths KB_OPT can be calculated, and N thresholds PTV for N sample data sets DS_SMP can be estimated.
[0054] The quantification module 260 may calculate a quantitative value QV based on a plurality of threshold values PTV.
[0055] Figure 3A and Figure 3B is a diagram comparing techniques for generating sample data according to some embodiments. Specifically, Figure 3A is a graph of comparative examples of generated sample data, and Figure 3B is a diagram of some implementations for generating sample data.
[0056] In order to estimate the extreme values of the characteristic parameters of the product and quantify the uncertainty of the estimated values, it is desirable to repeat the process of estimating the extreme values corresponding to the tail region of the kernel density function using different MCS sets.
[0057] For example, to estimate the tail area of the kernel density function of Rtotal of DRAM, according to Figure 3A In the simulation device 310a of the comparative example, multiple MCS sets 313a_1, 313a_2, ..., 313a_N generated by the TCAD simulation unit 311a and the agent modeling unit 312a may be required. Each of the multiple MCS sets 313a_1, 313a_2, ..., 313a_N may include as many MCS samples as the number requested by the user. For example, each of the multiple MCS sets 313a_1, 313a_2, ..., 313a_N may include 0 (for example, 10 7) or more MCS samples. The sampling module 320a according to the comparative example can generate multiple sample data sets 321a_1, 321a_2, ..., 321a_N from multiple MCS sets 313a_1, 313a_2, ..., 313a_N, respectively. However, since the TAT for an MCS sample or each MCS set may take several hours, the TAT for multiple MCS sets 313a_1, 313a_2, ..., 313a_N may also increase. As a result, since the TAT for multiple sample data sets 321a_1, 321a_2, ..., 321a_N increases, the time required for estimating the tail region of the kernel density function for Rtotal of DRAM may increase.
[0058] In accordance with Figure 3B In the simulation device 310b of some embodiments, an MCS set 313b is generated by the TCAD simulation unit 311b and the agent modeling unit 312b. Figure 3B The TAT for MCS set 313b may be less than Figure 3A TAT for multiple MCS sets 313a_1, 313a_2, ..., 313a_N. The sampling module 320b according to some embodiments is called a bootstrapping module. Bootstrapping, as a re-sampling method, may refer to a method of repeating the process of extracting and estimating a portion of all samples several times, i.e., resetting the sampling (sampling with replacement). The sampling module 320b according to some embodiments performs N bootstrapping on one MCS set 313b. Specifically, the sampling module 320b performs one bootstrapping on the MCS samples included in one MCS set 313b, thereby generating a bootstrap set including k randomly sampled sample data (e.g., MCS samples). The bootstrap set may correspond to Figure 1 As a result of bootstrapping N times, multiple bootstrapping sets 321b_1, 321b_2, ..., 321b_N may be generated. The time required to perform one or N bootstrappings may be relatively less than the TAT for each MCS set and / or the TAT for multiple MCS sets 313a_1, 313a_2, ..., 313a_N.
[0059] To prevent Figure 3A Excessive TAT consumption in Figure 3B As shown, Figure 3AThe multiple MCS sets 313a_1, 313a_2, ..., 313a_N in can be replaced by generating one MCS set and performing iterative reset sampling (e.g., bootstrapping) on the MCS set. Accordingly, the time required to estimate the tail area of the kernel density function for the product characteristic parameter (e.g., Rtotal of DRAM) can be reduced.
[0060] In some implementations, the sampling module 320b outputs the plurality of bootstrap sets 321b_1, 321b_2, ..., 321b_N in parallel. In some implementations, the sampling module 320b outputs the plurality of bootstrap sets 321b_1, 321b_2, ..., 321b_N sequentially.
[0061] Figure 4 is a graph illustrating a kernel function according to some embodiments.
[0062] refer to Figure 4 , based on kernel density estimation (kernel density estimation, KDE), the extreme value of the kernel density function and the uncertainty of the extreme value can be estimated. KDE can be a method for estimating the probability distribution characteristics of the original variable from the distribution of observed data. Density estimation methods may include parametric density estimation and non-parametric density estimation. Parametric density estimation can be a method for optimizing population distribution parameters using maximum likelihood estimator (MLE) by assuming that the population distribution is a specific distribution (Gaussian, Gumbel, etc.) through prior knowledge. Non-parametric density estimation can be a method for estimating population PDF based only on observed data without prior knowledge. For example, a histogram can be included in non-parametric density estimation. Discontinuities may occur at the boundaries of the bins (binary) in the histogram, and the open shape of the histogram may vary depending on the size and starting position of the bins. KDE can be an estimation method for improving the characteristics of such a histogram.
[0063] The kernel function used in the kernel density function is symmetric about the origin and does not have negative values, and the integral of the kernel function in real space can be 1. Figure 4 ,The types of kernel functions can include for example, uniform, triangular, Ipanechev, quartic, triplet, Gaussian, cosine, etc.
[0064] The kernel density function can be expressed as the following Equation 1.
[0065] [Equation 1]
[0066]
[0067] x i(i=1 to n) is the observed sample data, x is the value of a characteristic parameter whose density is known (eg, Rtotal of DRAM), K is the kernel function, h is the kernel bandwidth, and n is the number of sample data. n may be the aforementioned k.
[0068] Figure 5 is a graph showing the original kernel density function, the transformed kernel density function, and the true PDF.
[0069] refer to Figure 5 The kernel function is a function used to estimate the function value based on the distance between samples of the sample data. Generally speaking, since the distance between samples used to generate the kernel function is long, it is difficult to accurately estimate the extreme value using only the original kernel function. Therefore, a transformation function of the domain of the transformation variable may be needed to reduce the relative distance between samples. The implementation related to the transformation function can be performed in the forward transformation module 220.
[0070] For example, refer to Figure 5 , assuming the true PDF ( Figure 5 The real PDF shown is Gumbel [μ = 3, β = 4]) and the original kernel ( Figure 5 The kernel density function of the original kernel (shown) is based on the Gumbel distribution. Figure 5 The true PDF of assumes μ is 3 and β is 4. Figure 5 In , the x-axis (or horizontal axis) can correspond to the variable or feature parameter value, and Figure 5 The y-axis (or vertical axis) in can correspond to function values or probability values. Estimating the extreme value (or threshold) can refer to estimating a value close to a certain probability of the true PDF (e.g., 10 -8 ) corresponding to the value (e.g., a3). Since the true PDF is a function that can be established both theoretically and mathematically, it may be difficult to measure or obtain the exact shape of the function. Therefore, it is desirable to use a kernel density function to find a value that is very close to the true PDF value (e.g., a3). However, in the case of the kernel density function of the original kernel, the distances between samples may be uneven. Therefore, in order to increase the accuracy of the kernel density function, a variable transformation method for balancing the relative distances between samples may be required. In this variable transformation method, the above-mentioned transformation function may be used.
[0071] The transformation function can be expressed as a relational expression, such as Equation 2 below.
[0072] [Equation 2]
[0073] y=t(x)
[0074] x is a characteristic parameter whose density is known (e.g., Rtotal for DRAM) and may correspond to the domain of the original kernel function. y may correspond to the domain of the transformation function. Depending on the transformation function, the domain of the original kernel function may be changed. This has the advantage of preventing unstable behavior of the kernel density function.
[0075] In some embodiments, the variable transformation is a logarithmic transformation. For example, the transformation function (t(x)) can be a logarithmic function.
[0076] When the kernel density function is used by applying the transformation function, using Equation 1 and Equation 2, the relationship of the kernel density function between the variable y in the transformation domain and the variable x in the original domain can be expressed as the following Equation 3.
[0077] [Equation 3]
[0078]
[0079] Y i This can be done by replacing x in Equation 1 i Substitute into the value derived by the transformation function. In equation 3, x;h can be a mark for distinguishing a variable from a constant. According to equation 3, the threshold after the domain change can be, for example, a2.
[0080] After using the transformation function, the inverse transformation function can transform back to the domain of the original variable. In the inverse transformation function, the transformation process according to the number of variables described above can be performed in reverse. The implementation related to the inverse transformation function can be performed in the inverse transformation module 240.
[0081] Figure 6 is a graph showing the change of the kernel density function according to the kernel bandwidth.
[0082] refer to Figure 6 , when determining the kernel function, the kernel bandwidth of the kernel density function is the only parameter that determines the shape of the kernel density function. Accordingly, the threshold can be estimated differently according to the value of the kernel bandwidth. When the kernel bandwidth is too small, the kernel density function may be reliable only for the sample data, and the threshold of the kernel density function may be almost the same as the observed value. When the kernel bandwidth is too high, the kernel density function may be unreliable for the sample data, and the difference between the threshold of the kernel density function and the observed value may increase.
[0083] To determine the kernel bandwidth, an error function is defined (or set). In some embodiments, an integrated squared error (ISE) is used for the error function. The ISE of the kernel density function to be used for the error function can be calculated as in Equation 4.
[0084] [Equation 4]
[0085]
[0086] In equation 4, is the kernel density function, and f X (x) is the true PDF (or true function). Equation 4 can be the integral of the difference between the true PDF and the kernel density function. The true PDF can be an unknown function. Since the kernel density function is a function that depends on the position and number of random samples, equation 4 can also have random characteristics. Therefore, it is desirable to define the mean integrated squared error (MISE) corresponding to the mean value of the ISE. The MISE of the kernel density function can be calculated as in equation 5.
[0087] [Equation 5]
[0088]
[0089] Wherein, E can be a mathematical symbol representing an average value. When the kernel bandwidth that minimizes the value according to equation 5 is obtained, the kernel bandwidth can be estimated as the optimal kernel bandwidth, and the optimal kernel bandwidth can be used to estimate the threshold of the kernel density function. Since the true PDF is an unknown function even in equation 5, it is sometimes difficult to express an explicit equation for the kernel bandwidth. Therefore, it is desirable to search (or obtain) the optimal kernel bandwidth in equation 5 by a bandwidth estimation method. Hereinafter, an implementation method for obtaining the optimal kernel bandwidth using a bandwidth estimation method selected according to the number of sample data is described below.
[0090] Figure 7 is a diagram of an optimization module according to some implementations.
[0091] refer to Figure 7 In some implementations, the optimization module 700 compares the number of sample data included in each sample data set with a reference number (see Figure 7 710). The optimization module 700 may use one of the first bandwidth estimation method and the second bandwidth estimation method selected according to the comparison result to estimate the optimal kernel bandwidth for each sample data set (see Figure 7 720 or Figure 7 730 in ).
[0092] The optimization module 700 may compare the number of sample data included in the sample data set DS_SMP with a reference number. Figure 7 In 710 , the number of sample data included in the sample data set DS_SMP may be k, and the reference number may be Nth. The optimization module 700 may determine whether k is greater than or equal to Nth.
[0093] When the number of sample data included in the sample data set DS_SMP is greater than or equal to the reference number (see Figure 7 710 "Yes" in the above), the optimization module 700 can optimize the kernel bandwidth of the kernel density function for the corresponding sample data set DS_SMP by using the first bandwidth estimation method. In some embodiments, the first bandwidth estimation method is an insertion rule method. For example, referring to Figure 7 720, the optimization module 700 uses the insertion rule method to estimate the optimal kernel bandwidth. According to the insertion rule method, the optimization module 700 can apply the Taylor expansion to Equation 5, substitute the true PDF corresponding to the unknown curvature into a specific distribution (e.g., Gaussian distribution, etc.) based on prior knowledge, and derive the Silverman rule to calculate the optimal kernel bandwidth. In some embodiments, the kernel bandwidth optimized according to the insertion rule method is expressed as the following Equation 6.
[0094] [Equation 6]
[0095]
[0096] n is the number of sample data. n can be the aforementioned k. Could be the standard deviation of the sample data.
[0097] When the number of sample data included in the sample data set DS_SMP is less than the reference number (see Figure 7 In 710, the optimization module 700 can optimize the kernel bandwidth of the kernel density function for the corresponding sample data set DS_SMP by using the second bandwidth estimation method. In some embodiments, the second bandwidth estimation method is a least square cross validation (LSCV) method. For example, referring to Figure 7 At 730, the optimization module 700 estimates the optimal kernel bandwidth using the LSCV method. In the LSCV method, when Equation 5 is expanded, terms unrelated to the kernel bandwidth can be eliminated, and the optimal kernel bandwidth can be determined as a value that minimizes the following Equation 7.
[0098] [Equation 7]
[0099]
[0100] In Equation 7, argmin() is the argument to min and can be a point or parameter in the domain that minimizes the function. X (x) is the unknown function in Equation 7, so an unbiased estimator can be used. An unbiased estimator can refer to a statistic when the expected value of the estimator obtained from the sample is the same as the parameter to be estimated. The kernel bandwidth using the unbiased estimator can be calculated as shown in Equation 8 below.
[0101] [Equation 8]
[0102]
[0103] n is the number of sample data. n can be the aforementioned k.
[0104] Figure 8 is a graph illustrating kernel bandwidth and threshold estimation accuracy according to a bandwidth estimation method according to some embodiments.
[0105] refer to Figure 8 , when the number of sample data # of the sample is less than the reference number Nth, the value of the core bandwidth estimated by LSCV is greater than the value of the core bandwidth estimated by the insertion rule. As the number of sample data # of the sample increases, the difference between the core bandwidths estimated by these two methods or the difference between the estimated values estimated by these two methods may decrease, and each of the core bandwidth and the estimated value may be reversed. By selecting an appropriate bandwidth estimation method based on the number of sample data # of the sample, the characteristic parameter distribution (e.g., Rtotal distribution of DRAM) and threshold of the product can be accurately estimated. For example, when the number of sample data # of the sample is less than the reference number Nth, the accuracy of the value estimated by LSCV may be relatively greater than the accuracy of the value estimated by the insertion rule. For another example, when the number of sample data # of the sample is greater than or equal to the reference number Nth, the accuracy of the value estimated by the insertion rule may be relatively greater than the accuracy of the value estimated by LSCV.
[0106] As described above, by using the optimal bandwidth estimation method according to the number # of sample data of a sample, a threshold value for a portion of all sample data of a sample can be accurately estimated.
[0107] Furthermore, as described above, by using the optimal bandwidth estimation method according to the number # of sample data of samples, the time required to estimate the threshold value can be reduced.
[0108] Fig. 9 is a graph showing threshold values according to the number of sample data according to some embodiments, and Fig.10 is a graph showing the average position, standard deviation, total calculation time, and average error of thresholds according to the amount of sample data according to some embodiments.
[0109] exist Fig. 9 and Fig.10 In the example, it is assumed that the characteristic parameter is Rtotal of DRAM.
[0110] refer to Fig. 9 , Fig. 9 The dashed line graph shown represents the true PDF distribution. Fig. 9The solid line graph shown is a graph obtained by repeatedly estimating the threshold value of the characteristic parameter (e.g., Rtotal of DRAM) using the kernel density function (e.g., 100 estimation iterations). Referring to the estimation result as an example, when the number of sample data (i.e., the number of bootstrap samples) is 10 5 When , the average position of the threshold of the characteristic parameter can be calculated as 740. When the number of bootstrap samples is 10 6 When , the average position of the characteristic parameter threshold can be calculated as 866. When the number of bootstrap samples is 10 7 When , the average position of the characteristic parameter threshold value can be calculated as 945. However, the above average position value is only an example and is not limited thereto.
[0111] refer to Fig.10 , assuming the true value is 949.21 [kΩ]. Refer to the calculation results as an example, when the number of sample data # of samples is 10 5 When the number of sample data # of samples is 10, the average position of the threshold value of DRAM Rtotal may be 740 [kΩ], the standard deviation of the threshold value of DRAM Rtotal may be 60 [kΩ], and the time required to estimate the threshold value of DRAM Rtotal (hereinafter referred to as the required time) may be 70 [s]. 6 When the number of sample data # of samples is 10, the average position of the threshold value of DRAM Rtotal may be 866 [kΩ], the standard deviation of the threshold value of DRAM Rtotal may be 45 [kΩ], and the required time for the threshold value of DRAM Rtotal may be 270 [s]. 7 When the number of sample data # of samples is 10, the average position of the threshold value of DRAM Rtotal may be 945 [kΩ], the standard deviation of the threshold value of DRAM Rtotal may be 20 [kΩ], and the required time for the threshold value of DRAM Rtotal may be 2574 [s]. 5 When the number of sample data is 10, the average error relative to the true value can be -22.04 [%]. 6 When the number of sample data is 10, the average error relative to the true value can be -8.76 [%]. 7 When , the average error relative to the true value may be -0.44 [%]. However, the above values are only examples and are not limited thereto.
[0112] Fig.11 is a flow chart illustrating a method according to some embodiments.
[0113] refer to Figures 1 to 11, perform a bootstrap sampling operation (S1110). For example, the estimation device 120 may sample multiple sample data sets based on the simulation data set. The operation S1110 according to some embodiments is similar to the above reference Figure 3B Describes the operation.
[0114] Perform a kernel bandwidth optimization operation (S1120). For example, the estimation device 120 can estimate the optimal kernel bandwidth for each sample data set by using a bandwidth estimation method selected from a plurality of bandwidth estimation methods according to the number of sample data included in each sample data set. The operation S1120 according to some embodiments is similar to the above reference numeral 1120. Figure 7 Describes the operation.
[0115] A threshold estimation operation is performed (S1130). For example, the estimation device 120 may estimate a threshold for each of the plurality of sample data sets based on the best kernel bandwidth estimated for each of the plurality of sample data sets. The threshold may correspond to a tail region of the kernel density function.
[0116] A quantification operation (S1140) is performed. For example, the estimation device 120 may provide a quantitative value of uncertainty of the quantified threshold value based on the threshold values of the plurality of sample data sets. In operation S1140 according to some embodiments, the quantitative value may be calculated as an average value of the threshold values of the plurality of sample data sets. In operation S1140 according to some other embodiments, the quantitative value may be calculated as a standard deviation of the threshold values of the plurality of sample data sets.
[0117] Fig.12 is a flowchart for illustrating some implementations of operation S1110.
[0118] refer to Figure 1 , Figure 3B and Fig.12 , operation S1110 may include operations S1210 and S1220.
[0119] In operation S1210, the estimation device 120 may generate a sample data set including k sample data by randomly sampling simulation data from a simulation data set. Figure 3B For example, a simulation data set may correspond to an MCS set 313b, simulation data may correspond to an MCS sample or MCS sample data, and a sample data set may correspond to a bootstrap set (e.g., a first bootstrap set 321b_1). The sampling module 320b may generate the first bootstrap set 321b_1 by randomly sampling k MCS samples from the MCS set 313b.
[0120] In operation S1220, the estimation device 120 may generate a plurality of sample data sets by repeatedly performing a random sampling operation on one simulation data set, each sample data set including the same amount of sample data. Figure 3B For example, the sampling module 320b may generate a plurality of bootstrap sets 321b_1, 321b_2, ..., 321b_N by repeatedly performing a random sampling operation.
[0121] Fig.13 is a flowchart for illustrating some implementations of operation S1120.
[0122] refer to Figure 1 , Figure 7 and Fig.13 , operation S1120 includes operations S1310, S1320, and S1330. Operation S1320 may be referred to as a first core bandwidth optimization operation, and operation S1330 may be referred to as a second core bandwidth optimization operation.
[0123] In operation S1310, the estimation device 120 may compare the number of sample data included in each sample data set with a reference number. Figure 7 At 710 , the optimization module 700 compares the number of sample data (eg, k) included in one sample data set DS_SMP with a reference number Nth.
[0124] The number of sample data may be greater than or equal to the reference number. A sample data set including sample data greater than or equal to the reference number Nth may be referred to as a first sample data set. In operation S1320, the estimation device 120 may estimate a first kernel bandwidth of the first sample data set using a first bandwidth estimation method.
[0125] The number of sample data may be less than the reference number. A sample data set including sample data less than the reference number may be referred to as a second sample data set. In operation S1330, the estimation device 120 may estimate a second core bandwidth of the second sample data set using a second bandwidth estimation method.
[0126] Fig.14 is a flowchart for illustrating some implementations of operation S1320.
[0127] refer to Figure 7 and Fig.14 , operation 1320 includes operations 1410 , 1420 , and 1430 .
[0128] In operation S1410, the optimization module 700 may set an error function of the kernel density function for the true PDF. The error function of operation S1410 may be expressed as Equation 4 above.
[0129] In operation S1420, the optimization module 700 may set a mean integrated square error of the error function. The MISE of the error function in operation S1420 may be expressed as Equation 5.
[0130] In operation S1430, the optimization module 700 may derive the optimal core bandwidth from MISE based on the insertion rule method. Fig.13 The first bandwidth estimation method is the insertion rule method, and the first kernel bandwidth can be calculated as in the above equation 6.
[0131] Fig.15 is a flowchart for illustrating some implementations of operation S1340.
[0132] refer to Figure 7 and Fig.15 , operation S1330 includes operations S1510, S1520 and S1530.
[0133] Operation S1510 may be the same as operation S1410. The error function of operation S1510 may be expressed as the above-mentioned Equation 4. Operation S1520 may be the same as operation S1420. The MISE of the error function in operation S1520 may be expressed as Equation 5.
[0134] In operation S1530, the optimization module 700 may derive the optimal kernel bandwidth from MISE based on the LSCV method. Fig.13 The second bandwidth estimation method performed in the operation of is the LSCV method, and the second kernel bandwidth can be calculated as in the above equation 8.
[0135] Fig.16 is a flow chart illustrating a method according to some embodiments.
[0136] refer to Figures 1 to 16 , Fig.16 The method includes operations S1610, S1620, S1630, S1640, S1650 and S1660.
[0137] Operations S1610, S1630, S1650 and S1660 are as described above. Fig.11 The operations S1110, S1120, S1130 and S1140 are described above.
[0138] A variable transformation operation (S1620) is performed. In operation S1620, the estimation device 120 may set a transformed kernel density function defined based on the domain of the transformation function based on the kernel function and the transformation function. The transformation function may be a function that changes the domain of the kernel function for a plurality of sample data sets. The transformation function may be represented as Figure 5 Described in Equation 2.
[0139] An inverse variable transformation operation (S1640) is performed. In operation S1640, the estimation device 120 may calculate the optimal kernel bandwidth of the kernel density function from the optimal kernel bandwidth of the transformed kernel density function based on the inverse transformation function corresponding to the transformation function and the kernel function. The transformed kernel density function may be represented as Figure 5 The inverse transformation function may be the inverse function of the transformation function according to Equation 2.
[0140] Fig.17 is a flow chart illustrating a method according to some embodiments.
[0141] refer to Fig.17 , an operation of sampling a plurality of sample data sets based on the simulation data set is performed (S1710). The simulation data set may include a plurality of simulation data of physical quantities for a product.
[0142] The operation of estimating the optimal kernel bandwidth for each sample data set is performed using a method selected from among the insertion rule method and the LSCV method according to the amount of sample data ( S1720 ).
[0143] An operation of estimating a threshold corresponding to a tail region of a kernel density function for each of the plurality of sample data sets is performed based on the optimal kernel bandwidth estimated for each of the plurality of sample data sets ( S1730 ).
[0144] An operation of providing a quantitative value quantifying uncertainty of a threshold value based on the threshold values of the plurality of sample data sets is performed ( S1740 ).
[0145] As described above, by using the optimal bandwidth estimation method according to the number of sample data, the threshold, tail area, and kernel bandwidth of the kernel density function can be accurately estimated.
[0146] Furthermore, as described above, by estimating the threshold, tail area, and kernel bandwidth of the kernel density function even with a relatively small amount of sample data, TAT and resources used for estimation can be reduced.
[0147] The disclosed embodiments may be implemented in the form of a recording medium storing instructions executable by a computer. The instructions may be stored in the form of program code, and when the program is executed by a processor, a program module is created to perform the operations of the disclosed embodiments. The recording medium may be implemented as a computer-readable recording medium.
[0148] Computer-readable recording media include all types of recording media having stored therein instructions that can be decoded by a computer, such as read-only memory (ROM), random access memory (RAM), magnetic tapes, magnetic disks, flash memory, optical data storage devices, etc.
[0149] Although the present disclosure includes many specific implementation details, these should not be interpreted as limiting the scope of the claimed protection. Certain features described in the context of separate embodiments in the present disclosure may also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment may also be implemented individually in multiple embodiments or in any suitable sub-combination. In addition, although features may be described above as working in certain combinations, and even initially claimed as such, one or more features from a combination may be deleted from the combination in some cases, and a combination may be directed to a sub-combination or a variant of a sub-combination.
[0150] While the inventive concept has been particularly shown and described with reference to embodiments thereof, it will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the appended claims.
Claims
1. A method for estimating, include: sampling a plurality of sample data sets based on a simulation data set including a plurality of simulation data for characteristic parameters of a product; estimating an optimal kernel bandwidth for each of the plurality of sample data sets by using a bandwidth estimation method selected from among a plurality of bandwidth estimation methods configured to optimize a kernel bandwidth of a kernel density function regarding defects of a product according to the number of samples included in each of the plurality of sample data sets; estimating a threshold value corresponding to a tail region of the kernel density function for each of the plurality of sample data sets based on an optimal kernel bandwidth estimated for each of the plurality of sample data sets; as well as Based on the threshold values of the plurality of sample data sets, a quantitative value is provided in which uncertainty of the threshold value corresponding to a tail region of the kernel density function is quantified.
2. The method according to claim 1, in, Sampling the plurality of sample data sets includes generating a first sample data set including k sample data by randomly sampling simulation data from a simulation data set, wherein k is an integer greater than 1; and The plurality of sample data sets are generated by repeatedly performing random sampling on the one simulation data set, each sample data set including the same number of samples.
3. The method according to claim 1, in, Estimating the optimal kernel bandwidth includes comparing the number of samples included in each sample data set to the reference number; estimating a first kernel bandwidth of a first sample data set including a first number of samples by performing a first bandwidth estimation, the first number being greater than or equal to the reference number; as well as A second kernel bandwidth of a second sample data set including a second number of samples is estimated by performing a second bandwidth estimation, the second number being smaller than the reference number.
4. The method according to claim 3, in, Estimated first core bandwidth includes Setting the error function of the kernel density function to the true probability density function; Setting the mean integrated square error of the error function; as well as The optimal kernel bandwidth is derived from the mean integrated squared error by using an insertion rule method.
5. The method according to claim 3, in, Estimated second core bandwidth includes Setting the error function of the kernel density function to the true probability density function; Setting the mean integrated square error of the error function; and The optimal kernel bandwidth is derived from the mean integrated squared error by using a least squares cross validation method.
6. The method according to claim 1, in, Providing the quantitative value includes calculating an average value of the threshold values of the plurality of sample data sets as the quantitative value.
7. The method according to claim 1, in, Providing the quantitative value includes calculating a standard deviation of a threshold value of the plurality of sample data sets as the quantitative value.
8. The method according to claim 1, further comprising: include: Based on the kernel function for the plurality of sample data sets and the transformation function that changes the domain of the kernel function, setting a transformed kernel density function defined based on the domain of the transformation function; and An optimal kernel bandwidth of the kernel density function is calculated from an optimal kernel bandwidth of the transformed kernel density function based on an inverse transformation function corresponding to the transformation function and the kernel function.
9. An electronic device for evaluating, comprising one or more processors coupled to a memory storing instructions, the instructions, when executed, causing the one or more processors to perform operations, the operations include: sampling a plurality of sample data sets based on a simulation data set generated as a simulation result regarding a characteristic parameter of a product; estimating an optimal kernel bandwidth for each of the plurality of sample data sets by using a bandwidth estimation method selected from among a plurality of bandwidth estimation methods configured to optimize a kernel bandwidth of a kernel density function regarding defects of a product according to the number of samples included in each of the plurality of sample data sets; estimating a threshold value corresponding to a tail region of the kernel density function for each of the plurality of sample data sets based on an optimal kernel bandwidth estimated for each of the plurality of sample data sets; as well as Based on the threshold values of the plurality of sample data sets, a quantitative value is provided in which uncertainty of the threshold value corresponding to a tail region of the kernel density function is quantified.
10. The electronic device according to claim 9, in, Estimating the optimal kernel bandwidth includes comparing the number of samples included in each of the plurality of sample data sets with a reference number, and An optimal kernel bandwidth is estimated for each sample data set using one of the first bandwidth estimation method and the second bandwidth estimation method selected according to the comparison result.
11. The electronic device according to claim 10, in, The first bandwidth estimation method is an insertion rule method, and The second bandwidth estimation method is the least squares cross validation method.
12. The electronic device according to claim 11, in, Estimating the optimal kernel bandwidth includes When the number of samples included in each of the plurality of sample data sets is greater than or equal to the reference number, deriving the optimal kernel bandwidth using the insertion rule method, and When the number of samples included in each sample data set is less than the reference number, the optimal kernel bandwidth is derived using the least squares cross validation method.
13. The electronic device according to claim 9, in, Providing the quantitative values includes An average value of the threshold values of the plurality of sample data sets is calculated as the quantitative value.
14. The electronic device according to claim 9, in, Providing the quantitative values includes The standard deviation of the threshold values of the plurality of sample data sets is calculated as the quantitative value.
15. The electronic device according to claim 9, in, The operation also includes Based on the kernel function for the plurality of sample data sets and the transformation function that changes the domain of the kernel function, setting a transformed kernel density function defined based on the domain of the transformation function; and An optimal kernel bandwidth of the kernel density function is calculated from an optimal kernel bandwidth of the transformed kernel density function based on an inverse transformation function corresponding to the transformation function and the kernel function.
16. A system for estimating, comprising one or more processors coupled to a memory storing instructions, the instructions, when executed, causing the one or more processors to perform operations, the operations include: By performing a simulation on a characteristic parameter of a product, a simulation data set including a plurality of simulation data for the characteristic parameter of the product is generated; as well as estimating a threshold value corresponding to a tail region of a kernel density function of defects of a product based on the simulation data set, Wherein, estimating the threshold value includes Sampling a plurality of sample data sets from the simulation data set, estimating an optimal kernel bandwidth for each of the plurality of sample data sets by using a bandwidth estimation method selected from among a plurality of bandwidth estimation methods configured to optimize a kernel bandwidth of the kernel density function according to the number of samples included in each of the plurality of sample data sets, estimating the threshold for each of the plurality of sample data sets based on the best kernel bandwidth estimated for each of the plurality of sample data sets, and A quantitative value quantifying uncertainty of the threshold is generated based on the thresholds of the plurality of sample data sets.
17. The system according to claim 16, in, Estimating the threshold includes comparing the number of samples included in each of the plurality of sample data sets with a reference number, and An optimal kernel bandwidth is estimated for each of the plurality of sample data sets using one of the first bandwidth estimation method and the second bandwidth estimation method selected according to the comparison result.
18. The system according to claim 17, in, The first bandwidth estimation method is an insertion rule method, and The second bandwidth estimation method is the least squares cross-validation method, Wherein, estimating the threshold value includes When the number of samples included in each of the plurality of sample data sets is greater than or equal to the reference number, deriving the optimal kernel bandwidth using the insertion rule method, and When the number of data of the samples included in each of the plurality of sample data sets is smaller than the reference number, the optimal kernel bandwidth is derived using the least squares cross validation method.
19. The system according to claim 16, in, Estimating the threshold includes At least one of an average value and a standard deviation of the threshold values of the plurality of sample data sets is calculated as the quantitative value.
20. The system according to claim 16, in, Estimating the threshold includes Based on a kernel function for the plurality of sample data sets and a transformation function that changes a domain of the kernel function, setting a transformed kernel density function defined based on a domain of the transformation function, and Based on the inverse transformation function corresponding to the transformation function and the kernel function, the optimal kernel bandwidth of the kernel density function is calculated according to the optimal kernel bandwidth of the transformed kernel density function.
