Optical hot spot detection method, electronic equipment and computer readable storage medium

By dividing the circuit layout into sub-blocks and configuring corresponding neural network models, the problems of manual intervention and low efficiency in existing optical hot spot detection methods are solved, and more efficient optical hot spot detection is achieved.

CN118736281APending Publication Date: 2024-10-01SHENZHEN GOUWEIXIN TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410759598.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing optical hotspot detection methods have limited manual rule matching accuracy and flexibility, graphic pattern matching effects are limited to manually predefined patterns, image classification algorithms have many parameters and limited training speed, and cannot effectively cope with different data scales. The requirements on the neural network structure lead to poor detection efficiency and effect.

Method used

Divide the circuit layout into multiple sub-blocks, configure the optical hotspot detection model according to the number of sub-blocks, use graph convolutional neural network or residual neural network as the image classification module, optimize the training model through stochastic gradient descent method, and adjust network depth and parameters quantity to suit the data size.

Benefits of technology

It reduces the manual intervention in the training and inference of the optical hot spot detection model, improves the detection efficiency and effect, and adapts to different scales of circuit layouts for optical hot spot detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736281A_ABST
    Figure CN118736281A_ABST
Patent Text Reader

Abstract

The invention discloses an optical hotspot detection method, electronic equipment and a computer readable storage medium. The optical hot spot detection method comprises the following steps: dividing a circuit layout into a plurality of sub-blocks, and obtaining the number of the sub-blocks; configuring an optical hot spot detection model based on the number of the sub-blocks; and training the configured optical hot spot detection model, and performing optical hot spot detection on the sub-blocks by using the trained optical hot spot detection model. Through the mode, the optical hot spot detection model is configured according to the scale of the circuit layout, manual intervention in training and inference of the optical hot spot detection model can be reduced, and the detection efficiency and the detection effect of the optical hot spot detection method can also be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of optical hotspot detection, and in particular to an optical hotspot detection method, an electronic device and a computer-readable storage medium. Background Art

[0002] As semiconductor technology nodes shrink, the hotspot problem in design layout has become one of the most prominent bottlenecks in improving chip manufacturing yield. Optical hotspots are specific patterns in the design layout that can cause manufacturing defects even if they have passed the Design Rules Checking (DRC). Image distortion caused by the optical proximity effect (OPE) is the main cause of lithography hotspot patterns. Due to the optical proximity effect, the mutual influence between adjacent patterns is very complex, and it is almost impossible to thoroughly understand the laws of hotspot patterns using manual methods. Physical verification ensures the manufacturability and reliability of integrated circuits, and optical hotspot detection plays a key role in this.

[0003] However, the existing optical hotspot detection methods are based on manual rule matching, graphic pattern matching, image classification and other technical routes. The accuracy and flexibility of the manual rule matching technical route are limited; for the graphic pattern matching method, its effect is still limited by the pre-defined pattern extraction and matching rules; the image classification algorithm has better accuracy and learning ability, but the existing image classification-based algorithms have two disadvantages: the first is that the neural network based on graphics has more parameters, and the training and inference speed is limited; the second disadvantage is that it does not consider the requirements of different scales of data on the neural network structure. Under different data volumes, the learning effect of the neural network is different. If the same neural network and training parameters are used for any amount of data, it is not conducive to the optimization of the training effect. Summary of the invention

[0004] The present application proposes an optical hotspot detection method, an electronic device and a computer-readable storage medium, aiming to solve the above-mentioned problems.

[0005] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide an optical hotspot detection method, which includes: dividing the circuit layout into multiple sub-blocks and obtaining the number of sub-blocks; configuring the optical hotspot detection model based on the number of sub-blocks; training the configured optical hotspot detection model, and using the trained optical hotspot detection model to perform optical hotspot detection on the sub-blocks.

[0006] Among them, the step of configuring the optical hotspot detection model based on the number of sub-blocks includes: in response to the number of sub-blocks being greater than a preset number threshold, using the graph convolutional neural network as the image classification module of the optical hotspot detection model; in response to the number of sub-blocks being less than or equal to the preset number threshold, using the residual neural network as the image classification module of the optical hotspot detection model, and adjusting the network depth and number of parameters of the residual neural network based on the number of sub-blocks.

[0007] Among them, before the step of training the configured optical hotspot detection model and using the trained optical hotspot detection model to perform optical hotspot detection on the circuit layout, it also includes: preprocessing each sub-block of the circuit layout.

[0008] Among them, the step of preprocessing each sub-block of the circuit layout includes: in response to the number of sub-blocks being greater than a preset number threshold, generating a corresponding graph structure based on the polygon information in each sub-block; in response to the number of sub-blocks being less than or equal to the preset number threshold, generating a corresponding image based on the polygon information in each sub-block.

[0009] Among them, the polygon information includes multiple polygons, and the step of generating a corresponding graph structure based on the polygon information in each sub-block includes: replacing the edges of each polygon in each sub-block with nodes, and connecting adjacent nodes in the same polygon; in response to the existence of two edges between two polygons with a distance less than a preset distance, connecting the nodes corresponding to the two edges.

[0010] The polygon information includes multiple polygons, and the step of generating a corresponding picture based on the polygon information in each sub-block includes: painting the interior of each polygon in each sub-block with a first color; painting the rest of each sub-block with a second color; wherein the first color and the second color are two different colors.

[0011] Among them, the step of training the configured optical hotspot detection model includes: using the stochastic gradient descent method to optimize the training of the configured optical hotspot detection model.

[0012] In the process of optimizing the training of the optical hotspot detection model, if the image classification module of the optical hotspot detection model is a graph convolutional neural network, the step size in the training process of the optical hotspot detection model is set to the first step size; if the image classification module of the optical hotspot detection model is a residual neural network, the step size in the training process of the optical hotspot detection model is set to the second step size; wherein the first step size is greater than the second step size.

[0013] In order to solve the above technical problems, another technical solution adopted in the present application is: to provide an electronic device, which includes a processor and a memory connected to the processor, wherein program data is stored in the memory, and the processor executes the program data stored in the memory to execute the optical hotspot detection method implementing any one of the above items.

[0014] In order to solve the above technical problems, another technical solution adopted by the present application is: providing a computer-readable storage medium, which stores program instructions, and the program instructions are executed by a processor to implement any of the above optical hotspot detection methods.

[0015] The beneficial effects of the present application are as follows: Different from the prior art, the optical hotspot detection method of the present application includes: dividing the circuit layout into multiple sub-blocks and obtaining the number of sub-blocks; configuring the optical hotspot detection model based on the number of sub-blocks; training the configured optical hotspot detection model, and using the trained optical hotspot detection model to perform optical hotspot detection on the sub-blocks. In the above manner, the optical hotspot detection method of the present application configures the optical hotspot detection model according to the scale of the circuit layout, which can not only reduce the manual intervention in the training and inference of the optical hotspot detection model, but also improve the detection efficiency and detection effect of the optical hotspot detection method. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.

[0017] Figure 1 It is a flow chart of the first embodiment of the optical hotspot detection method provided by the present application;

[0018] Figure 2 yes Figure 1 A flow chart of an embodiment of step S102;

[0019] Figure 3 It is a schematic diagram of an embodiment of a graph convolution operation of a graph convolutional neural network of the present application;

[0020] Figure 4 It is a structural schematic diagram of an embodiment of a graph convolutional neural network of the present application;

[0021] Figure 5 It is a structural diagram of an embodiment of a residual neural network of the present application;

[0022] Figure 6 is a flow chart of a second embodiment of the optical hotspot detection method provided by the present application;

[0023] Figure 7 yes Figure 6A schematic diagram of a flow chart of an embodiment of step S303;

[0024] Figure 8 yes Figure 7 A schematic diagram of a flow chart of an embodiment of step S401;

[0025] Fig. 9 It is a schematic diagram of an embodiment of graph structure generation provided by the present application;

[0026] Fig.10 yes Figure 7 A flow chart of an embodiment of step S402;

[0027] Fig.11 It is a schematic diagram of an embodiment of picture generation provided by this application;

[0028] Fig.12 It is a structural schematic diagram of an embodiment of the electronic device of the present application;

[0029] Fig.13 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0030] The following embodiments of the technical solution of the present application will be described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0032] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0033] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0034] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0035] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0036] As semiconductor technology nodes shrink, the hotspot problem in design layout has become one of the most prominent bottlenecks in improving chip manufacturing yield. Optical hotspots are specific patterns in the design layout that can cause manufacturing defects even if they have passed the Design Rules Checking (DRC). Image distortion caused by the optical proximity effect (OPE) is the main reason for the generation of hotspot patterns in lithography.

[0037] In order to correct the optical proximity effect, the optical proximity correction (OPC) was created. The core idea of ​​optical proximity correction is to establish an optical proximity correction model based on the consideration of offsetting the optical proximity effect, and to design the photomask pattern according to the optical proximity correction model. In this way, although the optical proximity effect occurs in the photolithography pattern corresponding to the photomask pattern after photolithography, since the offset of this phenomenon has been considered when designing the photomask pattern according to the optical proximity correction model, the photolithography pattern after photolithography is close to the target pattern that the user actually wants to obtain. At present, the mainstream technology nodes (manufacturing processes of 65 nanometers and below) use model-based OPC correction. First, the Hopkins equation is used to perform optical simulation on the mask, and the light intensity distribution in the air is obtained. Then, the light intensity distribution in the air is converted into the photoacid distribution in the photoresist through the photoresist compact model. The photoresist pattern after debonding can be directly obtained from the photoacid distribution. The photoresist compact model can have the following forms:

[0038]

[0039] Among them I, I -b and I +b are the light intensity distribution, initial photoacid distribution and initial photobase distribution in the photoresist, respectively. sis a Gaussian convolution kernel with the following functional form:

[0040]

[0041] Where s is the diffusion length, which is used to indicate the speed of chemical diffusion in the photoresist. is the initial photoacid and Gaussian convolution kernel G s3 The convolution of , the result represents the distribution of photoacid after PEB diffusion. The physical meaning of other items on the left side of the photoresist compact model formula (1) can also be deduced by analogy. The right side of the photoresist compact model formula (1) T is the light intensity threshold. If the light intensity in a certain area of ​​the photoresist is not less than T, the photoresist will be washed away. Therefore, the light intensity threshold T defines the outline of the photoresist pattern. The left side of the photoresist compact model formula (1) I -b is the initial photoacid distribution, which can be directly obtained from the light intensity distribution in the photoresist. First, define a light intensity threshold -b, intercept the part of the light intensity distribution in the photoresist that is greater than the light intensity threshold -b, and then translate the remaining part along the -y axis by -b to obtain the initial photoacid distribution I -b The photoresist compact model formula (1) has the following equation on the left: +b is the initial photobase distribution, which can be directly obtained from the light intensity distribution in the photoresist. First, define a light intensity threshold +b, then reverse the light intensity distribution in the photoresist along y=+b, and intercept the part of the inverted light intensity distribution that is greater than the light intensity threshold +b, and finally translate the remaining part along the -y axis direction by +b to obtain the initial photobase distribution I +b The OPC model fitting requires a large number of sampling points to measure the line width. Specifically, by optimizing the coefficient c on the left side of the photoresist compact model formula (1), i (i=0,1,2,3,5,7) and parameter s j (j=1, 2, 3, 4, 5), -b, +b minimizes the RMS (defined by formula (3)). Formula (3) is as follows:

[0042]

[0043] Among them, CD i,s is the simulated line width obtained by the model at the i-th sampling point. i,w is the actual line width measured at the i-th sampling point; w i is the weight of the i-th sampling point.

[0044] In actual operation, any OPC model will have optical hot spots. Due to the optical proximity effect, the mutual influence between adjacent patterns is very complex, and it is almost impossible to fully understand the laws of hot spot patterns by manual methods. Physical verification ensures the manufacturability and reliability of integrated circuits, and optical hot spot detection plays a key role in it.

[0045] However, the existing optical hotspot detection methods are based on manual rule matching, graphic pattern matching, image classification and other technical routes. The accuracy and flexibility of the manual rule matching technical route are limited; for the graphic pattern matching method, its effect is still limited by the pre-defined pattern extraction and matching rules; the image classification algorithm has better accuracy and learning ability, but the existing image classification-based algorithms have two disadvantages: the first is that the neural network based on graphics has more parameters, and the training and inference speed is limited; the second disadvantage is that it does not consider the requirements of different scales of data on the neural network structure. Under different data volumes, the learning effect of the neural network is different. If the same neural network and training parameters are used for any amount of data, it is not conducive to the optimization of the training effect.

[0046] In order to solve the above problems, this application first proposes an optical hotspot detection method, see Figure 1 , Figure 1 1 is a flow chart of the first embodiment of the optical hotspot detection method provided by the present application. Figure 1 As shown, the optical hotspot detection method of this embodiment specifically includes steps S101 to S103:

[0047] Step S101: Divide the circuit layout into multiple sub-blocks, and obtain the number of sub-blocks.

[0048] In this embodiment, when optical hotspot detection is required for a large-scale circuit layout, it is first necessary to divide it into multiple sub-blocks, wherein the size of the sub-blocks can be set based on actual conditions and is not limited here. After the circuit layout is divided into multiple sub-blocks, the number of sub-blocks can be obtained, that is, the scale of the circuit layout can be obtained.

[0049] Step S102: configuring the optical hotspot detection model based on the number of sub-blocks.

[0050] After the number of sub-blocks of the circuit layout is obtained, the data scale of the layout is obtained. In this embodiment, the optical hotspot detection model can be configured based on the number of sub-blocks.

[0051] In this embodiment, the image classification module in the optical hotspot detection model of this embodiment can use image classification and graph classification methods to perform optical hotspot detection on sub-blocks of the layout. According to the scale of different circuit layouts, this embodiment can use different image classification modules to perform optical hotspot detection on sub-blocks.

[0052] For example, when the number of sub-blocks in the circuit layout is less than or equal to a preset threshold, the image classification module of the optical hotspot detection model can adopt a residual neural network; when the number of sub-blocks in the circuit layout is greater than the preset threshold, the image classification module of the optical hotspot detection model can adopt a graph convolutional neural network.

[0053] In addition, in this embodiment, the number of parameters and the network depth of the optical hotspot detection model can also be adjusted based on the data of the sub-blocks.

[0054] Step S103: training the configured optical hotspot detection model, and performing optical hotspot detection on the sub-blocks using the trained optical hotspot detection model.

[0055] After configuring the optical hotspot detection model, the optical hotspot detection model can be trained. During the training process, the stochastic gradient descent method can be selected for optimization training. In addition, for the trained optical hotspot detection model, appropriate indicators can be selected and used to evaluate and optimize the performance of the optical hotspot detection model. During the training process, under the condition of the same accuracy, the optical hotspot detection model can be evaluated by the false alarm rate to avoid the optical hotspot detection model from missing hotspots.

[0056] After the optical hotspot detection model is trained, the trained optical hotspot detection model can be used to perform optical hotspot detection on the sub-blocks.

[0057] In addition, before training and performing optical hotspot detection on sub-blocks, if the image classification module of the optical hotspot detection model uses a residual neural network, it is necessary to generate images of the sub-blocks based on the requirements and input them into the optical hotspot detection model; if the image classification module of the optical hotspot detection model uses a graph convolutional neural network, it is necessary to generate graph structures of the sub-blocks based on the requirements and input them into the optical hotspot detection model. For the output of the optical hotspot detection model, each sub-block has a digital label. If there is an optical hotspot in the sub-block, the label is 1, otherwise it is 0.

[0058] Different from the prior art, the optical hotspot detection method of the present application includes: dividing the circuit layout into multiple sub-blocks and obtaining the number of sub-blocks; configuring the optical hotspot detection model based on the number of sub-blocks; training the configured optical hotspot detection model, and using the trained optical hotspot detection model to perform optical hotspot detection on the sub-blocks. In the above manner, the optical hotspot detection method of the present application configures the optical hotspot detection model according to the scale of the circuit layout, which can not only reduce the manual intervention in the training and inference of the optical hotspot detection model, but also improve the detection efficiency and detection effect of the optical hotspot detection method.

[0059] Optionally, the method for configuring the optical hotspot detection model based on the number of sub-blocks is as follows: Figure 2 See Figure 2 , Figure 2 yes Figure 1 Schematic diagram of the process of step S102 in an embodiment. This embodiment can be performed as follows Figure 2 The method shown implements step S102, which specifically includes steps S201 to S202:

[0060] Step S201: In response to the number of sub-blocks being greater than a preset number threshold, a graph convolutional neural network is used as an image classification module of an optical hotspot detection model.

[0061] As described above, in this embodiment, if the number of sub-blocks into which the circuit layout is divided is greater than a preset threshold, the graph convolutional neural network is used as an image classification module of the optical hotspot detection model.

[0062] See also Figure 3 and Figure 4 , Figure 3 is a schematic diagram of an embodiment of a graph convolution operation of a graph convolutional neural network of the present application, Figure 4 Schematic diagram of the structure of an embodiment of a convolutional neural network of the present application. Figure 3 As shown in Figure 2, each node of the graph convolutional neural network can receive information from surrounding nodes to update its own features, such as Figure 4 As shown, Figure 4 The structure of the graph convolutional neural network is demonstrated. Since the number of parameters of each node of the graph structure input to the graph convolutional neural network is very small, the space and computation required are much smaller than the convolutional neural network on the image. Therefore, the graph convolutional neural network can be used to train and infer the optical hotspot detection model for optical hotspot detection faster.

[0063] In this embodiment, the preset quantity threshold can be set to 100,000. In other embodiments, the preset quantity threshold can be set based on actual conditions and is not limited here.

[0064] Step S202: In response to the number of sub-blocks being less than or equal to a preset number threshold, the residual neural network is used as an image classification module of the optical hotspot detection model, and the network depth and number of parameters of the residual neural network are adjusted based on the number of sub-blocks.

[0065] As described above, in this embodiment, if the number is less than or equal to the preset number threshold, the residual neural network is used as the image classification module of the optical hotspot detection model, and the network depth and number of parameters of the residual neural network are adjusted based on the number of sub-blocks.

[0066] That is, when the data size is small (for example, less than or equal to the preset number threshold of 100,000 images), the residual neural network can be used as the image classification module of the optical hotspot detection model. Figure 5 , Figure 5 Schematic diagram of the structure of a residual neural network of the present application. If the residual module is repeatedly placed in the convolutional neural network, it can form Figure 5The residual neural network shown in Figure 1 is highly scalable, and the network depth and number of parameters of the residual neural network can be adjusted according to the number of sub-blocks. For example, 18 layers, 50 layers, 101 layers, etc. can be used to adapt to data of different scales.

[0067] Optionally, the present application further proposes an optical hotspot detection method, see Figure 6 , Figure 6 2 is a flow chart of the second embodiment of the optical hotspot detection method provided by the present application. Figure 6 As shown, the optical hotspot detection method of this embodiment specifically includes steps S301 to S305:

[0068] Step S301: Divide the circuit layout into multiple sub-blocks, and obtain the number of sub-blocks.

[0069] Step S301 is the same as step S101 and will not be described again.

[0070] Step S302: configuring the optical hotspot detection model based on the number of sub-blocks.

[0071] Step S302 is consistent with step S102 and will not be described again.

[0072] Step S303: pre-process each sub-block of the circuit layout.

[0073] After configuring the optical hotspot detection model, before training the optical hotspot detection model and performing optical hotspot detection on the sub-blocks, each sub-block of the circuit layout needs to be pre-processed and then input into the optical hotspot detection model.

[0074] Among them, in this embodiment, if the image classification module of the optical hotspot detection model adopts a residual neural network, it is necessary to generate pictures based on the needs of the divided sub-blocks and input them into the optical hotspot detection model; if the image classification module of the optical hotspot detection model adopts a graph convolutional neural network, it is necessary to generate graph structures based on the needs of the divided sub-blocks and input them into the optical hotspot detection model.

[0075] Step S304: training the configured optical hotspot detection model, and performing optical hotspot detection on the sub-blocks using the trained optical hotspot detection model.

[0076] Step S304 is consistent with step S103 and will not be described again.

[0077] Optionally, the method for preprocessing each sub-block of the circuit layout is as follows: Figure 7 See Figure 7 , Figure 7 yes Figure 6 Schematic diagram of the process of step S303 in an embodiment. This embodiment can be performed as follows Figure 7 The method shown implements step S303, which specifically includes steps S401 to S402:

[0078] Step S401: In response to the number of sub-blocks being greater than a preset number threshold, a corresponding graph structure is generated based on polygon information in each sub-block.

[0079] In this embodiment, if the number of sub-blocks is greater than the preset threshold, it means that the image classification module of the optical hotspot detection model adopts a graph convolutional neural network. The graph convolutional neural network uses a graph structure for classification, and the input vector is a graph structure. Therefore, the divided sub-blocks need to generate corresponding graph structures based on the polygon information in the sub-blocks before they can be input into the optical hotspot detection model.

[0080] Step S402: In response to the number of sub-blocks being less than or equal to a preset number threshold, a corresponding picture is generated based on polygon information in each sub-block.

[0081] In this embodiment, if the number of sub-blocks is less than or equal to the preset number threshold, it means that the image classification module of the optical hotspot detection model adopts a residual neural network. The residual neural network uses images for classification, and the input vector is a pixel point. Therefore, the divided sub-blocks need to generate corresponding pictures based on the polygon information in the sub-blocks before they can be input into the optical hotspot detection model.

[0082] Different from the prior art, this embodiment further solves the problem that the optical hotspot detection model cannot be applied on a large scale. The optical hotspot detection model of this embodiment supports the conversion between polygons and graph structures. When the number of sub-blocks is greater than the preset number threshold, the image classification module of the optical hotspot detection model adopts a graph convolutional neural network, which can greatly reduce the time for data preprocessing and neural network training and inference. At the same time, the optical hotspot detection method of this embodiment retains the image classification scheme, and the image classification module can be automatically selected according to the amount of data. In addition, when processing large-scale circuit layouts, the training and inference speed of the optical hotspot detection method of this embodiment can be much faster than existing methods.

[0083] Optionally, a method for generating a corresponding graph structure based on the polygon information in each sub-block is as follows: Figure 8 See Figure 8 , Figure 8 yes Figure 7 In this embodiment, the polygon information in the sub-block includes multiple polygons. In this embodiment, the polygon information in the sub-block includes multiple polygons. Figure 8 The method shown implements step S401, which specifically includes steps S501 to S502:

[0084] Step S501: Replace the edges of each polygon in each sub-block with nodes, and connect adjacent nodes in the same polygon.

[0085] In this embodiment, when generating the graph structure corresponding to the sub-block, it is necessary to obtain the polygons in each sub-block, replace the edges of each polygon with nodes, and connect adjacent nodes in the same polygon.

[0086] Step S502: In response to two polygons having two edges whose distance is less than a preset distance, the nodes corresponding to the two edges are connected.

[0087] In addition, in this embodiment, if two polygons that do not belong to the same polygon have two sides whose distance is less than a preset distance, the nodes corresponding to the two sides need to be connected, and in this embodiment, the corresponding side length is stored on each node.

[0088] For example, see Fig. 9 , Fig. 9 Schematic diagram of an embodiment of graph structure generation provided by this application. Fig. 9 As shown in the figure, given two polygons, first convert the nodes into edges, and then connect the adjacent nodes. Since there is a pair of very close edges between the two polygons, these two edges also need to be connected. Each edge contains normalized features such as position, length, and direction.

[0089] Optionally, a method for generating a corresponding image based on the polygon information in each sub-block is as follows: Fig.10 See Fig.10 , Fig.10 yes Figure 7 In this embodiment, the polygon information in the sub-block includes multiple polygons. In this embodiment, the polygon information in the sub-block includes multiple polygons. Fig.10 The method shown implements step S402, which specifically includes steps S601 to S602:

[0090] Step S601: Paint the interior of each polygon in each sub-block with the first color.

[0091] In this embodiment, when generating a picture corresponding to a sub-block, it is necessary to color the interior of each polygon in each sub-block with a first color. In this embodiment, the first color may be white.

[0092] Step S602: painting the remaining portion of each sub-block with a second color; wherein the first color and the second color are two different colors.

[0093] In addition, after the interior of each polygon is colored with the first color, the rest of the sub-block needs to be colored with the second color, wherein the first color and the second color are two different colors. In this embodiment, the second color may be black.

[0094] For example, see Fig.11 , Fig.11 This is a schematic diagram of an embodiment of image generation provided by this application. Fig.11 As shown, given the node coordinates of a polygon, the nodes can be connected and the interior of the shape can be turned white.

[0095] Optionally, based on the above embodiment, this embodiment can implement the step of training the configured optical hotspot detection model by the following method, and the specific implementation method is as follows:

[0096] The stochastic gradient descent method is used to optimize the training of the configured optical hotspot detection model.

[0097] In this embodiment, for the optical hotspot detection model trained from scratch, the stochastic gradient descent method can be used for optimization. In the neural network training of the optical hotspot detection model in this embodiment, there can be a variety of optimizers to choose from. In this embodiment, the adaptive moment estimation optimizer (Adaptive MomentEstimation optimizer, Adam) is used for training by default, which has strong versatility and low computational complexity.

[0098] In addition, in order to evaluate and optimize the performance of classifiers or models, five indicators, namely accuracy, precision, recall, false alarm rate and false negative rate, are usually used for evaluation. In order to calculate these indicators, a confusion matrix is ​​needed. The confusion matrix is ​​a tool used in classification algorithms to evaluate model performance. It can help us understand the performance of the model on real data. The confusion matrix is ​​generally presented in the form of a two-dimensional table, where the columns represent the categories of actual classification and the rows represent the categories of predicted classification. Among them, the confusion matrices TP, FP, TN and FN respectively represent the following meanings: True Positive (TP): represents the number of samples that are actually positive and predicted as positive by the model; False Positive (FP): represents the number of samples that are actually negative but predicted as positive by the model; True Negative (TN): represents the number of samples that are actually negative and predicted as negative by the model; False Negative (FN): represents the number of samples that are actually positive but predicted as negative by the model.

[0099] As mentioned above, accuracy, precision, recall, false alarm rate, and missed alarm rate are all indicators to measure the performance of classifiers or models. Their differences are as follows:

[0100] Accuracy: The proportion of correct predictions among all samples, reflecting the ability of the classifier or model to correctly judge the overall samples, that is, the ability to correctly classify positive samples as positive samples and negative samples as negative samples. It is the percentage of correctly predicted results in the total samples. The larger the value, the better the performance. However, in the scenario where negative samples (or positive samples) account for the absolute majority, that is, in the case of unbalanced samples, we cannot simply pursue accuracy, because if all samples are judged as negative samples (or positive samples), the accuracy is also very high in this case.

[0101] Precision: The proportion of samples predicted as positive that are actually positive. It reflects the ability of the classifier or model to correctly predict the accuracy of positive samples, that is, how many of the predicted positive samples are actually positive samples. The larger the value, the better the performance. However, if we simply pursue the precision rate, the classifier or model will predict fewer positive samples, and the precision rate will be very high.

[0102] Recall rate: The proportion of all true positive samples that are correctly predicted as positive samples. It reflects the ability of the classifier or model to find out how many positive samples. In machine learning, it is usually called the true rate or recall rate. The larger the recall rate value, the better the performance.

[0103] False alarm rate: The ratio of samples predicted as positive but actually negative. It refers to the ratio of negative samples that the classifier mistakenly predicts as positive. In some scenarios, it is also called the false alarm rate.

[0104] False negative rate: The ratio of samples that are actually positive but predicted as negative. It refers to the ratio of positive samples that are mistakenly predicted as negative by the classifier. In some scenarios, it is also called the false negative rate.

[0105] The above five indicators have different focuses when solving different problems. For example, in tasks such as anomaly detection or spam filtering, false alarm rate may be an important indicator; while in tasks such as disease detection or fraud detection, recall rate and false negative rate may be more critical. Therefore, selecting and using appropriate indicators helps to evaluate and optimize the performance of classifiers or models.

[0106] However, in the training of the optical hotspot detection model of this embodiment, under the condition of the same accuracy rate, the false alarm rate can be exchanged for the recall rate to avoid missing hotspots.

[0107] Optionally, during the optimization training of the optical hotspot detection model, in response to the optical hotspot detection model adopting a graph convolutional neural network for image classification, the step size during the training of the optical hotspot detection model is set to the first step size; in response to the optical hotspot detection model adopting a residual neural network for image classification, the step size during the training of the optical hotspot detection model is set to the second step size; wherein the first step size is greater than the second step size.

[0108] In this embodiment, if the optical hotspot detection model uses a graph convolutional neural network for image classification, the step size during the training of the optical hotspot detection model is set to the first step size. In this embodiment, the first step size can be set to 0.1.

[0109] If the optical hotspot detection model uses a residual neural network for image classification, the step size during the training of the optical hotspot detection model is set to the second step size; wherein, the second step size can be set to 0.01 in this embodiment.

[0110] In other embodiments, the first step length and the second step length can be set based on actual conditions, as long as the first step length is greater than the second step length, and no limitation is made here.

[0111] Optionally, the present application further proposes an electronic device, see Fig.12 , Fig.12 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. The electronic device 200 includes a processor 201 and a memory 202 connected to the processor 201 .

[0112] The processor 201 may also be referred to as a CPU (Central Processing Unit). The processor 201 may be an integrated circuit chip having signal processing capabilities. The processor 201 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0113] The memory 202 is used to store program data required for the processor 201 to run.

[0114] The processor 201 is further configured to execute program data stored in the memory 202 to implement the optical hotspot detection method of any one of the above embodiments.

[0115] Optionally, the present application further proposes a computer-readable storage medium. Fig.13 , Fig.13 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application.

[0116] The computer-readable storage medium 300 of the embodiment of the present application stores program instructions 310 therein, and the program instructions 310 are executed to implement the optical hotspot detection method of any of the above-mentioned embodiments.

[0117] Among them, the program instructions 310 can form a program file and be stored in the above-mentioned computer-readable storage medium in the form of a software product, so that an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of each implementation method of the present application. The aforementioned computer-readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes, or terminal devices such as computers, servers, mobile phones, tablets, etc.

[0118] The computer-readable storage medium 300 of this embodiment may be, but is not limited to, a USB flash drive, an SD card, a PD optical drive, a mobile hard disk, a large-capacity floppy drive, a flash memory, a multimedia memory card, a server, and the like.

[0119] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the steps in the above-mentioned method embodiments.

[0120] In addition, if the above functions are implemented in the form of software functions and sold or used as independent products, they can be stored in a computer-readable storage medium that can be read by a mobile terminal, that is, the present application also provides a storage device storing program data, and the program data can be executed to implement the method of the above embodiment. The storage device can be, for example, a USB flash drive, an optical disk, a server, etc. In other words, the present application can be embodied in the form of a software product, which includes a number of instructions for enabling a smart terminal to execute all or part of the steps of the methods of each embodiment.

[0121] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0122] Any process or method description in a flowchart or otherwise described herein may be understood to represent a mechanism, segment or portion of a code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0123] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (which can be a personal computer, server, network device or other system that can fetch instructions from the instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable storage medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0124] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An optical hotspot detection method, characterized in that: include: Divide the circuit layout into a plurality of sub-blocks, and obtain the number of the sub-blocks; configuring an optical hotspot detection model based on the number of sub-blocks; The configured optical hotspot detection model is trained, and the trained optical hotspot detection model is used to perform optical hotspot detection on the sub-block.

2. The optical hotspot detection method according to claim 1, characterized in that: The step of configuring the optical hotspot detection model based on the number of sub-blocks comprises: In response to the number of the sub-blocks being greater than a preset number threshold, using a graph convolutional neural network as an image classification module of the optical hotspot detection model; In response to the number of sub-blocks being less than or equal to the preset number threshold, the residual neural network is used as the image classification module of the optical hotspot detection model, and the network depth and number of parameters of the residual neural network are adjusted based on the number of sub-blocks.

3. The optical hotspot detection method according to claim 2, characterized in that: Before the step of training the configured optical hotspot detection model and performing optical hotspot detection on the circuit layout using the trained optical hotspot detection model, the step further includes: Each sub-block of the circuit layout is preprocessed.

4. The optical hotspot detection method according to claim 3, characterized in that: The step of preprocessing each sub-block of the circuit layout comprises: In response to the number of the sub-blocks being greater than the preset number threshold, generating a corresponding graph structure based on polygon information in each of the sub-blocks; In response to the number of the sub-blocks being less than or equal to the preset number threshold, a corresponding picture is generated based on the polygon information in each of the sub-blocks.

5. The optical hotspot detection method according to claim 4, characterized in that: The polygon information includes a plurality of polygons, and the step of generating a corresponding graph structure based on the polygon information in each of the sub-blocks includes: Replace the edges of each polygon in each sub-block with nodes, and connect adjacent nodes in the same polygon; In response to the two polygons having two sides whose distance is less than a preset distance, the nodes corresponding to the two sides are connected.

6. The optical hotspot detection method according to claim 4, characterized in that: The polygon information includes a plurality of polygons, and the step of generating a corresponding picture based on the polygon information in each of the sub-blocks includes: Coloring the interior of each of the polygons in each of the sub-blocks with a first color; The remaining part of each of the sub-blocks is painted with a second color; wherein the first color and the second color are two different colors.

7. The optical hotspot detection method according to claim 1, characterized in that: The step of training the configured optical hotspot detection model comprises: The configured optical hotspot detection model is optimized and trained using the stochastic gradient descent method.

8. The optical hotspot detection method according to claim 7, characterized in that: During the optimization training of the optical hotspot detection model, in response to the image classification module of the optical hotspot detection model being a graph convolutional neural network, the step size during the training of the optical hotspot detection model is set to the first step size; in response to the image classification module of the optical hotspot detection model being a residual neural network, the step size during the training of the optical hotspot detection model is set to the second step size; wherein the first step size is greater than the second step size.

9. An electronic device, characterized in that: The electronic device includes a processor and a memory connected to the processor, wherein the memory stores program data, and the processor executes the program data stored in the memory to implement the optical hotspot detection method described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that: Program instructions are stored therein, and the program instructions are executed to implement the optical hotspot detection method described in any one of claims 1-8.

Citation Information

Cited By

  • Chip layout photoetching hot spot detection method and system based on asynchronous element learning

    CN120876380A

  • Chip layout photolithography hotspot detection method and system based on asynchronous meta-learning

    CN120876380B