A hybrid weakly supervised wafer SEM defect segmentation method and system
By mixing a weakly supervised wafer SEM defect segmentation method, utilizing ROI image acquisition and attention modulation of the encoding-decoding structure, the problem of data scarcity and high manual annotation is solved, and high-accuracy wafer SEM in the field of semiconductor manufacturing is achieved. Defect segmentation improves yield.
Patent Information
- Application Number
- CN202410524258.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-04-29
AI Technical Summary
Existing deep learning methods rely on a large amount of annotated data in the segmentation of wafer SEM defect maps, resulting in data scarcity and high manual annotation workload, resulting in low model accuracy, and weak supervision methods perform poorly in industrial SEM images. , cannot effectively solve the problem of defect analysis in the field of semiconductor manufacturing.
A hybrid weakly supervised wafer SEM defect segmentation method is used to collect wafer SEM image data sets for image-level classification labels and pixel-level segmentation label annotations. The ROI image acquisition module is used to identify key areas, crop and expand the data set, and combine coding- The weakly supervised segmentation module of the decoding structure introduces ROI images to perform attention modulation on encoding features, reducing reliance on fully supervised learning.
It achieves fine wafer SEM defect map segmentation with small data sets and low manual dependence, improves yield, enhances the encoder's ability to extract defect features through the region of interest acquisition mechanism and attention modulation, and improves segmentation accuracy.
Smart Images

Figure CN118096799B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of integrated circuit manufacturing, and in particular relates to a hybrid weakly supervised wafer SEM defect segmentation method and system. Background Art
[0002] The integrated circuit semiconductor manufacturing process is very complex, and each step may cause defects. Careful observation and analysis of these defects can help discover the root causes and ultimately improve the yield of finished chips. Traditional methods, such as early semiconductor defect detection based on rules, statistics, and morphological algorithms, require a lot of human resources because they require manual feature extraction and rule determination. However, in recent years, with the development of deep learning technology, semiconductor defect detection has made significant progress. Deep learning uses the powerful learning ability of neural networks to automatically learn and extract features without human intervention, thereby improving efficiency.
[0003] Although existing deep learning methods have been used to solve the problem of surface defect detection in industrial quality control, current deep learning methods are heavily dependent on extensive and fully annotated datasets. Different problems require a large amount of data and high-precision labels, which has a direct impact on the performance of deep learning models. However, in the problem of wafer SEM image defect segmentation, due to the confidentiality of wafer SEM images and the cumbersomeness of the manual annotation process, it becomes difficult to obtain the corresponding dataset, making fully supervised deep learning methods impractical and unsustainable in this field. The scarcity of labeled data has become a key bottleneck in the progress of automated wafer SEM defect analysis. To overcome these challenges, recent methods have attempted to alleviate the heavy labeling task and proposed weakly supervised learning techniques as a less labor-intensive alternative. However, on the one hand, these advanced algorithms are mainly designed for natural images and perform poorly when faced with the unique complexity of industrial SEM images. This is because the features of natural images are quite different from those of wafer SEM defect images, so these weakly supervised methods are less effective when directly applied to the semiconductor manufacturing field. On the other hand, a lower manual labeling workload usually leads to a decrease in model accuracy, among which the pure weak supervision has the lowest labeling workload and the lowest model accuracy, while the full supervision method has the highest accuracy but consumes more time. Both are not a good solution to the problem of wafer SEM defect image segmentation. Therefore, in response to the special needs of the industrial field, a more applicable new method such as a hybrid weak supervision method is needed to solve this problem, so as to achieve a balance between the time consumption and accuracy of manual labeling.
[0004] In general, the key issues of current semiconductor manufacturing defect analysis methods are multi-dimensional: (1) The complex and often confusing background in SEM images places strict requirements on the analysis model. (2) In a field where data is scarce, the reliance on deep learning techniques on large datasets poses a major challenge. (3) The defects in wafer SEM defect images present diverse shapes and structures. The variability within defect categories and the similarities between different categories make defect analysis more difficult. For the subtle requirements of defect analysis, directly applying existing weakly supervised methods is largely ineffective.
[0005] In summary, in the field of integrated circuit manufacturing, there is currently no good method to achieve wafer SEM defect image segmentation with small data and low manual dependence. Summary of the invention
[0006] In view of the problem that the existing segmentation method of wafer SEM defect images heavily relies on fully annotated high-precision labels, the present invention proposes a hybrid weakly supervised wafer SEM defect segmentation method and system, which can achieve fine segmentation of wafer SEM defect images based on a small amount of manual labeling workload, which helps to realize wafer defect analysis and thus improve the yield.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0008] In a first aspect, the present invention discloses a hybrid weakly supervised wafer SEM defect segmentation method, comprising:
[0009] Collect wafer SEM image datasets and annotate each wafer SEM image with image-level classification labels and pixel-level segmentation labels;
[0010] The ROI image acquisition module is pre-trained using the classification labels of the wafer SEM image, and the ROI image acquisition module pre-trained based on the image-level classification labels is used to generate an ROI image corresponding to the wafer SEM image, and the key area in the wafer SEM image is identified according to the ROI image; the wafer SEM image is cropped according to the key area to obtain an enhanced wafer SEM image, wherein the enhanced wafer SEM image includes the complete key area in the wafer SEM image before cropping;
[0011] The initial data set is expanded by using the enhanced wafer SEM image, and the expanded data set is used to train a weakly supervised segmentation module based on an encoding-decoding structure, wherein the weakly supervised segmentation module introduces a ROI image corresponding to the wafer SEM image during the encoding process to perform attention modulation on the encoding features;
[0012] The pre-trained ROI image acquisition module and the trained weakly supervised segmentation module are used to identify defective pixels in the SEM image of the wafer to be processed and complete defect segmentation.
[0013] Furthermore, the classification label is used to indicate whether there are defects in the wafer SEM image and the type of defects, and the segmentation label is used to indicate whether each pixel in the wafer SEM image is a defect.
[0014] Furthermore, the ROI image acquisition module includes a feature extraction part based on a convolution structure, and a classification part. The feature extraction part is used to generate a feature map of the input wafer SEM image, and the classification part is used to predict whether there are defects in the wafer SEM image and the type of defects based on the feature map; the ROI image corresponding to the wafer SEM image is calculated based on the feature map generated by the feature extraction part, and each pixel in the ROI image represents its contribution value to the category to which the image belongs.
[0015] Furthermore, the calculation formula of the ROI image is:
[0016]
[0017] Among them, Acti represents the activation function, c represents the category corresponding to the input wafer SEM image, and F k Represents the feature map of the kth channel in the feature map generated by the feature extraction part, represents the weight of the kth channel relative to class c in the feature map generated by the feature extraction part, represents the number of channels of the feature map, It represents the contribution value of each pixel point in the feature map generated by the feature extraction part to the category to which the image belongs; the image composed of the contribution value of each pixel point to the category to which the image belongs is adjusted to the size of the input wafer SEM image to obtain the ROI image.
[0018] Furthermore, the key area in the wafer SEM image refers to the area where the pixels whose contribution values exceed a threshold value are located in the ROI image corresponding to the wafer SEM image.
[0019] Furthermore, the step of cropping the wafer SEM image according to the key area to obtain an enhanced wafer SEM image includes:
[0020] Setting a cropping window, wherein the size of the cropping window is larger than the size of the critical area in the wafer SEM image;
[0021] Randomly moving a cropping window on the wafer SEM image and ensuring that the cropping window covers a complete key area in the wafer SEM image;
[0022] The wafer SEM image and its segmentation label are captured using the cropping window, and the cropped portion is adjusted to the size before cropping to obtain an enhanced wafer SEM image and its segmentation label.
[0023] Furthermore, it also includes:
[0024] The enhanced wafer SEM image is used as a new input image, and the pre-trained ROI image acquisition module is reused to generate the ROI image and key area of the new input image. The new input image is further cropped to generate an enhanced wafer SEM image corresponding to the new input image.
[0025] Furthermore, the weakly supervised segmentation module introduces the ROI image corresponding to the wafer SEM image during the encoding process to perform attention modulation on the encoding features, including:
[0026] The encoder in the weakly supervised segmentation module is composed of multiple layers of encoding blocks. The encoder sequentially downsamples the input wafer SEM image to achieve layer-by-layer encoding, performs weighted summation on the encoding features generated by each encoding block and the resized ROI image corresponding to the wafer SEM image, and fuses the ROI image into the output result of each encoding block; the input of the first layer encoding block is the wafer SEM image, the input of the i-th layer encoding block is the output feature map after the i-1-th layer encoding block is fused, and i≥2.
[0027] Furthermore, when the expanded data set is used to train a weakly supervised segmentation module based on the encoding-decoding structure, a segmentation activation map containing back-propagation gradient information is generated according to the segmentation result generated by the decoder, and the attention weight in the segmentation activation map is multiplied by the fused output feature map of the last encoding block of the encoder, and the multiplication result is added to the fused output feature map of the last encoding block of the encoder to obtain a new output feature map for decoding.
[0028] Furthermore, the number of layers of the encoder and decoder corresponds one to one, and a jump connection is introduced in the corresponding layer, that is, the encoding features of the corresponding layer are introduced through the jump connection during the decoding process of each layer, so that the decoding features are more refined. Preferably, the encoder adopts a multi-layer residual block structure, and the decoder adopts a multi-layer transposed convolution structure.
[0029] In a second aspect, the present invention further discloses a hybrid weakly supervised wafer SEM defect segmentation system for executing the above-mentioned hybrid weakly supervised wafer SEM defect segmentation method.
[0030] The beneficial effects of the present invention are:
[0031] (1) The present invention proposes a region of interest acquisition mechanism, which reduces the dependence of the fully supervised learning method on data annotation by identifying the key areas in the original wafer SEM image and generating an enhanced wafer SEM image. It can achieve a fine segmentation effect with limited data annotation.
[0032] (2) The weakly supervised segmentation module of the present invention introduces the ROI image corresponding to the wafer SEM image during the encoding process to perform attention modulation on the encoding features, and integrates the ROI image into each layer of encoding results, so that the encoder can focus on the information of the key area, thereby enhancing the encoder's ability to extract defect features. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic diagram of a flow chart of a hybrid weakly supervised wafer SEM defect segmentation method proposed in the present invention;
[0034] Figure 2 Get a schematic for the region of interest (RoI);
[0035] Figure 3 Schematic diagram of cropping and data expansion;
[0036] Figure 4 Schematic diagram of weakly supervised segmentation. DETAILED DESCRIPTION
[0037] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention.
[0038] The accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0039] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation.
[0040] The present invention proposes a hybrid weakly supervised wafer SEM defect segmentation method, which specifically includes the following steps:
[0041] S1. Collect wafer SEM image data, annotate each wafer SEM image with image-level classification labels and pixel-level segmentation labels, and obtain the original training data set. In the present invention, the classification label refers to whether the wafer SEM image has defects and the types of defects, for example, the types of defects may include holes, films, particles, image deformation and scratches, etc.; the segmentation label refers to whether each pixel in the wafer SEM image is a defect, for example, the pixel with defects is marked as 1, and the pixel without defects is marked as 0.
[0042] S2. Build a hybrid weakly supervised model.
[0043] The hybrid weakly supervised model includes three parts, namely, ROI image acquisition module, cropping expansion enhancement module and weakly supervised segmentation module. First, the wafer SEM image is processed by the ROI image acquisition module to identify the key area where the defect is located; then the wafer SEM image is cropped multiple times according to the key area using the data expansion enhancement module to ensure that the cropped new image includes the complete key area, so as to expand the number of images in the original training data set and provide more available training samples for model training. Finally, the weakly supervised segmentation module is trained using the expanded training data set.
[0044] In a specific implementation of the present invention, the ROI image acquisition module uses the backbone network of the ResNet34 model to extract features, and each residual block in the ResNet34 model improves gradient propagation through residual connections, which is convenient for network training and optimization. During feature extraction, the gradient information corresponding to the convolutional layer in the residual block contains the information corresponding to the weight of each feature channel, reflecting the importance of different feature channels to the classification results. In order to obtain the ROI image of the wafer SEM image, the present invention performs weighted summation on the weights and channels of the last residual block output feature map mapping. This process associates the backbone network output feature map of the ResNet34 model with the spatial position of the input wafer SEM image, thereby obtaining the contribution value of each pixel of the input wafer SEM image, obtaining the ROI image and adjusting it to the size of the original wafer SEM image to ensure the consistency of the image scale; marking the area that plays a key role in classification according to the contribution value of each pixel in the ROI image.
[0045] The above process performed by the ROI image acquisition module can be described by the following formula:
[0046]
[0047] Wherein, Acti represents the activation function. In this embodiment, the activation function adopts the Relu function; c represents the category corresponding to the input wafer SEM image, and F kRepresents the feature map of the kth channel in the backbone network output feature map of the ResNet34 model, represents the weight of the kth channel relative to class c in the backbone network output feature map of the ResNet34 model, represents the number of channels of the feature map, The backbone network output feature map of the ResNet34 model represents the contribution value of each pixel to the category to which the image belongs. The ROI image is obtained and adjusted to the size of the original wafer SEM image. The key area of the input wafer SEM image can be obtained according to the contribution value of each pixel in the ROI image.
[0048] The backbone network output feature map of the ResNet34 model is passed through the classification head to obtain the defect type prediction result of the input wafer SEM image, and the ResNet34 model is trained in combination with the classification label. The trained ResNet34 model can maximize the use of the classification labels in the input wafer SEM image to generate ROI images and complete the key area recognition in the image.
[0049] The ROI image acquisition module designed by the present invention is not limited to the above-mentioned ResNet34 model, and other image classifiers, such as VGG16, etc., can also be used.
[0050] In a specific implementation of the present invention, the cropping, expansion and enhancement module crops and enhances the input wafer SEM image according to the key area in the ROI image. In order to retain the complete information of the defect, the cropping window is set to a cropping window including the region of interest. A wafer SEM image is cropped by multiple cropping windows including the key area, and then the cropped image size is adjusted to the size of the original wafer SEM image to ensure the consistency of the image scale. The enhanced wafer SEM image generated after cropping is input into the ROI image acquisition module again, and data enhancement is repeated multiple times. This method improves the network's ability to extract features of SEM image defects. By cropping, the available data is expanded, which facilitates the subsequent training of the weakly supervised network. The execution process of the cropping, expansion and enhancement module is as follows: Figure 3As shown, for the convenience of illustration, the figure directly displays the cropping process on the ROI image, and each cropping window covers the key area in the ROI image. Since the ROI image is consistent with the input wafer SEM image size and the pixels correspond one to one, the cropped wafer SEM image can be obtained, which is recorded as the enhanced wafer SEM image. According to the one-to-one correspondence between the wafer SEM image and the pixels in the segmentation label, the segmentation label of the enhanced wafer SEM image is also obtained by cropping the segmentation label of the original wafer SEM image. The enhanced wafer SEM image is merged into the original wafer SEM image data set. Each wafer SEM image in the new data set corresponds to a segmentation label and a ROI image. The ROI image is generated by the above-mentioned ROI image acquisition module, and the wafer SEM image, segmentation label, and ROI image are consistent in size.
[0051] In a specific implementation of the present invention, the weakly supervised segmentation module includes an encoder, a decoder and a gradient feedback module.
[0052] Wherein, the encoder is composed of N layers of coding blocks, and the encoder sequentially downsamples the input wafer SEM image to achieve layer-by-layer coding, and uses the ROI image for attention modulation after each coding block as the final output of the coding block of this layer. In this embodiment, when the ROI image is used for attention modulation after each coding block, the ROI image is merged into the output result of each coding block by weighted summing the feature map of the coding block and the resized ROI image, thereby enhancing the encoder's ability to extract defect features. The input of the i-th layer coding block is the output of the i-1-th layer coding block, and the input of the first layer coding block is the wafer SEM image. In this embodiment, the coding block adopts the residual block structure in the ResNet network.
[0053] The decoder is composed of N layers of decoding blocks. The i-th layer decoding block in the decoder corresponds to the i-th layer encoding block in the encoder. The decoder sequentially upsamples the encoding results of the wafer SEM image to achieve layer-by-layer decoding, gradually restores the resolution of the image, and introduces the encoding features of the corresponding layer through jump connections during the decoding process of each layer, that is, each time the encoder doubles the image, it uses a feature channel of the same size as the encoder part for channel splicing operations, so that the features extracted by the entire network are more refined. The input of the N-th layer decoding block is the encoding feature of the N-th layer encoding block, and the generation result of the gradient feedback module will also be introduced in the training stage; the input of the N-1-th layer decoding block is the result of splicing the output of the N-th layer decoding block with the encoding feature of the N-1-th layer encoding block.
[0054] In this embodiment, the decoding block uses the transposed convolution (TransConv) method to upsample the encoded feature maps in sequence, gradually restoring the resolution of the image. Compared with other commonly used upsampling methods, transposed convolution upsampling can learn more complex feature representations. The output Y of the transposed convolution can be expressed as: , here is the transpose of K, which means that the height and width dimensions of the convolution kernel K are flipped before the convolution operation is performed. Specifically, for each element in the output Y , can be calculated as:
[0055]
[0056] in, and , and the range of h' and w' needs to be ensured to be within the valid range of the input tensor X. Here, and They are half of the height and width of the convolution kernel, rounded down to achieve zero padding to ensure that the output size matches the input size.
[0057] After each upsampling using transposed convolution, the feature map of the same size from the encoder is directly connected to the corresponding transposed convolution layer in the decoder to convey more detailed and comprehensive information through the decoder. This jump connection method enhances feature extraction in the network. After splicing, the new feature map continues to undergo transposed convolution to further restore twice the resolution. This process is repeated multiple times until the image is restored to its original resolution. Finally, the number of channels is reduced to 1, and the output of the first layer decoding block is passed through the sigmoid function to obtain the probability of defects for each pixel in the wafer SEM defect map.
[0058] The gradient feedback module is used to generate a segmentation activation map containing back-propagation gradient information according to the segmentation result generated by the decoder, and feedback it to the output feature map of the last coding block of the encoder, and use the feedback segmentation activation map information to modulate the feature map at the end of the encoder, so as to encourage the weak supervision segmentation module to pay more attention to the defect area in the wafer SEM image. In this embodiment, the feedback segmentation activation map information is used to modulate the feature map at the end of the encoder only in the iterative training stage. In each training iteration, the segmentation activation map is used as the attention weight, multiplied with the output feature of the last coding block of the encoder, and the multiplication result is added to the output feature of the last coding block of the encoder to obtain a new feature map. The present invention feeds back the activation area to the encoder, incorporates the segmentation activation map into the training process, and allows the activation area to evolve with the network iteration. This iterative process enables the weak supervision segmentation module to self-adjust the range of the activation area, enhances the feature extraction of the defect area, and helps the weak supervision segmentation module to effectively capture defect features and improve the accuracy of refined segmentation; and provides a self-explanation of its own behavior to the weak supervision segmentation module, forming a "self-adjustment" mechanism.
[0059] S3. Use the new data set generated by the ROI image acquisition module and the cropping, expansion and enhancement module in the hybrid weak supervision model to train the weak supervision segmentation module.
[0060] In a specific implementation of the present invention, the new data set is divided into a training set and a test set;
[0061] The wafer SEM image and ROI image in the training set are input into the encoder in the weakly supervised segmentation module, and the ROI image size is adjusted according to the output feature size of each encoding block, and the ROI image is introduced into the encoding process, and then the decoder is used to predict the position of the pixel points with defects in the wafer SEM image, and the hybrid weakly supervised model is iteratively trained in combination with the segmentation label, and the segmentation activation map containing the back-propagation gradient information is included in the training process during the iteration. In this embodiment, the training process adopts a binary cross entropy loss function.
[0062] The trained weakly supervised segmentation module is tested using the test set, and the obtained module is evaluated using the image classification accuracy and the image segmentation intersection over union (IoU), recall, and accuracy. If the evaluation result meets the requirements, the trained weakly supervised segmentation module parameters are retained, otherwise the training process continues.
[0063] S4. Use the final ROI image acquisition module and weakly supervised segmentation module to achieve wafer SEM defect segmentation.
[0064] In a specific implementation of the present invention, the SEM image of the wafer to be inspected is input into the ROI image acquisition module to generate the ROI image corresponding to the wafer SEM image; then the inspected wafer SEM image and its ROI image are input into the weakly supervised segmentation module to generate the probability of defects in each pixel in the wafer SEM image and obtain the segmentation result.
[0065] In order to prove the effect of the present invention, the hybrid weak supervision model proposed in the present invention is compared with the existing segmentation models Unet, Deeplab v3+, CAM, and SC-CAM, with intersection over union, recall rate, and precision as evaluation indicators. The results are shown in Table 1 below.
[0066] Table 1 Comparison between the hybrid weakly supervised segmentation method of the present invention and the existing segmentation method
[0067]
[0068] It can be seen that the hybrid weak supervision model proposed in the present invention reduces the dependence of the fully supervised learning method on data annotation by cutting, expanding and enhancing the limited training samples, and achieves a fine segmentation effect by using limited data annotation. Due to the ROI image acquisition mechanism and gradient feedback mechanism adopted by the present invention, the hybrid weak supervision model can obtain key areas and self-adjust the range of the activation area, which enhances the model's attention to actual defects, and the segmentation accuracy rate reaches more than 90%.
[0069] In this embodiment, a hybrid weakly supervised wafer SEM defect segmentation system is also provided, which is used to implement the above embodiment. The terms "module", "unit", etc. used below can implement a combination of software and / or hardware for predetermined functions. Although the system described in the following embodiments is preferably implemented in software, it is also possible to implement hardware, or a combination of software and hardware.
[0070] This embodiment provides a hybrid weakly supervised wafer SEM defect segmentation system, including:
[0071] A data acquisition module is used to collect wafer SEM image data sets, annotate each wafer SEM image with image-level classification labels and pixel-level segmentation labels; and to acquire wafer SEM images to be processed;
[0072] ROI image acquisition module, which is obtained by pre-training based on image-level classification labels, is used to generate an ROI image corresponding to the wafer SEM image, and identify key areas in the wafer SEM image based on the ROI image;
[0073] A cropping, expansion and enhancement module, which is used to crop the wafer SEM image according to the key area to obtain an enhanced wafer SEM image, wherein the enhanced wafer SEM image includes the complete key area in the wafer SEM image before cropping;
[0074] The weakly supervised segmentation module includes an encoder and a decoder. During the encoding process, the ROI image corresponding to the wafer SEM image is introduced to perform attention modulation on the encoded features.
[0075] A training module, which is used to train a weakly supervised segmentation module using the expanded data set;
[0076] The defect segmentation module is used to use the pre-trained ROI image acquisition module and the trained weakly supervised segmentation module to identify defective pixels in the SEM image of the wafer to be processed, and complete defect segmentation.
[0077] For the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment, and the implementation methods of the remaining modules will not be repeated here. The system embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.
[0078] The embodiments of the system of the present invention can be applied to any device with data processing capabilities, and the device with data processing capabilities can be a device or apparatus such as a computer. The system embodiments can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, the corresponding computer program instructions in the non-volatile memory are read into the memory by the processor of any device with data processing capabilities and run.
[0079] Obviously, the above-described embodiments and drawings are only some examples of the present application. For those of ordinary skill in the art, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that, although the work done in this development process may be complicated and lengthy, for those of ordinary skill in the art, certain changes in design, manufacturing or production based on the technical content disclosed in the present application are only conventional technical means and should not be regarded as insufficient content disclosed in the present application. Without departing from the concept of the present application, several variations and improvements can also be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.
Claims
1. A hybrid weakly supervised wafer SEM defect segmentation method, characterized in that: include: Collect wafer SEM image datasets and annotate each wafer SEM image with image-level classification labels and pixel-level segmentation labels; A ROI image acquisition module pre-trained with image-level classification labels is used to generate a ROI image corresponding to a wafer SEM image, and a key area in the wafer SEM image is identified according to the ROI image; the wafer SEM image is cropped according to the key area to obtain an enhanced wafer SEM image, wherein the enhanced wafer SEM image includes the complete key area in the wafer SEM image before cropping; The initial data set is expanded by using the enhanced wafer SEM image, and the expanded data set is used to train a weakly supervised segmentation module based on an encoding-decoding structure. The weakly supervised segmentation module introduces a ROI image corresponding to the wafer SEM image during the encoding process to perform attention modulation on the encoding features, including: The encoder in the weakly supervised segmentation module is composed of multiple layers of encoding blocks. The encoder sequentially downsamples the input wafer SEM image to achieve layer-by-layer encoding, performs weighted summation on the encoding features generated by each encoding block and the resized ROI image corresponding to the wafer SEM image, and fuses the ROI image into the output result of each encoding block; the input of the first layer encoding block is the wafer SEM image, and the input of the i-th layer encoding block is the output feature map after the i-1-th layer encoding block is fused, i≥2; The pre-trained ROI image acquisition module and the trained weakly supervised segmentation module are used to identify defective pixels in the SEM image of the wafer to be processed and complete defect segmentation.
2. The hybrid weakly supervised wafer SEM defect segmentation method according to claim 1, characterized in that: The classification label is used to indicate whether there are defects in the wafer SEM image and the type of defects, and the segmentation label is used to indicate whether each pixel in the wafer SEM image is a defect.
3. The hybrid weakly supervised wafer SEM defect segmentation method according to claim 1, characterized in that: The ROI image acquisition module includes a feature extraction part based on a convolution structure and a classification part. The feature extraction part is used to generate a feature map of an input wafer SEM image, and the classification part is used to predict whether there are defects in the wafer SEM image and the type of defects based on the feature map. The ROI image corresponding to the wafer SEM image is calculated based on the feature map generated by the feature extraction part, and each pixel in the ROI image represents its contribution value to the category to which the image belongs.
4. The hybrid weakly supervised wafer SEM defect segmentation method according to claim 3 is characterized in that: The calculation formula of the ROI image is: Among them, Acti represents the activation function, c represents the category corresponding to the input wafer SEM image, and F k Represents the feature map of the kth channel in the feature map generated by the feature extraction part, represents the weight of the kth channel in the feature map generated by the feature extraction part relative to the c class, K represents the number of channels in the feature map, It represents the contribution value of each pixel point in the feature map generated by the feature extraction part to the category to which the image belongs; the image composed of the contribution value of each pixel point to the category to which the image belongs is adjusted to the size of the input wafer SEM image to obtain the ROI image.
5. The hybrid weakly supervised wafer SEM defect segmentation method according to claim 3, characterized in that: The key area in the wafer SEM image refers to the area where the pixel points whose contribution values exceed the threshold value are located in the ROI image corresponding to the wafer SEM image.
6. The hybrid weakly supervised wafer SEM defect segmentation method according to claim 1 or 5, characterized in that: The method of cutting the wafer SEM image according to the key area to obtain the enhanced wafer SEM image includes: Setting a cropping window, wherein the size of the cropping window is larger than the size of the critical area in the wafer SEM image; Randomly moving a cropping window on the wafer SEM image and ensuring that the cropping window covers a complete key area in the wafer SEM image; The wafer SEM image and its segmentation label are captured using the cropping window, and the cropped portion is adjusted to the size before cropping to obtain an enhanced wafer SEM image and its segmentation label.
7. The hybrid weakly supervised wafer SEM defect segmentation method according to claim 6, characterized in that: Also includes: The enhanced wafer SEM image is used as a new input image, and the pre-trained ROI image acquisition module is reused to generate the ROI image and key area of the new input image. The new input image is further cropped to generate an enhanced wafer SEM image corresponding to the new input image.
8. The hybrid weakly supervised wafer SEM defect segmentation method according to claim 1, characterized in that: When using the expanded data set to train the weakly supervised segmentation module based on the encoder-decoder structure, a segmentation activation map containing back-propagation gradient information is generated according to the segmentation result generated by the decoder, and the attention weight in the segmentation activation map is multiplied by the fused output feature map of the last encoding block of the encoder. The multiplication result is added to the fused output feature map of the last encoding block of the encoder to obtain a new output feature map for decoding.
9. A hybrid weakly supervised wafer SEM defect segmentation system, characterized in that: include: A data acquisition module is used to collect wafer SEM image data sets and annotate each wafer SEM image with image-level classification labels and pixel-level segmentation labels; and, for obtaining SEM images of wafers to be processed; ROI image acquisition module, which is obtained by pre-training based on image-level classification labels, is used to generate an ROI image corresponding to the wafer SEM image, and identify key areas in the wafer SEM image based on the ROI image; A cropping, expansion and enhancement module, which is used to crop the wafer SEM image according to the key area to obtain an enhanced wafer SEM image, wherein the enhanced wafer SEM image includes the complete key area in the wafer SEM image before cropping; The weakly supervised segmentation module includes an encoder and a decoder. During the encoding process, the ROI image corresponding to the wafer SEM image is introduced to perform attention modulation on the encoded features, including: The encoder in the weakly supervised segmentation module is composed of multiple layers of encoding blocks. The encoder sequentially downsamples the input wafer SEM image to achieve layer-by-layer encoding, performs weighted summation on the encoding features generated by each encoding block and the resized ROI image corresponding to the wafer SEM image, and fuses the ROI image into the output result of each encoding block; the input of the first layer encoding block is the wafer SEM image, and the input of the i-th layer encoding block is the output feature map after the i-1-th layer encoding block is fused, i≥2; A training module, which is used to train a weakly supervised segmentation module using the expanded data set; The defect segmentation module is used to use the pre-trained ROI image acquisition module and the trained weakly supervised segmentation module to identify defective pixels in the SEM image of the wafer to be processed, and complete defect segmentation.
Citation Information
Patent Citations
Vision Transform network-based weak supervision instance segmentation method and system, and medium
CN115359254A
Self-adaptive wafer defect detection method and device, electronic equipment and storage medium
CN116485779A
Image-level weak supervision semantic segmentation method based on attention and local stitching
CN116883650A
TFT-LCD liquid crystal panel defect segmentation method and system based on semi-supervised learning
CN117409411A
Hybrid wafer defect identification and segmentation method based on self-supervised contrast learning
CN117893481A
