Semiconductor device model parameter extraction method and device based on gated neural network
Through the method based on gated neural network, the gating mechanism and model sensing technology are used to solve the accuracy and reliability problems of traditional methods in complex device structures and material properties, and achieve efficient and accurate extraction of semiconductor device model parameters, avoiding Optimize conflicts and overfitting.
Patent Information
- Application Number
- CN202411132653.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-19
AI Technical Summary
Traditional semiconductor device model parameter extraction methods are difficult to accurately capture physical phenomena when dealing with complex device structures and material properties, resulting in reduced model prediction capabilities and reliability. In addition, DL methods have optimization conflicts and over-fitting problems, which affect the generalization ability of the model.
A method based on gated neural networks is used to generate an initial data set through Latin hypercube sampling, perform data quality screening, train the gated neural network model, use the gating mechanism and model awareness technology to calculate the importance factors of model parameters, and adjust the network Weight parameters to avoid optimization conflicts and overfitting.
It significantly improves the accuracy and efficiency of semiconductor device model parameter extraction, ensures the scalability and robustness of the model, solves the problems of optimization conflicts and over-fitting, and achieves more accurate and efficient parameter extraction.
Smart Images

Figure CN118643317B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of conductor device design, and in particular relates to a method and a device for extracting semiconductor device model parameters based on a gated neural network. Background Art
[0002] In the field of semiconductor device design, model parameter extraction is the key bridge between circuit design and device technology. This process requires extracting a set of parameters that can accurately describe the behavior of the device from its physical characteristics, and applying these parameters to circuit simulation software to predict the performance of the device under different working conditions. The accuracy of parameter extraction is directly related to the performance prediction and optimization of circuit design, so it is crucial to the success of integrated circuit design.
[0003] Traditional semiconductor device model parameter extraction methods need to consider multiple physical effects and device structure details, and require in-depth knowledge and experience of field experts, as well as a deep understanding of the physical characteristics of the device. In actual operation, the extraction process may take days or even weeks to complete, especially when dealing with new devices with complex structures and material properties such as BSIM-CMG (Berkeley Short-channel IGFET Model-Compact Model for 3D Gate Stack Transistors). The extraction process is even more complicated.
[0004] As device structures and material properties become increasingly complex, traditional parameter extraction methods face a series of challenges:
[0005] (1) The increasing complexity of devices makes it difficult for traditional methods to accurately capture all relevant physical phenomena and interactions, which may result in the model being unable to accurately reflect the actual behavior of the device, thus affecting the accuracy and reliability of circuit design.
[0006] (2) When dealing with complex device structures and material properties, traditional methods often fail to achieve the expected accuracy, which not only affects the predictive ability of the model but may also lead to performance deviations in actual applications.
[0007] With the development of DL (deep learning) technology, researchers have begun to explore the use of DL to replace traditional model parameter extraction methods. This type of DL method performs well in processing complex data and pattern recognition, and can automatically learn and extract features from large amounts of data, thereby improving the accuracy and speed of parameter extraction. Figure 1As shown in Figure 1, the main idea of existing work is to directly use DL for parameter extraction, where different output layers share a common underlying feature representation. First, an input dataset containing parameter annotations is constructed, and then a suitable hidden layer network structure is designed. The network is trained using the dataset to learn the mapping rules for automatically extracting parameter values from the original data. After training, the DL model can intelligently predict and output the required parameters for new industrial data, thereby achieving automatic and efficient parameter extraction.
[0008] However, existing DL methods have at least the following problems: when using neural networks with shared underlying structures, optimization conflicts between different parameters may lead to unstable model training or overfitting. The overfitting problem may cause the model to perform well on training data, but perform poorly on new data, affecting the generalization ability of the model. Summary of the invention
[0009] In order to solve the above problems existing in the prior art, the present invention provides a method and device for extracting semiconductor device model parameters based on a gated neural network.
[0010] The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0011] A method for extracting semiconductor device model parameters based on a gated neural network, comprising:
[0012] Generate an initial data set by Latin hypercube sampling; the initial data set includes a plurality of electrical data samples and a set of real model parameters corresponding to each electrical data sample; each electrical data sample simulates a semiconductor device;
[0013] Performing data quality screening on the initial data set to determine whether it satisfies physical laws, to obtain an optimized data set;
[0014] Using the optimized data set to train a gated neural network model to obtain a pre-trained gated neural network model;
[0015] When it is necessary to extract the model parameters of the semiconductor device, the electrical data of the semiconductor device is input into the pre-trained gated neural network model, so that the gated neural network model predicts a set of model parameters of the semiconductor device according to the electrical data;
[0016] Wherein, the gated neural network model includes Expert network, A gating network and a network of towers; The gating network is The tower networks correspond one to one; The tower network and the gated neural network model are used to predict The model parameters correspond one to one. ≥ 2, ≥ 2; described expert networks, respectively used to extract features related to predicting a set of model parameters of semiconductor devices from the electrical data; each of the gating networks is used to generate features for the The expert networks generate gating scores respectively, and use the gating scores to The features extracted by the expert networks are weighted and fused to form weighted fusion features; each of the tower networks is used to predict the model parameters corresponding to the tower network according to the weighted fusion features output by the corresponding gating network;
[0017] When training the gated neural network model, the model parameter loss value is calculated based on the importance factor of the model parameter, and the network weight parameters of the gated neural network model in training are adjusted according to the model parameter loss value and the gating score; wherein the importance factor of the model parameter is positively correlated with the correlation between the model parameter and the electrical data sample.
[0018] Optionally, the data quality screening includes: screening whether the trend of electrical characteristics of semiconductor devices simulated by the electrical data samples changing with structure conforms to physical laws, and screening whether the trend of changes between internal data contained in the electrical data samples conforms to physical laws.
[0019] Optionally, the loss function for calculating the model parameter loss value is:
[0020] ;
[0021] ;
[0022] in, Represents electrical data samples The corresponding set of true model parameters model parameters, ; Represents the gated neural network model in training according to The corresponding predicted set of model parameters model parameters, is the function for calculating the mean square error, for The mean square error loss is for The importance factor of Positive correlation, for and The correlation index between is the function for calculating the correlation, Indicates The model parameter loss value.
[0023] Optionally, The calculation formula is: .
[0024] Optionally, when adjusting the network weight parameters of the gated neural network model in training according to the model parameter loss value and the gating score, The network weight parameters of the expert network are adjusted as follows:
[0025] ;
[0026] ;
[0027] in, represents the calculation of gradient, Indicates The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, represents the learning rate, represents the derivation, Indicates Expert network, Indicates A gating network, It means that when the input of the gated neural network model in training is At that time, The gating network is The gating scores provided by the expert network.
[0028] Optionally, the gating network includes an input layer, Layer and weighted fusion layer;
[0029] The input layer is used to convert the electrical data into The dimensions that the layer's input matches;
[0030] Said layer, used to output the electrical data after dimension conversion gating scores of expert networks;
[0031] The weighted fusion layer is used to use the gating score to The features extracted by the expert networks are weighted and fused to form weighted fusion features.
[0032] Optionally, both the expert network and the tower network are fully connected networks.
[0033] The present invention also provides a semiconductor device model parameter extraction device based on a gated neural network, comprising: a gated neural network model and a model parameter extraction module;
[0034] The gated neural network model includes Expert network, A gating network and a network of towers; The gating network is The tower networks correspond one to one; The tower network and the gated neural network model are used to predict The model parameters correspond one to one. ≥ 2, ≥ 2; described expert networks, respectively used to extract features related to predicting a set of model parameters of the semiconductor device from the electrical data of the semiconductor device; each of the gating networks is used to generate features for the semiconductor device according to the electrical data; The expert networks generate gating scores respectively, and use the gating scores to The features extracted by the expert networks are weighted and fused to form weighted fusion features; each of the tower networks is used to predict the model parameters corresponding to the tower network according to the weighted fusion features output by the corresponding gating network;
[0035] The gated neural network model is trained in the following way:
[0036] Generate an initial data set by Latin hypercube sampling; the initial data set includes a plurality of electrical data samples and a set of real model parameters corresponding to each electrical data sample; each electrical data sample simulates a semiconductor device;
[0037] Performing data quality screening on the initial data set to determine whether it satisfies physical laws, to obtain an optimized data set;
[0038] The gated neural network model is trained using the optimized data set to obtain a pre-trained gated neural network model; wherein, when training the gated neural network model, a model parameter loss value is calculated based on an importance factor of the model parameter, and a network weight parameter of the gated neural network model in training is adjusted according to the model parameter loss value and the gating score; wherein the importance factor of the model parameter is positively correlated with the correlation between the model parameter and the electrical data sample;
[0039] The model parameter extraction module is used to input the electrical data of the semiconductor device into the pre-trained gated neural network model when semiconductor device model parameter extraction is required, so that the gated neural network model predicts a set of model parameters of the semiconductor device based on the electrical data.
[0040] Optionally, the data quality screening includes: screening whether the trend of electrical characteristics of semiconductor devices simulated by the electrical data samples changing with structure conforms to physical laws, and screening whether the trend of changes between internal data contained in the electrical data samples conforms to physical laws.
[0041] Optionally, the loss function for calculating the model parameter loss value is:
[0042] ;
[0043] ;
[0044] in, Represents electrical data samples The corresponding set of true model parameters model parameters, ; Represents the gated neural network model in training according to The corresponding predicted set of model parameters model parameters, is the function for calculating the mean square error, for The mean square error loss is for The importance factor of Positive correlation, for and The correlation index between is the function for calculating the correlation, Indicates The model parameter loss value.
[0045] The semiconductor device model parameter extraction method based on gated neural network provided by the present invention predicts the model parameters of semiconductor devices by using a pre-trained gated neural network model. The gated neural network model controls the information flow through a gating mechanism, effectively solving the problems of optimization conflict and overfitting. The present invention significantly improves the accuracy of semiconductor device model parameter extraction by introducing a gating mechanism and model perception technology.
[0046] The present invention will be further described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is the neural network used by existing DL methods;
[0048] Figure 2 It is a schematic diagram of the architecture where the output model parameters of existing DL methods are directly connected to the shared underlying layer;
[0049] Figure 3 The implementation process of the semiconductor device model parameter extraction method based on the gated neural network provided by the embodiment of the present invention is shown;
[0050] Figure 4 is a schematic diagram of the structure of a gated neural network model provided by an embodiment of the present invention;
[0051] Figure 5 is a schematic diagram of the structure of a gating network provided by an embodiment of the present invention;
[0052] Figure 6 is an example of a gating score output by each gating network for each expert network in an embodiment of the present invention;
[0053] Figure 7 It is a schematic diagram of optimizing the gradient conflict problem through multiple expert networks in an embodiment of the present invention. DETAILED DESCRIPTION
[0054] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0055] One problem with existing DL methods in extracting semiconductor model parameters is the optimization conflict between model parameters during the training process. Figure 2 As shown, since the output model parameters of the existing DL method are directly connected to the shared underlying architecture, the shared underlying matrix W has conflicts in the gradient optimization direction, and the gradients of two different parameters ∇ L 1 and ∇ L 2 The size and direction are different, which leads to conflict in training loss and makes it difficult for the loss to converge. Therefore, the existing DL methods give equal attention to all model parameters in the process of extracting semiconductor model parameters. Since these parameters have different contributions to the current-voltage curve, giving equal attention to all parameters may lead to too much optimization work being concentrated on less important parameters, insufficient optimization of key parameters, and over-optimization of secondary parameters. This uneven optimization strategy may lead to poor performance of the model on key performance indicators. In addition, when the optimization amplitudes between parameters are different, it may also lead to overfitting of dominant parameters.
[0056] In order to solve the problems existing in the existing DL methods, the embodiment of the present invention provides a semiconductor device model parameter extraction method based on a gated neural network. The method combines a neural network with a gating mechanism and model perception technology to provide a new parameter extraction method that can more accurately and efficiently extract semiconductor device model parameters from measurement data. Figure 3 The implementation process shown in the figure, the method provided by the embodiment of the present invention includes the following steps:
[0057] Step 1: Generate an initial data set through Latin hypercube sampling; the initial data set includes multiple electrical data samples and a set of real model parameters corresponding to each electrical data sample; each electrical data sample simulates a semiconductor device.
[0058] Here, the specific data content of the electrical data sample is related to the type of semiconductor device. For example, the electrical data of the semiconductor device may include voltage-current (V-I) curve data, but is certainly not limited thereto. A set of real model parameters corresponding to the electrical data sample may be determined based on expert knowledge and parameter importance analysis to ensure that the IV curves of possible semiconductor device inputs can be fully covered.
[0059] In practice, as in Figure 3 As shown in , a large number of electrical data samples can be generated by device model simulation. For example, a large number of electrical data samples can be obtained by simulation in SPCIE software. When the electrical data samples are obtained by SPCIE software simulation, in order to generate a uniform distribution, the electrical data samples can be generated by Latin hypercube sampling.
[0060] Step 2: Screen the initial data set to see if it meets the physical laws to obtain an optimized data set.
[0061] Figure 3 In the step 2, the data quality screening is abbreviated as: screening the data quality of the electrical data samples. The data quality screening includes: checking rules to ensure the scalability of the model and checking rules to ensure the robustness of the model. The checking rules to ensure the scalability of the model are: screening whether the trend of the electrical characteristics of the semiconductor device simulated by the electrical data sample with the structural change conforms to the physical laws; the checking rules to ensure the robustness of the model are: screening whether the trend of the change between the internal data contained in the electrical data sample conforms to the physical laws.
[0062] For example, if the semiconductor device is a BSIM-CMG, the trend of the electrical characteristics of the semiconductor device simulated by the electrical data sample changing with the structure is screened to see whether it conforms to the physical law, which may include: checking I dsat (saturation leakage current) and L (device length), I dsat Relationship with NFIN (number of fins), Vth (threshold voltage) and L, etc. Screening whether the change trend between the internal data contained in the electrical data sample conforms to the physical law can include: checking I ds (Source-Drain Current) vs. V gs (gate-source voltage) change trend and smoothness, and check I ds (Drain-Source Current) vs. V ds (drain-source voltage) changing trend and smoothness, etc.
[0063] In an embodiment of the present invention, the trend of the electrical characteristics of the semiconductor device simulated by the electrical data sample changing with the structure is screened to see whether it conforms to the laws of physics, so as to ensure the scalability of the finally trained gated neural network model; the trend of the change between the internal data contained in the electrical data sample is screened to see whether it conforms to the laws of physics, so as to ensure the robustness of the finally trained gated neural network model.
[0064] Step 3: Use the optimized data set to train the gated neural network model to obtain a pre-trained gated neural network model.
[0065] like Figure 3 As shown, the step three actually achieves: using high-quality electrical data samples to train the gated neural network model. Here, the high-quality electrical data samples are the electrical data samples in the optimized data set.
[0066] In an embodiment of the present invention, an optimized data set is used to train a gated neural network model, so that the accuracy of the trained gated neural network model not only depends on the training errors of each model parameter, but also the data quality screening operation can also provide benefits for the accuracy of the gated neural network model, thereby enabling the trained gated neural network model to achieve better prediction accuracy.
[0067] Among them, Figure 4 As shown, the gated neural network model includes Expert network, A gating network and A network of towers; A gating network with The tower networks correspond one to one. The tower network and gated neural network model are used to predict The model parameters correspond one to one. ≥2, ≥2; The expert networks are used to extract features related to predicting a set of model parameters of the semiconductor device from the electrical data of the semiconductor device; each gating network is used to predict a set of model parameters of the semiconductor device according to the electrical data. The expert networks generate gating scores respectively, and use the gating scores to The features extracted by the expert networks are weighted and fused to form weighted fusion features; in this way, the weights of each expert network flow that affect the output of the gated neural network model are adjusted through the gating network; each tower network is used to predict the model parameters corresponding to the tower network according to the weighted fusion features output by the corresponding gated network. In addition, when training the gated neural network model, the model parameter loss value is calculated based on the importance factor of the model parameter, and the network weight parameters of the gated neural network model in training are adjusted according to the model parameter loss value and the gating score; among them, the importance factor of the model parameter is positively correlated with the correlation between the model parameter and the electrical data sample. The training process of the gated neural network model will be described in detail later.
[0068] When actually building a gated neural network model, a fully connected network can be used to build an expert network. For example, the expert network can be a fully connected neural network with three hidden layers. The function of the expert network to extract features from electrical data can be expressed as , Indicates electrical data, Indicates Expert network, .
[0069] Regarding the structure of the gated network, it is mainly based on Layer building; Figure 5 A schematic diagram of the structure of a gating network is shown in FIG. Figure 5 As shown, the gating network includes an input layer, layer and weighted fusion layer.
[0070] The input layer is used to convert electrical data into The dimensions that the layer's input matches; Layer, used to output electrical data after dimension conversion The gating score of the expert network is The function of the layer is expressed as:
[0071] ;
[0072] in, It is In the gating network The network weight parameters of the layer, represents the matrix, , express The input dimension size of the layer; Indicates The gating network is based on the electrical data The output gated score, express function.
[0073] Weighted fusion layer to use gated score pairs The features extracted by the expert network are weighted and fused to form a weighted fusion feature, whose function is expressed as:
[0074] ;
[0075] in, Represents the weighted fusion feature output by the weighted fusion layer. In the actual network structure, such as Figure 5 As shown in , in the weighted fusion layer, multipliers are used to implement the weighting of features by gated scores, and the summation of adders is used to implement the fusion of weighted features. Represents the input of the gated neural network model as At that time, The gating network is gating scores provided by an expert network, and ,This property enables the gating network to effectively select a subset of the expert network based on the input electrical data.
[0076] For example, Figure 6 As shown in Figure 2, the trained gating network assigns a specific gating score to each expert network. These gating scores determine the contribution of each expert network to the output parameters. Figure 6 The score table shown shows that it is mainly one or several expert networks that contribute to a single model parameter. If there are common features between model parameters, they may be more dependent on certain expert networks. Otherwise, the output model parameters are mainly affected by the relevant expert networks. It can be seen that the gating mechanism based on the gating network can effectively manage different combinations and shared combinations between all output model parameters.
[0077] Regarding the construction of the tower network, it can also be built using a fully connected network. For example, the tower network can be a fully connected neural network with three hidden layers, and its function is expressed as , Indicates A network of towers, Indicates Model parameters for tower network prediction.
[0078] In the embodiment of the present invention, the training process of the gated neural network model is end-to-end and does not require human intervention. Specifically, the training process of the gated neural network model is as follows:
[0079] (1) Inputting the electrical data samples in the optimized data set into the gated neural network model being trained so that the gated neural network model corresponds to a set of model parameters of the semiconductor device simulated by the electrical data samples.
[0080] (2) Based on the actual model parameters corresponding to the electrical data samples and the predicted model parameters corresponding to the gated neural network model in training, the loss function is used to calculate the model parameter loss value.
[0081] Among them, the loss function is:
[0082] ;
[0083] ;
[0084] in, Indicates Model parameter loss value, Represents electrical data samples The corresponding set of true model parameters model parameters, ; Represents the gated neural network model in training according to The corresponding predicted set of model parameters model parameters, is the function for calculating the mean square error, for The mean square error loss is for The importance factor of Positive correlation, for and The correlation index between is a function for calculating correlation, which is expressed as:
[0085] ;
[0086] in, , yes The function has two input parameters, Expressing hope, for The mean of yes The mean of for The standard deviation of for The standard deviation of .
[0087] In the embodiment of the present invention, in order to ensure that the gated neural network model pays more attention to important model parameters, an importance factor is introduced , each model parameter loss has its own importance factor involved in weighting, so that the trained gated neural network model pays more attention to important model parameters.
[0088] Exemplarily, in an optional implementation, The calculation formula can be:
[0089] .
[0090] (3) Adjust the network weight parameters of the gated neural network model in training according to the model parameter loss value and the gating score until the training is completed.
[0091] Specifically, compared with the existing DL method that only considers the error loss of the model parameters themselves when updating the network weight parameters, the embodiment of the present invention also combines the gating score to update the network weight parameters. Specifically, when adjusting the network weight parameters of the gated neural network model in training according to the model parameter loss value and the gating score, The network weight parameters of the expert network are adjusted as follows:
[0092] ;
[0093] ;
[0094] in, represents the calculation of gradient, Indicates The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, represents the learning rate, represents the derivation, Indicates Expert network, Indicates A gating network, It means that when the input of the gated neural network model in training is At that time, The gating network is The gating score controls the influence of each model parameter on the gradient of the expert network. Therefore, in the embodiment of the present invention, the gradient conflict problem can be solved by multiple expert networks. Figure 7 As shown, Figure 2 Different from this, the conflicts are distributed among multiple experts, whereby the gating network can also manage shared features through expert overlap. Figure 7 In, W 1 , W 2 , Wn Represents the weight matrices formed by the network weight parameters of the three different gating networks, ∇ L 1 and ∇ L 2 Represents the gradients of different model parameters.
[0095] For the gated network and tower network, the network weight parameter adjustment method and the network weight parameter adjustment method of the expert network are the same as the existing DL method and are not repeated here.
[0096] In addition, after the initial training of the gated neural network model, before putting it into use, you can also Figure 3 As shown in , the above-mentioned data quality screening operation is used to test the gated neural network model. Specifically, the data quality screening operation is used to test whether a better set of model parameters output by the gated neural network model meets the corresponding physical laws, thereby further ensuring the scalability and robustness of the gated neural network model.
[0097] Therefore, after the gated neural network model is trained, the trained gated neural network model can be used to predict the model parameters of TCAD (Technology Computer Aided Design) / test data, thereby extracting the best model parameters to better optimize device simulation and design. The specific operation is shown in step 4. Here, TCAD / test data refers to TACD data or test data, both of which are electrical data obtained in different ways.
[0098] Step 4: When it is necessary to extract the model parameters of the semiconductor device, the electrical data of the semiconductor device is input into the pre-trained gated neural network model, so that the gated neural network model predicts a set of model parameters of the semiconductor device based on the electrical data.
[0099] In a specific example, taking the design of BSIM-CMG as an example, the electrical data samples for training the gated neural network model include ds ) conditions, different gate-source voltages (V gs ) during the scan. ds ) data. Accordingly, the input layer of the gated neural network model is designed as a 2×19×2 three-dimensional array that can receive the linear (V ds =0.05V) and saturation (V ds =0.9V), V gs Normal and logarithmic I from 0V to 0.9V dsData. The output layer contains 10 tower networks that output 10 key model parameters that are critical to the BSIM-CMG model, including but not limited to gate work function (PHIG), interface trap parameter (CIT), short channel effect coefficient (DVt0), DIBL exponential coefficient (DSUB), long channel Vdsat parameter (KSATIV), Vdsat smoothing function factor (MEXP), mobility LG coefficient (UP), columnar scattering parameter (UD), unit width source-drain extension resistance (RDSW) and linear region saturation velocity (VSAT1). The selection of these parameters is based on expert knowledge and parameter importance analysis to ensure that the VI curves of possible semiconductor device inputs can be fully covered.
[0100] The semiconductor device model parameter extraction method based on the gated neural network provided by the embodiment of the present invention controls the information flow through the gating mechanism, effectively solves the optimization conflict and overfitting problems, and combines the neural network with the gating mechanism and model perception technology, and also combines the traditional simulation technology with the advanced deep learning method. Through strict data quality screening and model training, efficient and accurate device parameter extraction is achieved, providing a more accurate, reliable and interpretable parameter extraction method for semiconductor device modeling. Here, the so-called interpretable parameter extraction method is due to the fact that the embodiment of the present invention does not use the neural network model to learn the input and output characteristics of the semiconductor device, but uses a gated neural network model to predict the model parameters of the semiconductor device according to the electrical data of the semiconductor device, thereby providing insights into the model parameters and device characteristics, which helps to understand and adjust the model of the semiconductor device to meet specific design requirements.
[0101] The method provided in the embodiment of the present invention can be applied to electronic devices. Specifically, the electronic device can be: a desktop computer, a portable computer, an intelligent mobile terminal, a server, etc. This is not limited here, and any electronic device that can implement the present invention belongs to the protection scope of the present invention.
[0102] Corresponding to the above-mentioned semiconductor device model parameter extraction method based on gated neural network, an embodiment of the present invention further provides a semiconductor device model parameter extraction device based on gated neural network, including: a gated neural network model and a model parameter extraction module;
[0103] Gated neural network models include Expert network, A gating network and A network of towers; A gating network with Each tower network corresponds one to one; The tower network and gated neural network model are used to predict The parameters correspond one to one. ≥ 2, ≥ 2; The expert networks are used to extract features related to predicting a set of model parameters of semiconductor devices from the electrical data of semiconductor devices; each gating network is used to predict a set of model parameters of semiconductor devices according to the electrical data. The expert networks generate gating scores respectively, and use the gating scores to The features extracted by the expert networks are weighted and fused to form weighted fusion features; each tower network is used to predict the model parameters corresponding to the tower network according to the weighted fusion features output by the corresponding gating network;
[0104] The gated neural network model is trained in the following way:
[0105] Generate an initial data set by Latin hypercube sampling; the initial data set includes multiple electrical data samples and a set of real model parameters corresponding to each electrical data sample; each electrical data sample simulates a semiconductor device;
[0106] Performing data quality screening on the initial data set to determine whether it meets the physical laws, and obtaining an optimized data set;
[0107] The gated neural network model is trained using the optimized data set to obtain a pre-trained gated neural network model; wherein, when training the gated neural network model, a model parameter loss value is calculated based on an importance factor of the model parameter, and a network weight parameter of the gated neural network model in training is adjusted according to the model parameter loss value and the gating score; wherein the importance factor of the model parameter is positively correlated with the correlation between the model parameter and the electrical data sample;
[0108] The model parameter extraction module is used to input the electrical data of the semiconductor device into the pre-trained gated neural network model when semiconductor device model parameter extraction is required, so that the gated neural network model predicts a set of model parameters of the semiconductor device based on the electrical data.
[0109] Optionally, data quality screening includes: screening whether the trend of electrical characteristics of semiconductor devices simulated by the electrical data samples changing with structure conforms to physical laws, and screening whether the trend of changes between internal data contained in the electrical data samples conforms to physical laws.
[0110] Optionally, the loss function for calculating the model parameter loss value is:
[0111] ;
[0112] ;
[0113] in, Represents electrical data samples The corresponding set of true model parameters model parameters, ; Represents the gated neural network model in training according to The corresponding predicted set of model parameters model parameters, is the function for calculating the mean square error, for The mean square error loss is for The importance factor of Positive correlation, for and The correlation index between is the function for calculating the correlation, Indicates The model parameter loss value.
[0114] Optionally, The calculation formula is: .
[0115] Optionally, when adjusting the network weight parameters of the gated neural network model in training according to the model parameter loss value and the gating score, The network weight parameters of the expert network are adjusted as follows:
[0116] ;
[0117] ;
[0118] in, represents the calculation of gradient, Indicates The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, represents the learning rate, represents the derivation, Indicates Expert network, Indicates A gating network, It means that when the input of the gated neural network model in training is At that time, The gating network is The gating scores provided by the expert network.
[0119] Optionally, the gating network includes an input layer, Layer and weighted fusion layer;
[0120] The input layer is used to convert electrical data into The dimensions that the layer's input matches;
[0121] Layer, used to output electrical data after dimension conversion gating scores of expert networks;
[0122] Weighted fusion layer to use gated score pairs The features extracted by the expert networks are weighted and fused to form weighted fusion features.
[0123] Optionally, both the expert network and the tower network are fully connected networks.
[0124] It should be noted that, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0125] It should be noted that the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.
[0126] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification.
[0127] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art can understand and implement other changes to the disclosed embodiments by viewing the drawings and the disclosed content. In the description of the present invention, the term "comprising" does not exclude other components or steps, "one" or "an" does not exclude multiple situations, and the meaning of "multiple" is two or more, unless otherwise clearly and specifically limited. In addition, certain measures are recorded in different embodiments, but this does not mean that these measures cannot be combined to produce good results.
[0128] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A method for extracting semiconductor device model parameters based on a gated neural network, characterized in that: include: Generate the initial dataset through Latin hypercube sampling; The initial data set includes a plurality of electrical data samples and a set of true model parameters corresponding to each electrical data sample; Each electrical data sample simulates a semiconductor device; Performing data quality screening on the initial data set to determine whether it satisfies physical laws, to obtain an optimized data set; Using the optimized data set to train a gated neural network model to obtain a pre-trained gated neural network model; When it is necessary to extract the model parameters of the semiconductor device, the electrical data of the semiconductor device is input into the pre-trained gated neural network model, so that the gated neural network model predicts a set of model parameters of the semiconductor device according to the electrical data; Wherein, the gated neural network model includes Expert network, A gating network and a network of towers; The gating network is The tower networks correspond one to one; The tower network and the gated neural network model are used to predict The model parameters correspond one to one. ≥ 2, ≥ 2; described expert networks, respectively used to extract features related to predicting a set of model parameters of semiconductor devices from the electrical data; each of the gating networks is used to generate features for the The expert networks generate gating scores respectively, and use the gating scores to The features extracted by the expert networks are weighted and fused to form weighted fusion features; each of the tower networks is used to predict the model parameters corresponding to the tower network according to the weighted fusion features output by the corresponding gating network; When training the gated neural network model, the model parameter loss value is calculated based on the importance factor of the model parameter, and the network weight parameter of the gated neural network model in training is adjusted according to the model parameter loss value and the gating score; wherein the importance factor of the model parameter is positively correlated with the correlation between the model parameter and the electrical data sample; The loss function for calculating the loss value of the model parameters is: ; ; in, Represents electrical data samples The corresponding set of true model parameters model parameters, ; Represents the gated neural network model in training according to The corresponding predicted set of model parameters model parameters, is the function for calculating the mean square error, for The mean square error loss is for The importance factor of Positive correlation, for and The correlation index between is the function for calculating the correlation, Indicates Model parameter loss value; When adjusting the network weight parameters of the gated neural network model in training according to the model parameter loss value and the gating score, The network weight parameters of the expert network are adjusted as follows: ; ; in, represents the calculation of gradient, Indicates The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, represents the learning rate, represents the derivation, Indicates Expert network, Indicates A gating network, It means that when the input of the gated neural network model in training is At that time, The gating network is The gating scores provided by the expert network.
2. The semiconductor device model parameter extraction method based on gated neural network according to claim 1, characterized in that: The data quality screening includes: screening whether the trend of the electrical characteristics of the semiconductor device simulated by the electrical data sample as the structure changes conforms to the physical law, and screening whether the change trend between the internal data contained in the electrical data sample conforms to the physical law.
3. The semiconductor device model parameter extraction method based on gated neural network according to claim 1, characterized in that: The calculation formula is: .
4. The method for extracting semiconductor device model parameters based on a gated neural network according to any one of claims 1 to 3, characterized in that: The gating network includes an input layer, softmax Layer and weighted fusion layer; The input layer is used to convert the electrical data into softmax The dimensions that the layer's input matches; Said softmax layer, used to output the electrical data after dimension conversion gating scores of expert networks; The weighted fusion layer is used to use the gating score to The features extracted by the expert networks are weighted and fused to form weighted fusion features.
5. The method for extracting semiconductor device model parameters based on a gated neural network according to any one of claims 1 to 3, characterized in that: The expert network and the tower network are both fully connected networks.
6. A semiconductor device model parameter extraction device based on a gated neural network, characterized in that: include: Gated neural network model and model parameter extraction module; The gated neural network model includes Expert network, A gating network and a network of towers; The gating network is The tower networks correspond one to one; The tower network and the gated neural network model are used to predict The model parameters correspond one to one. ≥ 2, ≥ 2; described expert networks, respectively used to extract features related to predicting a set of model parameters of the semiconductor device from the electrical data of the semiconductor device; each of the gating networks is used to generate features for the semiconductor device according to the electrical data; The expert networks generate gating scores respectively, and use the gating scores to The features extracted by the expert networks are weighted and fused to form weighted fusion features; each of the tower networks is used to predict the model parameters corresponding to the tower network according to the weighted fusion features output by the corresponding gating network; The gated neural network model is trained in the following way: Generate an initial data set by Latin hypercube sampling; the initial data set includes a plurality of electrical data samples and a set of real model parameters corresponding to each electrical data sample; each electrical data sample simulates a semiconductor device; Performing data quality screening on the initial data set to determine whether it satisfies physical laws, to obtain an optimized data set; The gated neural network model is trained using the optimized data set to obtain a pre-trained gated neural network model; wherein, when training the gated neural network model, a model parameter loss value is calculated based on the importance factor of the model parameter, and the network weight parameters of the gated neural network model in training are adjusted according to the model parameter loss value and the gating score; wherein, the importance factor of the model parameter is positively correlated with the correlation between the model parameter and the electrical data sample; and the loss function for calculating the model parameter loss value is: ; ; in, Represents electrical data samples The corresponding set of true model parameters model parameters, ; Represents the gated neural network model in training according to The corresponding predicted set of model parameters model parameters, is the function for calculating the mean square error, for The mean square error loss is for The importance factor of Positive correlation, for and The correlation index between is the function for calculating the correlation, Indicates Model parameter loss value; When adjusting the network weight parameters of the gated neural network model in training according to the model parameter loss value and the gating score, The network weight parameters of the expert network are adjusted as follows: ; ; in, represents the calculation of gradient, Indicates The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, Indicates At the end of the training round The network weight parameters of the expert network, represents the learning rate, represents the derivation, Indicates Expert network, Indicates A gating network, It means that when the input of the gated neural network model in training is At that time, The gating network is gating scores provided by an expert network; The model parameter extraction module is used to input the electrical data of the semiconductor device into the pre-trained gated neural network model when semiconductor device model parameter extraction is required, so that the gated neural network model predicts a set of model parameters of the semiconductor device based on the electrical data.
7. The semiconductor device model parameter extraction device based on gated neural network according to claim 6, characterized in that: The data quality screening includes: screening whether the trend of the electrical characteristics of the semiconductor device simulated by the electrical data sample as the structure changes conforms to the physical law, and screening whether the change trend between the internal data contained in the electrical data sample conforms to the physical law.
