Active learning to improve wafer defect classification

By using non-transitory machine-readable media and machine learning models in integrated circuit manufacturing, combined with utility function values ​​and auxiliary classification technology, the problem of low detection efficiency of secondary electrons and backscattered electrons is solved, and the accuracy of defect detection is improved. and efficiency, meeting the high accuracy and high throughput requirements of complex structures.

CN118696311APending Publication Date: 2024-09-24ASML NETHERLANDS BV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380021046.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-11
Filing Date
2023-01-19
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the integrated circuit manufacturing process, it is difficult for existing technologies to simultaneously achieve high-quality secondary electron and backscattered electron detection efficiency, resulting in insufficient accuracy and throughput of defect detection and inspection, and cannot meet the high accuracy and high throughput of complex structures. quantity requirements.

Method used

Use non-transitory machine-readable media to classify unclassified measurement images through a machine learning model, use utility function values ​​to determine the classification priority of the images, and perform auxiliary classification on images with low utility function values ​​and add them to the labeled images The machine learning model is iteratively updated in the pool to improve model performance and image classification accuracy.

Benefits of technology

It improves the training speed and accuracy of the machine learning model, enhances the classification ability of rare defects, improves the accuracy and efficiency of defect detection, and meets the detection requirements of high accuracy and high throughput.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118696311A
    Figure CN118696311A
Patent Text Reader

Abstract

Systems and methods for training a machine learning model to classify defects using utility function-based active learning are described. In one embodiment, one or more non-transitory machine-readable media are configured to cause a processor to determine utility function values for unclassified measurement images based on a machine learning model, where the machine learning model is trained using a labeled pool of measurement images. Based on determining that the utility function value of a given unclassified measurement image is less than a threshold, the unclassified measurement image is output for classification without using the machine learning model. Unclassified measurement images classified via classification without using a machine learning model are added to the labeled pool of measurement images. A machine learning model is trained based on measurement images classified via classification without using the machine learning model.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to EP application 22156456.0 filed on February 11, 2022, and the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure generally relates to wafer defect classification. Background Art

[0004] During the manufacturing process of integrated circuits (ICs), unfinished or completed circuit elements need to be inspected to ensure that they are manufactured as designed and are free of defects. Inspection systems using optical microscopes or charged particle (e.g., electron) beam microscopes (such as scanning electron microscopes (SEMs)) can be used. As the physical size of IC components continues to shrink and their structures become more and more complex, the accuracy and throughput of defect detection and inspection become increasingly important. The overall image quality depends on a combination of factors such as high secondary electron and backscattered electron signal detection efficiency. Backscattered electrons have higher emission energy to escape from deeper layers of the sample, so their detection may be suitable for imaging complex structures (such as buried layers, nodes, high aspect ratio trenches or holes of 3D NAND devices). For applications such as overlay metrology, it may be desirable to simultaneously obtain high-quality imaging and efficient collection of surface information from secondary electrons and buried layer information from backscattered electrons, which highlights the necessity of using multiple electron detectors in the SEM. Although multiple electron detectors in various structural arrangements can be used to maximize the collection and detection efficiency of secondary electrons and backscattered electrons individually, the combined detection efficiency is still low, and therefore the achieved image quality may not be sufficient to meet the requirements of high-accuracy and high-throughput defect inspection and measurement of two-dimensional and three-dimensional structures.

[0005] In the context of semiconductor manufacturing, there is a need to monitor and identify wafer defects. Various solutions have been proposed for dealing with defects. Summary of the invention

[0006] In one embodiment, one or more non-transitory, machine-readable media are configured to cause a processor to determine a utility function value for an unclassified measurement image based on a machine learning model, wherein the machine learning model is trained using a pool of labeled measurement images. Based on a determination that the utility function value for a given unclassified measurement image is less than a threshold, the unclassified measurement image is output for classification without using the machine learning model. The unclassified measurement image that is classified via classification without using the machine learning model is added to the pool of labeled measurement images.

[0007] In another embodiment, the determination of the utility function value includes instructions for classifying the unclassified measurement image using a machine learning model, and determining the utility function value based on the machine learning model.

[0008] In another embodiment, the utility function is based on uncertainty sampling.

[0009] In further embodiments, the instructions for determining the utility function value include instructions for determining the utility function value based on training data corresponding to the machine learning model.

[0010] In another embodiment, the utility function value is based on a representative sampling.

[0011] In another embodiment, the utility function value is based on a class representation.

[0012] In another embodiment, the determination of the utility function value includes instructions for classifying unclassified measurement images using a machine learning model, wherein the machine learning model classification also includes classification probabilities, and the utility function value is determined based on uncertainty sampling based on the classification probabilities and based on a representative sampling of the relationship between training data corresponding to the machine learning model and the unclassified measurement images.

[0013] In further embodiments, classification without using a machine learning model includes auxiliary classification.

[0014] In another embodiment, instructions for evaluating the machine learning model are also included, wherein evaluating the machine learning model includes instructions for classifying a test measurement image via the machine learning model, wherein the test measurement image also has a known classification, and determining model performance based on a relationship between the known classification of the test measurement image and the classification of the test measurement image classified via the machine learning model.

[0015] In further embodiments, instructions are also included for iteratively training the machine learning model based on a determination that model performance is less than a performance threshold.

[0016] In another embodiment, instructions are also included for estimating a confidence value of a trained machine learning model based on evaluating the measurement image, determining whether a stopping criterion is met based on the confidence value, and iteratively updating the machine learning model based on the addition of a pool of labeled measurement images based on a determination that the stopping criterion is not met.

[0017] In one embodiment, one or more non-transitory machine-readable media are configured to cause a processor to acquire a measurement image; and classify the measurement image using a machine learning model, wherein the machine learning model has been trained using a pool of labeled measurement images, wherein the pool of labeled measurement images includes measurement images labeled by the following operations: determining a utility function value for a set of unclassified measurement images based on the machine learning model; outputting an unclassified measurement image for classification without using the machine learning model based on a disadvantage that the utility function value of a given unclassified measurement image is less than a threshold; and adding the unclassified measurement image classified via classification without using the machine learning model to the pool of labeled measurement images.

[0018] In one embodiment, one or more non-transitory machine-readable media are configured to cause a processor to determine a utility function value for an unclassified measurement image based on a trained machine learning model or uncertainty sampling, representative sampling, or a combination thereof.

[0019] In one embodiment, a system includes a processor and one or more non-transitory machine-readable media to perform any of the described embodiments.

[0020] Other advantages of the embodiments of the present disclosure will become apparent from the following description taken in conjunction with the accompanying drawings, wherein certain embodiments of the present invention are set forth by way of illustration and example. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are incorporated in and constitute a part of this specification to illustrate one or more embodiments and together with the specification explain these embodiments. Embodiments of the present invention will now be described by way of example only with reference to the accompanying drawings, in which corresponding reference numerals indicate corresponding parts, wherein:

[0022] Figure 1 is a schematic diagram illustrating an exemplary electron beam inspection (EBI) system consistent with embodiments of the present disclosure.

[0023] Figure 2 It is to show that the embodiment consistent with the present disclosure can be used as Figure 1 A schematic diagram of an exemplary electron beam tool that is a portion of an exemplary electron beam inspection system.

[0024] Figure 3 is a schematic diagram of an exemplary charged particle beam apparatus including a charged particle detector consistent with embodiments of the present disclosure.

[0025] Figure 4 A schematic diagram of a defect detection process according to an embodiment is shown.

[0026] Figure 5A schematic diagram of a method for training a machine learning model to classify defect images using active learning based on a utility function according to one embodiment is shown.

[0027] Figure 6 A visualization of selection of defect images for active learning based on a utility function using representative sampling is shown, according to one embodiment.

[0028] Figure 7 A visualization of selection of defect images for active learning based on a utility function using sampling based on decision nodes is shown, according to one embodiment.

[0029] Figure 8 A visualization of selection of defect images for active learning based on a utility function using uncertainty sampling is shown, according to one embodiment.

[0030] Figure 9A-9B is a graph illustrating example learning rates for machine learning using various types of utility functions in accordance with one or more embodiments.

[0031] Fig.10 An exemplary method of applying a utility function to an unlabeled image is shown according to one embodiment.

[0032] Fig.11 An exemplary method for training a machine learning model using active learning of utility functions based on machine learning classification is shown according to one embodiment.

[0033] Fig.12 An exemplary method for training a machine learning model using active learning of a utility function based on training data is shown according to one embodiment.

[0034] Fig.13 An exemplary method for iteratively training a machine learning model using active learning based on a utility function is shown according to one embodiment.

[0035] Fig.14 An exemplary method for determining whether training criteria are met is shown according to one embodiment.

[0036] Fig.15 is a block diagram of an example computer system according to one embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] Reference will now be made in detail to exemplary embodiments, examples of which are shown in the accompanying drawings. The following description refers to the accompanying drawings, wherein, unless otherwise specified, the same numbers in different drawings represent the same or similar elements. The implementations set forth in the following description of exemplary embodiments do not represent all implementations. Instead, they are merely examples of apparatus and methods consistent with aspects related to the disclosed embodiments described in the appended claims. For example, although some embodiments are described in the context of utilizing electron beams, the present disclosure is not limited thereto. Other types of charged particle beams may be similarly applied. In addition, other imaging systems such as optical imaging, light detection, x-ray detection, etc. may be used.

[0038] Electronic devices consist of circuits formed on a silicon wafer called a substrate. Many circuits may be formed on the same silicon wafer, called an integrated circuit, or IC. The size of these circuits has been reduced dramatically so that more can fit on a substrate. For example, an IC chip in a smartphone can be as small as a thumbnail but may contain more than 2 billion transistors, each less than one thousandth the size of a human hair.

[0039] Manufacturing these extremely small ICs is a complex, time-consuming and expensive process that typically involves hundreds of individual steps. An error in even one step can result in a defect in the finished IC, rendering it unusable. Therefore, one goal of the manufacturing process is to avoid such defects in order to maximize the number of functional ICs manufactured in the process, i.e., to increase the overall yield of the process.

[0040] An integral part of improving yield is monitoring the chip manufacturing process to ensure that a sufficient number of functional integrated circuits are produced. One way to monitor the process is to inspect the chip circuit structures at various stages of their formation. Inspection can be performed using a scanning electron microscope (SEM). The SEM can be used to image these extremely small structures, in effect taking a "photograph" of the structure. This image can be used to determine if the structure was formed correctly and if it was formed in the correct location. If the structure is defective, the process can be adjusted so that the defect is less likely to occur again. It may be desirable for the defect detection and inspection process to have a higher throughput to meet the requirements of IC manufacturers.

[0041] As used herein, the term "diffraction" refers to the behavior of a beam of light or other electromagnetic radiation when it encounters an aperture or series of apertures (including periodic structures or gratings). "Diffraction" can include the creation of constructive and destructive interference, including scattering effects and interferometry. As used herein, a "grating" is a periodic structure that can be one-dimensional (i.e., including dot columns), two-dimensional, or three-dimensional, and that causes optical interference, scattering, or diffraction. A "grating" can be a diffraction grating.

[0042] As used herein, the term "back side" refers to the side of the wafer on which the fewest manufacturing steps are performed, while the term "front side" refers to the side of the wafer on which the majority of manufacturing steps are performed. The back side may include the side of the wafer that is contacted by the wafer handling equipment and / or the wafer chuck. The back side may undergo processing such as through-wafer via construction, back side metallization, oxidation, wafer dicing, etc. The front side may undergo most of the lithography, alignment, etching, implantation, etc. type steps.

[0043] As used herein, "backside defects" refers to defects detected on the back side of a wafer. Backside defects can be divided into multiple types or categories, some example categories include damage, droplets, particles, interference, etc. Backside defect categories may be represented unequally. Backside defects can be detected in one or more measurement steps, including surface profile measurement, optical imaging, SEM imaging, etc. A backside defect image set may include unequally represented types or categories. For example, particle defects may include 70% of the defect image set, while particle-induced imprint defects may include 1% of the defects. Because backside defects correspond to manufacturing process steps and indicators, identifying rare defects may be more important than identifying common defects. Traditional machine learning models may ignore rare defects due to model bias.

[0044] As used herein, "front defects" refer to defects detected on the front side of a wafer. Front defects can be divided into multiple categories or classes, including based on their cause, appearance, harmful effects on manufactured semiconductor devices, location, etc. Some example categories include over-etching, under-etching, misalignment, particles, incomplete exposure, overexposure, incomplete peeling, particles, etc. Front defects can be localized to specific areas and / or can occur at multiple locations on the surface of the wafer. Front defects can be detected in one or more measurement steps, including profile measurement, optical imaging, SEM imaging, etc. Front defect detection may involve non-invasive measurement, such as optical measurement, or may involve destructive measurement, such as cross-sectional SEM imaging. Front defects may not be represented equally, and may not be detected equally. For example, particle defects may be buried by deposited layers and may not be detected by optical measurement. These particle defects can be detected by cross-sectional SEM imaging and / or electrical testing, but since cross-sectional SEM imaging is a destructive measurement technique, it may not be a first-line or routine analysis procedure, which may make buried particles less likely to be detected.

[0045] As used herein, "active learning" is a machine learning or algorithm training method in which a machine learning algorithm interacts with an information source (which may be an operator, a teacher, an (information) provider, etc., which may be a human or software, another algorithm and / or a machine learning model) to obtain a label for one or more unlabeled data. The information source may be queried by a machine learning algorithm training or other software, such as for each unlabeled data. The information source may also label or otherwise act on a group or batch of unlabeled data. The unlabeled data may be fed to or otherwise output to the information source, or the information source may request or obtain the unlabeled data, such as from an unlabeled data pool. Active learning may include iterative training or updating of a machine learning model or algorithm, such as based on one or more batches of data labeled by an information source or an entire data set labeled by an information source. The data labeled by the information source may include a labeled data pool. Active learning may be adaptive, in response to changes in the unlabeled data or unlabeled data pool. Active learning may be a method of incremental learning or training. The unlabeled data may include unclassified data, wherein the classification may include labeling and / or the data may be labeled with the classification.

[0046] As used herein, a "utility function" is a function (e.g., as determined by software, hardware, or, including, other systems operating with a user or controller) that outputs one or more values ​​corresponding to the utility of a given data segment. The data can be images, including defect images (e.g., back defect images and / or front defect images). The data can be labeled data, such as defect images classified by a machine learning classifier, or unlabeled data. A utility function can output a single value, such as an integer or a fraction. A utility function can also output a vector or multi-dimensional value, such as a vector having components corresponding to multiple utility indicators. The utility function value can fall within one or more ranges, such as between zero and one, between negative one and positive one, etc., or be one or more percentages or probabilities or confidence values. The utility function value corresponds to the utility (or usefulness) of the data segment as training data for a machine learning model (such as for active learning).

[0047] The utility function of the data may have a higher value when the machine learning model was able to classify the given data with a higher certainty when previously trained, such as with a higher classification probability or a larger confidence interval. High and low probabilities may be relative and may depend on the general classification probability and confidence of the data classification in the model and the field. For example, for a well-trained model, a classification probability of 0.9 (i.e., corresponding to a 90% probability of a particular classification) may be considered a low probability in a robust field, while a classification probability of 0.5 may be considered a high probability for a model in an early training stage in a new field. The utility function may also have a higher value when the data segment is similar to other data segments in the training set previously used to train the machine learning model. For example, a copy of an image already included in the training set may be expected to have the highest possible utility value (or range of utility values) because its classification can be known based on the copy image (from the training set) marked as a known classification. The utility function of the data may have a lower value when the machine learning model cannot classify a given data segment with a high certainty or high probability and / or has not been trained on similar data segments or data categories.

[0048] The utility function value can depend on a variety of methods for determining the utility of a data segment (e.g., a defect image). The utility function value for a single segment of data can include high-value components and low-value components. For example, a defect image may have a high utility function value corresponding to a high probability (i.e., the current iteration of the machine learning model can classify the defect image with high confidence and therefore has a high utility value based on a high classification probability, but if the defect image belongs to a category that is underrepresented in the training data, it may also have a low utility function value based on category representation). The total utility value can be determined based on multiple utility value components, which may include normalization of one or more utility function value components.

[0049] Here, one or more high utility values ​​for a defect image correspond to a defect image that is expected to be well classified by the current iteration of the machine learning model, and one or more low utility values ​​for a defect image correspond to a defect image that is not expected to be well classified by the current iteration of the machine learning model. This should not be considered limiting, as a high utility value may correspond to a defect image that is not expected to be well classified by the current iteration of the machine learning model, and one or more low utility values ​​for a defect image may correspond to a defect image that is expected to be well classified by the current iteration of the machine learning model. The size of the utility function value may depend on the structure of the utility value function, which may be arbitrary.

[0050] A wafer defect classification method based on active learning is described. According to an embodiment of the present disclosure, the identification and / or classification of defect images can be improved by using active learning to train a machine learning model for defect classification. In active learning, unlabeled training data or images are fed to an auxiliary classifier to produce a training data set, where the auxiliary classifier can be other resource-intensive classification methods of a user, expert, or system. Active learning can also include active learning based on a utility function, where the utility function can be used to select images for classification through an auxiliary classification method. By selecting images based on a utility function for auxiliary classification, the training speed, accuracy, and / or other performance indicators of the machine learning model can be improved, which can reduce the cost of training because generating training data can be expensive (either in terms of money or time). Additionally, class imbalance in the training data can lead to insufficient training or misidentification of classifications of sparse representations. By using a utility function to explain representation or class imbalance, the classification of rare categories can be improved. Active learning based on utility functions can be used to improve the speed, accuracy, precision, and other performance indicators of defect classification.

[0051] The utility function can be used to select training data or additional training data based on the trained machine learning model and / or the training data previously used to train the machine learning model. Then, the machine learning model can be iteratively trained based on the previous training data and the additional selected training data. The training of the machine learning model can be iteratively updated, or a new trained machine learning model can be generated based on the updated training data set. According to an embodiment of the present disclosure, the utility function can determine the utility of the training data based on uncertainty, and the training data can be additional training data or images. Uncertainty sampling can be used to determine the uncertainty or classification probability of one or more images or other data by using the trained machine learning model. Then, the machine learning model can be iteratively trained based on batches of auxiliary classification data, where the data for auxiliary classification is selected based on the utility function. According to an embodiment of the present disclosure, the utility function can determine the utility of the training data or images used for auxiliary classification based on representativeness. Representative sampling can be used to determine the representativeness of one or more images or other data compared to the training data set previously used to train the model. Additionally, the utility function can determine the utility based on decision boundary sampling, various types of uncertainty sampling, various types of representative sampling, distribution sampling, category representation, etc.

[0052] Training the machine learning model may also include determining whether a training criterion is met, such that training may be terminated. The training criterion may include a test criterion based on a test data set with known classifications. The training criterion may include a stopping criterion based on a stopping data set without known classifications. The stopping criterion may include a confidence criterion, such that the stopping criterion is met when further training reduces the confidence of the training model on the stopping data set - i.e., the stopping criterion may be associated with overtraining.

[0053] Training the machine learning model may also include deploying the trained machine learning model and / or classifying one or more images based on the trained model. The image or defect image may include an image of a back defect. The defect image may include a SEM image, an optical image, etc.

[0054] For clarity, the relative sizes of the components in the figures may be exaggerated. In the following description of the drawings, the same or similar reference numerals refer to the same or similar components or entities, and only describe the differences relative to each embodiment. As used herein, unless otherwise clearly stated, the term "or" encompasses all possible combinations unless not feasible. For example, if the description component can include A or B, then unless otherwise clearly stated or not feasible, the component can include A, or B, or A and B. As a second example, if the description component can include A, B or C, then unless otherwise clearly stated or not feasible, the component can include A, or B, or C, or A and B, or A and C, or B and C, or A and B and C.

[0055] Reference now Figure 1 , which illustrates an exemplary electron beam inspection (EBI) system 100 consistent with embodiments of the present disclosure. Figure 1 As shown, the charged particle beam inspection system 100 includes a main chamber 10, a load lock chamber 20, an electron beam tool 40, and an equipment front end module (EFEM) 30. The electron beam tool 40 is located in the main chamber 10. Although the description and drawings are directed to electron beams, it should be recognized that the embodiments are not intended to limit the present disclosure to specific charged particles.

[0056] The EFEM 30 includes a first loading port 30a and a second loading port 30b. The EFEM 30 may include additional loading ports. The first loading port 30a and the second loading port 30b receive a wafer front opening pod (FOUP) containing wafers (e.g., semiconductor wafers or wafers made of other materials) or samples to be inspected (wafers and samples are collectively referred to as "wafers" hereinafter). One or more robotic arms (not shown) in the EFEM 30 transport the wafers to the load lock chamber 20.

[0057] The load lock chamber 20 is connected to a load / lock vacuum pump system (not shown) that removes gas molecules in the load lock chamber 20 to reach a first pressure below atmospheric pressure. After reaching the first pressure, one or more robotic arms (not shown) transfer the wafer from the load lock chamber 20 to the main chamber 10. The main chamber 10 is connected to a main chamber vacuum pump system (not shown) that removes gas molecules in the main chamber 10 to reach a second pressure below the first pressure. After reaching the second pressure, the wafer will be subjected to inspection by an electron beam tool 40. In some embodiments, the electron beam tool 40 may include a single beam inspection tool.

[0058] The controller 50 may be electronically connected to the electron beam tool 40 and may also be electronically connected to other components. The controller 50 may be a computer configured to perform various controls of the charged particle beam inspection system 100. The controller 50 may also include processing circuits configured to perform various signal and image processing functions. Figure 1 The controller 50 is shown as being located outside of the structure including the main chamber 10, the load lock chamber 20, and the EFEM 30, but it will be appreciated that the controller 50 may be part of the structure.

[0059] Although the present disclosure provides an example of a main chamber 10 housing an electron beam inspection system, it should be noted that aspects of the present disclosure in its broadest sense are not limited to a chamber housing an electron beam inspection system. Rather, it is understood that the aforementioned principles may also be applied to other chambers, such as chambers for deep ultraviolet (DUV) lithography or extreme ultraviolet (EUV) lithography systems.

[0060] Reference now Figure 2 , which shows a schematic diagram consistent with an embodiment of the present disclosure, which shows an exemplary configuration of an electron beam tool 40, which can be used as Figure 1 2. The electron beam tool 40 (also referred to herein as the device 40) may include an electron emitter, which may include a cathode 203, an extractor electrode 205, a gun aperture 220, and an anode 222. The electron beam tool 40 may also include a Coulomb aperture array 224, a converging lens 226, a beam limiting aperture array 235, an objective lens assembly 232, and an electron detector 244. The electron beam tool 40 may also include a sample holder 236 supported by a motorized stage 234 to hold a sample 250 to be inspected. It should be understood that other related components may be added or omitted as needed.

[0061] In some embodiments, the electron emitter may include a cathode 203 and an anode 222, wherein primary electrons may be emitted from the cathode and extracted or accelerated to form a primary electron beam 204 that forms a primary beam cross 202. The primary electron beam 204 may be visualized as being emitted from the primary beam cross 202.

[0062] In some embodiments, the electron emitter, focusing lens 226, objective lens assembly 232, beam limiting aperture array 235, and electron detector 244 can be aligned with the primary optical axis 201 of apparatus 40. In some embodiments, electron detector 244 can be placed outside of primary optical axis 201, along a secondary optical axis (not shown).

[0063] In some embodiments, the objective lens assembly 232 may include a modified swing objective delayed immersion lens (SORIL) including a pole piece 232a, a control electrode 232b, a beam manipulator assembly including deflectors 240a, 240b, 240d, and 240e, and an excitation coil 232d. In a general imaging process, a primary electron beam 204 emitted from the tip of the cathode 203 is accelerated by an accelerating voltage applied to the anode 222. A portion of the primary electron beam 204 passes through the apertures of the gun aperture 220 and the Coulomb aperture array 224, and is focused by the converging lens 226 so as to pass completely or partially through the apertures of the beam limiting aperture array 235. The electrons passing through the apertures of the beam limiting aperture array 235 may be focused by the modified SORIL lens to form a detection spot on the surface of the sample 250, and deflected by one or more deflectors of the beam manipulator assembly to scan the surface of the sample 250. Secondary electrons emitted from the sample surface may be collected by electron detector 244 to form an image of the scanned region of interest.

[0064] In the objective lens assembly 232, the excitation coil 232d and the pole piece 232a can generate a magnetic field. A portion of the sample 250 scanned by the primary electron beam 204 can be immersed in the magnetic field and can be charged, thereby generating an electric field. The electric field can reduce the energy of the primary electron beam 204 that strikes the vicinity and surface of the sample 250. The control electrode 232b, which is electrically isolated from the pole piece 232a, can control the electric field above and on the surface of the sample 250, for example, to reduce the aberration of the objective lens assembly 232, to adjust the focus of the signal electron beam to obtain high detection efficiency, or to avoid arcing to protect the sample. One or more deflectors of the beam manipulator assembly can deflect the primary electron beam 204 to facilitate beam scanning on the sample 250. For example, during the scanning process, the deflectors 240a, 240b, 240d and 240e can be controlled to deflect the primary electron beam 204 to different positions on the top surface of the sample 250 at different time points, thereby providing data for image reconstruction of different parts of the sample 250. It is worth noting that the order of 240a-e may be different in different embodiments.

[0065] After receiving the primary electron beam 204, backscattered electrons (BSE) and secondary electrons (SE) may be emitted from a portion of the sample 250. The beam splitter 240c may direct the secondary or scattered electron beam including the backscattered electrons and the secondary electrons to the sensor surface of the electron detector 244. The detected secondary electron beam may form a corresponding beam spot on the sensor surface of the electron detector 244. The electron detector 244 may generate a signal (e.g., voltage, current) representing the intensity of the received secondary electron beam spot and provide the signal to a processing system, such as the controller 50. The intensity of the secondary or backscattered electron beam and the secondary electron beam spot generated thereby may vary depending on the external or internal structure of the sample 250. In addition, as described above, the primary electron beam 204 may be deflected to different positions on the top surface of the sample 250 to generate secondary or scattered electron beams (and the beam spots generated thereby) of different intensities. Therefore, by mapping the intensity of the secondary electron beam spot with the position of the sample 250, the processing system may reconstruct an image reflecting the internal or external structure of the sample 250 (which may include a wafer sample).

[0066] In some embodiments, the controller 50 may include an image processing system including an image acquisition device (not shown) and a memory (not shown). The image acquisition device may include one or more processors. For example, the image acquisition device may include a computer, a server, a mainframe, a terminal, a personal computer, any type of mobile computing device, or the like, or a combination thereof. The image acquisition device may be communicatively coupled to the electronic detector 244 of the device 40 via a medium such as an electrical conductor, a fiber optic cable, a portable storage medium, IR, Bluetooth, the Internet, a wireless network, radio, or a combination thereof. In some embodiments, the image acquisition device may receive a signal from the electronic detector 244 and may construct an image. Thus, the image acquisition device may acquire an image of an area of ​​the sample 250. The image acquisition device may also perform various post-processing functions, such as generating contours, superimposing indicators on the acquired image, and the like. The image acquisition device may be configured to perform adjustments to the brightness and contrast of the acquired image, and the like. In some embodiments, the memory may be a storage medium such as a hard disk, a flash memory, a cloud storage, a random access memory (RAM), other types of computer-readable memory, and the like. The memory may be coupled to the image acquisition device and may be used to save the scanned raw image data as a raw image and a post-processed image.

[0067] In some embodiments, the controller 50 may include a measurement circuit system (e.g., an analog-to-digital converter) to obtain the distribution of the detected secondary electrons and backscattered electrons. The electron distribution data collected during the detection time window is combined with the corresponding scan path data of the primary electron beam 204 incident on the sample (e.g., wafer) surface, which can be used to reconstruct an image of the inspected wafer structure. The reconstructed image can be used to reveal various features of the internal or external structure of the sample 250, and thus can be used to reveal any defects that may be present in the wafer.

[0068] In some embodiments, the controller 50 may control the motorized stage 234 to move the sample 250 during inspection. In some embodiments, the controller 50 may cause the motorized stage 234 to continuously move the sample 250 in one direction at a constant speed. In other embodiments, the controller 50 may cause the motorized stage 234 to change the movement speed of the sample 250 over time according to the steps of the scanning process.

[0069] As is known in the art, charged particles (e.g., electrons from a primary electron beam) are coupled to a sample (e.g., Figure 3 The interaction of the sample 315 in the SEM device column with the electrons (electrons) can produce signal electrons containing composition and morphology information about the detection area of ​​the sample. Secondary electrons (SE) can be identified as signal electrons with low emission energy, while backscattered electrons (BSE) can be identified as signal electrons with high emission energy. Due to their low emission energy, the objective lens assembly can guide the SE along the electron path and focus the SE on the detection surface of the in-lens electron detector placed in the SEM device column. The BSEs traveling along the electron path can also be detected by the in-lens electron detector. However, in some cases, BSEs with large emission angles can be detected using additional electron detectors (e.g., backscattered electron detectors), or remain undetected, resulting in the loss of sample information required to inspect the sample or measure critical dimensions.

[0070] The detection and inspection of certain defects in semiconductor manufacturing processes (such as buried particles during photolithography, metal deposition, dry etching or wet etching, etc.) may benefit from the inspection of surface features and the composition analysis of defective particles. In this case, the user may need the information obtained from the secondary electron detector and the backscattered electron detector to identify (multiple) defects, analyze the composition of (multiple) defects, and adjust process parameters based on the information obtained.

[0071] The emission of SE and BSE follows Lambert's law and has a large energy spread. SE and BSE are generated when the primary electron beam interacts with the sample, and they come from different depths of the sample with different emission energies. For example, secondary electrons originate from the surface, and their emission energy may be ≤50eV, depending on the sample material or the volume of interaction, etc. SE can be used to provide information about surface features or surface geometry. On the other hand, BSE is mainly generated by elastic scattering events of incident electrons of the primary electron beam. Compared with SE, the emission energy of BSE is generally higher, ranging from 50eV to about the landing energy of the incident electron, and provides composition and contrast information of the material being inspected. The number of BSEs generated may depend on a variety of factors, including but not limited to the atomic number of the material in the sample, the accelerating voltage of the primary electron beam, etc.

[0072] Based on the difference in emission energy or emission angle, etc., a separate electron detector, a segmented electron detector, an energy filter, etc. can be used to detect SE and BSE separately. For example, the in-lens electron detector can be configured as a segmented detector that includes multiple segments arranged in two or three dimensions. In some cases, the segments of the in-lens electron detector can be arranged around the main optical axis (e.g., Figure 3 The main optical axis 300-1) is arranged radially, circumferentially or azimuthally.

[0073] Reference now Figure 3 , which shows a schematic diagram of an exemplary charged particle beam device 300 (also referred to as device 300) consistent with embodiments of the present disclosure. Device 300 may be Figure 2 A portion of an exemplary electron beam tool and / or Figure 1 300 may include a charged particle source, such as an electron source configured to emit primary electrons from a cathode 301 and extract them using an extractor electrode 302 to form a primary electron beam 300B1 along a primary optical axis 300-1. The device 300 may also include an anode 303, a converging lens 304, a beam limiting aperture array 305, signal electron detectors 306 and 312, a composite objective 307, a scanning deflection unit including primary electron beam deflectors 308, 309, 310 and 311, and a control electrode 314. In the context of the present disclosure, one or both of the signal electron detectors 306 and 312 may be an in-lens electron detector located within the electron optical device column of the SEM and may be arranged rotationally symmetrically around the primary optical axis 300-1. In some embodiments, the signal electron detector 312 may be referred to as a first electron detector, and the signal electron detector 306 may be referred to as a through-lens detector, an immersion lens detector, an upper detector, or a second electron detector. It should be understood that related components may be added, omitted or re-ordered as desired.

[0074] The electron source (not shown) may include a thermal electron source configured to emit electrons when thermal energy is provided to overcome the work function of the source, a field emission source configured to emit electrons when exposed to a large electrostatic field, etc. In the case of a field emission source, the electron source may be electrically connected to a controller such as Figure 1 A controller 50 in which is configured to apply and adjust voltage signals based on desired landing energy, sample analysis, source characteristics, etc. The extractor electrode 302 can be configured to extract or accelerate electrons emitted from the field emission gun, for example, to form a primary electron beam 300B1, which forms a virtual or real primary beam cross (not shown) along the main optical axis 300-1. The primary electron beam 300B1 can be visualized as being emitted from the primary beam cross. In some embodiments, the controller can be configured to apply and adjust voltage signals to the extractor electrode 302 to extract or accelerate electrons generated from the electron source. The amplitude of the voltage signal applied to the extractor electrode 302 can be different from the amplitude of the voltage signal applied to the cathode 301. In some embodiments, the difference between the amplitudes of the voltage signals applied to the extractor electrode 302 and the cathode 301 can be configured to accelerate electrons downstream along the main optical axis 300-1 while maintaining the stability of the electron source. In the context of the present disclosure, "downstream" refers to the direction along the path of the primary electron beam 300B1 starting from the electron source toward the sample 315. Regarding charged particle beam devices (e.g. Figure 3 With respect to the positioning of elements of the device 300 of FIG. 300B , “downstream” may refer to the position of an element below or after another element along the path of the primary electron beam from the electron source, while “immediately downstream” refers to the position of a second element below or after the first element along the path of the primary electron beam 300B1, such that there are no other active elements between the first and second elements. For example, Figure 3 As shown, the signal electronic detector 306 can be positioned immediately downstream of the beam limiting aperture array 305, such that no other optical or electro-optical elements are placed between the beam limiting aperture array 305 and the electron detector 306. As used in the context of the present disclosure, "upstream" can refer to the position of an element located above or before another element along the path of the primary electron beam starting from the electron source, while "immediately upstream" refers to the position of a second element located above or before the first element along the path of the primary electron beam 300B1, such that there are no other active elements between the first and second elements. As used herein, an "active element" can refer to any element or component whose presence can change the electromagnetic field between the first and second elements by generating an electric field, a magnetic field, or an electromagnetic field.

[0075] The apparatus 300 may include a converging lens 304 configured to receive a portion or a majority of the primary electron beam 300B1 and focus the primary electron beam 300B1 onto a beam limiting aperture array 305. The converging lens 304 may be configured to Figure 2 The converging lens 226 is substantially similar and can perform substantially similar functions. Figure 3 The converging lens 304 is shown as a magnetic lens in FIG. 3 , but the converging lens 304 may be an electrostatic lens, a magnetic lens, an electromagnetic lens, or a compound electromagnetic lens. The converging lens 304 may be connected to a controller (such as Figure 2 The controller may apply an electrical excitation signal to the converging lens 304 to adjust the focusing power of the converging lens 304 based on factors including the mode of operation, application, desired analysis, sample material being inspected, etc.

[0076] The apparatus 300 may further include a beam limiting aperture array 305 configured to limit a beam current of the primary electron beam 300B1 passing through one of a plurality of beam limiting apertures of the beam limiting aperture array 305. Figure 3 Only one beam-limiting aperture is shown in FIG. 3 , but the beam-limiting aperture array 305 may include any number of apertures having uniform or non-uniform aperture sizes, cross-sections, or pitches. In some embodiments, the beam-limiting aperture array 305 may be disposed downstream of the converging lens 304 or immediately downstream of the converging lens 304 (e.g., Figure 3 300-1). In some embodiments, the beam limiting aperture array 305 may be configured as a conductive structure including a plurality of beam limiting apertures. The beam limiting aperture array 305 may be electrically connected to the controller 50 via a connector (not shown), and the controller 50 may be configured to instruct that a voltage be provided to the beam limiting aperture array 305. The provided voltage may be a reference voltage, such as, for example, a ground potential. The controller may also be configured to maintain or adjust the provided voltage. The controller 50 may be configured to adjust the position of the beam limiting aperture array 305.

[0077] The device 300 may include one or more signal electron detectors 306 and 312. The signal electron detectors 306 and 312 may be configured to detect substantially all of the secondary electrons and a portion of the backscattered electrons based on the emission energy, emission angle, emission azimuth, etc. of the backscattered electrons. In some embodiments, the signal electron detectors 306 and 312 may be configured to detect secondary electrons, backscattered electrons, or Auger electrons. The signal electron detector 312 may be disposed downstream of the signal electron detector 306. In some embodiments, the signal electron detector 312 may be disposed downstream or immediately downstream of the primary electron beam deflector 311. Signal electrons emitted from the sample 315 with low emission energy (typically ≤50 eV) or a small emission angle may include a secondary electron beam 300B4, while signal electrons with high emission energy (typically >50 eV) and a medium emission angle may include a backscattered electron beam 300B3. In some embodiments, 300B4 may include secondary electrons, low-energy backscattered electrons, or high-energy backscattered electrons with a small emission angle. It is noted that, although not shown, a portion of the backscattered electrons may be detected by signal electron detector 306, and a portion of the secondary electrons may be detected by signal electron detector 312. In overlay metrology and inspection applications, signal electron detector 306 may be used to detect secondary electrons generated from surface layers as well as backscattered electrons generated from underlying deeper layers (such as deep trenches or high aspect ratio holes).

[0078] The device 300 may also include a compound objective 307 configured to focus the primary electron beam 300B1 on the surface of the sample 315. The controller may apply an electrical excitation signal to the coil 307C of the compound objective 307 to adjust the focusing capability of the compound objective 307 according to factors including primary beam energy, application requirements, desired analysis, sample material being inspected, etc. The compound objective 307 may also be configured to focus signal electrons (such as secondary electrons with low emission energy or backscattered electrons with high emission energy) on a detection surface of a signal electron detector (e.g., in-lens signal electron detector 306 or detector 312). The compound objective 307 may be coupled to a detector 306 or detector 312. Figure 2 The objective lens assembly 232 of the embodiment of the present invention is substantially similar or performs substantially similar functions. In some embodiments, the composite objective lens 307 may include an electromagnetic lens, which includes a magnetic lens 307M and an electrostatic lens 307ES formed by a control electrode 314, a pole piece 307P and a sample 315.

[0079] As used herein, a compound objective lens is an objective lens that produces overlapping magnetic and electrostatic fields, both of which are located near the sample for focusing the primary electron beam. In this disclosure, references to magnetic lenses (such as 307M) refer to the objective lens magnetic lens, and references to electrostatic lenses (such as 307ES) refer to the objective lens electrostatic lens, although the converging lens 304 may also be a magnetic lens. Figure 3 As shown, the magnetic lens 307M and the electrostatic lens 307ES work together (e.g., to focus the primary electron beam 300B1 on the sample 315) to form a composite objective lens 307. The lens body and coil 307C of the magnetic lens 307M can generate a magnetic field, while the electrostatic field can be generated by generating a potential difference between the sample 315 and the pole piece 307P. In some embodiments, the control electrode 314 or other electrodes located between the pole piece 307P and the sample 315 can also be part of the electrostatic lens 307ES.

[0080] In some embodiments, magnetic lens 307M may include a cavity defined by the space between imaginary planes 307A and 307B. It should be understood that Figure 3 The imaginary planes 307A and 307B marked as dashed lines in the figure are visual aids for illustration purposes only. The imaginary plane 307A located near the converging lens 304 can define the upper boundary of the cavity, while the imaginary plane 307B located near the sample 315 can define the lower boundary of the cavity of the magnetic lens 307M. As used herein, the "cavity" of the magnetic lens refers to the space defined by the magnetic lens elements configured to allow the primary electron beam to pass through, wherein the space is rotationally symmetric about the main optical axis. The terms "inside the magnetic lens cavity" or "inside the magnetic lens cavity" refer to the space defined within the imaginary planes 307A and 307B and the inner surface of the magnetic lens 307M directly exposed to the primary electron beam. Planes 307A and 307B can be substantially perpendicular to the main optical axis 300-1. Although Figure 3 A conical cavity is shown, but the cavity may be cylindrical, conical, staggered cylindrical, staggered conical, or any suitable cross-section.

[0081] The apparatus 300 may further include a scanning deflection unit including primary electron beam deflectors 308, 309, 310, and 311 configured to dynamically deflect the primary electron beam 300B1 on the surface of the sample 315. In some embodiments, the scanning deflection unit including the primary electron beam deflectors 308, 309, 310, and 311 may be referred to as a beam manipulator or a beam manipulator assembly. The dynamic deflection of the primary electron beam 300B1 may cause a desired area or a desired area of ​​interest of the sample 315 to be scanned, for example in a raster scanning mode, to generate SE and BSE for sample inspection. One or more primary electron beam deflectors 308, 309, 310, and 311 may be configured to deflect the primary electron beam 300B1 on an X-axis or a Y-axis or a combination of an X-axis and a Y-axis. As used herein, the X-axis and the Y-axis form Cartesian coordinates, and the primary electron beam 300B1 propagates along the Z-axis or the main optical axis 300-1.

[0082] Electrons are negatively charged particles that travel through the electron-optical array, possibly at high energy and velocity. One way to deflect the electrons is to pass them through an electric or magnetic field, such as that produced by a pair of plates held at two different potentials, or by passing an electric current through a deflection coil. Figure 3 The electric field or magnetic field on the primary electron beam deflectors 308, 309, 310 and 311) can change the deflection angle of the electrons in the primary electron beam 300B1 based on factors including but not limited to the electron energy, the amplitude of the applied electric field, the size of the deflector, etc.

[0083] In some embodiments, one or more primary electron beam deflectors 308, 309, 310, and 311 may be located within the cavity of magnetic lens 307M. Figure 3 As shown, all of the primary electron beam deflectors 308, 309, 310, and 311 may be integrally located within the cavity of the magnetic lens 307M. In some embodiments, at least one primary electron beam deflector may be integrally located within the cavity of the magnetic lens 307M. In some embodiments, a majority of the magnetic field generated by passing current through the coil 307C may be present in the magnetic lens 307M, such that each deflector is located within or affected by the magnetic field lines of the magnetic lens 307M. In this case, the sample 315 may be considered to be outside the magnetic field lines and will not be affected by the magnetic field of the magnetic lens 307M. The beam deflector (e.g., Figure 3 The primary electron beam deflectors 308) may be arranged circumferentially along the inner surface of the magnetic lens 307M. One or more primary electron beam deflectors may be placed between the signal electron detectors 306 and 312. In some embodiments, all primary electron beam deflectors may be placed between the signal electron detectors 306 and 312.

[0084] As disclosed herein, the pole piece of a magnetic lens (e.g., magnetic lens 307M) is a piece of magnetic material near the magnetic pole of the magnetic lens, and the magnetic pole is the end of the magnetic material where the external magnetic field is the strongest. Figure 3 As shown, the device 300 includes pole pieces 307P and 307O. As an example, pole piece 307P can be a piece of magnetic material near the north pole of magnetic lens 307M, and pole piece 307O can be a piece of magnetic material near the south pole of magnetic lens 307M. When the current in magnetic lens coil 307C changes direction, the polarity of the magnetic pole may also change. In the context of the present disclosure, an electronic detector (e.g., Figure 3 signal electronic detector 312), beam deflector (e.g., Figure 3 beam deflectors 308-311), electrodes (e.g., Figure 3The positioning of the control electrode 314 of the magnetic lens 307M can be described with reference to the position of the pole piece 307P closest to the intersection of the principal optical axis 300-1 and the sample 315. The pole piece 307P of the magnetic lens 307M may include a magnetic pole made of a soft magnetic material (such as an electromagnet) that substantially concentrates the magnetic field within the cavity of the magnetic lens 307M. For example, the pole pieces 307P and 307O may be high-resolution pole pieces, multi-purpose pole pieces, or high-contrast pole pieces.

[0085] like Figure 3 As shown, the pole piece 307P may include an opening 307R configured to allow the primary electron beam 300B1 to pass through and allow the signal electrons to reach the signal detectors 306 and 312. The cross-section of the opening 307R of the pole piece 307P may be circular, substantially circular, or non-circular. In some embodiments, the geometric center of the opening 307R of the pole piece 307P may be aligned with the main optical axis 300-1. In some embodiments, as Figure 3 As shown, pole piece 307P can be the most downstream horizontal portion of magnetic lens 307M and can be substantially parallel to the plane of sample 315. Pole pieces (e.g., 307P and 307O) are one of several distinguishing features of magnetic lenses relative to electrostatic lenses. Since pole pieces are magnetic components near the poles of a magnetic lens, and since electrostatic lenses do not generate magnetic fields, electrostatic lenses do not have pole pieces.

[0086] One of several methods for detecting signal electrons (such as SE and BSE) based on their emission energy, respectively, includes passing the signal electrons generated from the detection point on the sample 315 through an energy filtering device. In some embodiments, the control electrode 314 can be configured to act as an energy filtering device and can be disposed between the sample 315 and the signal electron detector 312. In some embodiments, the control electrode 314 can be disposed between the sample 315 and the magnetic lens 307M along the main optical axis 300-1. The control electrode 314 can be biased relative to the sample 315 to form a potential barrier for signal electrons having a threshold emission energy. For example, the control electrode 314 can be negatively biased relative to the sample 315 so that a portion of the negatively charged signal electrons having an energy lower than the threshold emission energy can be deflected back to the sample 315. As a result, only signal electrons having an emission energy higher than the energy barrier formed by the control electrode 314 will propagate toward the signal electron detector 312. It will be appreciated that the control electrode 314 can also perform other functions, such as affecting the angular distribution of the signal electrons detected on the signal electron detectors 306 and 312 based on the voltage applied to the control electrode. In some embodiments, the control electrode 314 can be electrically connected to a controller (not shown) via a connector (not shown), and the controller can be configured to apply a voltage to the control electrode 314. The controller can also be configured to apply, maintain or adjust the applied voltage. In some embodiments, the control electrode 314 can include one or more pairs of electrodes, which are configured to provide more signal control flexibility, such as adjusting the trajectory of the signal electrons emitted from the sample 315.

[0087] In some embodiments, the sample 315 can be disposed on a plane substantially perpendicular to the primary optical axis 300-1. The position of the plane of the sample 315 can be adjusted along the primary optical axis 300-1, so that the distance between the sample 315 and the signal electronic detector 312 can be adjusted. In some embodiments, the sample 315 can be electrically connected to a controller (not shown) via a connector, and the controller can be configured to provide a voltage to the sample 315. The controller can also be configured to maintain or adjust the voltage provided.

[0088] In existing SEMs, the signals generated by detecting secondary electrons and backscattered electrons are combined to image the surface, detect and analyze defects, obtain topographic information, morphological and compositional analysis, etc. By detecting secondary electrons and backscattered electrons, the top layers and the layers below can be imaged simultaneously, making it possible to capture potential defects such as buried particles, overlay errors, etc. However, the overall image quality may be affected by the efficiency of secondary electron and backscattered electron detection. Although efficient secondary electron detection can provide high-quality surface images, the overall image quality may not be sufficient due to poor backscattered electron detection efficiency. Therefore, it may be beneficial to improve the backscattered electron detection efficiency to obtain high-quality imaging while maintaining high throughput.

[0089] like Figure 3 As shown, the device 300 may include a signal electron detector 312 located immediately upstream of the pole piece 307P and within the cavity of the magnetic lens 307M. The signal electron detector 312 may be placed between the primary electron beam deflector 311 and the pole piece 307P. In some embodiments, the signal electron detector 312 may be placed within the cavity of the magnetic lens 307M so that there is no primary electron beam deflector between the signal electron detector 312 and the sample 315.

[0090] In some embodiments, pole piece 307P may be electrically grounded or maintained at ground potential to minimize the effects of the decelerating electrostatic field associated with sample 315 on signal electronics detector 312, thereby minimizing possible electrical damage (such as arcing) to signal electronics detector 312. Figure 3 In the configuration shown, the distance between the signal electronics detector 312 and the sample 315 can be reduced, thereby enhancing BSE detection efficiency and image quality while minimizing the possibility of electrical malfunction or damage to the signal electronics detector 312 .

[0091] In some embodiments, signal electron detectors 306 and 312 may be configured to detect signal electrons having a wide range of emission angles and emission energies. For example, since signal electron detector 312 is close to sample 315, it may be configured to collect backscattered electrons having a wide range of emission angles, while signal electron detector 306 may be configured to collect or detect secondary electrons having low emission energies.

[0092] The signal electron detector 312 may include an opening configured to allow the primary electron beam 300B1 and the signal electron beam 300B4 to pass through. In some embodiments, the opening of the signal electron detector 312 may be aligned so that the central axis of the opening may substantially coincide with the main optical axis 300-1. The opening of the signal electron detector 312 may be circular, rectangular, elliptical, or any other suitable shape. In some embodiments, the size of the opening of the signal electron detector 312 may be selected as needed. For example, in some embodiments, the size of the opening of the signal electron detector 312 may be smaller than the opening of the pole piece 307P near the sample 315. In some embodiments, when the signal electron detector 306 is a single-channel detector, the opening of the signal electron detector 312 and the opening of the signal electron detector 306 may be aligned with each other and with the main optical axis 300-1. In some embodiments, the signal electron detector 306 may include a plurality of electron detectors, or include one or more electron detectors having a plurality of detection channels. In embodiments where the signal electron detector 306 includes a plurality of electron detectors, one or more detectors may be located off-axis relative to the main optical axis 300-1. In the context of the present disclosure, "off-axis" may refer to the position of an element (such as a detector), for example, such that the principal axis of the element forms a non-zero angle with the principal optical axis of the primary electron beam. In some embodiments, the signal electron detector 306 may also include an energy filter configured to allow a portion of incident signal electrons having a threshold energy to pass through and be detected by the electron detector.

[0093] like Figure 3 As shown, the location of the signal electron detector 312 within the cavity of the magnetic lens 307M can also make it easier to assemble and align the signal electron detector 312 with other electron optical components of the device 300. The electrically grounded pole piece 307P can substantially shield the signal electron detector 312 from the decelerating electrostatic field of the electrostatic lens 307ES formed by the pole piece 307P, the control electrode 314, and the sample 315.

[0094] One of several ways to improve image quality and signal-to-noise ratio may include detecting more backscattered electrons emitted from the sample. The angular distribution of the emission of backscattered electrons can be represented by the cosine dependence of the emitter angle (cos(θ), where θ is the emitter angle between the backscattered electron beam and the principal optical axis). While a signal electron detector can effectively detect backscattered electrons at moderate emitter angles, large emitter angle backscattered electrons may remain undetected or under-detected, thus affecting the overall imaging quality. Therefore, it may be desirable to add another signal electron detector to capture large angle backscattered electrons.

[0095] As a further introduction, Figure 4A schematic diagram of a defect detection process is depicted. Defect detection may include one or more steps in the wafer manufacturing qualification process and may detect damage, particles, droplets, etc. present on the back side of the wafer. When a wafer undergoes one or more manufacturing processes (including but not limited to lithography, etching, cleaning, etc.), defects may be generated and accumulated on the wafer. The defect may be a front defect or a back defect. In one embodiment, defect detection is used for back defect detection. By tracking the accumulation or presence of defects on the back side of the wafer, information about the manufacturing process occurring on the front side of the wafer can be inferred. For example, a particle defect on the back side of the wafer may indicate that particle defects may also be accumulating on the front side of the wafer, which may be caused by incomplete cleaning, which may cause bridging between features of the order of magnitude of the particle size and have other deleterious effects on CD and performance parameters. Back imaging may also be performed at a higher frequency than front imaging, where scanning electron microscope (SEM) imaging may damage the manufactured structures, devices, materials, etc., including photoresist layers. In another embodiment, defect detection may also or alternatively be used for front defect detection. Figure 4 An unfabricated wafer 402 is depicted that is selected for initial measurements 404. Unfabricated wafer 402 may instead start as a partially fabricated wafer, but for ease of reference, the starting wafer is referred to herein as "unfabricated." Initial measurements 404 include one or more measurements made using measurement equipment 406A that determines a baseline of defect type, density, frequency, etc. Measurement equipment 406A may be an electron beam inspection system (EBI), such as a reference Figure 1-Figure 3The measuring device 406A may alternatively include any appropriately configured scanning electron microscope (SEM) device. The measuring device 406A may alternatively or additionally include an optical inspection system. The initial measurement 404 may be a measurement made on the back side of the wafer or on the front side of the wafer. If the measurement 404 is a measurement of the back side of the wafer, the unmanufactured wafer 402 is then optionally processed by a classifier and / or flipper 408A, which presents the front side of the wafer for processing. The unmanufactured wafer 402 undergoes one or more processing steps in one or more scanners and / or lithography devices 410 to produce a manufactured wafer 420. The manufactured wafer 420 may also be a partially manufactured wafer after one or more manufacturing steps, in which the remaining steps are to be performed, but for ease of reference, a "manufactured" wafer in this article refers to a wafer that has undergone at least some (or additional) manufacturing steps after being in the form of a wafer referred to herein as an "unmanufactured" wafer. The manufactured wafer 420 is then selected for post-processing measurement 422. If the post-processing measurement 422 is a measurement of the back side of the wafer, the post-processing measurement 422 includes optional processing by the classifier and / or flipper 408B, which may be the same or different from the processing performed by the classifier and / or flipper 408A (the flipper flips the wafer between the front and back sides). The post-processing measurement 422 includes one or more measurements made using the measurement device 406B, which may be the same or different from the measurements made using the measurement device 406A. The post-processing measurement 422 is used to locate and measure one or more defects. An operator, machine learning model, etc. may select one or more defects for additional measurement. In some embodiments, the defects are images, and then one or more defect images are selected for output for classification. One or more selected defects are imaged by a scanning electron microscope (SEM) device 424. The SEM device 424 may be an electron beam inspection system (EBI), such as a reference Figure 1-Figure 3 The SEM device 424 may alternatively include any appropriately configured scanning electron microscope (SEM) device. The SEM device 424 may also include an optical inspection system. Alternatively, the selected defects may be imaged by an optical imaging device. The SEM device 424 is used by an operator, a controller, or an imaging program to generate an unlabeled defect image 426, which may include defect images 428A-428C. The defect image may then be output for classification, wherein the classification of the defect image may be used for manufacturing process control, including determining key performance indicators (KPIs).

[0096] Figure 5A schematic diagram of a method for training a machine learning model to classify defect images using active learning based on a utility function is depicted. An unlabeled image set 502 is obtained, which may be the same as or a subset of images 428A-428C. The unlabeled image 502 may be included in an unlabeled data pool. The unlabeled image 502 may be a back defect image. The unlabeled image 502 may be a SEM image. Values ​​are assigned to the unlabeled images 502 based on a utility function 510. Values ​​may be assigned to each unlabeled image 502 based on the utility function 510, such as in a batch process, or values ​​may be assigned to one or more unlabeled images 502 (but less than the entire set) based on the utility function 510. The utility function 510 may be based on a machine learning model 504 and / or a labeled image set 506 (including one or more images labeled with classifications 508A-508B). The utility function value of the one or more unlabeled images 502 may be determined by classifying the unlabeled images 502 using the machine learning model 504, wherein the utility function value may be based on one or more outputs of the machine learning model 504, such as classification, classification probability, etc. The utility function value of the one or more unlabeled images 502 may be determined by comparing the one or more unlabeled images 502 to images of the labeled image set 506. The comparison may be based on a distribution of the labeled image set 506, including a class representation distribution, a multivariate distribution, etc.

[0097] The set of labeled images 506 may include images selected from a training data set 524 used to train the machine learning model 504. The set of labeled images 506 may be selected from the training data set 524 by one or more optional filtering processes 526, or may include the training data set 524. The training data 524 may include a pool of labeled data. The filtering process may select images from the training data set based on one or more features, such as class, class representation, quality, etc. For example, if the training data 524 includes at least one underrepresented class, the one or more optional filtering processes 526 may balance the class representation of the set of labeled images 506.

[0098] Unlabeled image 502 and labeled image 506 may be measurement images, where a "measurement image" is an image acquired during measurement (i.e., semiconductor manufacturing parameters or components) or an image used for measurement (i.e., for defect density measurement, critical dimension measurement, etc.). The measurement image may be an appropriate image acquired during manufacturing, based on which measurements may be made, including incidental or non-obvious measurements or measurements determined after the fact. "Measurement image" should not be considered as a limitation on the type of image in any embodiment herein.

[0099] The machine learning model 504 can be any suitable machine learning model. The machine learning model 504 can use a weighted loss function to account for class imbalance. The weighted loss function is a function that determines weights based on error probabilities and classifications. For example, underrepresented classes (where underrepresentation can be a function of class imbalance and / or sampling imbalance) can be given greater weights even at low probabilities, so that the machine learning model 504 is trained to correct classification errors for underrepresented classes. The machine learning model 504 can account for or include data augmentation, where data augmentation can include image adjustments such as image rotation, horizontal flipping of images, scaling, translation, and other spatial adjustments. The machine learning model 504 can have a multi-dimensional output layer, where the number of dimensions of the output layer corresponds to the number of classification outputs of the model. For example, for backside defect classification with four classification types (i.e., damage, droplets, particles, and interference), the output can be a four-dimensional vector indicating the probability of each classification type (e.g., (0.98, 0.02, 0.01, 0.01)). Based on the total number of classifications present in the training data 524, there can be more or fewer dimensions in the output. Alternatively, the machine learning model 504 can have more or fewer outputs, such as sub-classifications or even strings (e.g., (damage, 98%, damage caused by imprinting 70%, physical impact damage 20%)). The machine learning model 504 can include one or more fully connected layers (e.g., fully connected hidden layers), where each input to the fully connected layer is connected to each node or function in the fully connected layer, and one or more dropout layers, where the dropout layer can regularly or randomly drop inputs to the one or more dropout layers, which can be used to reduce overfitting and reduce interdependence between layers, thereby improving robustness.

[0100] The utility function 510 assigns one or more utility function values ​​to the unlabeled image 502. The utility function 510 may be based on a machine learning model 504. In some embodiments, the unlabeled image 502 may be fed into the machine learning model 504 and classified. If the machine learning model output includes a probability value, the utility function value may be determined based on the probability value of the classification. The probability value may alternatively or additionally be a confidence value (including a confidence interval), an error value, or any other appropriate measure of probability or confidence in the machine learning model output. Alternatively or additionally, the utility function value may be determined based on uncertainty sampling, including entropy uncertainty sampling, minimum confidence uncertainty sampling, simple marginal uncertainty sampling, etc., all referred to herein as "uncertainty sampling". The utility function 510 may also (alternatively or additionally) be based on a decision node of the machine learning model 504. The machine learning model 504 may generate a multidimensional space, such as in a k-nearest neighbor mode, where each of the training data set and the classified image is plotted or otherwise positioned as a function of multiple variables. The utility function value may be based on the distance between the unlabeled image 502 and the boundaries of one or more decision nodes of the machine learning model 504 .

[0101] The utility function 510 can be determined based on the training data set 524 or the labeled image set 506, wherein the labeled image set 506 can be a subset of the training data set 524. The utility function 510 can compare the features of the unlabeled image 502 with the features of the labeled image 506 in one or more dimensions to determine the utility function value. The utility function value can also (alternatively or additionally) be based on the difference between the unlabeled image 502 and one or more labeled images 506. Alternatively or additionally, the utility function value can be based on the difference between the distribution of the unlabeled image 502 and the distribution of one or more labeled images 506. As discussed in more detail below, the utility function value can (alternatively or additionally) be based on one or more multivariate to center distance comparisons, density sampling, minimum-maximum sampling, representative sampling, class representation, etc. The to center distance comparison can be implemented by selecting the point with the largest average distance from other points in the labeled image set 506 and / or the unlabeled image set 502. Minimum-maximum sampling can be achieved by selecting points with the largest minimum distance from other points in the labeled image set 506 and / or the unlabeled image set 502. The selection of points can also include measuring the distribution of points corresponding to images in a multidimensional space. The distance can be a vector and can have arbitrary units. Sampling can be achieved by selecting images that are not present or not represented in the training data set 524 from the unlabeled image set 502. Sampling can also be achieved by selecting images from the unlabeled image set 502 that match the distribution of images within the labeled image set 506. The distance between points can be determined based on multiple variables (such as outputs from one or more nodes in a hidden layer of a machine learning model) or as a function of multiple dimensions, including dimensions based on the machine learning model (i.e., values ​​at one or more nodes in one or more layers of the machine learning model).

[0102] The unlabeled image set 502, together with its utility function value specified by the utility function 510, becomes a utility function value image set 512. Each image in the utility function value image set 512 includes an image and its utility function value 514A-B, which is an image that is labeled or otherwise labeled with its utility function value. The utility function value image set 512 can then be filtered and / or sorted by one or more filtering processes 516, which can be the same or different from the one or more filtering processes 516. The one or more filtering processes 516 can include class representation filtering. The one or more filtering processes 516 can also be a query process, so that images are selected from the utility function value image set 512 at one time or in batches. Then, the images are grouped into a high utility function value image set 518 and a low utility function value image set 520 according to the utility function value. Once the images are classified into the high utility function value image set 518 and the low utility function value image set 520, the utility function value assigned to each image can be retained or discarded. The images may be classified into a high utility function value image set 518 and a low utility function value image set 520 by sorting. As a non-limiting example, images corresponding to the twenty lowest utility values ​​may comprise the low utility function value image set 520, wherein all other images comprise the high utility function value image set 518. Alternatively, the images may be classified into the high utility function value image set 518 and the low utility function value image set 520 based on a threshold. The threshold may be a digital image value, a time value (where the time value may correspond to an amount of time available for manual or machine learning-based classification), a threshold utility function value, etc. For example, the threshold may be such that images having a utility function less than 0.3 are assigned to the low utility function value image set 520, wherein the utility function value is determined based on uncertainty sampling and is between zero and one.

[0103] The images of the low utility function value image set 520 are output for auxiliary classification 522. The auxiliary classification 522 can be manually classified by a user or teacher, such as an operator (i.e., a human expert) who is knowledgeable in the field of defect identification and / or back defect identification. The auxiliary classification 522 can also include a second machine learning model - classified by the second machine learning model alone or classified by the user or teacher based on the output of the second machine learning model. For example, the second machine learning model can be a machine learning model trained to identify only one type of defect image classification, such as classifying defect images as corresponding to particles or not corresponding to particles. In such an example, defect images classified as not corresponding to particles can be further manually classified by an operator. The second machine learning model can be a time or resource intensive model, which is not suitable for classifying the unlabeled image set 502 due to time, operating cost, operating power, etc. In some embodiments, the auxiliary classification 522 can include classification by the machine learning model 504 and / or one or more other classification methods or models (i.e., classification by a set of machine learning models including the machine learning model 504) in addition to manual classification.

[0104] The images classified via the auxiliary classification 522 are then added to the training data 524. The training data 524 may include an initial training data set for training a first iteration of the machine learning model 504, as well as images classified by the current or previous iteration of the machine learning model 504 via the auxiliary classification 522. Additional iterations of the machine learning model 504 are then trained using the training data 524. Additional iterations of the machine learning model 504 may include updated and / or retrained iterations of the machine learning model 504. Additional iterations of the machine learning model 504 may alternatively include new or simple machine learning models trained based on the training data 524. Iterations of the machine learning model 504 may be checked against one or more training criteria, which may include testing criteria and / or stopping criteria.

[0105] In another example of the above threshold, the threshold can be based on an average auxiliary classification time or rate. In a specific non-limiting example, if the average image classification of the classification operator is thirty seconds, two images are selected for each minute of auxiliary classification 522 time. The auxiliary classification 522 may be limited by the amount of time available for manual review of the images by the user, operation, or other teacher classifier. The threshold can be determined by the average classification time, the average classification rate, and / or the available time per image or per batch, as just one example.

[0106] Figure 6A visualization of a selection of defect images for active learning based on a utility function using representative sampling is shown. Graph 600 shows an image in a two-dimensional space bounded by an x-axis 602 corresponding to a first component and a y-axis 604 corresponding to a second component. The two-dimensional depiction is merely an example, as image features are multidimensional and the x-axis 602 and y-axis 604 correspond to the reduced dimensionality components of the image. For example, each defect image may be depicted based on an x-value corresponding to the average of a first layer of a machine learning model and a y-value corresponding to the average of a second layer of the machine learning model. In another example, each defect image may be depicted based on two or more parameters, such as where the x-value corresponds to an average pixel value or a maximum contrast between adjacent pixels. The two-dimensional representation is generated using t-distributed stochastic neighbor embedding (t-SNE) for visualization and does not represent the true dimensionality of the image. Graph 600 contains points corresponding to defect images of multiple instances corresponding to each of the four defect classifications (i.e., damage, droplets, particles, and interference) of the example model. The relationship between those points corresponding to defect images selected for auxiliary classification by representative sampling (which are depicted as solid objects) and defect images not selected for auxiliary classification by representative sampling (which are depicted as hollow objects) is depicted. Images not selected for auxiliary classification are not classified by auxiliary classification and are not added to the training dataset. By preferentially selecting the most informative images for auxiliary classification, training time can be reduced and the use of expensive auxiliary classification time can be minimized.

[0107] Legend 606 identifies various symbols corresponding to the images plotted in graph 600. Solid circles 610 represent backside defect images corresponding to lesions selected by representative sampling. Hollow circles 612 represent backside defect images corresponding to lesions not selected by representative sampling. Solid squares 620 represent particle-based backside defect images selected by representative sampling. Hollow squares 622 represent particle-based backside defect images not selected by representative sampling. Solid triangles 630 represent interfering backside defect images selected by representative sampling. Hollow triangles 632 represent interfering backside defect images not selected by representative sampling. Solid crosses 640 represent droplet and / or stain backside defect images selected by representative sampling. Hollow crosses 642 represent droplet and / or stain backside defect images not selected by representative sampling. Defect images selected by representative sampling are output for auxiliary classification. Defect images not selected by representative sampling will be discarded or retained in an unlabeled data pool for subsequent training iterations of a machine learning model. Representative samples are selected by a utility function that determines representative sampling based on a distance-to-center model. In such a model, the utility function assigns low values ​​to points (or images) that are least similar to existing data in the training set. Diagram 600 shows selected images (i.e., solid circles 610, solid squares 620, solid triangles 630, and solid crosses 640) that appear in the main image groupings in the two-dimensional visualization and are distributed in a two-dimensional space.

[0108] The distance to the center may be determined using any suitable equation, such as Equation 1 below:

[0109]

[0110] where x is an element in the unlabeled data U (i.e., x∈U), and x corresponds to the argument of the minimum value (i.e., argmin) of 1 / 1+dist, where dist is the difference between x and x. L The distance between the average values ​​of L is a labeled dataset.

[0111] Figure 7A visualization of the selection of defect images for active learning based on a utility function using sampling based on decision nodes is shown. Graph 700 depicts an image in a two-dimensional visualization based on t-SNE, which is bounded by an x-axis 702 corresponding to a first component and a y-axis 704 corresponding to a second component. Graph 700 includes points corresponding to each of the four defect classifications of the example model, and depicts the relationship between these points corresponding to images selected for auxiliary classification through representative sampling and images selected for auxiliary classification without representative sampling. Legend 706 identifies various symbols corresponding to the images plotted in graph 700: solid circles 710 represent damage-related backside defect images selected based on distance to a decision node, hollow circles 712 represent damage-related backside defect images not selected based on distance to a decision node, solid squares 720 represent particle-based backside defect images selected based on distance to a decision node, hollow squares 722 represent particle-based backside defect images not selected based on distance to a decision node, solid triangles 730 represent interfering backside defect images selected based on distance to a decision node, hollow triangles 732 represent interfering backside defect images not selected based on distance to a decision node, solid crosses 740 represent droplet and / or stain backside defect images selected based on distance to a decision node, and hollow crosses 742 represent droplet and / or stain backside defect images not selected based on distance to a decision node. The images sampled based on the decision node are selected by a utility function based on the distance to the node boundary model. Node boundaries are represented by lines 750A-750F, which depict the boundaries between the various classifications. Figure 7 The visualization is exemplary only, and the division of classes into discrete boundaries depends on the dimensionality of the solution and the variables chosen for plotting. For example, if the x-values ​​correspond to pixel value ranges (i.e., the maximum pixel value minus the minimum pixel value) and the y-values ​​correspond to the number of discrete objects detected in the image, it is expected that multiple classifications may exist in the same pixel value range. That is, image contrast itself is not decisive for classification. If the layers of the machine learning model correspond to the identification of how many objects are detected in the defect image, the classifications may not overlap. For example, a defect image showing damage may correspond to multiple objects, while a defect image showing particles may correspond to a single object. It can be expected that for most but not all dimensionality reductions, the classifications will be scattered in space. However, if the defect image has A dimensions and is plotted in A-dimensional space, the classifications will be separated by boundaries rather than scattered.

[0112] Samples based on decision nodes are selected by a utility function that determines sampling based on a distance-to-node boundary model. In this model, the utility function assigns low values ​​to points (or images) that are close to the boundary between categories. Diagram 700 shows selected images (i.e., solid circles 710, solid squares 720, solid triangles 730, and solid crosses 740) that are closer to the boundary between categories than unselected images (i.e., hollow circles 712, hollow squares 722, hollow triangles 732, and hollow crosses 742).

[0113] Figure 8 Depicted is a visualization of defect image selection for active learning based on a utility function using uncertainty sampling. Graph 800 depicts an image in a two-dimensional visualization based on t-SNE, which is bounded by an x-axis 802 corresponding to a first component and a y-axis 804 corresponding to a second component. Graph 800 includes points corresponding to each of the four defect classifications of the example model, and depicts the relationship between these points corresponding to images selected for auxiliary classification through representative sampling and images selected for auxiliary classification without representative sampling. Legend 806 identifies the various symbols corresponding to the images plotted in graph 800.

[0114] Dark circles 810 represent back defect images associated with damage with low probability values ​​selected based on uncertainty sampling, hollow circles 812 represent back defect images associated with damage with high probability values ​​not selected based on uncertainty sampling, and gray circles 814 represent back defect images associated with damage with medium probability values. Gray circles 814 may represent images that are not currently selected, but may be selected for auxiliary classification based on the ranking of images and / or the setting of thresholds for auxiliary classification. The probability may be between zero and one, between negative one and one, etc., and will depend on the type of machine learning model selected and the output it is trained to generate. The threshold may be a probability value. The threshold may also be an appropriate numerical value of a utility function, that is, having the same unit and / or range as the utility function, which may or may not be a probability. For example, the threshold may be a numerical value between zero and one, between negative one and one, between zero and one hundred, etc., based on the possible values ​​of a particular utility function. The threshold may be determined based on a determined utility function value. For example, if the utility function value is not a probability value (e.g., includes a class representation value or other non-probability value), the threshold value may not be a probability value. The threshold value may be determined based on the ranking and / or order of the utility function values. For example, the threshold value may be determined so as to select a set of images for auxiliary classification. A set of images may be determined based on the available time for auxiliary classification and / or the rate of auxiliary classification (such as the average rate of auxiliary classification, the average time of auxiliary classification per image, etc.).

[0115] Dark squares 820 represent particle-based backside defect images selected based on uncertainty sampling, hollow squares 822 represent particle-based backside defect images not selected based on uncertainty sampling, and gray squares 824 represent particle-based backside defect images with medium probability values. Dark triangles 830 represent interference backside defect images selected based on uncertainty sampling, hollow triangles 832 represent interference backside defect images not selected based on uncertainty sampling, and gray triangles 834 represent interference backside defect images with medium probability values. Dark crosses 840 represent droplet and / or stain backside defect images selected based on uncertainty sampling, hollow crosses 842 represent droplet and / or stain backside defect images not selected based on uncertainty sampling, and gray crosses 844 represent droplet and / or stain backside defect images with medium probability values.

[0116] Uncertainty sampling selects images based on one or more classification probabilities, which may include one or more probabilities of the current iteration output of the machine learning model. The utility function value may be one or more probability values, an average, mean, weighted average, sum, etc. of one or more probability values, and may be optionally normalized.

[0117] Diagram 800 shows selected images (i.e., dark circles 810, dark squares 820, dark triangles 830, and dark crosses 840) and unselected images (i.e., hollow circles 812, hollow squares 822, hollow triangles 832, and hollow crosses 842) with low probability values ​​(i.e., the current iteration of the machine learning model cannot classify well). In this example diagram, a set of images with medium probability values ​​(i.e., gray circles 814, gray squares 824, gray triangles 834, and gray crosses 844) are also depicted for illustrative purposes. As described above, these images can be included in the selection images to assist in classification based on time and / or user restrictions.

[0118] Fig.9A is a graph depicting example learning rates for machine learning using various types of utility functions. Fig.9A900 is a graph depicting the test accuracy of a trained machine learning model as a function of added training samples - for example, images classified by auxiliary classification and added to the training set of an iteratively trained machine learning model. The test accuracy of the machine learning model based on the test set is plotted along the y-axis 904 as a function of the number of images added to the training set along the x-axis 902. Various training methods are represented. A passive learning model is represented by track 910. In a passive learning model, additional labeled images are added to the training set, but the utility of the additional images is not a factor in selecting them. The minimum confidence utility function is represented by track 920. The maximum entropy ("max entropy") utility function is represented by track 930. The representative utility function is represented by track 940. Compared with passive learning, the depicted active learning method produces higher test accuracy using fewer samples. Therefore, active learning based on utility functions can improve defect identification compared to other machine learning models. Test accuracy is a non-limiting method for determining model performance. Model performance may also be measured in terms of accuracy, precision, recall, F-score (where the F-score is a value determined by an F-test or other classification statistical analysis), F1-score (where the F1-score is the harmonic mean of precision and recall), or any other suitable success metric. Model performance may be measured based on one or more tests, one or more test datasets, and / or one or more metrics. Model performance may be measured based on user-defined parameters.

[0119] Fig. 9B is a graph depicting example learning rates for machine learning using various types of utility functions. Fig. 9B950 is a graph depicting the test accuracy of a machine learning model as a function of model iterations for various types of utility functions. The test accuracy of the machine learning model based on the number of model updates or iterations is plotted along the y-axis 954 as a function of the number of model updates along the x-axis 952. Various types of utility functions are represented. A particular passive learning model is represented by a track 960, where the test accuracy of multiple passive learning models is represented by the area outlined by the dashed line 962. For the passive learning models, the utility function is not used to select images for auxiliary classification. A particular model using uncertainty sampling is represented by a track 970, where the test accuracy of multiple models using a utility function based on uncertainty sampling is represented by the area outlined by the dashed line 972. A particular model using representative sampling is represented by a track 980, where the test accuracy of multiple models using a utility function based on representative sampling is represented by the area outlined by the solid line 982. Compared to passive learning, the described active learning methods (i.e., active learning of utility functions based on uncertainty sampling and active learning of utility functions based on representative sampling) produce higher test accuracy for the same number of model iterations or updates. Additionally, in active learning, the model can be updated based on a smaller amount of data because the training data classified using auxiliary classification is selected for usefulness or utility. Therefore, active learning based on utility functions can improve defect identification compared to other machine learning models. Test accuracy is a non-limiting method for determining model performance, where model performance can be measured based on any appropriate metric as described above.

[0120] Fig.10 An exemplary method 1000 for applying a utility function to an unlabeled image is shown according to one embodiment. Each of these operations is described in detail below. The operations of method 1000 described below are intended to be illustrative. In some embodiments, method 1000 may be accomplished with one or more additional operations not described and / or without one or more of the operations discussed. Additionally, Fig.10 The order of the operations of method 1000 shown in and described below is not intended to be limiting. In some embodiments, one or more portions of method 1000 may be implemented (e.g., by simulation, modeling, etc.) in one or more processing devices (e.g., one or more processors). The one or more processing devices may include one or more devices that perform some or all of the operations of method 1000 in response to instructions stored electronically on an electronic storage medium. For example, the one or more processing devices may include one or more devices configured by hardware, firmware, and / or software to be specifically designed to perform one or more operations of method 1000.

[0121] In operation 1001, an unmarked image is acquired. The unmarked image may be a SEM image or an optical image. The unmarked image may be a backside defect image. The image may be acquired from a measurement device, other software, or one or more data storage devices.

[0122] In operation 1002, a utility function value is assigned to an unlabeled image based on a machine learning model. The machine learning model may be a current iteration of a trained machine learning model that is trained to classify images. Operation 1002 may include one or more component operations. In operation 1003, a utility function value is determined based on uncertainty sampling. Uncertainty sampling may be performed based on one or more certainty values, probability values, confidence values, etc. corresponding to the unlabeled image. The unlabeled image may be classified by a machine learning model, wherein the machine learning model outputs one or more probabilities and at least one classification. In operation 1004, a utility function value is determined based on decision boundary sampling. Decision boundary sampling may be performed based on the behavior of a node of the machine learning model. The unlabeled images may be classified by the machine learning model, and their distance from the decision node is determined based on the classification. In operation 1005, any other appropriate method may be used to determine the utility function value based on the machine learning model. For example, the utility function value may be determined based on the classification, wherein rare classifications may have lower utility values ​​(i.e., more likely to be selected for auxiliary classification) than common classifications.

[0123] In operation 1006, a utility function value is assigned to the unlabeled image based on training data corresponding to the machine learning model. The training data may be training data for generating a current iteration of the machine learning model, which is trained to classify images. Operation 1006 may include one or more component operations. In operation 1007, the utility function value is determined based on representative sampling. Representative sampling may be performed based on one or more methods of comparing an image of an unlabeled image or a distribution of unlabeled images with a training data set. Representative sampling may include minimum confidence, entropy, distance to center, etc. In operation 1008, any other appropriate method may be used to determine the utility function value based on the training data of the machine learning model. For example, the utility function value may be determined based on a class representation. Multiple types of representative sampling may also be used.

[0124] In operation 1009, a value of the utility function is determined based on one or more subcomponents of the utility function. In some cases, one or more subcomponents of the utility function may be omitted, or may be calculated but omitted from the total utility function value. One or more values ​​of operations 1002-808 may be summed, averaged, or otherwise combined to generate a utility function value for each unlabeled image obtained. The values ​​output by operations 1002-1008 may be normalized and / or otherwise weighted prior to combination to generate a total utility function value. Operations 1003-1009 include operation 1010, i.e., an operation of applying the utility function to the unlabeled image obtained.

[0125] In operation 1011 , the obtained unlabeled images may be ranked, batched, or otherwise ordered according to utility functions and / or their utility function values.

[0126] As described above, method 1000 (and / or other methods and systems described herein) is configured to provide a general framework for generating a utility function based on a machine learning model and / or training data for the machine learning model.

[0127] Fig.11 An exemplary method 1100 for training a machine learning model using active learning of a utility function based on machine learning classification is shown according to one embodiment. Each of these operations is described in detail below. The operations of method 1100 described below are intended to be illustrative. In some embodiments, method 1100 may be accomplished with one or more additional operations not described and / or without one or more of the operations discussed. Additionally, Fig.11 The order of the operations of method 1100 shown in and described below is not intended to be limiting. In some embodiments, one or more portions of method 1100 may be implemented (e.g., by simulation, modeling, etc.) in one or more processing devices (e.g., one or more processors). The one or more processing devices may include one or more devices that perform some or all of the operations of method 1100 in response to instructions stored electronically on an electronic storage medium. For example, the one or more processing devices may include one or more devices configured by hardware, firmware, and / or software to be specifically designed to perform one or more operations of method 1100.

[0128] In operation 1101, an unlabeled image is acquired. The unlabeled image may be a SEM image or an optical image. The unlabeled image may be a backside defect image. The unlabeled image may be acquired from a measurement device, other software, or one or more data storage devices. The unlabeled images may be acquired individually and / or in batches.

[0129] At operation 1102, a machine learning model N is obtained. The machine learning model N may correspond to an Nth iteration of a machine learning model, an Nth update of a machine learning model, and / or a machine learning model trained on an Nth training data set. The machine learning model may be any suitable model. The machine learning model may be a classifier. The machine learning model may output one or more classifications for an input image, wherein the classification may further include a classification probability.

[0130] In operation 1103 , the unlabeled image obtained in operation 1101 is classified using the machine learning model N obtained in operation 1102 .

[0131] In operation 1104, a utility function value of the classified image of operation 1103 is determined based on the classification probability. The utility function value may be the classification probability. Alternatively, the utility function value may also be determined according to the classification probability.

[0132] In operation 1105, a classified image having a low utility function value is selected. The classified image may be selected based on a threshold of the utility function value and / or based on a ranking of the classified images by utility function value. A set of classified images may be selected.

[0133] In operation 1106, the selected image is output to auxiliary classification. The auxiliary classification may include classification performed by an operator or a teacher. In some embodiments, the auxiliary classification may be based on operating the machine learning classification determined in operation 1103. The auxiliary classification may also include a probability value, or alternatively the auxiliary classification may take a probability of 100% or 1. Outputting the image for auxiliary classification may include displaying the image and / or transmitting the image to one or more operations or programs. The images may be output sequentially or in one or more batches for auxiliary classification.

[0134] In operation 1107, the selected image and its auxiliary classification are received. The auxiliary classified image can be labeled with the classification. The auxiliary classified images can be received by classification or in sequence, or in batches. In operation 1108, the auxiliary classified images are added to the training data. The training data can include a set of training for generating a machine learning model N.

[0135] In operation 1109, the machine learning model is trained on the updated training data set. The machine learning model can be iteratively updated or retrained based on the new training data or the updated training data set. A new machine learning model, such as a general machine learning model, can be trained a priori based on the updated training data set.

[0136] As described above, method 1100 (and / or other methods and systems described herein) is configured to provide a general framework for training machine learning models using active learning of utility functions based on machine learning classification.

[0137] Fig.12 An exemplary method 1200 for training a machine learning model using active learning of a utility function based on training data is shown according to one embodiment. Each of these operations is described in detail below. The operations of method 1200 described below are intended to be illustrative. In some embodiments, method 1200 may be accomplished with one or more additional operations not described and / or without one or more of the operations discussed. Additionally, Fig.12 The order of the operations of method 1200 shown in and described below is not intended to be limiting. In some embodiments, one or more portions of method 1200 may be implemented in one or more processing devices (e.g., one or more processors) (e.g., by simulation, modeling, etc.). The one or more processing devices may include one or more devices that perform some or all of the operations of method 1200 in response to instructions stored electronically on an electronic storage medium. For example, the one or more processing devices may include one or more devices configured by hardware, firmware, and / or software to be specifically designed to perform one or more operations of method 1200.

[0138] In operation 1201, as previously described with reference to Fig.11 As described in operation 1101, an unlabeled image is obtained.

[0139] In operation 1202, training data for a machine learning model N is obtained. The machine learning model N may correspond to the Nth iteration of the machine learning model, the Nth update of the machine learning model, and / or a machine learning model trained on the Nth training data set. The training data may include labeled data for generating or training the machine learning model. The machine learning model may be any suitable model and may be trained in any suitable manner. The machine learning model may be a classifier. The machine learning model may output one or more classifications for the input image, wherein the classification may also include a classification probability.

[0140] In operation 1204, a utility function value for the unlabeled image obtained in operation 1102 is determined based on the training data obtained in operation 1202. The utility function can be determined based on representative sampling, class representation, etc. The utility function can be determined for an unlabeled image or a set of unlabeled images. The utility function can be determined based on a comparison of the distribution of the unlabeled image in one or more dimensions with the distribution of the images in the training data set.

[0141] In operation 1205, as previously described with reference to Fig.11 As described in operation 1105 of , a classified image having a low utility function value is selected.

[0142] In operation 1206, as previously described with reference to Fig.11 As described in operation 1106, the selected image is output to the auxiliary classification.

[0143] In operation 1207, as previously described with reference to Fig.11 As described in operation 1107 of the embodiment, the selected image and its auxiliary classification are received. In operation 1208, as previously described with reference to Fig.11 As described in operation 1108, the auxiliary classified images are added to the training data. The training data may include a set of training for generating the machine learning model N.

[0144] In operation 1209, as previously described with reference to Fig.11 As described in operation 1109, the machine learning model is trained on the updated training data set.

[0145] As described above, method 1200 (and / or other methods and systems described herein) is configured to provide a general framework for training machine learning models using active learning of utility functions based on training data.

[0146] Fig.13 An exemplary method 1300 for iteratively training a machine learning model using active learning based on a utility function is shown according to one embodiment. Each of these operations is described in detail below. The operations of method 1300 described below are intended to be illustrative. In some embodiments, method 1300 may be accomplished with one or more additional operations not described and / or without one or more of the operations discussed. Additionally, Fig.13 The order of the operations of method 1300 shown in and described below is not intended to be limiting. In some embodiments, one or more portions of method 1300 may be implemented (e.g., by simulation, modeling, etc.) in one or more processing devices (e.g., one or more processors). The one or more processing devices may include one or more devices that perform some or all of the operations of method 1300 in response to instructions stored electronically on an electronic storage medium. For example, the one or more processing devices may include one or more devices configured by hardware, firmware, and / or software to be specifically designed to perform one or more operations of method 1300.

[0147] In operation 1301, labeled images are obtained for use as training data. The training data may include one or more defect images, including backside defect images, classifications, one or more probabilities, etc. The training data may be obtained from a pool of images and may be manually labeled. The training data may include a pool of labeled (i.e., classified) images. The labeled images may include a training data set or an initial training data set. The labeled images may be obtained from a manual labeler, a program, or one or more storage devices.

[0148] In operation 1302, a machine learning model is trained to classify images based on the training data. The machine learning model can be a model of an appropriate type. A first iteration of the machine learning model is trained based on the training set.

[0149] Once the machine learning model is initially trained, the machine learning model and / or its training data is used to generate a utility function to select images for active learning (ie, auxiliary classification). A set of operations 1303 includes iterative machine learning model training operations.

[0150] In operation 1304, an unlabeled image or additional unlabeled images are obtained, as previously described with reference to Fig.11 As described in operation 1101.

[0151] In operation 1305, the unlabeled image obtained in operation 1304 is optionally classified using the current iteration of the machine learning model, as previously described with reference to Fig.11 as described in operation 1103.

[0152] In operation 1306, a utility function value for the unlabeled image is optionally determined based on the training data for the current iteration of the machine learning model, as previously described with reference to Fig.12 as described in operation 1204.

[0153] In operation 1307, based on the utility function values ​​determined in operations 1305 and 1306 (optionally included in this operation), a total utility function value for the unlabeled image is determined.

[0154] In operation 1308, a classified image having a low utility function value is selected, as previously described with reference to Fig.11 as described in operation 1105 .

[0155] In operation 1309, the selected image is output to an auxiliary classification, as previously described with reference to Fig.11 As described in operation 1106.

[0156] In operation 1310, a selected image and its auxiliary classification are received, as previously described with reference to Fig.11 as described in operation 1107.

[0157] In operation 1311 , the images for auxiliary classification are added to the training data or training data set.

[0158] In operation 1312, the machine learning model is trained on the updated training data set, as previously described with reference to Fig.11 as described in operation 1109.

[0159] In operation 1313, it is determined whether one or more training criteria are met. If the training criteria are met, the process proceeds to operation 1314. If the training criteria are not met, the process proceeds to operation 1304 where additional unlabeled images are acquired.

[0160] In operation 1314, the trained model is output for defect image classification. The trained model or algorithm can be stored in one or more storage media and executed by one or more processors. The trained model can classify one or more defect images. The trained model can classify defect images individually or in batches or obtained from a memory. The trained model can be run on an image measurement device or based on the output of an image measurement device. The trained model can be run in or communicated with one or more process control programs. The trained model can include one or more alarms that can be triggered when the trained model detects a certain type or number of defect classifications.

[0161] As described above, method 1300 (and / or other methods and systems described herein) is configured to provide a general framework for generating methods for iteratively training machine learning models using active learning based on utility functions.

[0162] Fig.14 An exemplary method 1400 for determining whether a training criterion is satisfied is shown according to one embodiment. Each of these operations is described in detail below. The operations of method 1400 described below are intended to be illustrative. In some embodiments, method 1400 may be implemented by one or more additional operations not described and / or by one or more operations not discussed. Additionally, Fig.14 The order of the operations of method 1400 shown in and described below is not intended to be limiting. In some embodiments, one or more portions of method 1400 may be implemented (e.g., by simulation, modeling, etc.) in one or more processing devices (e.g., one or more processors). The one or more processing devices may include one or more devices that perform some or all of the operations of method 1400 in response to instructions stored electronically on an electronic storage medium. For example, the one or more processing devices may include one or more devices configured by hardware, firmware, and / or software to be specifically designed to perform one or more operations of method 1400.

[0163] In operation 1401, a machine learning model N is obtained, as previously described with reference to Fig.11 As described in operation 1102.

[0164] The machine learning model N (i.e., the trained machine learning model) is then tested against a testing criterion in operation 1402 and / or against a stopping criterion in operation 1403. The testing criterion and the stopping criterion are shown, but it should be understood that either criterion or both criteria may be used as training criteria, such as in Fig.13 The standards applied in operation 1313 are as follows.

[0165] Operation 1402 for determining test criteria includes operations 1404-1408. In operation 1404, test data is obtained. The test data may include multiple images and their classifications. The classification of the test data is known. The same test data can be used for multiple machine learning models, including multiple iterations of the same machine learning model. The test data may include a small data set because the generation cost of test data with known classifications may be high.

[0166] In operation 1405, the image of the test data is classified using the machine learning model obtained in operation 1401. The image of the test data may be classified in any suitable manner. The classification may include classification probability.

[0167] In operation 1406, the classification of the test data generated by the machine learning model is compared to the known classification of the test data. The classification of the test data generated by the machine learning model may include classification probabilities - and the comparison may be a probability comparison and / or a confidence comparison.

[0168] In operation 1407, a determination is made as to whether the classification of the test data generated by the machine learning model matches the known classification of the test data within a threshold range. This determination can be based on the total number of correct classifications, i.e., accuracy percentage, precision, recall, F1 score, or any other appropriate metric. The threshold can be a predetermined value or a threshold based on diminishing returns from further training. For example, training can be stopped if the test accuracy or other performance metric no longer increases. If the classification of the test data generated by the machine learning model matches the known classification of the test data within a threshold range, the process proceeds to operation 1408. If the classification of the test data generated by the machine learning model does not match the known classification of the test data within a threshold range, the process proceeds to operation 1409, where additional unlabeled images are acquired and additional iterations of the machine learning model are trained based on the unlabeled images, as previously described with reference to FIG. Figure 11-13 described.

[0169] In operation 1408, it is determined whether the test criteria are met.

[0170] In operation 1410, the trained model is output for image classification, as described above with reference to Fig.13 as described in operation 1314 .

[0171] Operation 1403 for determining stopping criteria includes operations 1411-1416. In operation 1411, stop data is obtained. The stop data may include multiple images without classification. The classification of the stop data is unknown or not included in the stop data. The same stop data can be used for multiple machine learning models, including multiple iterations of the same machine learning model. The stop data can include a larger data set than the test data because the stop data does not require labels and can therefore be more easily obtained.

[0172] In operation 1412, the image of the stop data is classified using the machine learning model obtained in operation 1401. The image of the stop data may be classified in any suitable manner. The classification may include classification probability.

[0173] In operation 1413, the confidence of the classifier (ie, the machine learning model of the current iteration) is determined. The confidence of the classifier may be determined based on the classification probability of the stop data, or may be determined using other appropriate methods.

[0174] In operation 1414, the confidence of the machine learning model of the current iteration is compared with the confidence of the machine learning model of the previous iteration (i.e., the previous confidence of the classifier). The stopping criteria of operation 1403 is operated to stop training the model before overtraining reduces the performance of the model on a general data set.

[0175] In operation 1415, it is determined whether the confidence of the classifier has decreased based on the additional training data used to train the current iteration of the machine learning model and the previous iteration of the machine learning model. If the confidence has decreased, the process continues to operation 1416. If the confidence has not decreased, the process continues to operation 1409, where additional unlabeled images are obtained and additional iterations of the machine learning model are trained based on the unlabeled images, as previously described with reference to Figure 11-13 described.

[0176] At operation 1416, it is determined that the stopping criteria are met and the process continues to operation 1410, where the trained machine learning model is output.

[0177] As described above, method 1400 (and / or other methods and systems described herein) is configured to provide a general framework for determining whether training criteria are met.

[0178] A non-transitory computer readable medium may be provided that stores information for use with a controller (e.g., Figure 1The controller 50 of the embodiment of the present invention is a controller for transmitting instructions to a processor of the controller 50 of the embodiment of the present invention to perform image inspection, image acquisition, activation of charged particle source, adjustment of electrical excitation of stigmator, adjustment of landing energy of electrons, adjustment of objective lens excitation, adjustment of secondary electron detector position and orientation, stage motion control, beam splitter excitation, application of scanning deflection voltage to beam deflector, receiving and processing data related to signal information from electron detector, configuring electrostatic elements, detecting signal electronics, adjusting control electrode potential, adjusting voltage applied to electron source, extractor electrode and sample, etc. Common forms of non-transitory media include, for example, floppy disk, flexible disk, hard disk, solid state drive, magnetic tape or any other magnetic data storage medium, compact disk read only memory (CD-ROM), any other optical data storage medium, any physical medium with a pattern of holes, random access memory (RAM), programmable read only memory (PROM) and erasable memory. Programmable read only memory (EPROM), FLASH-EPROM or any other flash memory, non-volatile random access memory (NVRAM), cache, register, any other accessor chip or cartridge memory, and networked versions of the same.

[0179] Fig.15 is a diagram of an example computer system CS that can be used for one or more operations described herein. The computer system CS includes a bus BS or other communication mechanism for transmitting information, and a processor PRO (or multiple processors) coupled to the bus BS to process information. The computer system CS also includes a main memory MM, such as a random access memory (RAM) or other dynamic storage device, which is coupled to the bus BS to store information and instructions to be executed by the processor PRO. The main memory MM can also be used to store temporary variables or other intermediate information during the execution of instructions by the processor PRO. The computer system CS also includes a read-only memory (ROM) ROM or other static storage device, which is coupled to the bus BS to store static information and instructions for the processor PRO. A storage device SD, such as a magnetic disk or optical disk, is provided and coupled to the bus BS for storing information and instructions.

[0180] The computer system CS may be coupled to a display DS, such as a cathode ray tube (CRT) or a flat panel or touch panel display, via a bus BS for displaying information to a computer user. An input device ID (including alphanumeric and other keys) is coupled to the bus BS for communicating information and command selections to the processor PRO. Another type of user input device is a cursor control CC, such as a mouse, trackball, or cursor direction keys, for communicating direction information and command selections to the processor PRO and for controlling cursor movement on the display DS. The input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), allowing the device to specify a position in a plane. A touch panel (screen) display may also be used as an input device.

[0181] In some embodiments, part of one or more methods described herein may be performed by a computer system CS in response to one or more sequences of one or more instructions contained in the processor PRO executing the main memory MM. Such instructions may be read into the main memory MM from another computer-readable medium (such as a storage device SD). The execution of the instruction sequence included in the main memory MM causes the processor PRO to perform the processing steps (operations) described herein. One or more processors in a multi-processing arrangement may also be used to execute the instruction sequence contained in the main memory MM. In some embodiments, a hard-wired circuit system may replace a software instruction or be used in combination with a software instruction. Therefore, the description herein is not limited to any specific combination of hardware circuit system and software.

[0182] The term "computer-readable medium" and / or "machine-readable medium" used herein refers to any medium that participates in providing instructions to the processor PRO for execution. This medium can take a variety of forms, including but not limited to non-volatile media, volatile media and transmission media. Non-volatile media include, for example, optical disks or disks, such as storage devices SD. Volatile media include dynamic memory, such as main memory MM. Transmission media include coaxial cables, copper wires and optical fibers, including wires, which include bus BS. Transmission media can also take the form of sound waves or light waves, such as sound waves or light waves generated during radio frequency (RF) and infrared (IR) data communication. Computer-readable media can be non-transient, such as floppy disks, flexible disks, hard disks, magnetic tapes, any other magnetic media, CD-ROMs, DVDs, any other optical media, punch cards, paper tapes, any other physical media with hole patterns, RAMs, PROMs and EPROMs, FLASH-EPROMs, any other memory chips or cassette memories. Non-transient computer-readable media may have instructions recorded thereon. Instructions can implement any operation described herein when executed by a computer. For example, transitory computer readable media may include carrier waves or other propagated electromagnetic signals.

[0183] Various forms of computer-readable media may be used to transfer one or more sequences of one or more instructions to the processor PRO for execution. For example, the instructions may initially be carried on a disk of a remote computer. The remote computer may load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to the computer system CS may receive the data on the telephone line and convert the data into an infrared signal using an infrared transmitter. An infrared detector coupled to the bus BS may receive the data carried in the infrared signal and place the data on the bus BS. The bus BS carries the data to the main memory MM, from which the processor PRO retrieves and executes the instructions. The instructions received by the main memory MM may optionally be stored on a storage device SD before or after execution by the processor PRO.

[0184] The computer system CS may also include a communication interface CI coupled to the bus BS. The communication interface CI provides a bidirectional data communication coupled to a network link NDL, which is connected to a local network LAN. For example, the communication interface CI may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, the communication interface CI may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. A wireless link may also be implemented. In any such implementation, the communication interface CI sends and receives electrical, electromagnetic or optical signals carrying digital data streams representing various types of information.

[0185] The network link NDL typically provides data communication to other data devices through one or more networks. For example, the network link NDL may provide a connection to the host HC through a local network LAN. This may include data communication services provided through the global packet data communication network (now commonly referred to as the "Internet" INT). The local network LAN (Internet) may use electrical, electromagnetic or optical signals that carry digital data streams. The signals through the various networks and the signals on the network data link NDL and through the communication interface CI (carrying digital data to and from the computer system CS) are exemplary forms of carrier waves that transport information.

[0186] The computer system CS can send messages and receive data (including program code) through the network, the network data link NDL and the communication interface CI. In the Internet example, the host HC can transmit the request code of the application program through the Internet INT, the network data link NDL, the local network LAN and the communication interface CI. For example, an application program downloaded in this way can provide all or part of the method described herein. The received code can be executed by the processor PRO when received, and / or stored in the storage device SD or other non-volatile memory for later execution. In this way, the computer system CS can obtain the application program code in the form of a carrier wave.

[0187] The concepts disclosed herein can simulate or mathematically model any general imaging, etching, polishing, inspection, etc. system for sub-wavelength features, and may be used with emerging imaging technologies that can produce shorter and shorter wavelengths. Emerging technologies include EUV (extreme ultraviolet), DUV lithography that can produce 193nm wavelengths using ArF lasers and even 157nm wavelengths using fluorine lasers. In addition, EUV lithography can produce wavelengths in the range of 20-50nm by using a synchrotron or by bombarding materials (solid or plasma) with high-energy electrons to produce photons in this range.

[0188] Although the concepts disclosed herein may be used for manufacturing using substrates such as silicon wafers, it should be understood that the disclosed concepts may be used in any type of manufacturing system (eg, a manufacturing system for manufacturing on substrates other than silicon wafers).

[0189] Further embodiments according to the invention are described in the following numbered clauses:

[0190] 1. One or more non-transitory machine-readable media having instructions thereon that, when executed by a processor, are configured to:

[0191] determining a utility function value for the unclassified measurement image based on a machine learning model, wherein the machine learning model is trained using a pool of labeled measurement images;

[0192] outputting the unclassified measurement image for classification without using the machine learning model based on a determination that the utility function value for a given unclassified measurement image is less than a threshold value;

[0193] The unclassified measurement images classified through the classification without using the machine learning model are added to the pool of labeled measurement images.

[0194] 2. The one or more non-transitory machine-readable media of clause 1, wherein the determining of the utility function value comprises instructions for:

[0195] classifying the unclassified measurement image using the machine learning model;

[0196] The utility function value is determined based on the machine learning model classification.

[0197] 3. One or more non-transitory machine-readable media as described in claim 2, wherein the machine learning model classification also includes a classification probability, and wherein the determination of the utility function value includes instructions for determining the utility function value based on the classification probability.

[0198] 4. One or more non-transitory machine-readable media as described in clause 2, wherein the utility function value is determined based on uncertainty sampling.

[0199] 5. One or more non-transitory machine-readable media as described in clause 4, wherein the utility function value is based on entropy uncertainty sampling.

[0200] 6. One or more non-transitory machine-readable media as described in clause 4, wherein the utility function value is based on a minimum confidence uncertainty sample.

[0201] 7. One or more non-transitory machine-readable media as described in clause 4, wherein the utility function value is based on simple marginal uncertainty sampling.

[0202] 8. One or more non-transitory machine-readable media as described in clause 2, wherein determining the utility function value includes identifying those images in the unclassified measurement images that are near a decision boundary of one or more nodes of the machine learning model.

[0203] 9. One or more non-transitory machine-readable media as described in clause 1, wherein the instructions for determining the utility function value include instructions for determining the utility function value based on training data corresponding to the machine learning model.

[0204] 10. One or more non-transitory machine-readable media as described in clause 9, wherein the utility function value is determined based on a relationship between the training data corresponding to the machine learning model and the unclassified measurement image.

[0205] 11. One or more non-transitory machine-readable media as described in clause 10, wherein the utility function value is determined based on a comparison of a distribution of the training data corresponding to the machine learning model and a distribution of the unclassified measurement images.

[0206] 12. The one or more non-transitory machine-readable media of clause 11, wherein the comparison is a multivariate to center distance comparison.

[0207] 13. The one or more non-transitory machine-readable media of clause 11, wherein the comparison is based on density sampling.

[0208] 14. The one or more non-transitory machine-readable media of clause 11, wherein the comparison is based on min-max sampling.

[0209] 15. The one or more non-transitory machine-readable media of clause 9, wherein the utility function value is determined based on a representative sampling.

[0210] 16. The one or more non-transitory machine-readable media of clause 9, wherein the utility function value is determined based on a class representation.

[0211] 17. One or more non-transitory machine-readable media according to claim 1, wherein the determination of the utility function value includes instructions for: classifying the unclassified measurement image using the machine learning model, wherein the machine learning model classification also includes classification probabilities; and determining the utility function value based on uncertainty sampling according to the classification probabilities and based on representative sampling according to the relationship between training data corresponding to the machine learning model and the unclassified measurement images.

[0212] 18. One or more non-transitory machine-readable media according to any one of clauses 1 to 17, wherein classification without using the machine learning model includes auxiliary classification.

[0213] 19. The one or more non-transitory machine-readable media of any one of clauses 1 to 18, further comprising determining the threshold, wherein the threshold is determined based on a time frame for user classification.

[0214] 20. The one or more non-transitory machine-readable media of any one of clauses 1 to 19, further comprising determining the threshold, wherein the threshold is determined based on a number of images used for user classification.

[0215] 21. One or more non-transitory machine-readable media according to any one of clauses 1 to 20, wherein when the utility function value is less than the threshold, classification using the machine learning model is performed in addition to not using the machine learning model for the classification.

[0216] 22. One or more non-transitory machine-readable media according to any one of clauses 1 to 21, wherein classification without using the machine learning model includes classification based on a second trained machine learning model.

[0217] 23. One or more non-transitory machine-readable media according to any one of clauses 1 to 22, further comprising instructions for: evaluating the machine learning model, wherein evaluating the machine learning model comprises instructions for classifying a test measurement image through the machine learning model, wherein the test measurement image also has a known classification; and determining model performance based on a relationship between the known classification of the test measurement image and the classification of the test measurement image classified by the machine learning model.

[0218] 24. One or more non-transitory machine-readable media as described in claim 23, wherein the instructions for evaluating the machine learning model further include instructions for determining at least one of: a recall score, a precision score, a harmonic mean of the recall and the precision, or a combination thereof, and wherein the instructions for determining the performance of the model include instructions for determining the performance of the model based on at least one of: the recall score, the precision score, the harmonic mean of the recall and the precision, or a combination thereof.

[0219] 25. One or more non-transitory machine-readable media according to clause 23 or 24, further comprising instructions for iteratively training the machine learning model based on a determination that the model performance is less than a performance threshold.

[0220] 26. One or more non-transitory machine-readable media as described in clause 25, wherein the instructions for iteratively training the machine learning model include instructions for iteratively updating the machine learning model based on additions to the pool of labeled measurement images.

[0221] 27. One or more non-transitory machine-readable media according to clause 25, wherein the instructions for iteratively training the machine learning model include instructions for: determining the utility function value of additional unclassified measurement images; based on a determination that the utility function value of a given additional unclassified measurement image is less than the threshold, outputting the additional unclassified measurement images for the classification without using the machine learning model; and adding the additional unclassified measurement images classified by the classification without using the machine learning model to the labeled measurement image pool.

[0222] 28. One or more non-transitory machine-readable media according to any one of clauses 1 to 17, further comprising instructions for: estimating a confidence value of the machine learning model based on evaluating a measurement image; determining whether a stopping criterion is met based on the confidence value; and iteratively updating the machine learning model based on the addition of the labeled measurement image pool based on a determination that the stopping criterion is not met.

[0223] 29. One or more non-transitory machine-readable media according to clause 28, wherein the instructions for estimating the confidence value include instructions for: classifying the evaluation measurement image using the machine learning model, wherein the machine learning model classification also includes a classification probability; and determining the confidence value based on the classification probability.

[0224] 30. One or more non-transitory machine-readable media according to clause 28 or 29, wherein the stopping criterion is based on the confidence value of a previous iteration of the machine learning model.

[0225] 31. One or more non-transitory machine-readable media according to clause 30, wherein the stopping criterion is determined based on the difference between the confidence value of the previous iteration of the machine learning model and the confidence value of the trained machine learning model.

[0226] 32. One or more non-transitory machine-readable media according to any one of clauses 28 to 31, wherein the evaluation measurement image has no known classification.

[0227] 33. One or more non-transitory machine-readable media according to any one of clauses 1 to 32, further comprising instructions for training the machine learning model based on a pool of measured images to which the labels of the unclassified measured images that were classified by not using the classification of the machine learning model were added.

[0228] 34. One or more non-transitory machine-readable media having instructions thereon, which when executed by a processor are configured to: obtain a measurement image; and classify the measurement image using a machine learning model, wherein the machine learning model has been trained using a pool of labeled measurement images, wherein the pool of labeled measurement images includes measurement images labeled by: determining a utility function value for a set of unclassified measurement images based on the machine learning model; based on a disadvantage that the utility function value of a given unclassified measurement image is less than a threshold, outputting the unclassified measurement image for the classification without using the machine learning model; and adding the unclassified measurement image classified by the classification without using the machine learning model to the pool of labeled measurement images.

[0229] 35. The one or more non-transitory machine-readable media of clause 34, wherein the measurement image is a scanning electron microscope (SEM) image.

[0230] 36. The one or more non-transitory machine-readable media of clause 34 or 35, wherein the measurement image is a defect image and wherein the measurement image is classified as at least one of the classes of defects.

[0231] 37. The one or more non-transitory machine-readable media of clause 36, wherein the defect image is a backside defect image.

[0232] 38. The one or more non-transitory machine-readable media of clause 37, wherein the class of defects comprises at least one of damage, droplets, particles, disturbances, or a combination thereof.

[0233] 39. One or more non-transitory machine-readable media having instructions thereon that, when executed by a processor, are configured to: determine a utility function value for an unclassified measurement image based on a trained machine learning model or uncertainty sampling, representative sampling, or a combination thereof.

[0234] 40. One or more non-transitory machine-readable media as described in clause 39, wherein the utility function value is determined based on minimum confidence uncertainty sampling, entropy uncertainty sampling, representative sampling of distance to center, or a combination thereof.

[0235] 41. A system comprising: a processor; and one or more non-transitory machine-readable media as described in any of clauses 1 to 40.

[0236] It should be understood that the embodiments of the present disclosure are not limited to the exact configurations described above and shown in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The present disclosure has been described in conjunction with various embodiments, and other embodiments of the present invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The description and examples should be regarded as exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0237] In addition, combinations and sub-combinations of the disclosed elements may constitute separate embodiments. For example, one or more operations described above may be included in separate embodiments, or they may be included together in the same embodiment.

[0238] The above description is intended to be illustrative only and not limiting. Therefore, it should be apparent to those skilled in the art that modifications may be made as described without departing from the scope of the following claims.

Claims

1. One or more non-transitory machine-readable media having instructions thereon that, when executed by a processor, are configured to: determining a utility function value for the unclassified measurement image based on a machine learning model, wherein the machine learning model is trained using a pool of labeled measurement images; outputting the unclassified measurement image for classification without using the machine learning model based on a determination that the utility function value for a given unclassified measurement image is less than a threshold value; The unclassified measurement images classified through the classification without using the machine learning model are added to the pool of labeled measurement images.

2. The one or more non-transitory machine-readable media of claim 1, wherein the determining of the utility function value comprises instructions for: classifying the unclassified measurement image using the machine learning model; The utility function value is determined based on the machine learning model classification.

3. One or more non-transitory machine-readable media according to claim 2, wherein the machine learning model classification also includes a classification probability, and wherein the determination of the utility function value includes instructions for determining the utility function value based on the classification probability.

4. The one or more non-transitory machine-readable media of claim 2, wherein the utility function value is determined based on uncertainty sampling.

5. The one or more non-transitory machine-readable media of claim 4, wherein the utility function value is based on entropy uncertainty sampling.

6. The one or more non-transitory machine-readable media of claim 4, wherein the utility function value is based on a minimum confidence uncertainty sample.

7. The one or more non-transitory machine-readable media of claim 4, wherein the utility function value is based on simple marginal uncertainty sampling.

8. One or more non-transitory machine-readable media according to claim 2, wherein determining the utility function value includes identifying those images in the unclassified measurement images that are near a decision boundary of one or more nodes of the machine learning model.

9. One or more non-transitory machine-readable media according to claim 1, wherein the instructions for determining the utility function value include instructions for determining the utility function value based on training data corresponding to the machine learning model.

10. The one or more non-transitory machine-readable media of claim 9, wherein the utility function value is determined based on a relationship between the training data corresponding to the machine learning model and the unclassified measurement image.

11. The one or more non-transitory machine-readable media of claim 10, wherein the utility function value is determined based on a comparison of a distribution of the training data corresponding to the machine learning model and a distribution of the unclassified measurement images.

12. The one or more non-transitory machine-readable media of claim 11, wherein the comparison is a multivariate to center distance comparison.

13. The one or more non-transitory machine-readable media of claim 11, wherein the comparison is based on density sampling.

14. The one or more non-transitory machine-readable media of claim 11, wherein the comparison is based on min-max sampling.

15. One or more non-transitory machine-readable media having instructions thereon that, when executed by a processor, are configured to: acquiring a measurement image; and The measurement image is classified using a machine learning model, wherein the machine learning model has been trained using a pool of labeled measurement images, wherein the pool of labeled measurement images includes measurement images labeled by: determining a utility function value for the set of unclassified measurement images based on the machine learning model; outputting the unclassified measurement image for classification without using the machine learning model based on a determination that the utility function value for a given unclassified measurement image is less than a threshold value; The unclassified measurement images classified through the classification without using the machine learning model are added to the pool of labeled measurement images.