Wafer defect analysis model training method and wafer defect detection method

By training a multimodal large model, combining wafer defect images and structured data, the classification problem of wafer defect detection and analysis in the existing technology is solved, the detection accuracy and production quality are improved, and the wafer is achieved Automatic analysis of defects.

CN118967600AActive Publication Date: 2024-11-15SHENZHEN ZHIXIAN FUTURE IND SOFTWARE CO LTD

Patent Information

Application Number
CN202411000170.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-15
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

In the prior art, wafer defect detection and analysis have problems such as inaccurate classification and insufficient automatic analysis capabilities, which makes it difficult to improve production efficiency and quality.

Method used

By obtaining training data sets including wafer defect images, structured data and description text, training multimodal large models, generating wafer defect analysis models, using this model to detect and analyze wafer defects, and combining the overall wafer information. To improve classification accuracy.

Benefits of technology

It improves the accuracy and production quality of wafer defect type detection, reduces analysis costs, and achieves rapid discovery and resolution of problems in the production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118967600A_ABST
    Figure CN118967600A_ABST
Patent Text Reader

Abstract

The invention provides a training method of a wafer defect analysis model and a wafer defect detection method, and the method comprises the steps: obtaining a training data set which comprises a wafer defect image of a local wafer, structural data used for representing the relation between a wafer defect and a whole wafer, and a description text used for describing information in the wafer defect image; and the label is used for representing the type of the wafer defect in the image. And training the multi-modal large model through the training data set to obtain a wafer defect analysis model. And wafer defect detection is carried out through the wafer defect analysis model. According to the method, wafer defect detection is carried out, the description text is output, the defects existing in the current production process can be known through the description text, and the production quality and efficiency of semiconductors can be improved. By inputting the structured data, the wafer defect analysis model is prevented from swaying among a plurality of wafer defect types only depending on the wafer defect image, and the accuracy of wafer defect type detection can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of semiconductor manufacturing technology, and in particular to a training method for a wafer defect analysis model and a wafer defect detection method. Background Art

[0002] Wafers are the basic raw materials of the semiconductor industry and play an extremely important role in the semiconductor manufacturing process. Defects on wafers can lead to the failure of finished chips.

[0003] In the semiconductor product manufacturing process, the detection and root causes of wafer defects are crucial. Accurately determining the type of wafer defects and determining the causes of wafer defects will help improve wafer production efficiency and quality. Summary of the invention

[0004] In order to overcome the problems existing in the related art, this specification provides a training method for a wafer defect analysis model and a wafer defect detection method.

[0005] According to a first aspect of an embodiment of this specification, a method for training a wafer defect analysis model is provided, the method comprising:

[0006] Acquire a training data set; the training data set includes a wafer defect image, structured data, description text, and a label, wherein the structured data is data detected during the wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole, the description text is used to describe the information in the wafer defect image, the wafer defect image is an image of a part of the wafer where defects exist, and the label is used to characterize the type of wafer defect in the wafer defect image;

[0007] The training data set is used to train a multimodal large model to obtain a wafer defect analysis model; the wafer defect analysis model takes wafer defect images and structured data as input, and takes description text and the type of wafer defects as output.

[0008] According to a second aspect of an embodiment of this specification, a wafer defect detection method is provided, including:

[0009] Acquire data to be identified, wherein the data to be identified includes a wafer defect image to be identified and structured data corresponding to the wafer defect image to be identified; the wafer defect image is an image of a part of a wafer where defects exist, and the structured data is data detected during a wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole;

[0010] The data to be identified is input into a wafer defect analysis model to obtain description text and the type of wafer defect corresponding to the data to be identified, wherein the wafer defect analysis model is trained by the method of claims 1-5, and the description text is used to describe the information in the wafer defect image.

[0011] According to a third aspect of an embodiment of this specification, a training device for a wafer defect analysis model is provided, the device comprising:

[0012] A training data set acquisition module is used to acquire a training data set; the training data set includes a wafer defect image, structured data, description text, and a label, wherein the structured data is data detected during the wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole, the description text is used to describe the information in the wafer defect image, the wafer defect image is an image of a part of the wafer where defects exist, and the label is used to characterize the type of wafer defect in the wafer defect image;

[0013] The large model training module is used to train a multimodal large model using the training data set to obtain a wafer defect analysis model; the wafer defect analysis model takes wafer defect images and structured data as input and takes description text and the type of wafer defects as output.

[0014] According to a fourth aspect of an embodiment of this specification, there is provided a wafer defect detection device, comprising:

[0015] A module for acquiring data to be identified, used for acquiring data to be identified, wherein the data to be identified includes a wafer defect image to be identified and structured data corresponding to the wafer defect image to be identified; the wafer defect image is an image of a part of a wafer where defects exist, and the structured data is data detected during the wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole;

[0016] A wafer defect detection module is used to input the data to be identified into a wafer defect analysis model to obtain a description text corresponding to the data to be identified and the type of wafer defect, wherein the wafer defect analysis model is trained by the method of claims 1-5, and the description text is used to describe the information in the wafer defect image.

[0017] According to a fifth aspect of the embodiments of this specification, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect or the second aspect of the embodiments of this specification is implemented.

[0018] According to a sixth aspect of an embodiment of this specification, a computer device is provided, the computer device comprising:

[0019] processor;

[0020] Memory for storing computer programs;

[0021] When the computer program is executed by the processor, the processor implements the method described in the first aspect or the second aspect of the embodiments of this specification.

[0022] According to a seventh aspect of the embodiments of this specification, a computer program product is provided. When the computer program product is executed by a processor, the method described in the first aspect or the second aspect of the embodiments of this specification is implemented.

[0023] This specification provides a method for training a wafer defect analysis model and a method for detecting wafer defects, and obtains a training data set, wherein the training data set includes a wafer defect image of a part of the wafer, structured data for characterizing the relationship between the wafer defect and the wafer as a whole, a descriptive text for describing the information in the wafer defect image, and a label for characterizing the type of wafer defect in the image. Through the above training data set, a multimodal large model is trained to obtain a wafer defect analysis model. And through the wafer defect analysis model, wafer defect detection is performed.

[0024] By using the above method to detect wafer defects, a description text is output. The defects existing in the current production process can be known through the description text, which can improve the production quality and efficiency of semiconductors. By inputting structured data, the wafer defect analysis model can be prevented from wavering between multiple wafer defect types based solely on wafer defect images, which can improve the accuracy of wafer defect type detection.

[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.

[0027] Figure 1 It is a flowchart of a method for training a wafer defect analysis model according to an exemplary embodiment of this specification.

[0028] Figure 2 This is a schematic diagram of a wafer defect shown in this specification.

[0029] Figure 3 It is a flow chart of a wafer defect detection method shown in this specification according to an exemplary embodiment.

[0030] Figure 4 It is a block diagram of a training device for a wafer defect analysis model according to an exemplary embodiment of the present specification.

[0031] Figure 5 It is a block diagram of a wafer defect detection device shown in this specification according to an exemplary embodiment.

[0032] Figure 6 It is a hardware structure diagram of a computer device shown in this specification according to an exemplary embodiment. DETAILED DESCRIPTION

[0033] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this specification. Instead, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.

[0034] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a", "the" and "the" used in this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0035] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0036] Wafers are important raw materials in the semiconductor manufacturing industry. Defects on wafers can cause chips and other products manufactured using the wafers to fail to function properly. In order to improve production efficiency and quality, the probability of wafer defects must be reduced as much as possible.

[0037] In the semiconductor manufacturing process, automatic detection and analysis of wafer defects helps to discover problems with production equipment in the current manufacturing process as early as possible, and take corresponding treatment measures in time to improve the overall quality of the product.

[0038] Since wafer defects of the same type are generally caused by the same reasons, classifying wafer defects is helpful to analyze the causes of wafer defects. Therefore, the automatic detection and analysis of wafer defects in related technologies may include classification of wafer defects, information of wafer defects and cause analysis, etc.

[0039] In the related art, the detection and analysis of wafer defects are generally done manually, or based on a pre-trained artificial neural network model, or a rule-based algorithm to identify the type of wafer defects. The methods of the related art are generally unable to automatically analyze the causes of wafer defects, and there is a problem of inaccurate wafer defect classification.

[0040] In order to solve the above problems, this specification provides a method for training a wafer defect analysis model, obtaining a training data set, the training data set including a wafer defect image of a part of the wafer, structured data for characterizing the relationship between the wafer defect and the wafer as a whole, a description text for describing the information in the wafer defect image, and a label for characterizing the type of wafer defect in the image. Through the above training data set, a multimodal large model is trained to obtain a wafer defect analysis model.

[0041] Through the above method, first, the multimodal large model is trained based on the training data, so that the multimodal large model can output the description text and type of wafer defects based on the input pictures and structured data, thus realizing the unified processing and comprehensive analysis of multimodal data. The analysis of wafer defects also improves the production quality and efficiency of semiconductors.

[0042] Secondly, the above method can improve the accuracy of the type of wafer defects output by the model. In the related art, a neural network model is generally used to classify wafer defects. The input of the model is generally a wafer defect image, and the output is the type of wafer defect corresponding to the image. There are similarities between the various types of wafer defects. For example, they are all scratches on the surface of the wafer, but some defect types correspond to long scratches, and some defect types correspond to deep scratches. This similarity may cause the model to vacillate between two wafer defect types for wafer images when using the above model to classify wafer defects, and it is impossible to obtain accurate classification results.

[0043] In order to solve the above problems, the method in this specification takes into account that the wafer defect image input to the model is generally a local image of the wafer with defects, and lacks the overall information of the wafer. The method in this specification not only takes the wafer defect image as input, but also introduces the information of the wafer as a whole. The data detected at each inspection period in the production process for characterizing the relationship between wafer defects and the wafer as a whole is input into the model, so that the model can classify wafer defects based on the two, and analyze the causes of wafer defects, etc.

[0044] For example, if only wafer defect image A is input into the neural network model, the model may vacillate between type 1 and type 2. The characteristic of type 1 is that the wafer defect occurs in the middle of the entire wafer, and the characteristic of type 2 is that the wafer defect occurs at the edge of the entire wafer. Structured data can include the location data of the wafer defect on the entire wafer. For example, when scanning by specific instruments and equipment during the wafer production process, the location of the defect is identified and recorded. Then the model can determine the category through the location of the defect recorded in the input structured data. For example, if the structured data indicates that the wafer defect is in the middle of the entire wafer, it can be determined that the wafer defect belongs to type 1.

[0045] It can be seen that by inputting structured data, the accuracy of wafer defect type detection can be improved.

[0046] Next, the embodiments of this specification are described in detail.

[0047] like Figure 1 As shown, Figure 1 This is a flowchart of a method for training a wafer defect analysis model according to an exemplary embodiment of the present specification, comprising the following steps:

[0048] Step 101: Obtain a training data set.

[0049] Among them, the training data set includes wafer defect images, structured data, descriptive text, and labels. The structured data is data detected during the wafer production process and used to characterize the relationship between wafer defects and the wafer as a whole. The descriptive text is used to describe the information in the wafer defect image. The wafer defect image is an image of a local area where defects exist in the wafer. The label is used to characterize the type of wafer defect in the wafer defect image.

[0050] Specifically, the training data set used to train the wafer defect analysis model includes multiple sets of training data, each set of training data includes wafer defect images, structured data, description text and labels. The wafer defect images and structured data are the input data of the model, the description text and labels are used to verify the model output results, and the model parameters are adjusted according to the relationship between the model output results and the description text and labels, so that the model output results can be closer to the description text and labels in the training data set, and the model training is completed.

[0051] Next, each data in the training data set will be described in detail.

[0052] Wafer defect images can be images of real defects captured by semiconductor fabrication (FAB) plants during the manufacturing process. Each set of training data can include at least one wafer defect image, that is, each wafer defect can include multiple images captured from different perspectives of the wafer defect. Wafer defect images are generally images of the local area where the wafer defect is located. For example, Figure 2 As shown, the wafer defect is a shape in which part is not etched enough, and the corresponding wafer defect image can be an image of the wafer defect portion in the wafer.

[0053] For a wafer, if there are multiple wafer defects on the wafer, the multiple wafer defects on the wafer can be used as multiple groups of training data respectively, and each group of training data corresponds to one wafer defect.

[0054] As for the specific method of obtaining the wafer defect image, the wafer defect image can be a wafer image obtained by a scanning electron microscope (SEM), which can take pictures and scan the wafer to identify the defects on the wafer. However, it can only identify the existence of defects and the location of the defects, and cannot specifically determine the type of defects. The wafer defect image can be a partial image of the wafer, such as an image that only includes the location where the wafer defects exist. Of course, the wafer defect image can also be obtained by taking pictures with other equipment that can identify wafer defects, and this manual does not limit this.

[0055] Structured data refers to data stored in the form of tables, etc., such as data stored in a specific database. As for the content of structured data, it can be data detected at various detection periods during the wafer production process to characterize the relationship between wafer defects and the wafer as a whole. Specifically, it can include data characterizing the specific location of wafer defects on the entire wafer, which cannot be obtained from the wafer defect image; it can also include statistical class values ​​of all defects on the entire wafer, etc. For example, the above structured data can include data such as the location of wafer defects on the entire wafer scanned by SEM during the wafer production process, and the number of defects on each wafer.

[0056] In an optional embodiment, the structured data may include: data for characterizing the location of wafer defects on the entire wafer. In the above case, the structured data is related to the location distribution of wafer defects on the entire wafer, and the wafer defect image is generally a local image of the wafer. The structured data can provide data that cannot be obtained from the wafer defect image, thereby making the accuracy of the wafer defect category detected by the model higher.

[0057] The description text is used to describe specific information of the wafer defect in the wafer defect image. For example, the description text includes at least one of the following: the position of the wafer defect in the wafer defect image, the shape of the wafer defect, the size of the wafer defect, the cause of the wafer defect and the recommended solution for the wafer defect.

[0058] For example, the description text can be: "There is a circular defect in the center of the image, the defect size is 0.2um, this defect is caused by the particle falling due to misoperation during the cleaning process, the staff needs to check whether there is a problem in the cleaning operation process."

[0059] Labels are used to mark the types of wafer defects.

[0060] By training the model with the labels and description texts in the training data set, the model can learn the ability of defect classification and defect analysis. The description texts and labels can be obtained by manual annotation.

[0061] In an optional embodiment, the above-mentioned multiple data are obtained in different ways, and can also be aligned according to features such as detection time, wafer identification (ID) or defect ID in the multiple data. In this way, it is ensured that the wafer defect image, description text, structured data and label in each set of training data are corresponding to each other.

[0062] In an optional implementation, after obtaining the training data set, the training data set may be preprocessed. For example, after obtaining the wafer defect image, the wafer defect image may be enhanced, denoised, and standardized; the description text may be cleaned and preprocessed; the structured data may be converted into a format acceptable to the model, etc.

[0063] Step 103, using the training data set to train a multi-modal large model to obtain a wafer defect analysis model.

[0064] The wafer defect analysis model takes wafer defect images and structured data as input, and takes description text and the type of wafer defects as output.

[0065] The training data set obtained through step 101 can be used to fine-tune the multimodal large model to obtain a wafer defect analysis model, which can output the corresponding wafer defect type and description text based on the input wafer defect image and structured data.

[0066] A multimodal big model refers to a model that combines multimodal information such as text, images, and structured data for training. The multimodal big model can integrate image classification tasks and wafer defect analysis tasks into a unified model for training and reasoning. It can also learn richer labels from multiple data sources (images and structured data), thereby more accurately and conveniently classifying and analyzing wafer defects.

[0067] The multimodal big model in step 103 can be a pre-trained multimodal big model. Training the multimodal big model is a process of fine-tuning the parameters of the multimodal big model based on the pre-trained multimodal big model through data related to wafer defect classification and analysis tasks. This can further optimize the performance of the model in wafer defect classification and analysis problems to better adapt to the application scenario.

[0068] Among them, the pre-trained multimodal large model can be a model pre-trained on a large-scale multimodal dataset, such as the Contrastive Language-Image Pre-Training (CLIP) model, the image-text representation model (vision and language bidirectional encoder representations from transformers, ViLBERT), etc.

[0069] For step 103, the specific implementation method may include: looping the following steps until a preset stop condition is reached to obtain a wafer defect analysis model: inputting the wafer defect images and structured data in the training data set into the multimodal large model, and obtaining the descriptive text and labels output by the multimodal large model; using the output descriptive text and labels, as well as the descriptive text and labels in the training data set, according to a preset loss function, updating the parameters of the multimodal large model.

[0070] Among them, the above loss function can be a suitable loss function designed according to the characteristics of the task. For example, for the wafer defect classification task, the cross entropy loss function with good performance in the classification task can be used. For the wafer defect analysis task, a loss function with good performance in the generation task can be used, such as the negative log-likelihood loss function. The two loss functions can be combined together, and the weight between the two loss functions can be adjusted according to the importance of the two tasks to adjust the model parameters through the loss function.

[0071] Through the loss function, the model parameters can be adjusted. The specific fine-tuning process can be to back-propagate the errors between the model output and the description text and labels in the training sample set through the back-propagation algorithm, and update the model parameters to reduce the error. During the fine-tuning process, optimization algorithms such as gradient descent can be used to minimize the loss function.

[0072] During the fine-tuning process, you can also adjust hyperparameters such as learning rate and batch size to obtain better fine-tuning results.

[0073] After fine-tuning is completed, you can also use the validation dataset to evaluate the fine-tuned model. Evaluation indicators can include accuracy, recall, F1 value, etc., as well as performance in actual application scenarios.

[0074] Through the above steps, the pre-trained multimodal large model can be fine-tuned to meet the needs of wafer defect classification and analysis tasks and improve the performance and generalization ability of the model.

[0075] In an optional embodiment, a prompt word can also be constructed according to the training data set to obtain better training effects through the prompt word. In the scheme of the embodiment of this specification, two prompt words can be used. The first prompt word can be the data of the descriptive text and labels required to guide the model output. Through this prompt, the content of the model output can be more in line with the needs and improve the training effect. The second prompt word can include the specific content of the descriptive text. Inputting this prompt is mainly to assist the model in learning the analytical thinking chain of the wafer defect problem and learning how to analyze the wafer defects.

[0076] Specifically, in the presence of a first prompt word, step 103 may specifically include: using the training data set to construct a first category of samples, the first category of samples including a first prompt word and a first expected output, the first prompt word including a wafer defect image and structured data, and the first expected output including a description text and a label; inputting the first prompt word into a multimodal large model to obtain a predicted output of the multimodal large model; using the predicted output and the first expected output, according to a preset loss function, updating the parameters of the multimodal large model.

[0077] For the first prompt word, it can be "The picture below is a wafer defect picture. Please indicate the location, size, cause of the defect, recommended solution, and type of wafer defect in the wafer defect picture". Different training data can use the same second prompt word. The first prompt word can guide the model to output the required description text.

[0078] In addition to the first prompt word, the second prompt word may also be included. When the second prompt word is included, step 103 may include: using the training data set, constructing a second category of samples, the second category of samples including a second prompt word and a second expected output, the second prompt word including a wafer defect image, structured data and a description text, and the second expected output at least including the label; wherein the number of the second category of samples is less than the number of the first category of samples; using the second category of samples, updating the parameters of the multimodal large model.

[0079] For the second prompt word, it can be "The picture below is a wafer picture. There is a circular (shape) defect in the center of the picture (position). The defect size is 0.2um (size). The defect is caused by particle falling due to misoperation during the cleaning process (cause of defect). The staff needs to check whether there is a problem in the cleaning operation process (recommended solution). The structured data information of this picture in the database is as follows: ...". The omitted structured data may include key information such as the position of the defect on the entire wafer and the defect ID.

[0080] The content in the brackets of the prompt above indicates what type of analysis the previous content represents. Prompt can help the model achieve better training results.

[0081] In addition, the number of second prompt words can be much smaller than the number of first prompt words. For example, 10-20 prompt examples can be given for different defect types. Since the second prompt words are used to guide the model to learn the correct thinking chain, the training process is accelerated to achieve better training results. In actual application, only a small number of prompts covering all types need to be input. With the help of the few-shot capability of the model, the model can learn how to analyze problems and achieve the purpose of training.

[0082] After obtaining the wafer defect analysis model, when new wafer defect data is acquired, the wafer defect image in the new wafer defect data and the structured data mentioned above can be input into the fine-tuned wafer defect analysis model for reasoning. The wafer defect analysis model can output the type and description text of the wafer defect for subsequent processing of problems in the production process.

[0083] Specifically, if Figure 3 As shown, this specification also provides a wafer defect detection method, comprising the following steps:

[0084] Step 301 : acquiring data to be identified, wherein the data to be identified includes a wafer defect image to be identified and structured data corresponding to the wafer defect image to be identified.

[0085] Among them, similar to the data in the training data set in step 101, the wafer defect image is a local image of a defective wafer, and the structured data is data detected during the wafer production process for characterizing the relationship between the wafer defect and the wafer as a whole.

[0086] The data to be identified may be the acquired wafer defect data that has not been processed by the wafer defect analysis model. The data to be identified may include an unprocessed wafer defect image, that is, a wafer defect image to be identified, and structured data corresponding to the wafer defect image. The specific meanings of the structured data and the wafer defect image are described above and will not be repeated here.

[0087] Step 303: input the data to be identified into a wafer defect analysis model to obtain description text corresponding to the data to be identified and the type of wafer defect.

[0088] The wafer defect analysis model is trained by the above-mentioned wafer defect analysis model training method, and the description text is used to describe the information in the wafer defect image.

[0089] Through the wafer defect analysis model, the type of wafer defects and description text for describing the wafer defects in the wafer defect image can be output.

[0090] Through the above method, wafer defect images, description text and structured data can be integrated into a unified model, realizing unified processing and comprehensive analysis of multimodal data. At the same time, the fine-tuned multimodal large model is used to realize automatic classification and analysis of wafer defects. During the classification and analysis process, more in-depth root cause analysis results are provided through the analysis of structured data. This method can improve the accuracy of wafer defect classification, reduce the cost of analyzing wafer defects, improve production efficiency, help to quickly discover and solve problems in the wafer production process, and improve wafer production quality.

[0091] Corresponding to the embodiments of the aforementioned method, this specification also provides embodiments of a training device for a wafer defect analysis model, a wafer defect detection device, and a computer device used therein.

[0092] like Figure 4 As shown, Figure 4 1 is a block diagram of a training device for a wafer defect analysis model according to an exemplary embodiment of the present specification, the device comprising:

[0093] The training data set acquisition module 410 is used to acquire a training data set; the training data set includes a wafer defect image, structured data, description text, and a label, wherein the structured data is data detected during the wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole, the description text is used to describe the information in the wafer defect image, the wafer defect image is an image of a part of the wafer where defects exist, and the label is used to characterize the type of wafer defect in the wafer defect image;

[0094] The large model training module 420 is used to use the training data set to train the multimodal large model to obtain a wafer defect analysis model; the wafer defect analysis model takes wafer defect images and structured data as input and takes description text and the type of wafer defects as output.

[0095] In an optional implementation, the structured data includes: data for characterizing the location of wafer defects on the entire wafer.

[0096] In an optional embodiment, the description text includes at least one of the following: the location of the wafer defect in the wafer defect image, the shape of the wafer defect, the size of the wafer defect, the cause of the wafer defect and a recommended solution for the wafer defect.

[0097] In an optional embodiment, the large model training module 420 is specifically used to: use the training data set to construct a first type of sample, the first type of sample includes a first prompt word and a first expected output, the first prompt word includes a wafer defect image, structured data, and the first expected output includes a description text and a label; input the first prompt word into the multimodal large model to obtain the predicted output of the multimodal large model; use the predicted output and the first expected output to update the parameters of the multimodal large model according to a preset loss function.

[0098] In an optional embodiment, the large model training module 420 can also be used to: use the training data set to construct a second category of samples, the second category of samples including a second prompt word and a second expected output, the second prompt word including a wafer defect image, structured data and a description text, and the second expected output at least includes the label; wherein the number of the second category of samples is less than the number of the first category of samples; and use the second category of samples to update the parameters of the multimodal large model.

[0099] like Figure 5 As shown, Figure 5 1 is a block diagram of a wafer defect detection device according to an exemplary embodiment of the present specification, the device comprising:

[0100] The data acquisition module 510 is used to acquire the data to be identified, wherein the data to be identified includes a wafer defect image to be identified and structured data corresponding to the wafer defect image to be identified; the wafer defect image is an image of a part of a wafer where defects exist, and the structured data is data detected during the wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole;

[0101] The wafer defect detection module 520 is used to input the data to be identified into the wafer defect analysis model to obtain the description text and the type of wafer defect corresponding to the data to be identified, wherein the wafer defect analysis model is trained by the above-mentioned wafer defect analysis model training method, and the description text is used to describe the information in the wafer defect image.

[0102] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

[0103] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0104] like Figure 6 As shown, Figure 6 1 shows a hardware structure diagram of a computer device, which may include: a processor 1010 and a memory 1020 for storing a computer program. When the computer program is executed by the processor, the processor implements the above method. Figure 6 As shown, the computer device may further include an input / output interface 1030, a communication interface 1040 and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030 and the communication interface 1040 are connected to each other in communication within the device through the bus 1050.

[0105] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0106] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0107] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0108] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0109] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0110] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0111] The embodiments of the present specification also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned wafer defect analysis model training method or wafer defect detection method.

[0112] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0113] This specification also provides a computer program product, which, when executed by a processor, implements the above-mentioned wafer defect analysis model training method or wafer defect detection method.

[0114] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0115] Those skilled in the art will readily appreciate other embodiments of the specification after considering the specification and practicing the invention claimed herein. The specification is intended to cover any variations, uses or adaptations of the specification that follow the general principles of the specification and include common knowledge or customary techniques in the art that are not claimed in the specification. The specification and examples are to be considered exemplary only, and the true scope and spirit of the specification are indicated by the following claims.

[0116] It should be understood that the present description is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.

[0117] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims

1. A method for training a wafer defect analysis model, characterized in that: The method comprises: Acquire a training data set; the training data set includes a wafer defect image, structured data, description text, and a label, wherein the structured data is data detected during the wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole, the description text is used to describe the information in the wafer defect image, the wafer defect image is an image of a part of the wafer where defects exist, and the label is used to characterize the type of wafer defect in the wafer defect image; The training data set is used to train a multimodal large model to obtain a wafer defect analysis model; the wafer defect analysis model takes wafer defect images and structured data as input, and takes description text and the type of wafer defects as output.

2. The method according to claim 1, characterized in that The structured data includes: data for characterizing the location of wafer defects on the entire wafer.

3. The method according to claim 1, characterized in that The description text includes at least one of the following: a position of the wafer defect in the wafer defect image, a shape of the wafer defect, a size of the wafer defect, a cause of the wafer defect, and a recommended solution for the wafer defect.

4. The method according to claim 1, characterized in that: The method of using the training data set to train a multimodal large model to obtain a wafer defect analysis model includes: Using the training data set, constructing a first type of sample, the first type of sample includes a first prompt word and a first expected output, the first prompt word includes a wafer defect image and structured data, and the first expected output includes a description text and a label; Inputting the first prompt word into a multimodal large model to obtain a predicted output of the multimodal large model; Utilizing the predicted output and the first expected output, according to a preset loss function, the parameters of the multimodal large model are updated.

5. The method according to claim 4, characterized in that The method of using the training data set to train a multimodal large model to obtain a wafer defect analysis model further includes: Using the training data set, constructing a second category of samples, wherein the second category of samples includes a second prompt word and a second expected output, wherein the second prompt word includes a wafer defect image, structured data, and a description text, and the second expected output includes at least the label; wherein the number of the second category of samples is less than the number of the first category of samples; The parameters of the multimodal large model are updated using the second type of samples.

6. A wafer defect detection method, characterized in that: include: Acquire data to be identified, wherein the data to be identified includes a wafer defect image to be identified and structured data corresponding to the wafer defect image to be identified; The wafer defect image is an image of a part of a wafer where defects exist, and the structured data is data detected during the wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole; The data to be identified is input into a wafer defect analysis model to obtain description text and the type of wafer defect corresponding to the data to be identified, wherein the wafer defect analysis model is trained by the method of claims 1-5, and the description text is used to describe the information in the wafer defect image.

7. A training device for a wafer defect analysis model, characterized in that: The device comprises: A training data set acquisition module is used to acquire a training data set; the training data set includes a wafer defect image, structured data, description text, and a label, wherein the structured data is data detected during the wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole, the description text is used to describe the information in the wafer defect image, the wafer defect image is an image of a part of the wafer where defects exist, and the label is used to characterize the type of wafer defect in the wafer defect image; The large model training module is used to train a multimodal large model using the training data set to obtain a wafer defect analysis model; the wafer defect analysis model takes wafer defect images and structured data as input and takes description text and the type of wafer defects as output.

8. A wafer defect detection device, characterized in that: include: A module for acquiring data to be identified, used for acquiring data to be identified, wherein the data to be identified includes a wafer defect image to be identified and structured data corresponding to the wafer defect image to be identified; The wafer defect image is an image of a part of a wafer where defects exist, and the structured data is data detected during the wafer production process and used to characterize the relationship between the wafer defect and the wafer as a whole; A wafer defect detection module is used to input the data to be identified into a wafer defect analysis model to obtain a description text corresponding to the data to be identified and the type of wafer defect, wherein the wafer defect analysis model is trained by the method of claims 1-5, and the description text is used to describe the information in the wafer defect image.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A computer device, characterized in that: The computer device comprises: processor; Memory for storing computer programs; When the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Wafer defect identification method and device based on multi-modal learning, equipment and medium

    CN117541973A

  • Method and device for generating wafer defect description based on multi-modal fusion

    CN118037706A

  • Dedicated large model-based wafer defect root cause analysis method and device

    CN118038454A

  • Metal processing multi-mode defect on-line detection method and metal processing multi-mode defect on-line detection system

    CN118297926A

  • Wafer defect evaluation method and apparatus, memory chip, and readable storage medium

    WO2024000731A1

Cited By

  • Wafer defect classification method and computer equipment

    CN119832345A

  • Defect graph file processing method and device, terminal equipment and storage medium

    CN120670124A

  • Interception strategy determination method and device

    CN121051383A

  • Wafer scanning data acquisition method and verification method of semiconductor detection system

    CN121051392A

  • Epitaxy defect analysis method and analysis system, and readable storage medium

    CN121053139A