Systems and methods for hybrid sampling plan generation and accurate die loss projection

EP4762591A1Pending Publication Date: 2026-06-24ASML NETHERLANDS BV

Patent Information

Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
ASML NETHERLANDS BV
Filing Date
2024-08-15
Publication Date
2026-06-24

Smart Images

  • Figure EP2024073039_20022025_PF_FP_ABST
    Figure EP2024073039_20022025_PF_FP_ABST
Patent Text Reader

Abstract

Systems, methods, apparatuses, and non-transitory computer readable mediums for generating an inspection tool sampling plan. Systems, methods, apparatuses, and non-transitory computer readable mediums may include generating a static sampling plan to determine a baseline for inspection; generating a dynamic sampling plan to determine excursion events; applying the static sampling plan; and applying the dynamic sampling plan by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically low defect probability.
Need to check novelty before this filing date? Find Prior Art

Description

SYSTEMS AND METHODS FOR HYBRID SAMPLING PLAN GENERATION AND ACCURATE DIE LOSS PROJECTIONCROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority of an International Application No. PCT / CN2023 / 113385 which was filed on August 16, 2023 and US application 63 / 681,737 which was filed on August 9, 2024 which are incorporated herein in its entirety by reference.TECHNICAL FIELD

[0002] The embodiments provided herein relate to generating an inspection tool sampling plan, and more particularly to a hybrid method to improve die loss projection from an inspection result or optimize a wafer region definition and a sampling budget distribution to project die loss with improved accuracy.BACKGROUND

[0003] In manufacturing processes of integrated circuits (ICs), unfinished or finished circuit components are inspected to ensure that they are manufactured according to design and are free of defects. Inspection systems utilizing optical microscopes or charged particle (e.g., electron) beam microscopes, such as a scanning electron microscope (SEM) can be employed. As the physical sizes of IC components continue to shrink, accuracy and yield in defect detection become more important. Various metrology tools are developed and used to check whether the ICs are correctly manufactured. To improve defect inspection performance, a computational guided inspection (CGI) machine learning model may be used to assist the tools by indicating areas of a wafer to be inspected.SUMMARY

[0004] The embodiments provided herein disclose a method to generate an inspection tool sampling plan, and more particularly, a hybrid method of improving die loss projection from an inspection result or optimizing a wafer region definition and sampling budget distribution for improved die loss projection.

[0005] Some embodiments provide systems, methods, apparatuses, and non-transitory computer readable mediums to generate an inspection tool sampling plan. Embodiments may include generating a static sampling plan to determine a baseline for inspection; generating a dynamic sampling plan to determine excursion events; applying the static sampling plan; and applying the dynamic sampling plan by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically low defect probability.

[0006] Some embodiments provide systems, methods, apparatuses, and non-transitory computer readable mediums for defect detection using a computational guided inspection sampling plan.Embodiments may include generating a baseline sampling plan based on historical inspection data; generating an excursion event sampling plan based on fabrication data and a computational model; applying the baseline sampling plan to a sample; and applying the excursion event sampling plan to the sample when predicted defect probabilities exceed a threshold in an area of the sample with historically low defect probability.

[0007] Some embodiments provide systems, methods, apparatuses, and non-transitory computer readable mediums to generate an inspection tool sampling plan. Embodiments may include providing input data for a wafer to a computational defect probability prediction model; determining defective die probabilities for a first region of the wafer from the computational defect probability prediction model; and generating a sampling plan for the wafer based on the determined defective die probabilities for the first region of the wafer and based on a pre-determined second region of the wafer.

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

[0009] The above and other aspects of the present disclosure will become more apparent from the description of exemplary embodiments, taken in conjunction with the accompanying drawings.

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

[0011] Fig. 2A is a schematic diagram illustrating an exemplary multi-beam system that is part of the exemplary charged particle beam inspection system of Fig. 1, consistent with embodiments of the present disclosure.

[0012] Fig. 2B is a schematic diagram illustrating an exemplary single -beam system that is part of the exemplary charged particle beam inspection system of Fig. 1, consistent with embodiments of the present disclosure.

[0013] Fig. 3 is a schematic block diagram illustrating throughput to generate input data, consistent with embodiments of the present disclosure.

[0014] Fig. 4 is an example flow diagram of a method to project die loss from an inspection result using a sampling plan generated from input data defining a wafer region and a sampling budget per wafer distribution, consistent with embodiments of the present disclosure.

[0015] Fig. 5 is an example illustration of required input for the empirical sampling plan, consistent with embodiments of the present disclosure.

[0016] Fig. 6 is an example flow diagram of a method to generate a dynamic sampling plan for a wafer and projecting die loss from an inspection result according to a non-uniform defect densitydistribution within a wafer as predicted by a computational model, consistent with embodiments of the present disclosure.

[0017] Fig. 7 is an example flow diagram of a method to generate a dynamic sampling plan for a wafer without a pre-determined sampling budget distribution per wafer region, consistent with embodiments of the present disclosure.

[0018] Fig. 8 is an example sampling plan or estimated defective die probability map, consistent with embodiments of the present disclosure.

[0019] Fig. 9 is an example flow diagram of a method to generate a dynamic sampling plan for a wafer without a pre-determined wafer region definition and sampling budget distribution per wafer region, consistent with embodiments of the present disclosure.

[0020] Figs. 10A and 10B are an example estimated defective die probability map used to evaluate a wafer region definition and an example accumulated defective die probability plot, consistent with embodiments of the present disclosure.

[0021] Fig. 11 is an example flow diagram of a method to directly optimize a wafer region definition and sampling budget distribution based on the die loss projection R2correlation score, consistent with embodiments of the present disclosure.

[0022] Fig. 12 shows exemplary sampling plans for a wafer, consistent with embodiments of the present disclosure.

[0023] Fig. 13 shows exemplary metrology sampling plans for a wafer, consistent with embodiments of the present disclosure.

[0024] Fig. 14 shows an example static sampling plan portion of a hybrid sampling plan, consistent with embodiments of the present disclosure.

[0025] Fig. 15 shows a diagram of an example static sampling plan portion of a hybrid sampling plan, consistent with embodiments of the present disclosure.

[0026] Fig. 16 is an example flow diagram of a method to generate a hybrid sampling plan for a wafer, consistent with embodiments of the present disclosure.DETAILED DESCRIPTION

[0027] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise represented. The implementations set forth in the following description of exemplary embodiments do not represent all implementations. Instead, they are merely examples of apparatuses and methods consistent with aspects related to the disclosed embodiments as recited in the appended claims. For example, although some embodiments are described in the context of utilizing electron beams, the disclosure is not so limited. Other types of charged-particle beams (e.g., including protons, ions, muons, or any other particle carrying electric charges) may be similarly applied. Furthermore,other imaging systems may be used, such as optical imaging, photon detection, x-ray detection, ion detection, etc.

[0028] Electronic devices are constructed of circuits formed on a piece of semiconductor material called a substrate. The semiconductor material may include, for example, silicon, gallium arsenide, indium phosphide, or silicon germanium, or the like. Many circuits may be formed together on the same piece of silicon and are called integrated circuits or ICs. The size of these circuits has decreased dramatically so that many more of them can be fit on the substrate. The enhanced computing power of electronic devices, while reducing the physical size of the devices, can be accomplished by significantly increasing the packing density of circuit components such as transistors, capacitors, diodes, etc. on an IC chip. For example, an IC chip of a smart phone, which is the size of a thumbnail, may include over 2 billion transistors, the size of each transistor being less than l / 1000th of a human hair.

[0029] ICs may be manufactured using lithography, which is a fabrication process involving creating complex circuit patterns drawn on a mask deposited onto a substrate. Lithography may be performed by a lithographic apparatus, which is a machine that applies a source of radiation (e.g., light or X-ray) onto a target portion of the substrate to form a desired pattern. The target portion of the substrate may be covered with a pattern device (e.g., mask) that may be either eliminated or developed after exposure to the radiation source. This process of transferring the desired pattern to the substrate is called a patterning process. The patterning process may include a patterning step to transfer a pattern from a pattern device (e.g., a mask) to the substrate. There can also be one or more related pattern processing steps, such as mask development by a development apparatus, baking of the substrate using a bake tool, etching the pattern onto the substrate using an etch apparatus, or other chemical and physical processing steps involved in fabricating a pattern onto the substrate. Variations in experimental parameters (e.g., stochastic variations, errors, or noise due to an inspection tool or pattern processing tool) can potentially limit lithography implementation for high volume manufacturing (HVM), or process yield, of ICs and introduce defects into IC structures.

[0030] In the manufacture of ICs using a lithographic apparatus, typically many lithographic patterning steps are performed, thereby forming functional features in successive layers on the substrate. A critical aspect of performance of the lithographic apparatus is therefore the ability to place the applied pattern correctly and accurately in relation to features laid down in previous layers. For this purpose, the substrate is provided with one or more sets of alignment marks. Each mark is a structure having a position that can be measured later using, for example, an electron beam inspection tool. Defects may occur in which an applied pattern structure or pattern layer is incorrectly placed in relation to a reference mark, or when the fabrication conditions are suboptimal. A reference mark or layout define the desired structure, structure dimensions, and the distance between IC structures (such as gates, capacitors, etc.) or interconnect lines. This may ensure that the IC devices or lines do not interact with one another in an undesirable way. The structure limitations provided by the referencelayouts are typically referred to as critical dimensions. A critical dimension of a circuit can be defined as the smallest width of a line or hole or the smallest space between two lines or two holes. Thus, the critical dimension determines the overall size and packing density of the designed IC. A goal in IC fabrication is to faithfully reproduce the original IC design on the substrate. If an error occurs during fabrication where the created IC design pattern does not match the reference design, this may result in a defect in the IC structure and render the IC inoperable.

[0031] Making these ICs with extremely small structures or components is a complex, timeconsuming, and expensive process, often involving hundreds of individual steps. Errors in even one step have the potential to dramatically affect the function of the final product. Even one “killer defect” can cause device failure. The goal of the manufacturing process is to improve the overall yield of the process. For example, for a 50-step process to get to a 75% yield, each individual step must have a yield greater than 99.4%, and if the individual step yield is 95%, the overall process yield drops to 7%.

[0032] While high process yield is desirable in an IC chip manufacturing facility, maintaining a high wafer throughput, defined as the number of wafers processed per hour, is also essential. High process yields and high wafer throughput can be impacted by the presence of defects, especially if operator intervention is required for reviewing the defects. Thus, high throughput detection and identification of micro and nano-sized defects is desired. One component of improving process yield and wafer throughput may be monitoring the IC fabrication process to ensure a desired number of defect-free ICs are produced. One way to monitor the fabrication process is to inspect the chip circuit structures at various stages of fabrication. Inspection using tools such as, for example, a charged particle beam inspection tool may be used to this effect to maintain high process yield and high wafer throughput. Inspection of a wafer using an electron beam inspection tool may generate images of the wafer to measure IC structure dimensions. The measured dimensions may be compared to a reference structure absent any defects to determine the presence of defects in the imaged structure. If the structure is defective, then the fabrication process can be adjusted, so the defect is less likely to recur. However, as wafer may contain up to 1 billion IC structures, inspection of ICs for defect detection is often a time-consuming process and may not inspect a wafer at a correct location to identify a defect.

[0033] To mitigate the limitations of inspection of ICs for defect detection of an entire wafer, typical methods have been applied to estimate, or project, a total number of defective die on a wafer at the end of production using inspection results of a wafer during HVM. The total number of defective die on a wafer is referred to as the die loss per wafer. Typical methods rely on an empirical or fixed sampling plan (e.g., a purely static sampling plan generated from a stacked probe probability map) to guide inspection for each wafer inspected during HVM. The sampling plan is a two-dimensional map of a wafer indicating where a particular defective die may be located. Typical methods use historical inspection results identifying defective die from previously inspected wafers to generate the sampling plan (e.g., by focusing on areas of a wafer with a historically high defect probability, such as the edgeor the center of the wafer). The sampling plan is divided into wafer regions, where each wafer region has a determined number of die to inspect (e.g., a sampling budget). Wafer inspection may occur inline with wafer fabrication and each wafer that is inspected during wafer fabrication is inspected according to this sampling plan. After obtaining inspection results for a wafer using the empirical and fixed sampling plan, the die loss for the wafer at the end of production is projected with the assumption that the defect density or distribution within each wafer region is uniform. The projected die loss may be used to confirm a satisfactory wafer yield is maintained throughout manufacturing and to estimate the failure rate, or actual die loss per wafer, at the end of production. Wafer processing continues until a batch of wafers are fully fabricated, and then the actual die loss is measured by applying a probe test to the fabricated wafer in the batch. A final metric to evaluate the accuracy of this typical method may be to determine the R2correlation score between the projected die loss per wafer and the actual die loss per wafer.

[0034] However, in some cases, the typical method described above may not be desirable because it may limit the accuracy of projecting die loss per wafer from inspection results. Using a fixed sampling plan to guide inspection for every wafer inspected during HVM may not be responsive to wafer to wafer variation that occurs during wafer processing. This method may therefore not be optimal regarding efficiently capturing defective die in each wafer inspected. The typical method to project die loss also assumes a uniform defect density or distribution within each wafer, which may not accurately reflect actual defect density or distribution within a wafer. For example, typical solely static sampling plans may miss any systematic defect signatures in wafer areas where defects rarely appear. Solely static sampling plans do not adequately address unexposed defect mechanisms and do not capture future excursion wafers effectively. Moreover, solely static sampling plans rely on chance, which lacks responsiveness to emerging defect patterns, thereby resulting in low defect capture rates.

[0035] Furthermore, the wafer regions and sampling budget assigned to each wafer region may not be optimal in the fixed sampling plan to ensure a high defect capture rate for each wafer inspected. Thus, the typical method using a fixed sampling plan to guide inspection and assuming a uniform defect density or distribution may not accurately predict defective die for a wafer during HVM.

[0036] Other typical methods may include a model-based method to generate a defect probability estimate based on incoming wafer metrology data to generate a dynamic sampling plan. The dynamic sampling plan may be used to guide inspection of a wafer during HVM. Typical methods may provide a method to more accurately project die loss without assuming a uniform defect density or distribution within a wafer using a model-based scaling factor. For example, these typical methods may use pretrained computational models to convert a probability estimate into a dynamic sampling plan for inline e-beam inspection, thereby increasing inspection efficiency by inspecting only the areas of the wafer predicted by the model to have a high probability of defects. The inspection results can also be used to project the die loss per wafer at the end of production (e.g., wafer probe results). The finalmetrics of these dynamic sampling plans are the correlation R2between the projected versus the actual die loss and the capture rate of excursion fingerprints.

[0037] Solely dynamic sampling plan methods, however, may also suffer from constraints. For example, a static or semi-static electron scan die-level sampling plan may be preferred for device yield monitoring purposes in the fabrication of the wafer such that any yield excursion event caught by the monitoring system can be confirmed to be a real yield fluctuation rather than a result of a change in the sampling plan from wafer to wafer. Typical solely dynamic sample plans may be disadvantageous in that it forces the user to change the line monitoring method, risking an unstable baseline.

[0038] Additionally, solely dynamic sampling plans are generated from model probability predictions based on the in-line metrology values. Due to throughput constraints, the data used by sampling plans based on in-line metrology are typically much sparser compared to probe data, which is available for every die on the wafer. Therefore, the resolution and accuracy of the model prediction results of a solely dynamic sampling plan may be limited. For example, a solely dynamic sampling plan may lead to poor defect capture capability and missing defect fingerprints. Solely dynamic sampling plans do not adequately address unexposed defect mechanisms and do not capture future excursion wafers effectively.

[0039] Embodiments of the present disclosure address the above described constraints by generating a hybrid sampling plan that includes a static sampling plan portion and a dynamic sampling plan portion. For example, the static sampling plan portion may maintain a stable baseline by sampling a wafer at locations that historically have wafer defects. The dynamic sampling plan portion may generate an excursion event sampling plan based on fabrication data and a computational model, thereby accounting for a nonuniform defect density or distribution within a wafer and improving resolution and accuracy of the model.

[0040] Relative dimensions of components in drawings may be exaggerated for clarity. Within the following description of drawings, the same or like reference numbers refer to the same or like components or entities, and only the differences with respect to the individual embodiments are described. As used herein, unless specifically stated otherwise, the term “or” encompasses all possible combinations, except where infeasible. For example, if it is stated that a component may include A or B, then, unless specifically stated otherwise or infeasible, the component may include A, or B, or A and B. As a second example, if it is stated that a component may include A, B, or C, then, unless specifically stated otherwise or infeasible, the component may include A, or B, or C, or A and B, or A and C, or B and C, or A and B and C.

[0041] Without limiting the scope of the present disclosure, some embodiments may be described in the context of providing detectors and detection methods in systems utilizing electron beams. However, the disclosure is not so limited. Other types of charged particle beams may be similarlyapplied. Furthermore, systems and methods for detection may be used in other imaging systems, such as optical imaging, photon detection, x-ray detection, ion detection, etc.

[0042] Fig. 1 illustrates an exemplary electron beam inspection (EBI) system 100 consistent with embodiments of the present disclosure. EBI system 100 may be used for imaging. As shown in Fig. 1, EBI system 100 includes a main chamber 101, a load / lock chamber 102, an electron beam tool 104, and an equipment front end module (EFEM) 106. Electron beam tool 104 is located within main chamber 101. EFEM 106 includes a first loading port 106a and a second loading port 106b. EFEM 106 may include additional loading port(s). First loading port 106a and second loading port 106b receive wafer front opening unified pods (FOUPs) that contain wafers (e.g., semiconductor wafers or wafers made of other material(s)) or samples to be inspected (wafers and samples may be used interchangeably). A “lot” is a plurality of wafers that may be loaded for processing as a batch.

[0043] One or more robotic arms (not shown) in EFEM 106 may transport the wafers to load / lock chamber 102. Load / lock chamber 102 is connected to a load / lock vacuum pump system (not shown) which removes gas molecules in load / lock chamber 102 to reach a first pressure below the atmospheric pressure. After reaching the first pressure, one or more robotic arms (not shown) may transport the wafer from load / lock chamber 102 to main chamber 101. Main chamber 101 is connected to a main chamber vacuum pump system (not shown) which removes gas molecules in main chamber 101 to reach a second pressure below the first pressure. After reaching the second pressure, the wafer is subject to inspection by electron beam tool 104. Electron beam tool 104 may be a single-beam system or a multi-beam system.

[0044] A controller 109 is electronically connected to electron beam tool 104. Controller 109 may be a computer configured to execute various controls of EBI system 100. While controller 109 is shown in Fig. 1 as being outside of the structure that includes main chamber 101, load / lock chamber 102, and EFEM 106, it is appreciated that controller 109 may be a part of the structure.

[0045] In some embodiments, controller 109 may include one or more processors (not shown). A processor may be a generic or specific electronic device capable of manipulating or processing information. For example, the processor may include any combination of any number of a central processing unit (or “CPU”), a graphics processing unit (or “GPU”), an optical processor, a programmable logic controllers, a microcontroller, a microprocessor, a digital signal processor, an intellectual property (IP) core, a Programmable Logic Array (PLA), a Programmable Array Logic (PAL), a Generic Array Logic (GAL), a Complex Programmable Logic Device (CPLD), a Field- Programmable Gate Array (FPGA), a System On Chip (SoC), an Application-Specific Integrated Circuit (ASIC), and any type circuit capable of data processing. The processor may also be a virtual processor that includes one or more processors distributed across multiple machines or devices coupled via a network.

[0046] In some embodiments, controller 109 may further include one or more memories (not shown). A memory may be a generic or specific electronic device capable of storing codes and data accessibleby the processor (e.g., via a bus). For example, the memory may include any combination of any number of a random-access memory (RAM), a read-only memory (ROM), an optical disc, a magnetic disk, a hard drive, a solid-state drive, a flash drive, a security digital (SD) card, a memory stick, a compact flash (CF) card, or any type of storage device. The codes may include an operating system (OS) and one or more application programs (or “apps”) for specific tasks. The memory may also be a virtual memory that includes one or more memories distributed across multiple machines or devices coupled via a network.

[0047] Embodiments of this disclosure may provide a single charged-particle beam imaging system (“single -beam system”). Compared with a single-beam system, a multiple charged-particle beam imaging system (“multi-beam system”) may be designed to optimize throughput for different scan modes. Embodiments of this disclosure provide a multi-beam system with the capability of optimizing throughput for different scan modes by using beam arrays with different geometries and adapting to different throughputs and resolution requirements.

[0048] Reference is now made to Fig. 2A, which is a schematic diagram illustrating an exemplary electron beam tool 104 including a multi-beam inspection tool that is part of the EBI system 100 of Fig. 1, consistent with embodiments of the present disclosure. In some embodiments, electron beam tool 104 may be operated as a single-beam inspection tool that is part of EBI system 100 of Fig. 1. Multi-beam electron beam tool 104 (also referred to herein as apparatus 104) comprises an electron source 201, a Coulomb aperture plate (or “gun aperture plate”) 271, a condenser lens 210, a source conversion unit 220, a primary projection system 230, a motorized stage 209, and a sample holder 207 supported by motorized stage 209 to hold a sample 208 (e.g., a wafer or a photomask) to be inspected. Multi-beam electron beam tool 104 may further comprise a secondary projection system 250 and an electron detection device 240. Primary projection system 230 may comprise an objective lens 231. Electron detection device 240 may comprise a plurality of detection elements 241, 242, and 243. A beam separator 233 and a deflection scanning unit 232 may be positioned inside primary projection system 230.

[0049] Electron source 201, Coulomb aperture plate 271, condenser lens 210, source conversion unit 220, beam separator 233, deflection scanning unit 232, and primary projection system 230 may be aligned with a primary optical axis 204 of apparatus 104. Secondary projection system 250 and electron detection device 240 may be aligned with a secondary optical axis 251 of apparatus 104.

[0050] Electron source 201 may comprise a cathode (not shown) and an extractor or anode (not shown), in which, during operation, electron source 201 is configured to emit primary electrons from the cathode and the primary electrons are extracted or accelerated by the extractor and / or the anode to form a primary electron beam 202 that form a primary beam crossover (virtual or real) 203. Primary electron beam 202 may be visualized as being emitted from primary beam crossover 203.

[0051] Source conversion unit 220 may comprise an image-forming element array (not shown), an aberration compensator array (not shown), a beam-limit aperture array (not shown), and a pre-bendingmicro-deflector array (not shown). In some embodiments, the pre-bending micro-deflector array deflects a plurality of primary beamlets 211, 212, 213 of primary electron beam 202 to normally enter the beam-limit aperture array, the image-forming element array, and an aberration compensator array. In some embodiments, apparatus 104 may be operated as a single -beam system such that a single primary beamlet is generated. In some embodiments, condenser lens 210 is designed to focus primary electron beam 202 to become a parallel beam and be normally incident onto source conversion unit 220. The image-forming element array may comprise a plurality of micro-deflectors or micro-lenses to influence the plurality of primary beamlets 211, 212, 213 of primary electron beam 202 and to form a plurality of parallel images (virtual or real) of primary beam crossover 203, one for each of the primary beamlets 211, 212, and 213. In some embodiments, the aberration compensator array may comprise a field curvature compensator array (not shown) and an astigmatism compensator array (not shown). The field curvature compensator array may comprise a plurality of micro-lenses to compensate field curvature aberrations of the primary beamlets 211, 212, and 213. The astigmatism compensator array may comprise a plurality of micro-stigmators to compensate astigmatism aberrations of the primary beamlets 211, 212, and 213. The beam-limit aperture array may be configured to limit diameters of individual primary beamlets 211, 212, and 213. Fig. 2A shows three primary beamlets 211, 212, and 213 as an example, and it is appreciated that source conversion unit 220 may be configured to form any number of primary beamlets. Controller 109 may be connected to various parts of EBI system 100 of Fig. 1, such as source conversion unit 220, electron detection device 240, primary projection system 230, or motorized stage 209. In some embodiments, as explained in further details below, controller 109 may perform various image and signal processing functions. Controller 109 may also generate various control signals to govern operations of the charged particle beam inspection system.

[0052] Condenser lens 210 is configured to focus primary electron beam 202. Condenser lens 210 may further be configured to adjust electric currents of primary beamlets 211, 212, and 213 downstream of source conversion unit 220 by varying the focusing power of condenser lens 210. Alternatively, the electric currents may be changed by altering the radial sizes of beam-limit apertures within the beam-limit aperture array corresponding to the individual primary beamlets. The electric currents may be changed by both altering the radial sizes of beam-limit apertures and the focusing power of condenser lens 210. Condenser lens 210 may be an adjustable condenser lens that may be configured so that the position of its first principal plane is movable. The adjustable condenser lens may be configured to be magnetic, which may result in off-axis beamlets 212 and 213 illuminating source conversion unit 220 with rotation angles. The rotation angles change with the focusing power or the position of the first principal plane of the adjustable condenser lens. Condenser lens 210 may be an anti-rotation condenser lens that may be configured to keep the rotation angles unchanged while the focusing power of condenser lens 210 is changed. In some embodiments, condenser lens 210 maybe an adjustable anti-rotation condenser lens, in which the rotation angles do not change when its focusing power and the position of its first principal plane are varied.

[0053] Objective lens 231 may be configured to focus beamlets 211, 212, and 213 onto a sample 208 for inspection and may form, in the current embodiments, three probe spots 221, 222, and 223 on the surface of sample 208. Coulomb aperture plate 271, in operation, is configured to block off peripheral electrons of primary electron beam 202 to reduce Coulomb effect. The Coulomb effect may enlarge the size of each of probe spots 221, 222, and 223 of primary beamlets 211, 212, 213, and therefore deteriorate inspection resolution.

[0054] Beam separator 233 may, for example, be a Wien filter comprising an electrostatic deflector generating an electrostatic dipole field and a magnetic dipole field (not shown in Fig. 2A). In operation, beam separator 233 may be configured to exert an electrostatic force by electrostatic dipole field on individual electrons of primary beamlets 211, 212, and 213. The electrostatic force is equal in magnitude but opposite in direction to the magnetic force exerted by magnetic dipole field of beam separator 233 on the individual electrons. Primary beamlets 211, 212, and 213 may therefore pass at least substantially straight through beam separator 233 with at least substantially zero deflection angles.

[0055] Deflection scanning unit 232, in operation, is configured to deflect primary beamlets 211, 212, and 213 to scan probe spots 221, 222, and 223 across individual scanning areas in a section of the surface of sample 208. In response to incidence of primary beamlets 211, 212, and 213 or probe spots 221, 222, and 223 on sample 208, electrons emerge from sample 208 and generate three secondary electron beams 261, 262, and 263. Each of secondary electron beams 261, 262, and 263 typically comprise secondary electrons (having electron energy < 50eV) and backscattered electrons (having electron energy between 50eV and the landing energy of primary beamlets 211, 212, and 213). Beam separator 233 is configured to deflect secondary electron beams 261, 262, and 263 towards secondary projection system 250. Secondary projection system 250 subsequently focuses secondary electron beams 261, 262, and 263 onto detection elements 241, 242, and 243 of electron detection device 240. Detection elements 241, 242, and 243 are arranged to detect corresponding secondary electron beams 261, 262, and 263 and generate corresponding signals which are sent to controller 109 or a signal processing system (not shown), e.g., to construct images of the corresponding scanned areas of sample 208.

[0056] In some embodiments, detection elements 241, 242, and 243 detect corresponding secondary electron beams 261, 262, and 263, respectively, and generate corresponding intensity signal outputs (not shown) to an image processing system (e.g., controller 109). In some embodiments, each detection element 241, 242, and 243 may comprise one or more pixels. The intensity signal output of a detection element may be a sum of signals generated by all the pixels within the detection element.

[0057] In some embodiments, controller 109 may comprise image processing system that includes an image acquirer (not shown), a storage (not shown). The image acquirer may comprise one or moreprocessors. For example, the image acquirer may comprise a computer, server, mainframe host, terminals, personal computer, any kind of mobile computing devices, and the like, or a combination thereof. The image acquirer may be communicatively coupled to electron detection device 240 of apparatus 104 through a medium such as an electrical conductor, optical fiber cable, portable storage media, IR, Bluetooth, internet, wireless network, wireless radio, among others, or a combination thereof. In some embodiments, the image acquirer may receive a signal from electron detection device 240 and may construct an image. The image acquirer may thus acquire images of sample 208. The image acquirer may also perform various post-processing functions, such as generating contours, superimposing indicators on an acquired image, and the like. The image acquirer may be configured to perform adjustments of brightness and contrast, etc. of acquired images. In some embodiments, the storage may be a storage medium such as a hard disk, flash drive, cloud storage, random access memory (RAM), other types of computer readable memory, and the like. The storage may be coupled with the image acquirer and may be used for saving scanned raw image data as original images, and post-processed images.

[0058] In some embodiments, the image acquirer may acquire one or more images of a sample based on an imaging signal received from electron detection device 240. An imaging signal may correspond to a scanning operation for conducting charged particle imaging. An acquired image may be a single image comprising a plurality of imaging areas. The single image may be stored in the storage. The single image may be an original image that may be divided into a plurality of regions. Each of the regions may comprise one imaging area containing a feature of sample 208. The acquired images may comprise multiple images of a single imaging area of sample 208 sampled multiple times over a time sequence. The multiple images may be stored in the storage. In some embodiments, controller 109 may be configured to perform image processing steps with the multiple images of the same location of sample 208.

[0059] In some embodiments, controller 109 may include measurement circuitries (e.g., analog-to- digital converters) to obtain a distribution of the detected secondary electrons. The electron distribution data collected during a detection time window, in combination with corresponding scan path data of each of primary beamlets 211, 212, and 213 incident on the wafer surface, can be used to reconstruct images of the wafer structures under inspection. The reconstructed images can be used to reveal various features of the internal or external structures of sample 208, and thereby can be used to reveal any defects that may exist in the wafer.

[0060] In some embodiments, controller 109 may control motorized stage 209 to move sample 208 during inspection of sample 208. In some embodiments, controller 109 may enable motorized stage 209 to move sample 208 in a direction continuously at a constant speed. In other embodiments, controller 109 may enable motorized stage 209 to change the speed of the movement of sample 208 over time depending on the steps of scanning process.

[0061] Although Fig. 2A shows that apparatus 104 uses three primary electron beams, it is appreciated that apparatus 104 may use one, two, or more number of primary electron beams. The present disclosure does not limit the number of primary electron beams used in apparatus 104. In some embodiments, apparatus 104 may be a SEM used for lithography. In some embodiments, electron beam tool 104 may be a single-beam system or a multi-beam system.

[0062] For example, as shown in Fig. 2B, an electron beam tool 100B (also referred to herein as apparatus 100B) may be a single -beam inspection tool that is used in EBI system 10, consistent with embodiments of the present disclosure. Apparatus 100B includes a wafer holder 136 supported by motorized stage 134 to hold a wafer 150 to be inspected. Electron beam tool 100B includes an electron emitter, which may comprise a cathode 103, an anode 121, and a gun aperture 122. Electron beam tool 100B further includes a beam limit aperture 125, a condenser lens 126, a column aperture 135, an objective lens assembly 132, and a detector 144. Objective lens assembly 132, in some embodiments, may be a modified SORIL lens, which includes a pole piece 132a, a control electrode 132b, a deflector 132c, and an exciting coil 132d. In an imaging process, an electron beam 161 emanating from the tip of cathode 103 may be accelerated by anode 121 voltage, pass through gun aperture 122, beam limit aperture 125, condenser lens 126, and be focused into a probe spot 170 by the modified SORIL lens and impinge onto the surface of wafer 150. Probe spot 170 may be scanned across the surface of wafer 150 by a deflector, such as deflector 132c or other deflectors in the SORIL lens. Secondary or scattered primary particles, such as secondary electrons or scattered primary electrons emanated from the wafer surface may be collected by detector 144 to determine intensity of the beam and so that an image of an area of interest on wafer 150 may be reconstructed.

[0063] There may also be provided an image processing system 199 that includes an image acquirer 120, a storage 130, and controller 109. Image acquirer 120 may comprise one or more processors. For example, image acquirer 120 may comprise a computer, server, mainframe host, terminals, personal computer, any kind of mobile computing devices, and the like, or a combination thereof. Image acquirer 120 may connect with detector 144 of electron beam tool 100B through a medium such as an electrical conductor, optical fiber cable, portable storage media, IR, Bluetooth, internet, wireless network, wireless radio, or a combination thereof. Image acquirer 120 may receive a signal from detector 144 and may construct an image. Image acquirer 120 may thus acquire images of wafer 150. Image acquirer 120 may also perform various post-processing functions, such as generating contours, superimposing indicators on an acquired image, and the like. Image acquirer 120 may be configured to perform adjustments of brightness and contrast, etc. of acquired images. Storage 130 may be a storage medium such as a hard disk, random access memory (RAM), cloud storage, other types of computer readable memory, and the like. Storage 130 may be coupled with image acquirer 120 and may be used for saving scanned raw image data as original images, and post-processed images. Image acquirer 120 and storage 130 may be connected to controller 109. In someembodiments, image acquirer 120, storage 130, and controller 109 may be integrated together as one electronic control unit.

[0064] In some embodiments, image acquirer 120 may acquire one or more images of a sample based on an imaging signal received from detector 144. An imaging signal may correspond to a scanning operation for conducting charged particle imaging. An acquired image may be a single image comprising a plurality of imaging areas that may contain various features of wafer 150. The single image may be stored in storage 130. Imaging may be performed on the basis of imaging frames.

[0065] The condenser and illumination optics of the electron beam tool may comprise or be supplemented by electromagnetic quadrupole electron lenses. For example, as shown in Fig. 2B, electron beam tool 100B may comprise a first quadrupole lens 148 and a second quadrupole lens 158. In some embodiments, the quadrupole lenses are used for controlling the electron beam. For example, first quadrupole lens 148 can be controlled to adjust the beam current and second quadrupole lens 158 can be controlled to adjust the beam spot size and beam shape.

[0066] Fig. 2B illustrates a charged particle beam apparatus in which an inspection system may use a single primary beam that may be configured to generate secondary electrons by interacting with wafer 150. Detector 144 may be placed along optical axis 105, as in the embodiment shown in Fig. 2B. The primary electron beam may be configured to travel along optical axis 105. Accordingly, detector 144 may include a hole at its center so that the primary electron beam may pass through to reach wafer 150.

[0067] Reference is now made to Fig. 3, which is an example block diagram for generating input data, consistent with embodiments of the present disclosure. Input data may be generated using two steps as illustrated in Fig. 3. A lithographic projection apparatus 301 may be used to fabricate a wafer at a constant fabrication condition (e.g., a focus and dose for a radiation source). An inspection tool 302 (e.g., EBI system 100 of Fig. 1, electron beam tool 104 of Fig. 2A, electron beam tool 100B of Fig. 2B) may be used to measure metrology information of structures formed on the wafer that was generated by lithographic projection apparatus 301. Metrology information may include, but is not limited to, necking, line pull back, line thinning, critical dimension, edge placement, overlapping (e.g., overlay between layers of a wafer), resist top loss, resist undercut, missing defects, and bridging defects of an IC structure on a wafer. A processor 303 (e.g., controller 109 in Fig. 1, controller 109 of Fig. 2A, controller 109 of Fig. 2B) with a memory may be communicatively connected to inspection tool 302 to store the measured metrology information.

[0068] The images generated by inspection tool 302 may be used for wafer inspection. For example, a generated image capturing a test device region of a wafer may be compared with a reference image capturing the same test device region. The reference image may be predetermined (e.g., by simulation) and include no known defect. If a difference between the generated image and the reference image exceeds a tolerance level, a potential defect may be identified. For another example,inspection tool 302 may scan multiple regions of the wafer, each region including a test device region designed as the same and generate multiple images capturing those test device regions as manufactured. The multiple images may be compared with each other. If a difference between the multiple images exceeds a tolerance level, a potential defect may be identified.

[0069] In some embodiments, processor 303 may be a generic or specific electronic device capable of manipulating or processing information. For example, processor 303 may include any combination of any number of a central processing unit (or “CPU”), a graphics processing unit (or “GPU”), an optical processor, a programmable logic controller, a microcontroller, a microprocessor, a digital signal processor, an intellectual property (IP) core, a Programmable Logic Array (PLA), a Programmable Array Logic (PAL), a Generic Array Logic (GAL), a Complex Programmable Logic Device (CPLD), a Field-Programmable Gate Array (FPGA), a System On Chip (SoC), an Application-Specific Integrated Circuit (ASIC), and any type circuit capable of data processing. Processor 303 may also be a virtual processor that includes one or more processors distributed across multiple machines or devices coupled via a network.

[0070] In some embodiments, processor 303 may further include one or more memories (not shown). A memory may be a generic or specific electronic device capable of storing codes and data accessible by the processor (e.g., via a bus). For example, the memory may include any combination of any number of a random-access memory (RAM), a read-only memory (ROM), an optical disc, a magnetic disk, a hard drive, a solid-state drive, a flash drive, a security digital (SD) card, a memory stick, a compact flash (CF) card, or any type of storage device. The codes and data may include an operating system (OS) and one or more application programs (or “apps”) for specific tasks. The memory may also be a virtual memory that includes one or more memories distributed across multiple machines or devices coupled via a network.

[0071] Current projection methods to estimate defective die formation during wafer processing and project die loss at the end of wafer processing rely on using an empirical and fixed sampling plan for wafer inspection. The sampling plan may be generated by compiling historical inspection results (e.g., probe data of one or more wafers) that identify certain locations of wafer defects (e.g., historical probe data that includes die defect data during inspection of a plurality of wafers). In some embodiments, generating this sampling plan may include generating a probability estimate map based on the historical probe data of a plurality of samples by averaging the historical probe data (e.g., averaging stacking maps; the probability estimate from stacking / averaging may be the number of wafers where a die is defective divided by the total number of wafers), and generating the static sampling plan based on the generated probability estimate map. In some embodiments, applying this sampling plan includes inspecting the sample in an area corresponding to historically high defect probabilities (e.g., gray areas of wafer 1001 of Fig. 10A, sampling regions in sampling plan 1210 of Fig. 12).

[0072] This sampling plan is also used for each wafer that is inspected during wafer processing and is thus considered “fixed” or “static.” Once an inspection result for a wafer is obtained via the static sampling plan, the projected die loss may be calculated via the following equations:(Equation 1)Projected die loss = Xjli Number of estimated defective dies within wafer zone (Equation 2)

[0073] In Equation 1,'Kqlcnumber of defective dies identified,svectedjsq-je number of dies inspected, and Ndis the number of dies within a wafer zone. Since the static method assumes the defect density or distribution within a wafer region, or zone, is uniform,multiplied by a scaling factor. According to Equation 1, the scaling factor may be considered to be the ratio of Ndto j\ / ^lsvectedw|-c|-,may scale upt0 es r)1;itc the number of defective dies for the entire wafer zone. In Equation 2, the summation is from 1 wafer region up to M wafer regions, where M is an integer.

[0074] In addition to the assuming defect density or distribution within a wafer region is uniform, static methods require a pre-determined wafer region definition and sampling budget per wafer region distribution in the sampling plan. However, this may limit the accuracy of the projected die loss (e.g., a suboptimal R2correlation score) since defect density or distribution may not be uniform within a wafer region and the pre-determined wafer region definition and sampling budget per wafer region distribution may be highly empirical. Moreover, static methods maintain the same wafer region definition and sampling budget distribution per wafer region for all incoming wafers. This may limit the versatility of the static method to accurately project the die loss in a variety of wafers, since each wafer may have differences in optimal wafer region definitions or a sampling budget per wafer region. This may result in the sampling plan inaccurately guiding the inspection tool during inspection of wafers during HVM such that defects are missed and thus project an inaccurate die loss (e.g., a suboptimal R2correlation score). That is, static methods may result in sampling plans that guide the inspection tool to the same areas sample-to-sample, without accounting for defects in other areas of the sample. This would therefore decrease defect-free wafer yield and throughput during HVM.

[0075] In some embodiments, the accuracy of the projected die loss may be improved by using a hybrid sampling plan. In some embodiments, a hybrid sampling plan may use both a static sampling plan and a dynamic sampling plan (e.g., method 600 of Fig. 6, method 700 of Fig. 7, using wafer 801 of Fig. 8, method 900 of Fig. 9, using wafer 1001 of Fig. 10A, using the plot of Fig. 10, method 1100of Fig. 11), thereby accounting for a nonuniform defect density or distribution within a wafer while still sampling a wafer at locations that historically have wafer defects (e.g., sampling a wafer at locations that are historically prone to having defects or that are shown to have defects). For example, generating the static sampling plan portion of the hybrid method may include generating a baseline sampling plan based on historical inspection data. In some embodiments, generating the dynamic sampling plan portion of the hybrid method may include generating an excursion event sampling plan based on fabrication data and a computational model (e.g., based on the scanner recipe of a computational lithography model, including resolution enhancing techniques of the scanner, such as optical proximity correction).

[0076] Reference is now made to Fig. 4, which is an example flow diagram of a method 400 to project die loss for a wafer according to inspection results collected from an empirical static (e.g., constant from wafer to wafer) sampling plan with a fixed wafer region definition and sampling budget per wafer region distribution, consistent with embodiments of the present disclosure. The steps of Fig. 4 may be performed by a computing device (e.g., processor 303 of Fig. 3) and an inspection tool (e.g., inspection tool 302 of Fig. 3).

[0077] In step 401, an empirical sampling plan is generated. The sampling plan may be generated based on historical data from a previously inspected wafer or a batch of previously inspected wafers. The historical data may be inspection images that contain identified defects on a wafer. Thus, the generated sampling plan may include this historical defect signature. Furthermore, the sampling plan is generated according to a pre-determined wafer region definition and sampling budget per wafer region.

[0078] In step 402, the empirical sampling plan is used to guide inspection of a wafer using an inspection tool. For example, the sampling plan may be used to guide the inspection tool during inspection of the wafer. Wafer inspection is conducted according to the pre-determined sampling budget for each wafer region in the sampling plan. Wafer inspection is conducted in-line with HVM. The number of dies inspected in a first wafer region is equal to the sampling budget for the first wafer region, and the same is true for a second wafer region.

[0079] In step 403, the die loss for a wafer is projected for a wafer at the end of wafer processing using the obtained inspection results. For example, the die loss for a wafer may be projected for a wafer after development, etching, etc. of the wafer. The die loss projection may be performed as described above in Equation 1 and Equation 2 (e.g., assumes that defect density or distribution within a wafer region is uniform).

[0080] In step 404, the actual die loss is obtained by applying a probe test to a wafer at the end of wafer processing. In some embodiments, probe results may be applied to the wafer during various steps of wafer processing (e.g., after development, after etching, etc.). The probe test determines if each die on a wafer is defective or not. In step 405, a R2correlation score is evaluated from the actual die loss and the projected die loss. It is appreciated that the R2correlation score may be determinedfrom a population of wafers. A first wafer and a second wafer may be inspected according to step 402 and two projected die loss values may be determined according to step 403. The first wafer and the second wafer at the end of wafer processing may be measured according to step 404 to obtain two actual die loss values. In some embodiments, a first layer of a wafer and a second layer of the same wafer may be inspected according to step 402 and two projected die loss values may be determined according to step 403. The wafer at the end of wafer processing may be measured according to step 404 to obtain an actual die loss value.

[0081] In some embodiments, the accuracy of the projected die loss may be improved by using a hybrid sampling plan. In some embodiments, a hybrid sampling plan may use both method 400 and a dynamic sampling plan (e.g., method 600 of Fig. 6, method 700 of Fig. 7, using wafer 801 of Fig. 8, method 900 of Fig. 9, using wafer 1001 of Fig. 10A, using the plot of Fig. 10, method 1100 of Fig. 11), thereby accounting for a nonuniform defect density or distribution within a wafer while still sampling a wafer at locations that historically have wafer defects (e.g., sampling a wafer at locations that are historically prone to having defects or that are shown to have defects). For example, generating the static sampling plan portion of the hybrid method may include generating a baseline sampling plan based on historical inspection data. In some embodiments, generating the dynamic sampling plan portion of the hybrid method may include generating an excursion event sampling plan based on fabrication data and a computational model (e.g., based on the scanner recipe of a computational lithography model, including resolution enhancing techniques of the scanner, such as optical proximity correction).

[0082] Reference is now made to Fig. 5, which is an example illustration of required input for the empirical sampling plan, consistent with embodiments of the present disclosure. Fig. 5 illustrates a wafer 501 with a first wafer region 502, a second wafer region 503, and a third wafer region 504. Each wafer region has a corresponding sampling budget. Each wafer region definition and corresponding sampling budget per wafer region may not be adjusted according to conventional methods. Furthermore, each wafer region definition is kept constant for each wafer inspected.

[0083] Following solely static methods to generate an empirical sampling plan with a pre-determined wafer region definition and sampling budget distribution per wafer region may result in inaccurately guiding the inspection tool during inspection of a wafer and decreasing inspection yield throughput. Furthermore, relying on a constant wafer region definition and sampling budget distribution per wafer region for all incoming wafers and assuming defect density distribution within a wafer region is uniform may make it challenging to accurately project die loss for different wafers during HVM and thus ensure desirable wafer yield is maintained.

[0084] In some embodiments of the present disclosure, these constraints from solely static methods may be improved by using a hybrid sampling plan. In some embodiments, a hybrid sampling plan may use both a static sampling plan (e.g., method 400 of Fig. 4, wafer 501 of Fig. 5) and a dynamic sampling plan (e.g., method 600 of Fig. 6, method 700 of Fig. 7, using wafer 801 of Fig. 8, method900 of Fig. 9, using wafer 1001 of Fig. 10A, using the plot of Fig. 10, method 1100 of Fig. 11), thereby accounting for a nonuniform defect density or distribution within a wafer while still sampling a wafer at locations that historically have wafer defects (e.g., sampling a wafer at locations that are historically prone to having defects or that are shown to have defects). For example, generating the static sampling plan portion of the hybrid method may include generating a baseline sampling plan based on historical inspection data. In some embodiments, generating the dynamic sampling plan portion of the hybrid method may include generating an excursion event sampling plan based on fabrication data and a computational model (e.g., based on the scanner recipe of a computational lithography model, including resolution enhancing techniques of the scanner, such as optical proximity correction).

[0085] With respect dynamic sampling plans, embodiments of the present disclosure may provide a model-based approach to project die loss during wafer processing. Computational guided inspection (CGI) processes guide inspection tools to locations on a wafer where there is a higher probability of defects. A machine learning-based CGI model receives input from various data sources, such as wafer characteristic data (which may include scanner data, metrology data, and fabrication process data) and data from inspection results to train the model. A CGI machine learning model may be built and used to output a sampling plan indicating a location on a wafer where defects have likely formed after a wafer processing step, so the inspection tool will go to the sampling location to inspect with a higher efficiency than inspecting wafer locations based on experience (e.g., a history of prior defects detected during scanning). In some embodiments, a machine learning-based CGI model may be trained using historical data (e.g., history of prior defects detected during scanning, historical inspection data, historical inspection results) to improve or generate an improved sampling plan. The CGI process occurs in-line with wafer fabrication and increases inspection tool efficiency by increasing the accuracy of finding defects on the wafer with capture rates of finding defects higher than a baseline value. The inspection results may be used to confirm a satisfactory wafer yield is maintained throughout manufacturing and to project the failure rate, or die loss per wafer, at the end of production. This projected failure rate may be compared to the results of a wafer probe test, which determines a failure rate for each die fabricated on the wafer. A final metric of a CGI model use case may be the R2correlation score between the estimated and measured die defects for a wafer.

[0086] A CGI model may be applied to characteristic wafer data to estimate a defect probability for each die on a wafer. A sampling plan optimizer or sampling plan generator then converts the estimated defective die probability for each die on a wafer to a die-level sampling decision wafer map (also known as a sampling plan). In some embodiments, the sampling plan may be used to modify processing parameters of tools in the fabrication (e.g., parameters of the scanner, parameters of the etcher, etc.) to feedback or feedforward in the fabrication process, thereby mitigating for defects that were identified. The sampling plan may be generated according to input information that defines a pre-determined wafer region definition and sampling budget per wafer region, as well as user-specified sampling options. The sampling plan may provide a die-level binary sampling decision (e.g., inspect or do not inspect a die on a wafer). The sampling plan may then be used to guide an inspection tool (e.g., a scanning electron microscope, SEM, or an optical tool) to a region on the wafer where the sampling plan has a set number of dies to inspect (e.g., a sampling budget). The inspection results obtained via the sampling plan indicate a number of actual defective die present, and the inspection results may then be used to project an estimated die loss for a wafer. In some embodiments, a CGI model may be trained using historical data (e.g., history of prior defects detected during scanning, historical inspection data, historical inspection results) to improve or generate an improved sampling plan. An R2correlation score for the defective die projection provided by the CGI model sampling plan may be determined by collecting the “ground truth” results for a wafer. The “ground truth” results indicate the actual defective die results of a wafer at the end of production and correspond to a probe test result for a fully completed wafer. Accordingly, a probe test result provides accurate identification of defects for each die on a wafer. The final metric of the CGI model and sampling plan optimizer may be the correlation R2score between the projected estimated die loss determined by the CGI model and the actual die loss determined by the probe test results.

[0087] The CGI model provides an output of a defective die probability at a die-to-die level. This means the CGI model estimates a defect probability for each die on a wafer, which may vary from die to die, and from wafer to wafer. The estimated defective die probability may be aggregated to generate a sampling plan for a wafer. Since a sampling plan may be generated for each wafer based on the specific defective die probability for each die on a wafer, the CGI model-generated sampling plan may be referred to as a “dynamic” sampling plan. The dynamic sampling plan may be used to guide the inspection tool during inspection of a wafer to project a die loss for a wafer at the end of wafer processing.

[0088] In some embodiments of the present disclosure, the projected die loss is determined without assuming a uniform defect density or distribution within a wafer region. As described above, die loss may be projected after an inspection result is collected from an inspection tool guided by the CGI generated dynamic sampling plan. The projected die loss may be calculated via the following equations, consistent with embodiments of the present disclosure: (Equation 3)j .r. sumfdefective die probability of non-sampled dies in region i)ZT.Scaling factor, S, = 1 + - su —m(d -ef ective d -i -e probabi —lity - of sample -d - dies in regio -n - i) (Equation 4)

[0089] In Equation 3, Nddis the number of defective dies, Ndis the total number of dies on the wafer, and SLis the scaling factor. The summation in Equation 3 is from one wafer region, i, to thetotal number of wafer regions, M, on a wafer. In Equation 4, the non-sampled dies are the dies not inspected according to the CGI-generated sampling plan, whereas the sampled dies are the dies that are inspected. However, each die in wafer region i has a defective die probability determined by the CGI model. Thus, the summation in the numerator in Equation 4 is equivalent to the expected number of defective dies that are not inspected, and the summation in the denominator in the Equation 4 is equivalent to the expected number of defective dies that are inspected. As the defective die probability may vary for each die in a wafer region, and in a wafer overall, the scaling factor, 5), in Equation 4 may account for non-uniform defect density distribution. The CGI model may determine the dies to inspect (e.g., sampled dies) by ranking the defective die probabilities according to a per-wafer region basis and selecting, for each wafer region, a number of dies based on the ranking of defective die probabilities. The number of dies may be less than or equal to the sampling budget for a wafer region. In other words, the CGI-generated dynamic sampling plan may combine an Ni number of dies with the highest defective die probabilities, where Ni is the sampling budget for wafer region i.

[0090] In some embodiments, generating the dynamic sampling plan portion of a hybrid sampling plan may include determining defective die probabilities for a first region of a wafer using a (e.g., trained) computational defect probability prediction model as described above. The first region of the wafer may exclude areas of the wafer that are already included in the static sampling plan portion of the hybrid sampling plan. In some embodiments, generating the dynamic sampling plan portion of the hybrid sampling plan may include converting the estimated defective die probabilities of the first region that are above a threshold to a die-level sampling decision wafer map. That is, a hybrid sampling plan may include areas of the wafer covered by the static sampling plan portion and areas of the wafer that historically have low defective die probabilities (the dynamic sampling plan portion). However, the dynamic sampling plan portion may only include dies with defective die probabilities above a certain threshold. Therefore, it is possible that none of the defective die probabilities in the first region of the wafer meet the threshold and the hybrid sampling plan may only include the static sampling plan.

[0091] In some embodiments, the defective die probabilities of the dies in the first region (e.g., white regions of wafer 1001 of Fig. 10A, dynamic sampling regions in sampling plan 1230 of Fig. 12) may be lower than the defective die probabilities in the regions of the wafer covered by the static sampling plan (e.g., gray regions of wafer 1001 of Fig. 10A, sampling regions in sampling plan 1210 of Fig. 12). In some embodiments, the dynamic sampling plan portion of a hybrid sampling plan may be applied to a sample (in addition to apply the static sampling plan) by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically lower defect probability (e.g., dynamic sampling plans may determine excursion events on a wafer).

[0092] Reference is now made to Fig. 6, which is an example flow diagram of a method 600 to generate a dynamic sampling plan for a wafer and projecting die loss from an inspection result assuming non-uniform defect density or distribution within a wafer, consistent with embodiments ofthe present disclosure. The steps of method 600 may be performed by a computing device, e.g., processor 303 of Fig. 3. It is appreciated that the illustrated method 600 may be altered to modify the order of steps and to include additional steps. In some embodiments (e.g., in sampling plans generated using hybrid methods), a non-uniform defect density or distribution may be obtained from a static stacked probe defect probability estimate or from a prediction of a computational defect probability prediction model.

[0093] In step 601, input data is acquired and supplied to a CGI model. The input data may correspond to metrology information collected from one or more images of a first wafer and a second wafer that are acquired via wafer processing during HVM. In some embodiments, the input data may correspond to metrology information collected from one or more images of a first layer of a wafer and a second layer of the same wafer that are acquired. In some embodiments, a wafer may be fabricated at a constant fabrication condition (e.g., a lithographic focus, dose condition, etc.). The input data may include a pre-determined wafer region definition and sampling budget distribution. The metrology information may include, but is not limited to, necking, line pull back, line thinning, critical dimension, edge placement, overlapping (e.g., overlay between layers of a wafer), resist top loss, resist undercut, missing defects, and bridging defects on a wafer.

[0094] In step 602, an estimated defective die probability for each die on the first wafer is calculated based on the input data for the first wafer. The calculation may be based on identified defects in the input data and is influenced by the input data quality. The calculation may be performed by a processor (e.g., processor 303 in Fig. 3) which may apply the CGI model to the first wafer.

[0095] In step 603, the estimated defective die probabilities for all dies on the first wafer are ranked. The estimated defective die probabilities may be ranked on a per-wafer-region basis such that the top Ni dies with the top Ni highest estimated defective die probabilities for each wafer region are considered. As described above, Ni is the sampling budget per wafer region.

[0096] In step 604, a sampling plan for the first wafer is generated based on the wafer region definition and the top Ni dies for each wafer region as determined in step 603.

[0097] In step 605, the generated sampling plan for the first wafer is used to guide the inspection tool during inspection of the first wafer. The inspection tool collects inspection results of the first wafer according to the predicted one or more regions of defects identified by the sampling plan. In step 606, the CGI model projects die loss for the first wafer according to the inspection results collected in step 605 and according to Equations 3 and 4.

[0098] In some embodiments, the generated sampling plan may be used to modify processing parameters of tools in the fabrication (e.g., parameters of the scanner, parameters of the etcher, etc.) to feedback or feedforward in the fabrication process, thereby mitigating for defects that were identified.

[0099] In step 607, an estimated defective die probability for each die on the second wafer is calculated based on the input data for the second wafer. The calculation may be performed by one or more processors (e.g., processor 303 in Fig. 3) that may apply the CGI model to the second wafer.The input data of the second wafer is as described above in step 601 and may include a wafer region definition for the second wafer and a sampling budget distribution. The estimated defective die probabilities for all dies on the second wafer may be ranked on a per-wafer-region basis, a sampling plan based on the ranked estimated defective die probabilities may be generated, and a die loss may be projected by repeating steps 603 to 606 but with respect to the second wafer.

[0100] In some embodiments, when a region of wafer is known to be prone to defects, the sampling plan may be used to modify processing parameters of tools in the fabrication (e.g., parameters of the scanner such as a focus dose, parameters of the etcher, etc.) to compensate for the defect-prone regions.

[0101] In step 608, probe test results may be obtained for the first wafer and the second wafer once fully processed at the end of wafer processing. In some embodiments, probe test results may be obtained for the first wafer or the second wafer during various steps of wafer processing (e.g., after development, after etching, etc.). In step 609, an R2correlation score is evaluated by comparing the actual defective die result (e.g., actual die loss) for the first wafer and the second wafter to the estimated defective die probability (e.g., projected die loss) as described above.

[0102] It is appreciated that method 600 may provide a dynamic sampling plan that may guide the inspection tool to an area on a wafer that may contain a greater concentration of possible defective dies compared to the conventional method. Moreover, method 600 may provide a more robust method to project die loss at the end stages of wafer processing. In some embodiments, method 600 may provide a more robust method to project die loss after various stages of wafer processing (e.g., after development, after etching, etc.). Therefore, the die loss projected by method 600 may match better with the ground truth results and the resulting R2correlation score may be increased compared to that of a conventional method. In some embodiments, method 600 may compensate for and mitigate die loss by, for example, generating sampling plans which may be used to modify processing parameters of tools in the fabrication (e.g., parameters of the scanner such as a focus dose, parameters of the etcher, etc.).

[0103] In some embodiments of the present disclosure, constraints from a solely dynamic sampling plan, such as generating an unstable baseline and reduced resolution and accuracy of the model prediction, may be improved by using a hybrid sampling plan. In some embodiments, a hybrid sampling plan may use both a static sampling plan (e.g., method 400 of Fig. 4, wafer 501 of Fig. 5) and a dynamic sampling plan as described above for method 600, thereby accounting for a nonuniform defect density or distribution within a wafer, improving resolution and accuracy of the model, and maintaining a stable baseline by sampling a wafer at locations that historically have wafer defects (e.g., sampling a wafer at locations that are historically prone to having defects or that are shown to have defects). For example, generating the static sampling plan portion of the hybrid method may include generating a baseline sampling plan based on historical inspection data. In some embodiments, generating the dynamic sampling plan portion of the hybrid method may includegenerating an excursion event sampling plan based on fabrication data and a computational model (e.g., based on the scanner recipe of a computational lithography model, including resolution enhancing techniques of the scanner, such as optical proximity correction).

[0104] Reference is now made to Fig. 7, which is an example flow diagram of a method 700 to generate a dynamic sampling plan for a wafer without a pre-determined sampling budget distribution per wafer region, consistent with embodiments of the present disclosure. The steps of method 700 may be performed by a computing device, e.g., processor 303 of Fig. 3. It is appreciated that the illustrated method 700 may be altered to modify the order of steps and to include additional steps.

[0105] In step 701, input data is acquired and supplied to a CGI model. The input data may correspond to metrology information collected from one or more images of a first wafer and a second wafer that are acquired via wafer processing during HVM. In some embodiments, the input data may correspond to metrology information collected from one or more images of a first layer of a wafer and a second layer of the same wafer that are acquired. In some embodiments, a wafer may be fabricated at a constant fabrication condition (e.g., a lithographic focus, dose condition, etc.). The input data may include a pre-determined wafer region definition. The metrology information may include, but is not limited to, necking, line pull back, line thinning, critical dimension, edge placement, overlapping (e.g., overlay between layers of a wafer), resist top loss, resist undercut, missing defects, and bridging defects on a wafer.

[0106] In step 702, an estimated defective die probability for each die on the first wafer is calculated based on the input data for the first wafer. The calculation may be based on identified defects in the input data and is influenced by the input data quality. The calculation may be performed by a processor (e.g., processor 303 in Fig. 3) which may apply the CGI model to the first wafer.

[0107] In step 703, a sampling budget for each region on the first wafer is distributed according to the estimated defective die probability for each wafer region. The calculation performed in step 703 may be as follows:„ „ sum(Prob.in reqion i) . _SBl:’J : = - sum(P -r -ob. in full - w -afe —r) X SBWw(Equation 5)SBW= Full wafer sampling ratio X N (Equation 6)

[0108] In Equation 5, SBi represents the sampling budget for a region i on a wafer, SBWrepresents a full wafer sampling budget. Thus, the sampling budget for a region on a wafer may be determined by a full wafer sampling budget multiplied by the ratio of the sum of defective die probability in a wafer region to the sum of defective die probability in a full wafer. In Equation 6, Nff represents the total number of dies per wafer. The full wafer sampling ratio is a number from 0 to 1 and represents a percentage of dies on a wafer that may be sampled for inspection.

[0109] In step 704, a sampling plan for the first wafer is generated based on the wafer region definition and the distributed sampling budget per wafer region calculated in step 703.

[0110] In step 705, the generated sampling plan for the first wafer is used to guide inspection of the first wafer using an inspection tool. For example, the generated sampling plan may be used to guide the inspection tool during inspection of the first wafer. The inspection tool collects inspection results of the first wafer according to the predicted one or more regions of defects identified by the sampling plan. In step 706, the CGI model projects die loss for the first wafer according to the inspection results collected in step 705. The die loss projection may be performed via Equations 3 and 4.

[0111] In step 707, an estimated defective die probability for each die on the second wafer is calculated based on the input data for the second wafer. The calculation may be performed by a processor (e.g., processor 303 in Fig. 3) which may apply the CGI model to the second wafer. The input data of the second wafer is as described above in step 701 and may include a wafer region definition for the second wafer and a total sampling budget. A sampling budget may be distributed for each wafer region, a sampling plan based on the estimated defective die probability may be generated, and a die loss may be projected by repeating steps 703 to 706 but with respect to the second wafer.

[0112] In step 708, probe test results may be obtained for the first wafer and the second wafer once fully processed at the end of wafer processing. In some embodiments, probe test results may be obtained for the first wafer or the second wafer during various steps of wafer processing (e.g., after development, after etching, etc.). In step 709, an R2correlation score is evaluated by comparing the actual defective die result (e.g., actual die loss) for the first wafer and the second wafter to the estimated defective die probability (e.g., projected die loss) as described above.

[0113] It is appreciated that method 700 may provide a sampling plan that allocates a greater percentage of the total sampling budget to a wafer region that is identified to contain a greater concentration of possible defective dies compared to the conventional method. Therefore, the estimated defective die probability map may match better with the ground truth results and the resulting R2correlation score may be increased compared to that of a conventional method. In some embodiments, method 700 may compensate for and mitigate die loss by, for example, generating sampling plans which may be used to modify processing parameters of tools in the fabrication (e.g., parameters of the scanner such as a focus dose, parameters of the etcher, etc.).

[0114] In some embodiments of the present disclosure, constraints from a solely dynamic sampling plan, such as generating an unstable baseline and reduced resolution and accuracy of the model prediction, may be improved by using a hybrid sampling plan. In some embodiments, a hybrid sampling plan may use both a static sampling plan (e.g., method 400 of Fig. 4, wafer 501 of Fig. 5) and a dynamic sampling plan as described above for method 700, thereby accounting for a nonuniform defect density or distribution within a wafer, improving resolution and accuracy of the model, and maintaining a stable baseline by sampling a wafer at locations that historically have wafer defects (e.g., sampling a wafer at locations that are historically prone to having defects or that areshown to have defects). For example, generating the static sampling plan portion of the hybrid method may include generating a baseline sampling plan based on historical inspection data. In some embodiments, generating the dynamic sampling plan portion of the hybrid method may include generating an excursion event sampling plan based on fabrication data and a computational model (e.g., based on the scanner recipe of a computational lithography model, including resolution enhancing techniques of the scanner, such as optical proximity correction).

[0115] Reference is now made to Fig. 8, which is an example sampling plan or estimated defective die probability map generated by method 700, consistent with embodiments of the present disclosure. Fig. 8 corresponds to a wafer 801, which contains a die 802. Each die 802 is represented as a square on wafer 801 that is outlined in black. As described above, method 700 uses a pre-determined wafer region definition, and so the estimated defective die probability map of Fig. 8 may contain the same definition and number of wafer regions, as for example, that of Fig. 5. It is appreciated that Fig. 8 is for illustration purposes and the wafer region may be any shape or size and the wafer region number may not be so limited. Fig. 8 is represented as a gradient image, where darker color indicates a larger defective die probability and lighter color represents a lower defective die probability. Three wafer regions are illustrated in Fig. 8, where the dotted line 803 represents a first wafer region boundary between a first wafer region and a second wafer region, and the dotted line 804 represents a second wafer region boundary between the second wafer region and a third wafer region. The second wafer region (e.g., the region between dotted line 803 and dotted line 804) exhibits the darkest color and thus indicates a wafer region with the largest defective die probability. The sampling plan generated according to method 700 (Fig. 7) would allocate a greater proportion of the total sampling budget to the second region and thus guide the inspection tool more towards the second wafer region compared to the other wafer regions. Since method 700 may optimize the sampling budget distribution per wafer region and maintain the pre-determined total sampling budget per wafer, the estimated defective die probability map of Fig. 8 may illustrate different defective die probabilities per wafer region compared to an estimated defective die probability map that may be generated for that of Fig. 5. Therefore, Fig. 8 may illustrate an improved sampling plan or more accurate die loss projection that was generated by following method 700 (in Fig. 7) to optimize a sampling budget distribution per wafer region for wafer inspection while maintaining a pre-determined wafer region definition and total sampling budget per wafer.

[0116] In some embodiments of the present disclosure, constraints from a solely dynamic sampling plan, such as generating an unstable baseline and reduced resolution and accuracy of the model prediction, may be improved by using a hybrid sampling plan. In some embodiments, a hybrid sampling plan may use both a static sampling plan (e.g., method 400 of Fig. 4, wafer 501 of Fig. 5) and a dynamic sampling plan as described above for wafer 801, thereby accounting for a nonuniform defect density or distribution within a wafer, improving resolution and accuracy of the model, and maintaining a stable baseline by sampling a wafer at locations that historically have wafer defects(e.g., sampling a wafer at locations that are historically prone to having defects or that are shown to have defects). For example, generating the static sampling plan portion of the hybrid method may include generating a baseline sampling plan based on historical inspection data. In some embodiments, generating the dynamic sampling plan portion of the hybrid method may include generating an excursion event sampling plan based on fabrication data and a computational model (e.g., based on the scanner recipe of a computational lithography model, including resolution enhancing techniques of the scanner, such as optical proximity correction).

[0117] Reference is now made to Fig. 9, which is an example flow diagram of a method 900 to generate a sampling plan for a wafer without a pre-determined wafer region definition and sampling budget distribution per wafer region, consistent with embodiments of the present disclosure. The steps of method 900 may be performed by a computing device, e.g., processor 303 of Fig. 3. It is appreciated that the illustrated method 900 may be altered to modify the order of steps and to include additional steps.

[0118] In step 901, input data is acquired and supplied to a CGI model. The input data may correspond to metrology information collected from one or more images of a first wafer and a second wafer that are acquired via wafer processing during HVM. In some embodiments, the input data may correspond to metrology information collected from one or more images of a first layer of a wafer and a second layer of the same wafer that are acquired. The wafer processing and metrology information may be as described above. However, the input data does not require a pre-determined wafer region definition and sampling budget distribution per wafer region.

[0119] In step 902, an estimated defective die probability for each die on the first wafer is calculated based on the input data for the first wafer. The calculation may be based on identified defects in the input data and is influenced by the input data quality. The calculation may be performed by a processor (e.g., processor 303 in Fig. 3) which may apply the CGI model to the first wafer.

[0120] In step 903, an estimated defective die probability map is generated for the first wafer by compiling the defective die probability as described above. In step 904, a boundary of a wafer region is evaluated to improve uniformity of defective die probability density on the defective die probability map. The uniformity of defective die probability density may be improved by grouping a first die on a wafer with a second die that exhibits a similar defective die probability. Step 904 may be performed in two alternative steps. Step 904_l may be performed by applying the CGI-generated sampling plan from step 903 and performing an image segmentation technique, which may include, but is not limited to, graph cut, Otsu’ s algorithm, edge-based segmentation, threshold-based segmentation, region-based segmentation, cluster-based segmentation, watershed segmentation, semantic segmentation, instance segmentation, panoptic segmentation, and other methods of dividing an image into subgroups. The resulting image segmentation may define a region of dies on a wafer with improved uniformity of defective die probability density. For example, the estimated defective die probability map or sampling plan illustrated in Fig. 8 may correspond to the map or sampling plan generated in step 903.Instead of defining the wafer region boundaries as previously described, optimizing a sampling budget distribution per each defined wafer region, and thus adjusting the resulting estimated defective die probability map, step 904_l applies a wafer region boundary to an estimated defective die probability map based on the radial distribution of defective die probabilities. Dies on a wafer may therefore be more uniformly grouped in a wafer region.

[0121] Alternatively, in step 904_2, a boundary of wafer region is determined by integrating the estimated defective die probably map with respect to radial distance to generate an accumulated defective die probability map. A wafer region boundary may be evaluated by a region of uniform slope or change in the accumulated defective die probability. Thus, an evaluated wafer region may contain dies on the wafer with similar defective die probability and improve uniformity of defective die probability density on the generated defective die probability map.

[0122] In step 905, the sampling plan with an evaluated wafer region boundary is used to guide inspection of the first wafer with an inspection tool. For example, the sampling plan may be used to guide the inspection tool during inspection of the first wafer. In step 906, the CGI model projects die loss for the first wafer according to the inspection results collected in step 905. The die loss projection may be performed via Equations 3 and 4.

[0123] In step 907, an estimated defective die probability for each die on the second wafer is calculated based on the input data for the second wafer. A sampling plan based on the estimated defective die probability may be generated, wafer regions may be evaluated, and die loss is projected for the second wafer by repeating steps 903 to 906, but with respect to the second wafer. In step 908, probe test results may be obtained for the first wafer and the second wafer once fully processed at the end of wafer processing. In some embodiments, probe test results may be obtained for the first wafer or the second wafer during various steps of wafer processing (e.g., after development, after etching, etc.). In step 909, an R2correlation score is evaluated by comparing the actual defective die result (e.g., actual die loss) for the first wafer and the second wafter to the estimated defective die probability (e.g., projected die loss) as described above.

[0124] It is appreciated that method 900 may provide a sampling plan that has increased versatility for different wafers. The evaluated wafer regions of method 900 may guide the inspection tool towards an area of larger defective die probability that may have been cut off from the pre-determined and constant wafer region definition of conventional methods.

[0125] In some embodiments of the present disclosure, constraints from a solely dynamic sampling plan, such as generating an unstable baseline and reduced resolution and accuracy of the model prediction, may be improved by using a hybrid sampling plan. In some embodiments, a hybrid sampling plan may use both a static sampling plan (e.g., method 400 of Fig. 4, wafer 501 of Fig. 5) and a dynamic sampling plan as described above for method 900, thereby accounting for a nonuniform defect density or distribution within a wafer, improving resolution and accuracy of the model, and maintaining a stable baseline by sampling a wafer at locations that historically have waferdefects (e.g., sampling a wafer at locations that are historically prone to having defects or that are shown to have defects). For example, generating the static sampling plan portion of the hybrid method may include generating a baseline sampling plan based on historical inspection data. In some embodiments, generating the dynamic sampling plan portion of the hybrid method may include generating an excursion event sampling plan based on fabrication data and a computational model (e.g., based on the scanner recipe of a computational lithography model, including resolution enhancing techniques of the scanner, such as optical proximity correction).

[0126] Reference is now made to Figs. 10A and 10B, which are an example estimated defective die probability map used to evaluate a wafer region definition and an example accumulated defective die probability plot, consistent with embodiments of the present disclosure. Fig. 10A may illustrate step 903 of method 900 (see Fig. 9). As illustrated in Fig. 10A, a defective die probability map of a wafer 1001 may contain a first probability boundary 1002 and a second probability boundary 1003 which exhibit a difference in defective die probability. For example, first probability boundary 1002 illustrates a cutoff from an area of wafer 1001 where the defective die probability is higher (e.g., illustrated as gray) and an area of wafer 1001 where the defective die probability is lower (e.g., illustrated as white). The same may be observed for second probability boundary 1003. A radial distance 1004 is illustrated as starting from a center of wafer 1001, extending past first probability boundary 1002, past second probability boundary 1003, and ending at the edge of wafer 1001 (e.g., radius of wafer 1001).

[0127] Reference is now made to Fig. 10B, which is an example illustration of evaluating a wafer region definition by integrating a defective die probability map of a wafer with respect to radial distance, consistent with embodiments of the present disclosure. Fig. 10B may correspond to step 904_2 of method 900 (see Fig. 9). The plot illustrated in Fig. 10B may be obtained by integrating the defective die probability map of wafer 1001 in Fig. 10A with respect radial distance 1004. Thus Fig. 10B represents an accumulated defective die probability 1005 as a function of radial distance 1004 of wafer 1001. The dotted lines appearing from left to right, starting at the origin of Fig. 10B represent first probability boundary 1002, then second probability boundary 1003, and the edge of wafer 1001. Since radial distance 1004 begins at the center of wafer 1001, accumulated defective die probability1005 begins at 0 and increases as radial distance 1004 increases. The radial distance between the origin and first probability boundary 1002 may correspond to a first wafer region 1006, which may correspond to the gray area enclosed by first probability boundary 1002 in Fig. 10A. The same can be observed for a second wafer region 1007 and a third wafer region 1008. First wafer region 1006 exhibits a steep slope in the plotted accumulated defective die probability since first wafer region1006 has a greater concentration or density of defects according to Fig. 10A. The same is observed for third wafer region 1008. Since second wafer region 1007 exhibited a smaller density of defective die probability in Fig. 10A, the slope in the corresponding section in Fig. 10B is lower. The differences in slope in each region of Fig. 10B may be used to evaluate a wafer region definition for wafer 1001. Insome embodiments, a wafer region may be defined such that a defective die probability density is uniform within the wafer region. For example, as illustrated in Fig. 10B, this may correspond to the slope of the plotted accumulated defective die probability remaining constant throughout a wafer region. A wafer region boundary may then be applied to the defective die probability map at the corresponding radial distance (e.g., wafer region boundary 803 and wafer region boundary 804 in Fig. 8).

[0128] Reference is now made to Fig. 11, which is an example flow diagram of a method 1100 to directly optimize a wafer region definition and sampling budget distribution based on the die loss projection R2correlation score, consistent with embodiments of the present disclosure. Method 1100 may optimize the die loss projection R2correlation score based on a training set of wafers using parameterized wafer region definition and sampling budget per wafer region variables as optimization variables. Method 1100 may be performed after an R2correlation score is obtained for a wafer that has been inspected according to a CGI-generated sampling plan using an inspection tool and inspected via a probe test to obtain a ground truth result. Since the R2correlation score obtained for the wafer is used to guide optimization of parameterized wafer region definition and sampling budget distribution variables, the wafer may be referred to as a “training wafer.” Method 1100 may be also performed without a pre-determined wafer region definition and a sampling budget distribution per wafer region. The steps of method 1100 may be performed by a computing device, e.g., processor 303 of Fig. 3. It is appreciated that the illustrated method 1100 may be altered to modify the order of steps and to include additional steps.

[0129] In step 1101, input data is supplied to the CGI model. The input data may be a probe test result and an image for a training wafer acquired via wafer processing containing metrology information as described above.

[0130] In step 1102, a wafer region definition and sampling budget per wafer region are parameterized for the training wafer. For example, the wafer region definition may be parameterized where the wafer contains two wafer region variables. These parameterized variables may be ri and , where ri is the radial distance from a center of a wafer to a first wafer region boundary and is the radial distance from the center of a wafer to a second wafer region boundary. Given this definition, ri is constrained to be less than , and 0 <r , rz < rmax, where rmaxis the maximum radial distance from the center of a wafer to the edge of the wafer. rmaxmay be 150 mm. It is appreciated that a third wafer region is defined by the radial distance between and rmax- It is further appreciated that a wafer may contain fewer or more than three wafer regions. The sampling budget per wafer region may be parameterized into variables N], Ng, and N3, where Nj corresponds to a sampling budget for a first wafer region, N2 corresponds to a sampling budget for a second wafer region, and N3 corresponds to a sampling budget for a third wafer region. N], N2, and N3 may be constrained such that a sampling budget for a wafer region may not exceed the total number of dies in a wafer region, and N 1+N2+N3 = Nbudget, where Nbudget is the pre-determined total sampling budget for a wafer for inspection.

[0131] In step 1103, the parameterized wafer region variables and the parameterized sampling budget per wafer region variables are optimized to maximize the R2correlation score. The optimization may be performed by any constrained global optimization technique which uses a forward solver to map a parameterized wafer region variable or parameterized sampling budget per wafer region variable to a defective die loss R2correlation score based on the training wafer. A constrained global optimization technique may include, but is not limited to, Bayesian optimization, Coordinate descent, Adaptive coordinate descent, Cuckoo search, Beetle antennae search, Data-based online nonlinear extremumseeker, Evolution strategies, Genetic algorithms, Multilevel coordinate search algorithm, Nelder-Mead method, Particle swarm optimization, Pattern search, Random search, Simulated annealing, Stochastic optimization, Subgradient method, or any other derivative-free optimization algorithm. Step 1103 may be performed repeatedly until the parameterized variables described above are co-optimized to yield a maximum R2correlation score.

[0132] In step 1104, the co-optimized parameterized wafer region and sampling budget per wafer region variables are used to generate a sampling plan. In step 1105, the generated sampling plan is applied to a first wafer and a second wafer in a testing set to guide the inspection tool during inspection of the first wafer and the second wafer in the testing set. The updated sampling plan may indicate a different wafer region definition and sampling budget distribution per wafer region compared to the sampling plan used to guide the inspection tool for the training wafer before method 1100 is implemented.

[0133] In step 1106, the inspection result collected for the first wafer and the second wafer in the testing set is used to project die loss for the first wafer and the second in the testing set. The die loss projection may be performed via Equations 3 and 4. In step 1107, probe test results are collected for the first wafer and the second wafer in the testing set after wafer processing is completed to obtain an actual die loss. In step 1108, a verification R2correlation score is evaluated. The verification R2correlation score is compared to the starting R2correlation score of method 1100. If the verification R2correlation score is higher than the starting R2correlation score, then the co-optimized parameterized wafer region and sampling budget distribution per wafer region variables may be applied to a wafer for subsequent wafer processing.

[0134] It is appreciated that method 1100 may provide an optimization-based approach to generating an optimal fixed sampling plan setting (e.g., wafer region definition or sampling budget distribution) that has increased versatility for predicting defective die on different wafers with improved accuracy. It is further appreciated that optimized parameterized wafer region definition and sampling budget definitions determined from method 700 or method 900 may be applied as initial guesses in method 1100. This may reduce time and computational cost associated with the optimization of method 1100.

[0135] Reference is now made to Table 1, which displays R2correlation score improvements relative to the conventional method of three wafer datasets that were determined by method 600 and method 700 of the present disclosure. Specifically, each dataset comprises a batch over 100 wafers in whichsampling plans were generated to guide the inspection tool according to the method 600 and method 700 of the present disclosure. A projected die loss was calculated, and a probe test result was obtained for a fraction of wafers in the batch for Dataset 1, whereas a projected die loss was calculated, and probe test results were obtained for each wafer in Dataset 2 and Dataset 3. It is appreciated that die loss was projected using Equations 3 and 4 for both method 600 and method 700 (e.g., assuming non- uniform defect density or distribution). The R2correlation score was determined as described above, and it was found that the R2correlation score was improved for each dataset of wafers when either method 600 or method 700 was applied instead of the conventional method. The R2correlation score improvement compared to the conventional method for all three datasets when method 600 is applied indicates the benefit of assuming a non-uniform defect density or distribution in die loss projection. The R2correlation score exhibited further improvement for Dataset 2 and Dataset 3 when method 700 was applied compared to method 600. Thus, an R2correlation score may be further improved when a model-based sampling budget distribution is applied in addition to assuming a non-uniform defect density or distribution in die loss projection.

[0136] Table 1. Quantification of R2correlation score comparison of conventional method to method 600 and method 700 of the present disclosure.

[0137] A benefit provided by embodiments of the present disclosure may be an improved R2correlation score of actual die loss to projected die loss using a CGI model without required input variables. In some embodiments, the present disclosure may provide a method to project die loss without the assumption the defect density or distribution is uniform within a wafer region and improve an R2correlation score. In some embodiments, a sampling budget distribution for a wafer or a wafer region definition may be optimized to improve an R2correlation score. In some embodiments, an optimization-based model is provided that may further improve the R2correlation score. Some embodiments of the present disclosure may provide a method to improve a CGI model performanceand versatility to guide wafer inspection. Some embodiments of the present disclosure may provide a method to increase defect inspection accuracy and yield of defect-free wafers throughout HVM.

[0138] In some embodiments of the present disclosure, constraints from a solely dynamic sampling plan, such as generating an unstable baseline and reduced resolution and accuracy of the model prediction, may be improved by using a hybrid sampling plan. In some embodiments, a hybrid sampling plan may use both a static sampling plan (e.g., method 400 of Fig. 4, wafer 501 of Fig. 5) and a dynamic sampling plan as described above for method 1100, thereby accounting for a nonuniform defect density or distribution within a wafer, improving resolution and accuracy of the model, and maintaining a stable baseline by sampling a wafer at locations that historically have wafer defects (e.g., sampling a wafer at locations that are historically prone to having defects or that are shown to have defects). For example, generating the static sampling plan portion of the hybrid method may include generating a baseline sampling plan based on historical inspection data. In some embodiments, generating the dynamic sampling plan portion of the hybrid method may include generating an excursion event sampling plan based on fabrication data and a computational model (e.g., based on the scanner recipe of a computational lithography model, including resolution enhancing techniques of the scanner, such as optical proximity correction).

[0139] Reference is now made to Fig. 12, which shows exemplary sampling plans 1210, 1220, and 1230 for a wafer, consistent with embodiments of the present disclosure.

[0140] In some embodiments, sampling plan 1210 may show a static sampling plan (e.g., generated using method 400 of Fig. 4, corresponding to wafer 501 of Fig. 5) for wafers 1201, 1202, 1203, 1204, 1205, and 1206. As shown in sampling plan 1210, wafers 1201, 1202, 1203, 1204, 1205, and 1206 include uniform sampling regions 1211 and 1212. In some embodiments, sampling regions 1211 and 1212 may correspond to regions of the wafer that historically have wafer defects (e.g., regions of a wafer that are historically prone to having defects or that are shown to have defects).

[0141] In some embodiments, sampling plan 1220 may show a dynamic sampling plan (e.g., generated using method 600 of Fig. 6, method 700 of Fig. 7, corresponding to wafer 801 of Fig. 8, method 900 of Fig. 9, corresponding to wafer 1001 of Fig. 10A, corresponding to the plot of Fig. 10B, method 1100 of Fig. 11) for wafers 1201, 1202, 1203, 1204, 1205, and 1206. As shown in sampling plan 1220, wafers 1201, 1202, 1203, 1204, 1205, and 1206 include nonuniform sampling regions (e.g., sampling regions 1221 and 1222 of wafer 1201). That is, the sampling regions of wafers 1201, 1202, 1203, 1204, 1205, and 1206 vary by wafer due to differences in input data (e.g., fabrication data of the individual wafer) that are fed to a computational model to generate the dynamic sampling plan.

[0142] In some embodiments, some sampling regions of the dynamic sampling plan 1220 (e.g., sampling region 1223 of wafer 1203 and sampling region 1224 of wafer 1206) may correspond to regions of the wafer that do not historically have wafer defects (e.g., regions of a wafer that are not historically prone to having defects or that are not shown to have defects).

[0143] In some embodiments, sampling plan 1230 may show a hybrid sampling plan that is generated based on static sampling plan 1210 and dynamic sampling plan 1220. As shown in hybrid sampling plan 1230, sampling regions 1211 and 1212 are included for each of wafers 1201, 1202, 1203, 1204, 1205, and 1206.

[0144] In some embodiments, the dynamic sampling plan portion of hybrid sampling plan 1230 may only include dies with defective die probabilities above a certain threshold (e.g., sampling regions of dynamic sampling plan 1220 outside of static sampling plan 1210 and above a threshold). For example, hybrid sampling plan 1230 may include static sampling plan 1210 and sampling regions 1223 and 1224 of dynamic sampling plan 1220 (e.g., the defective die probabilities corresponding to sampling regions 1223 and 1224 may be above a threshold).

[0145] Reference is now made to Fig. 13, which shows exemplary metrology sampling plans 1310 and 1320 for a wafer, consistent with embodiments of the present disclosure.

[0146] In some embodiments, sampling plan 1310 may correspond to a typical metrology sampling plan to obtain input data (e.g., fabrication data) for generating dynamic sampling plans (e.g., generated using method 600 of Fig. 6, method 700 of Fig. 7, corresponding to wafer 801 of Fig. 8, method 900 of Fig. 9, corresponding to wafer 1001 of Fig. 10A, corresponding to the plot of Fig. 10B, method 1100 of Fig. 11, dynamic sampling plan 1220 of Fig. 12).

[0147] In embodiments of the present disclosure for generating hybrid sampling plans, sampling plan 1310 may be an inefficient distribution of the sampling budget since a static sampling plan (e.g., static sampling plan 1210 of Fig. 12) is applied. Therefore, in some embodiments, the sampling budget may be redistributed to improve accuracy of the dynamic sampling plan portion of a hybrid sampling plan. For example, sampling plan 1320 may be generated. In some embodiments, sampling plan 1320 may be a modification of an existing metrology sampling plan (e.g., a modification of sampling plan 1310). As shown in sampling plans 1310 and 1320, sampling regions (e.g., sampling region 1312) may be redistributed from areas corresponding to the static sampling plan portion to areas corresponding to the dynamic sampling plan portion (e.g., redistributed to sampling region 1322, a region with historically lower defect probability) to improve accuracy of the dynamic sampling plan portion.

[0148] In some embodiments using a hybrid sampling plan (e.g., sampling plan 1230 of Fig. 12), the sampling budget ratio of a wafer may be adjusted to allocate dies to be sampled using a static sampling plan and dies to be sampled using a dynamic sampling plan based on real-time needs and historical data (e.g., the number of dies to be sampled using static sampling and the number of dies to be sampled using dynamic sampling per wafer may be adjusted). In some embodiments, the dynamic sampling plan of a hybrid sampling plan may use a fixed sampling budget per wafer or per zone (e.g., region of a wafer, quadrant of a wafer, concentric ring region of a wafer, etc.) based on dynamic sampling optimization.

[0149] Fig. 14 shows an example static sampling plan portion 1400 of a hybrid sampling plan (e.g., sampling plan 1230 of Fig. 12), consistent with embodiments of the present disclosure. In some embodiments, fixed die locations 1410 in the static sampling plan portion 1400 may be selected for inspection in addition to the CGI-generated dynamic sampling plan portion of the hybrid sampling plan. Advantageously, this option allows targeted sampling of areas known from experience (e.g., historical data) or suspected to be problematic.

[0150] Fig. 15 shows a diagram 1500 of an example static sampling plan portion of a hybrid sampling plan (e.g., sampling plan 1230 of Fig. 12), consistent with embodiments of the present disclosure.

[0151] In some embodiments, maps 1510, 1520, and 1530 may be generated from historical defect data across multiple wafers. For example, each of maps 1510, 1520, and 1530 may correspond to a different wafer. Maps 1510, 1520, and 1530 may represent the defect probability for each die of a wafer. For example, points 1512, 1522, and 1532 may represent dies on a wafer that “failed” (e.g., are likely to have a defect) and points 1514, 1524, and 1534 may represent dies on a wafer that “passed” (e.g., are unlikely to have a defect).

[0152] The system may use Equation 7 to generate map 1540, which may represent a stacked probe wafer map. That is, Equation 7 may be used to average maps 1510, 1520, and 1530 to generate map 1540. (Equation 7),where ntrainmay represent the number wafers (e.g., number of wafers corresponding to maps 1510, 1520, and 1530) and Probe_result(x y)may represent a defect probability result (e.g., “failed” or “passed”) for a die at coordinate (x,y) of a wafer map (e.g., maps 1510, 1520, and 1530). According to Equation 7, the stacked probe probability at a coordinate (x,y) of ntramwafers may be calculated by summing the defect probability result for each die at coordinate (x,y) for ntramwafers. Map 1540 may be generated by using Equation 7 to calculate the stacked probe probability for dies at various coordinates (x,y) of various wafers.

[0153] Map 1540 may be used to generate a static sampling portion of a hybrid sampling plan. In some embodiments, map 1540 may be used to generate a static sampling portion of a hybrid sampling plan by determining fixed sampling locations on map 1540 based on the highest defect probabilities. In some embodiments, a static sampling portion of a hybrid sampling plan may be generated by determining different zones (e.g., quadrants of map 1540, concentric rings of map 1540, etc.) of map 1540 to ensure a more strategic coverage of the wafer.

[0154] Similar to Fig. 15, in some embodiments, instead of using stacked probe maps (e.g., map 1540) to generate the static sampling plan portion of a hybrid sampling plan, a wafer map may beused to generate the static sampling plan portion. For example, each die of the wafer map may correspond to a historical sampling frequency data. In some embodiments, each die of the wafer map may correspond to a probability that the die in that position will be sampled.

[0155] Based on the wafer map, a static sampling plan portion of a hybrid sampling plan may be generated. For example, the static sampling plan portion may target historically unsampled or least sampled areas of a wafer based on a probability map of past sampling data. Advantageously, this method aims to explore and address areas of higher uncertainty on a wafer.

[0156] The system may use Equation 8 to generate a stacked wafer map.(Equation 8),Where nstacked wafers may represent the number wafers (e.g., number of wafers corresponding to wafer maps) and Sampling_decisionxymay represent a sampling probability result (e.g., the die is likely to be sampled, the die is unlikely to be sampled, etc.) for a die at coordinate (x,y) of a wafer map. According to Equation 8, the stacked sampling probability at a coordinate (x,y) ofnstacked wafers wafers may be calculated by summing the sampling probability result for each die at coordinate (x,y) for nstacked wafers wafers. A wafer map may be generated by using Equation 8 to calculate the stacked sampling probability for dies at various coordinates (x,y) of various wafers.

[0157] In some embodiments, projected die losses may be calculated based on the hybrid sampling plan approach. For example, based on Equation 9, the static or fixed sampling probability may be combined with CGI-generated defect probability (based on the dynamic sampling plan) to generate a more accurate and comprehensive risk assessment.Hybrid Sampling Probability^y= CGI model predicted Probability^yX Dynamic Sampling Ratio + Stacked Probe or Sampling Probability^yX Fixed Sampling Ratio (Equation 9).

[0158] The Hybrid Sampling Probability for a die at coordinate (x,y) (e.g., the probability that a die at coordinate (x,y) will fail or be defective in a hybrid sampling plan) may be determined based on the CGI model predicted probability (the probability that a die at coordinate (x,y) will fail or be defective in the dynamic sampling portion) and the stacked probe probability (e.g., Equation 7) or the stacked sampling probability (e.g., Equation 8). The dynamic sampling ratio and the fixed sampling ratio may be the ratio of dies in a sampling budget (e.g., the ratio of dies under dynamic sampling and the ratio of dies under static sampling).

[0159] Equation 10 may be used to determine the projected die loss:number of defective dies capturedProjected die loss = x total number of dies inspectedScaling factor determined by hybrid sampling probability') (Equation 10).The projected die loss may be calculated based on the number of defective dies captured, the total number of dies inspected, and a scaling factor (e.g., determined by the hybrid sampling probability of Equation 9). In some embodiments, a system (e.g., controller 109 of Figs. 2A and 2B, processor 303 of Fig. 3) may utilize a sampling plan of the disclosed embodiments to guide sample inspection of a sample, calculate a projected die loss using the inspection result of the sample (e.g., using Equation 10), obtain a probe test result for the sample, and evaluate an R2correlation score by comparing the probe test result to the projected die loss.

[0160] Embodiments of the present disclosure describing hybrid sampling plans advantageously result in increased defect detection rates. By combining strategic static sampling (e.g., Figs. 14 and 15) with dynamic, data-driven sampling plans, the hybrid sampling plans target defects more effectively across the wafer, and are also able to predict the projected die loss with higher accuracy

[0161] Embodiments of the present disclosure describing hybrid sampling plans advantageously result in improved adaptability and coverage. For example, embodiments of the present disclosure provide flexibility, which allows for tailored inspection strategies that adapt to new and evolving defect patterns, which significantly improves coverage. Embodiments of the present disclosure increase throughput by focusing on areas of the wafer that are less likely to have a defect.

[0162] Embodiments of the present disclosure describing hybrid sampling plans advantageously provide enhanced model robustness by incorporating a broader data set and multiple sampling strategies to strengthen the overall model's predictive power and reliability.

[0163] Reference is now made to Fig. 16, which is an example flow diagram of a method 1400 to generate a hybrid sampling plan for a wafer, consistent with embodiments of the present disclosure.

[0164] In step 1601, a system (e.g., processor 303 of Fig. 3) may generate a static sampling plan to determine a baseline for inspection (e.g., generate a baseline sampling plan based on historical inspection data). In some embodiments, the static sampling plan may include pre-determined regions of a wafer. For example, step 1601 may be performed as described above for method 400 of Fig. 4, wafer 501 of Fig. 5, static sampling plan 1210 of Fig. 12, static sampling plan portion 1400 of Fig. 14, diagram 1500 of Fig. 15, embodiments described with respect to the above figures, etc.

[0165] In step 1602, the system may generate a dynamic sampling plan to determine excursion events (e.g., generate an excursion event sampling plan based on fabrication data and a computational model). In some embodiments, generating a dynamic sampling plan may include providing input data for a wafer to a computational defect probability prediction model and determining defective die probabilities for a region of the wafer from the computational defect probability prediction model. For example, step 1602 may be performed as described above for method 600 of Fig. 6, method 700 ofFig. 7, wafer 801 of Fig. 8, method 900 of Fig. 9, wafer 1001 of Fig. 10A, the plot of Fig. 10B, method 1100 of Fig. 11, or dynamic sampling plan 1220 of Fig. 12.

[0166] In step 1603, the system may apply the static sampling plan. For example, step 1603 may be performed as described above for method 400 of Fig. 4, wafer 501 of Fig. 5, or static sampling plan 1210 of Fig. 12, static sampling plan portion 1400 of Fig. 14, diagram 1500 of Fig. 15, embodiments described with respect to the above figures, etc.

[0167] In step 1604, the system may apply the dynamic sampling plan by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically lower defect probability. For example, step 1604 may be performed as described above for method 600 of Fig. 6, method 700 of Fig. 7, wafer 801 of Fig. 8, method 900 of Fig. 9, wafer 1001 of Fig. 10A, the plot of Fig. 10B, method 1100 of Fig. 11, or dynamic sampling plan 1220 of Fig. 12.

[0168] A non-transitory computer readable medium may be provided that may store instructions for a processor of a controller (e.g., controller 109 of Fig. 1, controller 109 of Fig. 2A, controller 109 of Fig. 2A) to carry out, among other things, image inspection, image acquisition, stage positioning, beam focusing, electric field adjustment, beam bending, condenser lens adjusting, activating charged- particle source, beam deflecting, store instructions for a processor of a lithographic projection apparatus (e.g., lithographic projection apparatus 301 of Fig. 3) and inspection tool (e.g., inspection tool 302 of Fig. 3) to determine input data of a sample, perform method 600 of Fig. 6, perform method 700 of Fig. 7, perform method 900 of Fig. 9, perform method 1100 of Fig. 1100, perform method 1600 of Fig. 1600, and other executable functions relating to modeling and optimizing a wafer region definition or sampling budget distribution per wafer region for inspection during HVM. Common forms of non-transitory media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a Compact Disc Read Only Memory (CD-ROM), any other optical data storage medium, any physical medium with patterns of holes, a Random Access Memory (RAM), a Programmable Read Only Memory (PROM), and Erasable Programmable Read Only Memory (EPROM), a FLASH-EPROM or any other flash memory, Non-Volatile Random Access Memory (NVRAM), a cache, a register, any other memory chip or cartridge, and networked versions of the same.

[0169] The embodiments may further be described using the following clauses:1. A method to generate an inspection tool sampling plan, the method comprising: providing input data for a wafer to a computational defect probability prediction model; dividing the wafer into a plurality of wafer regions having dies; determining defective die probabilities per wafer region from the computational defect probability prediction model; selecting at least one die from each wafer region of the plurality of wafer regions using the determined defective die probabilities; andgenerating a sampling plan for the wafer based on the selected dies.2. The method of clause 1, wherein the input data comprises an image containing metrology information of the wafer.3. The method of clause 1 or 2, wherein the input data comprises a pre-determined wafer region definition and a sampling budget for each wafer region.4. The method of clause 3, wherein selecting at least one die from each wafer region of the plurality of wafer regions using the determined defective die probabilities further comprises: ranking the determined defective die probabilities per wafer region; and selecting, for each wafer region of the plurality of wafer regions, a number of dies based on the ranking of determined defective die probabilities, wherein the number of dies is less than or equal to the sampling budget for the respective wafer region.5. The method of any one of clauses 1 to 4, further comprising: using the sampling plan to guide wafer inspection of the wafer; calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.6. The method of clause 5, wherein the projected die loss is calculated by assuming a non-uniform defect density or distribution in the wafer.7. The method of any one of clauses 1 to 6, wherein the inspection tool is a scanning charged particle microscope or an optical tool.8. The method of any one of clauses 1 to 7, wherein the computational defect probability prediction model is a computational guided inspection model.9. A method to optimize an inspection tool sampling plan, the method comprising: providing input data for a wafer to a computational defect probability prediction model; and distributing a sampling budget for a region of a wafer based on an expected number of defective die count for the region compared to an expected number of defective die count for the wafer; wherein the expected number of defective die count for the region is a summation of predicted defective die probability for the region and the expected number of defective die count for the wafer is a summation of predicted defective die probability for the wafer; and wherein the predicted defective die probability for the region and the predicted defective die probability for the wafer are obtained from the computational defect probability prediction model.10. The method of clause 9, wherein the input data comprises an image containing metrology information of the wafer.11. The method of clause 9 or 10, wherein the input data comprises a pre-determined wafer region definition and sampling budget for the wafer.12. The method of any one of clauses 9 to 11, further comprising:generating a sampling plan to guide wafer inspection of the wafer; calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.13. The method of any one of clauses 9 to 12, wherein the inspection tool is a scanning charged particle microscope or an optical tool.14. The method of any one of clauses 9 to 13, wherein the computational defect probability prediction model is a computational guided inspection model.15. A method to optimize an inspection tool sampling plan, the method comprising: providing input data for a wafer to a computational defect probability prediction model; determining a defective die probability for each die of the wafer from the computational defect probability prediction model; generating a sampling plan; evaluating a wafer region from the defective die probability for each die of the wafer; evaluating a sampling budget distribution for each evaluated wafer region; and using the sampling plan with the evaluated wafer region and sampling budget distribution to guide wafer inspection of the wafer.16. The method of clause 15, wherein the input data comprises an image containing metrology information of the wafer.17. The method of clause 15 or 16, wherein the input data comprises a pre-determined sampling budget for the wafer.18. The method of any one of clauses 15 to 17, wherein the wafer region is evaluated by integrating the calculated defective die probability for each die of the wafer with respect to a radial direction on the wafer.19. The method of any one of clauses 15 to 17, wherein the wafer region is evaluated by image segmentation of the calculated defective die probability for each die of the wafer.20. The method of any one of clauses 15 to 19, further comprising: calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.21. The method of any one of clauses 15 to 20, wherein the inspection tool is a scanning charged particle microscope or an optical tool.22. The method of any one of clauses 15 to 21, wherein the computational defect probability prediction model is a computational guided inspection model.23. A method of optimizing an inspection tool sampling plan, the method comprising: providing input data for a wafer to a computational defect probability prediction model;parameterizing a wafer region definition and a sampling budget for a wafer region, wherein the parameterized wafer region definition and sampling budget for the wafer region have certain constraints; and optimizing the parameterized wafer region definition and the parameterized sampling budget for the wafer region according to the certain constraints to maximize a projected value.24. The method of clause 23, wherein the input data comprises a probe test result of the wafer.25. The method of clause 23 or 24, wherein the input data comprises an R2correlation score.26. The method of any one of clauses 23 to 25, wherein the wafer region definition is parameterized using a first variable and a second variable.27. The method of clause 26, wherein the first variable is ri and the second variable is rg, wherein ri is a radial distance from a center of the wafer to a first wafer region boundary, and wherein is a radial distance from the center of the wafer to a second wafer region boundary.28. The method of clause 27, wherein a constraint for the first variable and the second variable comprises 0 < ri, < rmax, wherein rmax is a radius of the wafer.29. The method of clause 27 or 28, wherein the constraint for the first variable and the second variable comprises ri < .30. The method of any one of clauses 23 to 29, wherein the sampling budget for a wafer region on the wafer is parameterized using a first variable, a second variable, and a third variable.31. The method of clause 30, wherein the first variable is Ni, the second variable is Ng, and the third variable is N3, wherein Ni is a sampling budget for a first wafer region, wherein N2 is a sampling budget for a second wafer region, and wherein N3 is a sampling budget for a third wafer region.32. The method of clause 31, wherein a constraint for Ni, N2, and N3 comprises N1+N2+N3 = Nbudget, wherein Nbudget is a total sampling budget for the wafer.33. The method of clause 31 or 32, wherein Ni, N2, and N3 are less than a total number of dies in the first wafer region, the second wafer region, and the third wafer region, respectively.34. The method of any one of clauses 23 to 33, wherein optimizing the parameterized wafer region definition and the parameterized sampling budget for the wafer region comprises using a constrained global optimization technique.35. The method of clause 34, wherein the constrained global optimization technique is a derivative-free optimization algorithm.36. The method of any one of clauses 23 to 35, wherein the projected value is an R2correlation score generated by optimizing the parameterized wafer region definition and the parameterized sampling budget for the wafer region.37. The method of any one of clauses 23 to 36, further comprising:generating a sampling plan to guide wafer inspection of a second wafer; calculating a projected die loss using an inspection result of the second wafer; obtaining a probe test result for the second wafer; and evaluating a R2correlation score.38. The method of any one of clauses 23 to 37, wherein the inspection tool is a scanning charged particle microscope or an optical tool.39. The method of any one of clauses 23 to 38, wherein the computational defect probability prediction model is a computational guided inspection model.40. An apparatus to generate an inspection tool sampling plan, comprising: a memory storing a set of instructions; and at least one processor configured to execute the set of instructions to cause the apparatus to perform operations comprising: providing input data for a wafer to a computational defect probability prediction model; dividing the wafer into a plurality of wafer regions having dies; determining defective die probabilities per wafer region from the computational defect probability prediction model; selecting at least one die from each wafer region of the plurality of wafer regions using the determined defective die probabilities; and generating a sampling plan for the wafer based on the selected dies.41. The apparatus of clause 40, wherein the input data comprises an image containing metrology information of the wafer.42. The apparatus of clause 40 or 41, wherein the input data comprises a pre-determined wafer region definition and a sampling budget for each wafer region.43. The apparatus of clause 42, wherein selecting at least one die from each wafer region of the plurality of wafer regions using the determined defective die probabilities further comprises: ranking the determined defective die probability for each die per wafer region; and selecting, for each wafer region of the plurality of wafer regions, a number of dies based on the ranking of determined defective die probabilities, wherein the number of dies is less than or equal to the sampling budget for the respective wafer region.44. The apparatus of any one of clauses 40 to 43, wherein the operations further comprise: using the sampling plan to guide wafer inspection of the wafer; calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.45. The apparatus of clause 44, wherein the projected die loss is calculated by assuming a non-uniform defect density or distribution in the wafer.46. The apparatus of any one of clauses 40 to 45, wherein the inspection tool is a scanning charged particle microscope or an optical tool.47. The apparatus of any one of clauses 40 to 46, wherein the computational defect probability prediction model is a computational guided inspection model.48. An apparatus for optimizing an inspection tool sampling plan, comprising: a memory storing a set of instructions; and at least one processor configured to execute the set of instructions to cause the apparatus to perform operations comprising: providing input data for a wafer to a computational defect probability prediction model; and distributing a sampling budget for a region of a wafer based on an expected number of defective die count for the region compared to an expected number of defective die count for the wafer; wherein the expected number of defective die count for the region is a summation of predicted defective die probability for the region and the expected number of defective die count for the wafer is a summation of predicted defective die probability for the wafer; and wherein the predicted defective die probability for the region and the predicted defective die probability for the wafer are obtained from the computational defect probability prediction model.49. The apparatus of clause 48, wherein the input data comprises an image containing metrology information of the wafer.50. The apparatus of clause 48 or 49, wherein the input data comprises a pre-determined wafer region definition and sampling budget for the wafer.51. The apparatus of any one of clauses 48 to 50, wherein the operations further comprise: generating a sampling plan to guide wafer inspection of the wafer; calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.52. The apparatus of any one of clauses 48 to 51, wherein the inspection tool is a scanning charged particle microscope or an optical tool.53. The apparatus of any one of clauses 48 to 52, wherein the computational defect probability prediction model is a computational guided inspection model.54. An apparatus for optimizing an inspection tool sampling plan, comprising: a memory storing a set of instructions; andat least one processor configured to execute the set of instructions to cause the apparatus to perform operations comprising: providing input data for a wafer to a computational defect probability prediction model; determining a defective die probability for each die of the wafer from the computational defect probability prediction model; generating a sampling plan; evaluating a wafer region from the defective die probability for each die of the wafer; evaluating a sampling budget distribution for each evaluated wafer region; and using the sampling plan with the evaluated wafer region and sampling budget distribution to guide wafer inspection of the wafer.55. The apparatus of clause 54, wherein the input data comprises an image containing metrology information of the wafer.56. The apparatus of clause 54 or 55, wherein the input data comprises a pre-determined sampling budget for the wafer.57. The apparatus of any one of clauses 54 to 56, wherein the wafer region is evaluated by integrating the calculated defective die probability for each die of the wafer with respect to a radial direction on the wafer.58. The apparatus of any one of clauses 54 to 56, wherein the wafer region is evaluated by image segmentation of the generated defective die probability map of the wafer.59. The apparatus of any one of clauses 54 to 58, wherein the operations further comprise: calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.60. The apparatus of any one of clauses 54 to 59, wherein the inspection tool is a scanning charged particle microscope or an optical tool.61. The apparatus of any one of clauses 54 to 60, wherein the computational defect probability prediction model is a computational guided inspection model.62. An apparatus for optimizing an inspection tool sampling plan, comprising: a memory storing a set of instructions; and at least one processor configured to execute the set of instructions to cause the apparatus to perform operations comprising: providing input data for a wafer to a computational defect probability prediction model; parameterizing a wafer region definition and a sampling budget for a wafer region, wherein the parameterized wafer region definition and sampling budget for the wafer region have certain constraints; andoptimizing the parameterized wafer region definition and the parameterized sampling budget for the wafer region according to the certain constraints to maximize a projected value.63. The apparatus of clause 62, wherein the input data comprises a probe test result of the wafer.64. The apparatus of clause 62 or 63, wherein the input data comprises an R2correlation score.65. The apparatus of any one of clauses 62 to 64, wherein the wafer region definition is parameterized using a first variable and a second variable.66. The apparatus of clause 65, wherein the first variable is ri and the second variable is r2, wherein ri is a radial distance from a center of the wafer to a first wafer region boundary, and wherein is a radial distance from the center of the wafer to a second wafer region boundary.67. The apparatus of clause 66, wherein a constraint for the first variable and the second variable comprises 0 < ri, < rmax, wherein rmaxis a radius of the wafer.68. The apparatus of clause 66 or 67, wherein the constraint for the first variable and the second variable comprises ri < .69. The apparatus of any one of clauses 62 to 68, wherein the sampling budget for a wafer region on the wafer is parameterized using a first variable, a second variable, and a third variable.70. The apparatus of clause 69, wherein the first variable is Ni, the second variable is Ng, and the third variable is N3, wherein Ni is a sampling budget for a first wafer region, wherein N2 is a sampling budget for a second wafer region, and wherein N3 is a sampling budget for a third wafer region.71. The apparatus of clause 70, wherein a constraint for Ni, N2, and N3 comprisesis a total sampling budget for the wafer.72. The apparatus of clause 70 or 71, wherein Ni, N2, and N3 are less than a total number of dies in the first wafer region, the second wafer region, and the third wafer region, respectively.73. The apparatus of any one of clauses 62 to 72, wherein optimizing the parameterized wafer region definition and the parameterized sampling budget for the wafer region comprises using a constrained global optimization technique.74. The apparatus of clause 73, wherein the constrained global optimization technique is a derivative-free optimization algorithm.75. The apparatus of any one of clauses 62 to 74, wherein the projected value is an R2correlation score generated by optimizing the parameterized wafer region definition and the parameterized sampling budget for the wafer region.76. The apparatus of any one of clauses 62 to 75, wherein the operations further comprise: generating a sampling plan to guide wafer inspection of a second wafer;calculating a projected die loss using an inspection result of the second wafer; obtaining a probe test result for the second wafer; and evaluating an R2correlation score.77. The apparatus of any one of clauses 62 to 76, wherein the inspection tool is a scanning charged particle microscope or an optical tool.78. The apparatus of any one of clauses 62 to 77, wherein the computational defect probability prediction model is a computational guided inspection model.79. A non-transitory computer readable medium comprising a set of instructions that is executable by one or more processors of a computing device to cause the computing device to perform operations for generating an inspection tool sampling plan, the operations comprising: providing input data for a wafer to a computational defect probability prediction model; dividing the wafer into a plurality of wafer regions having dies; determining defective die probabilities per wafer region from the computational defect probability prediction model; selecting at least one die from each wafer region of the plurality of wafer regions using the determined defective die probabilities; and generating a sampling plan for the wafer based on the selected dies.80. The non-transitory computer readable medium of clause 79, wherein the input data comprises an image containing metrology information of the wafer.81. The non-transitory computer readable medium of clause 79 or 80, wherein the input data comprises a pre-determined wafer region definition and a sampling budget for each wafer region.82. The non-transitory computer readable medium of clause 81, wherein selecting at least one die from each wafer region of the plurality of wafer regions using the determined defective die probabilities further comprises: ranking the determined defective die probability for each die per wafer region; and selecting, for each wafer region of the plurality of wafer regions, a number of dies based on the ranking of determined defective die probabilities, wherein the number of dies is less than or equal to the sampling budget for the respective wafer region.83. The non-transitory computer readable medium of any one of clauses 79 to 82, wherein the operations further comprise: using the sampling plan to guide wafer inspection of the wafer; calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.84. The non-transitory computer readable medium of clause 83, wherein the projected die loss is calculated by assuming a non-uniform defect density or distribution in the wafer.85. The non-transitory computer readable medium of any one of clauses 79 to 82, wherein the inspection tool is a scanning charged particle microscope or an optical tool.86. The non-transitory computer readable medium of any one of clauses 79 to 85, wherein the computational defect probability prediction model is a computational guided inspection model.87. A non-transitory computer readable medium comprising a set of instructions that is executable by one or more processors of a computing device to cause the computing device to perform operations for optimizing an inspection tool sampling plan, the operations comprising: providing input data for a wafer to a computational defect probability prediction model; and distributing a sampling budget for a region of a wafer based on an expected number of defective die count for the region compared to an expected number of defective die count for the wafer; wherein the expected number of defective die count for the region is a summation of predicted defective die probability for the region and the expected number of defective die count for the wafer is a summation of predicted defective die probability for the wafer; and wherein the predicted defective die probability for the region and the predicted defective die probability for the wafer are obtained from the computational defect probability prediction model.88. The non-transitory computer readable medium of clause 87, wherein the input data comprises an image containing metrology information of the wafer.89. The non-transitory computer readable medium of clause 87 or 88, wherein the input data comprises a pre-determined wafer region definition and sampling budget for the wafer.90. The non-transitory computer readable medium of any one of clauses 87 to 89, wherein the operations further comprise: generating a sampling plan to guide wafer inspection of the wafer; calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.91. The non-transitory computer readable medium of any one of clauses 87 to 90, wherein the inspection tool is a scanning charged particle microscope or an optical tool.92. The non-transitory computer readable medium of any one of clauses 87 to 91, wherein the computational defect probability prediction model is a computational guided inspection model.93. A non-transitory computer readable medium comprising a set of instructions that is executable by one or more processors of a computing device to cause the computing device to perform operations for optimizing an inspection tool sampling plan, the operations comprising: providing input data for a wafer to a computational defect probability prediction model;determining a defective die probability for each die of the wafer from the computational defect probability prediction model; generating a sampling plan; evaluating a wafer region from the defective die probability for each die of the wafer; evaluating a sampling budget distribution for each evaluated wafer region; and using the sampling plan with the evaluated wafer region and evaluated sampling budget distribution to guide wafer inspection of the wafer.94. The non-transitory computer readable medium of clause 93, wherein the input data comprises an image containing metrology information of the wafer.95. The non-transitory computer readable medium of clause 93 or 94, wherein the input data comprises a pre-determined sampling budget for the wafer.96. The non-transitory computer readable medium of any one of clauses 93 to 95, wherein the wafer region is evaluated by integrating the calculated defective die probability for each die of the wafer with respect to a radial direction on the wafer.97. The non-transitory computer readable medium of any one of clauses 93 to 95, wherein the wafer region is evaluated by image segmentation of the generated defective die probability map of the wafer.98. The non-transitory computer readable medium of any one of clauses 93 to 97, wherein the operations further comprise: calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.99. The non-transitory computer readable medium of any one of clauses 93 to 98, wherein the inspection tool is a scanning charged particle microscope or an optical tool.100. The non-transitory computer readable medium of any one of clauses 93 to 99, wherein the computational defect probability prediction model is a computational guided inspection model.101. A non-transitory computer readable medium comprising a set of instructions that is executable by one or more processors of a computing device to cause the computing device to perform operations for optimizing an inspection tool sampling plan, the operations comprising: providing input data for a wafer to a computational defect probability prediction model; parameterizing a wafer region definition and a sampling budget for a wafer region, wherein the parameterized wafer region definition and sampling budget for the wafer region have certain constraints; and optimizing the parameterized wafer region definition and the parameterized sampling budget for the wafer region according to the certain constraints to maximize a projected value.102. The non-transitory computer readable medium of clause 101, wherein the input data comprises a probe test result of the wafer.103. The non-transitory computer readable medium of clause 101 or 102, wherein the input data comprises an R2correlation score.104. The non-transitory computer readable medium of any one of clauses 101 to 103, wherein the wafer region definition is parameterized using a first variable and a second variable.105. The non-transitory computer readable medium of clause 104, wherein the first variable is ri and the second variable is rz, wherein ri is a radial distance from a center of the wafer to a first wafer region boundary, and wherein rz is a radial distance from the center of the wafer to a second wafer region boundary.106. The non-transitory computer readable medium of clause 105, wherein a constraint for the first variable and the second variable comprises 0 < ri, < rmax, wherein rmaxis a radius of the wafer.107. The non-transitory computer readable medium of clause 105 or 106, wherein the constraint for the first variable and the second variable comprises ri < .108. The non-transitory computer readable medium of any one of clauses 101 to 107, wherein the sampling budget for a wafer region on the wafer is parameterized using a first variable, a second variable, and a third variable.109. The non-transitory computer readable medium of clause 108, wherein the first variable is Ni, the second variable is Nz, and the third variable is N3, wherein Ni is a sampling budget for a first wafer region, wherein N2 is a sampling budget for a second wafer region, and wherein N3 is a sampling budget for a third wafer region.110. The non-transitory computer readable medium of clause 109, wherein a constraint foris a total sampling budget for the wafer.111. The non-transitory computer readable medium of clause 109 or 110, wherein Ni, N2, and N3 are less than a total number of dies in the first wafer region, the second wafer region, and the third wafer region, respectively.112. The non-transitory computer readable medium of any one of clauses 101 to 111, wherein optimizing the parameterized wafer region definition and the parameterized sampling budget for the wafer region comprises using a constrained global optimization technique.113. The non-transitory computer readable medium of clause 112, wherein the constrained global optimization technique is a derivative-free optimization algorithm.114. The non-transitory computer readable medium of any one of clauses 101 to 113, wherein the projected value is an R2correlation score generated by optimizing the parameterized wafer region definition and the parameterized sampling budget for the wafer region.115. The non-transitory computer readable medium of any one of clauses 101 to 114, wherein the operations further comprise:generating a sampling plan to guide wafer inspection of a second wafer; calculating a projected die loss using an inspection result of the second wafer; obtaining a probe test result for the second wafer; and evaluating an R2correlation score.116. The non-transitory computer readable medium of any one of clauses 101 to 115, wherein the inspection tool is a scanning charged particle microscope or an optical tool.117. The non-transitory computer readable medium of any one of clauses 101 to 116, wherein the computational defect probability prediction model is a computational guided inspection model.118. A system using a computational model to generate an inspection tool sampling plan, the system comprising: one or more processors configured to execute instructions to cause the system to perform: providing input data for a wafer to a computational defect probability prediction model; dividing the wafer into a plurality of wafer regions having dies; determining defective die probabilities per wafer region from the computational defect probability prediction model; selecting at least one die from each wafer region of the plurality of wafer regions using the determined defective die probabilities; and generating a sampling plan for the wafer based on the selected dies.119. The method of any one of clauses 1-8, wherein the defective die probabilities of the selected dies are above a threshold.120. The method of any one of clauses 1-8 or 119, wherein the selected dies comprise dies of the wafer that are excluded from a static sampling plan of the wafer.121. The method of clause 120, wherein the defective die probabilities of the selected dies are less than the defective die probabilities of dies included in the static sampling plan.122. The method of any one of clauses 120-121, wherein the static sampling plan of the wafer comprises pre-determined regions of the wafer.123. The method of clause 122, wherein the pre-determined regions of the wafer are based on historical defective die data of one or more wafers.124. A method to generate an inspection tool sampling plan, the method comprising: generating a static sampling plan to determine a baseline for inspection; generating a dynamic sampling plan to determine excursion events; applying the static sampling plan; and applying the dynamic sampling plan by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically low defect probability.125. The method of clause 124, wherein generating the static sampling plan is based on historical probe data of a plurality of samples.126. The method of clause 125, wherein the historical probe data comprises die defect data during inspection of the plurality of samples.127. The method of any one of clauses 125-126, wherein generating the static sampling plan comprises: generating a probability estimate map based on the historical probe data of the plurality of samples by averaging the historical probe data; and generating the static sampling plan based on the generated probability estimate map.128. The method of any one of clauses 124-127, wherein applying the static sampling plan comprises inspecting the sample in an area corresponding to historically high defect probabilities.129. The method of any one of clauses 124-128, wherein generating the dynamic sampling plan is based on a trained computational model.130. The method of clause 129, wherein the trained computational model is a computational guided inspection model.131. The method of any one of clauses 129-130, wherein generating the dynamic sampling plan comprises: feeding fabrication data of a sample into the trained computational model; generating a probability estimate of the sample; and converting the probability estimate into the dynamic sampling plan.132. The method of clause 131 wherein the fabrication data comprises metrology data corresponding to fabrication of the sample.133. The method of clause 132, wherein the metrology data comprises one or more of necking, line pull back, line thinning, critical dimension, edge placement, overlapping, resist top loss, resist undercut, missing defects, or bridging defects of an integrated circuit structure on a sample.134. The method of any one of clauses 124-133, further comprising generating a metrology sampling plan or modifying an existing metrology sampling plan to obtain fabrication data from an area of a sample with historically low defect probability.135. The method of any one of clauses 124-134, further comprising: utilizing the sampling plan to guide sample inspection of a sample; calculating a projected die loss using an inspection result of the sample; obtaining a probe test result for the sample; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.136. The method of any one of clauses 124-135, wherein an inspection tool of the inspection tool sampling plan is a scanning charged particle microscope or an optical tool.137. A method for defect detection using a computational guided inspection sampling plan, comprising: generating a baseline sampling plan based on historical inspection data;generating an excursion event sampling plan based on fabrication data and a computational model; applying the baseline sampling plan to a sample; and applying the excursion event sampling plan to the sample when predicted defect probabilities exceed a threshold in an area of the sample with historically low defect probability.138. A method to generate an inspection tool sampling plan, the method comprising: providing input data for a wafer to a computational defect probability prediction model; determining defective die probabilities for a first region of the wafer from the computational defect probability prediction model; and generating a sampling plan for the wafer based on the determined defective die probabilities for the first region of the wafer and based on a pre-determined second region of the wafer.139. The method of clause 138, wherein the defective die probabilities of the first region of the wafer are less than defective die probabilities of dies of the second region of the wafer.140. The method of any one of clauses 138-139, wherein the defective die probabilities of the first region of the wafer are above a threshold.141. The method of any one of clauses 138-140, wherein the second region of the wafer is determined based on historical defective die data of one or more wafers.142. The method of any one of clauses 138-141, wherein the input data comprises an image containing metrology information of the wafer.143. The method of any one of clauses 138-142, wherein the input data comprises a predetermined wafer region definition and a sampling budget for each wafer region of the wafer.144. The method of any one of clauses 138-143, further comprising: utilizing the sampling plan to guide wafer inspection of the wafer; calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.145. The method of clause 144, wherein the projected die loss is calculated by assuming a non-uniform defect density or distribution in the wafer.146. The method of clause 145, wherein the non-uniform defect density or distribution is obtained from a static stacked probe defect probability estimate or from a prediction of the computational defect probability prediction model.147. The method of any one of clauses 138-146, wherein the inspection tool is a scanning charged particle microscope or an optical tool.148. The method of any one of clauses 138-147, wherein the computational defect probability prediction model is a computational guided inspection model.149. The apparatus of any one of clauses 40-47, wherein the defective die probabilities of the selected dies are above a threshold.150. The apparatus of any one of clauses 40-47 or 149, wherein the selected dies comprise dies of the wafer that are excluded from a static sampling plan of the wafer.151. The apparatus of clause 150, wherein the defective die probabilities of the selected dies are less than the defective die probabilities of dies included in the static sampling plan.152. The apparatus of any one of clauses 150-151, wherein the static sampling plan of the wafer comprises pre-determined regions of the wafer.153. The apparatus of clause 152, wherein the pre-determined regions of the wafer are based on historical defective die data of one or more wafers.154. The non-transitory computer readable medium of any one of clauses 79-86, wherein the defective die probabilities of the selected dies are above a threshold.155. The non-transitory computer readable medium of any one of clauses 79-86 or 154, wherein the selected dies comprise dies of the wafer that are excluded from a static sampling plan of the wafer.156. The non-transitory computer readable medium of clause 155, wherein the defective die probabilities of the selected dies are less than the defective die probabilities of dies included in the static sampling plan.157. The non-transitory computer readable medium of any one of clauses 155-156, wherein the static sampling plan of the wafer comprises pre-determined regions of the wafer.158. The non-transitory computer readable medium of clause 157, wherein the predetermined regions of the wafer are based on historical defective die data of one or more wafers.159. The method of clause 137, wherein generating the baseline sampling plan is based on historical probe data of a plurality of samples.160. The method of clause 159, wherein the historical probe data comprises die defect data during inspection of the plurality of samples.161. The method of any one of clauses 159-160, wherein generating the baseline sampling plan comprises: generating a probability estimate map based on the historical probe data of the plurality of samples by averaging the historical probe data; and generating the baseline sampling plan based on the generated probability estimate map.162. The method of any one of clauses 137 or 159-161, wherein applying the baseline sampling plan comprises inspecting the sample in an area corresponding to historically high defect probabilities.163. The method of any one of clauses 137 or 159-162, wherein generating the excursion event sampling plan is based on a trained computational model.164. The method of clause 163, wherein the trained computational model is a computational guided inspection model.165. The method of any one of clauses 163-164, wherein generating the excursion event sampling plan comprises: feeding fabrication data of a sample into the trained computational model; generating a probability estimate of the sample; and converting the probability estimate into the excursion event sampling plan.166. The method of clause 165 wherein the fabrication data comprises metrology data corresponding to fabrication of the sample.167. The method of clause 166, wherein the metrology data comprises one or more of necking, line pull back, line thinning, critical dimension, edge placement, overlapping, resist top loss, resist undercut, missing defects, or bridging defects of an integrated circuit structure on a sample.168. The method of any one of clauses 137 or 159-167, further comprising generating a metrology sampling plan or modifying an existing metrology sampling plan to obtain fabrication data from an area of a sample with historically low defect probability.169. The method of any one of clauses 137 or 159-168, further comprising: utilizing the sampling plan to guide sample inspection of a sample; calculating a projected die loss using an inspection result of the sample; obtaining a probe test result for the sample; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.170. The method of any one of clauses 137 or 159-169, wherein an inspection tool of the inspection tool sampling plan is a scanning charged particle microscope or an optical tool.171. An apparatus to generate an inspection tool sampling plan, the apparatus comprising: a memory storing a set of instructions; and at least one processor configured to execute the set of instructions to cause the apparatus to perform operations comprising: generating a static sampling plan to determine a baseline for inspection; generating a dynamic sampling plan to determine excursion events; applying the static sampling plan; and applying the dynamic sampling plan by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically low defect probability.172. The apparatus of clause 171, wherein generating the static sampling plan is based on historical probe data of a plurality of samples.173. The apparatus of clause 172, wherein the historical probe data comprises die defect data during inspection of the plurality of samples.174. The apparatus of any one of clauses 172-173, wherein generating the static sampling plan comprises:generating a probability estimate map based on the historical probe data of the plurality of samples by averaging the historical probe data; and generating the static sampling plan based on the generated probability estimate map.175. The apparatus of any one of clauses 171-174, wherein applying the static sampling plan comprises inspecting the sample in an area corresponding to historically high defect probabilities.176. The apparatus of any one of clauses 171-175, wherein generating the dynamic sampling plan is based on a trained computational model.177. The apparatus of clause 176, wherein the trained computational model is a computational guided inspection model.178. The apparatus of any one of clauses 176-177, wherein generating the dynamic sampling plan comprises: feeding fabrication data of a sample into the trained computational model; generating a probability estimate of the sample; and converting the probability estimate into the dynamic sampling plan.179. The apparatus of clause 178 wherein the fabrication data comprises metrology data corresponding to fabrication of the sample.180. The apparatus of clause 179, wherein the metrology data comprises one or more of necking, line pull back, line thinning, critical dimension, edge placement, overlapping, resist top loss, resist undercut, missing defects, or bridging defects of an integrated circuit structure on a sample.181. The apparatus of any one of clauses 171-180, further comprising generating a metrology sampling plan or modifying an existing metrology sampling plan to obtain fabrication data from an area of a sample with historically low defect probability.182. The apparatus of any one of clauses 171-181, further comprising: utilizing the sampling plan to guide sample inspection of a sample; calculating a projected die loss using an inspection result of the sample; obtaining a probe test result for the sample; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.183. The apparatus of any one of clauses 171-182, wherein an inspection tool of the inspection tool sampling plan is a scanning charged particle microscope or an optical tool.184. An apparatus for defect detection using a computational guided inspection sampling plan, comprising: a memory storing a set of instructions; and at least one processor configured to execute the set of instructions to cause the apparatus to perform operations comprising: generating a baseline sampling plan based on historical inspection data;generating an excursion event sampling plan based on fabrication data and a computational model; applying the baseline sampling plan to a sample; and applying the excursion event sampling plan to the sample when predicted defect probabilities exceed a threshold in an area of the sample with historically low defect probability.185. The apparatus of clause 184, wherein generating the baseline sampling plan is based on historical probe data of a plurality of samples.186. The apparatus of clause 185, wherein the historical probe data comprises die defect data during inspection of the plurality of samples.187. The apparatus of any one of clauses 185-186, wherein generating the baseline sampling plan comprises: generating a probability estimate map based on the historical probe data of the plurality of samples by averaging the historical probe data; and generating the baseline sampling plan based on the generated probability estimate map.188. The apparatus of any one of clauses 184-187, wherein applying the baseline sampling plan comprises inspecting the sample in an area corresponding to historically high defect probabilities.189. The apparatus of any one of clauses 184-188, wherein generating the excursion event sampling plan is based on a trained computational model.190. The apparatus of clause 189, wherein the trained computational model is a computational guided inspection model.191. The apparatus of any one of clauses 189-190, wherein generating the excursion event sampling plan comprises: feeding fabrication data of a sample into the trained computational model; generating a probability estimate of the sample; and converting the probability estimate into the excursion event sampling plan.192. The apparatus of clause 191 wherein the fabrication data comprises metrology data corresponding to fabrication of the sample.193. The apparatus of clause 192, wherein the metrology data comprises one or more of necking, line pull back, line thinning, critical dimension, edge placement, overlapping, resist top loss, resist undercut, missing defects, or bridging defects of an integrated circuit structure on a sample.194. The apparatus of any one of clauses 184-193, further comprising generating a metrology sampling plan or modifying an existing metrology sampling plan to obtain fabrication data from an area of a sample with historically low defect probability.195. The apparatus of any one of clauses 184-194, further comprising: utilizing the sampling plan to guide sample inspection of a sample;calculating a projected die loss using an inspection result of the sample; obtaining a probe test result for the sample; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.196. The apparatus of any one of clauses 184-195, wherein an inspection tool of the inspection tool sampling plan is a scanning charged particle microscope or an optical tool.197. An apparatus to generate an inspection tool sampling plan, the apparatus comprising: a memory storing a set of instructions; and at least one processor configured to execute the set of instructions to cause the apparatus to perform operations comprising: providing input data for a wafer to a computational defect probability prediction model; determining defective die probabilities for a first region of the wafer from the computational defect probability prediction model; and generating a sampling plan for the wafer based on the determined defective die probabilities for the first region of the wafer and based on a pre-determined second region of the wafer.198. The apparatus of clause 197, wherein the defective die probabilities of the first region of the wafer are less than defective die probabilities of dies of the second region of the wafer.199. The apparatus of any one of clauses 197-198, wherein the defective die probabilities of the first region of the wafer are above a threshold.200. The apparatus of any one of clauses 197-199, wherein the second region of the wafer is determined based on historical defective die data of one or more wafers.201. The apparatus of any one of clauses 197-200, wherein the input data comprises an image containing metrology information of the wafer.202. The apparatus of any one of clauses 197-201, wherein the input data comprises a predetermined wafer region definition and a sampling budget for each wafer region of the wafer.203. The apparatus of any one of clauses 197-202, further comprising: utilizing the sampling plan to guide wafer inspection of the wafer; calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.204. The apparatus of clause 203, wherein the projected die loss is calculated by assuming a non-uniform defect density or distribution in the wafer.205. The apparatus of clause 204, wherein the non-uniform defect density or distribution is obtained from a static stacked probe defect probability estimate or from a prediction of the computational defect probability prediction model.206. The apparatus of any one of clauses 197-205, wherein the inspection tool is a scanning charged particle microscope or an optical tool.207. The apparatus of any one of clauses 197-206, wherein the computational defect probability prediction model is a computational guided inspection model.208. A non- transitory computer readable medium comprising a set of instructions that is executable by one or more processors of a computing device to cause the computing device to perform operations for generating an inspection tool sampling plan, the operations comprising: generating a static sampling plan to determine a baseline for inspection; generating a dynamic sampling plan to determine excursion events; applying the static sampling plan; and applying the dynamic sampling plan by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically low defect probability.209. The non-transitory computer readable medium of clause 208, wherein generating the static sampling plan is based on historical probe data of a plurality of samples.210. The non-transitory computer readable medium of clause 209, wherein the historical probe data comprises die defect data during inspection of the plurality of samples.211. The non-transitory computer readable medium of any one of clauses 209-210, wherein generating the static sampling plan comprises: generating a probability estimate map based on the historical probe data of the plurality of samples by averaging the historical probe data; and generating the static sampling plan based on the generated probability estimate map.212. The non-transitory computer readable medium of any one of clauses 208-211, wherein applying the static sampling plan comprises inspecting the sample in an area corresponding to historically high defect probabilities.213. The non-transitory computer readable medium of any one of clauses 208-212, wherein generating the dynamic sampling plan is based on a trained computational model.214. The non-transitory computer readable medium of clause 213, wherein the trained computational model is a computational guided inspection model.215. The non-transitory computer readable medium of any one of clauses 213-214, wherein generating the dynamic sampling plan comprises: feeding fabrication data of a sample into the trained computational model; generating a probability estimate of the sample; and converting the probability estimate into the dynamic sampling plan.216. The non-transitory computer readable medium of clause 215 wherein the fabrication data comprises metrology data corresponding to fabrication of the sample.217. The non-transitory computer readable medium of clause 216, wherein the metrology data comprises one or more of necking, line pull back, line thinning, critical dimension, edgeplacement, overlapping, resist top loss, resist undercut, missing defects, or bridging defects of an integrated circuit structure on a sample.218. The non-transitory computer readable medium of any one of clauses 208-217, wherein the set of instructions that is executable by one or more processors of a computing device to cause the computing device to further perform generating a metrology sampling plan or modifying an existing metrology sampling plan to obtain fabrication data from an area of a sample with historically low defect probability.219. The non-transitory computer readable medium of any one of clauses 208-218, wherein the set of instructions that is executable by one or more processors of a computing device to cause the computing device to further perform: utilizing the sampling plan to guide sample inspection of a sample; calculating a projected die loss using an inspection result of the sample; obtaining a probe test result for the sample; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.220. The non-transitory computer readable medium of any one of clauses 208-219, wherein an inspection tool of the inspection tool sampling plan is a scanning charged particle microscope or an optical tool.221. A non-transitory computer readable medium comprising a set of instructions that is executable by one or more processors of a computing device to cause the computing device to perform operations for defect detection using a computational guided inspection sampling plan, the operations comprising: generating a baseline sampling plan based on historical inspection data; generating an excursion event sampling plan based on fabrication data and a computational model; applying the baseline sampling plan to a sample; and applying the excursion event sampling plan to the sample when predicted defect probabilities exceed a threshold in an area of the sample with historically low defect probability.222. The non-transitory computer readable medium of clause 221, wherein generating the baseline sampling plan is based on historical probe data of a plurality of samples.223. The non-transitory computer readable medium of clause 222, wherein the historical probe data comprises die defect data during inspection of the plurality of samples.224. The non-transitory computer readable medium of any one of clauses 222-223, wherein generating the baseline sampling plan comprises: generating a probability estimate map based on the historical probe data of the plurality of samples by averaging the historical probe data; and generating the baseline sampling plan based on the generated probability estimate map.225. The non-transitory computer readable medium of any one of clauses 221-224, wherein applying the baseline sampling plan comprises inspecting the sample in an area corresponding to historically high defect probabilities.226. The non-transitory computer readable medium of any one of clauses 221-225, wherein generating the excursion event sampling plan is based on a trained computational model.227. The non-transitory computer readable medium of clause 226, wherein the trained computational model is a computational guided inspection model.228. The non-transitory computer readable medium of any one of clauses 226-227, wherein generating the excursion event sampling plan comprises: feeding fabrication data of a sample into the trained computational model; generating a probability estimate of the sample; and converting the probability estimate into the excursion event sampling plan.229. The non-transitory computer readable medium of clause 228 wherein the fabrication data comprises metrology data corresponding to fabrication of the sample.230. The non-transitory computer readable medium of clause 229, wherein the metrology data comprises one or more of necking, line pull back, line thinning, critical dimension, edge placement, overlapping, resist top loss, resist undercut, missing defects, or bridging defects of an integrated circuit structure on a sample.231. The non-transitory computer readable medium of any one of clauses 221-230, wherein the set of instructions that is executable by one or more processors of a computing device to cause the computing device to further perform generating a metrology sampling plan or modifying an existing metrology sampling plan to obtain fabrication data from an area of a sample with historically low defect probability.232. The non-transitory computer readable medium of any one of clauses 221-231, wherein the set of instructions that is executable by one or more processors of a computing device to cause the computing device to further perform: utilizing the sampling plan to guide sample inspection of a sample; calculating a projected die loss using an inspection result of the sample; obtaining a probe test result for the sample; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.233. The non-transitory computer readable medium of any one of clauses 221-232, wherein an inspection tool of the inspection tool sampling plan is a scanning charged particle microscope or an optical tool.234. A non-transitory computer readable medium comprising a set of instructions that is executable by one or more processors of a computing device to cause the computing device to perform operations for generating an inspection tool sampling plan, the operations comprising: providing input data for a wafer to a computational defect probability prediction model;determining defective die probabilities for a first region of the wafer from the computational defect probability prediction model; and generating a sampling plan for the wafer based on the determined defective die probabilities for the first region of the wafer and based on a pre-determined second region of the wafer.235. The non-transitory computer readable medium of clause 234, wherein the defective die probabilities of the first region of the wafer are less than defective die probabilities of dies of the second region of the wafer.236. The non-transitory computer readable medium of any one of clauses 234-235, wherein the defective die probabilities of the first region of the wafer are above a threshold.237. The non-transitory computer readable medium of any one of clauses 234-236, wherein the second region of the wafer is determined based on historical defective die data of one or more wafers.238. The non-transitory computer readable medium of any one of clauses 234-237, wherein the input data comprises an image containing metrology information of the wafer.239. The non-transitory computer readable medium of any one of clauses 234-238, wherein the input data comprises a pre-determined wafer region definition and a sampling budget for each wafer region of the wafer.240. The non-transitory computer readable medium of any one of clauses 234-239, wherein the set of instructions that is executable by one or more processors of a computing device to cause the computing device to further perform: utilizing the sampling plan to guide wafer inspection of the wafer; calculating a projected die loss using an inspection result of the wafer; obtaining a probe test result for the wafer; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.241. The non-transitory computer readable medium of clause 240, wherein the projected die loss is calculated by assuming a non-uniform defect density or distribution in the wafer.242. The non-transitory computer readable medium of clause 241, wherein the non-uniform defect density or distribution is obtained from a static stacked probe defect probability estimate or from a prediction of the computational defect probability prediction model.243. The non-transitory computer readable medium of any one of clauses 234-242, wherein the inspection tool is a scanning charged particle microscope or an optical tool.244. The non-transitory computer readable medium of any one of clauses 234-243, wherein the computational defect probability prediction model is a computational guided inspection model.245. The method of any one of clauses 1-8 or 119-123, further comprising adjusting fabrication process parameters based on the determined defective die probabilities to mitigate defect- prone regions of a wafer.246. The method of clause 245, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.247. The apparatus of any one of clauses 40-47 or 149-53, wherein the set of instructions that is executable by at least one processor to cause the apparatus to further perform adjusting fabrication process parameters based on the determined defective die probabilities to mitigate defect- prone regions of a wafer.248. The apparatus of clause 247, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.249. The non-transitory computer readable medium of any one of clauses 79-86 or 154- 158, wherein the set of instructions that is executable by one or more processors of a computing device to cause the computing device to further perform adjusting fabrication process parameters based on the determined defective die probabilities to mitigate defect-prone regions of a wafer.250. The non-transitory computer readable medium of clause 249, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.251. The method of any one of clauses 124-136, further comprising adjusting fabrication process parameters based on the predicted defect probabilities to mitigate defect-prone regions of a sample.252. The method of clause 251, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.253. The method of any one of clauses 137 or 159-170, further comprising adjusting fabrication process parameters based on the predicted defect probabilities to mitigate defect-prone regions of a sample.254. The method of clause 253, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.255. The method of any one of clauses 138-148, further comprising adjusting fabrication process parameters based on the determined defective die probabilities to mitigate defect-prone regions of a wafer.256. The method of clause 253, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.257. The apparatus of any one of clauses 171-183, further comprising adjusting fabrication process parameters based on the predicted defect probabilities to mitigate defect-prone regions of a sample.258. The apparatus of clause 257, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.259. The apparatus of any one of clauses 184-196, further comprising adjusting fabrication process parameters based on the predicted defect probabilities to mitigate defect-prone regions of a sample.260. The apparatus of clause 259, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.261. The apparatus of any one of clauses 197-207, further comprising adjusting fabrication process parameters based on the determined defective die probabilities to mitigate defect-prone regions of a wafer.262. The apparatus of clause 261, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.263. The non-transitory computer readable medium of any one of clauses 208-220, wherein the set of instructions that is executable by one or more processors of a computing device to cause the computing device to further perform adjusting fabrication process parameters based on the predicted defect probabilities to mitigate defect-prone regions of a sample.264. The non-transitory computer readable medium of clause 263, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.265. The non-transitory computer readable medium of any one of clauses 221-233, wherein the set of instructions that is executable by one or more processors of a computing device to cause the computing device to further perform adjusting fabrication process parameters based on the predicted defect probabilities to mitigate defect-prone regions of a sample.266. The non-transitory computer readable medium of clause 265, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.267. The non-transitory computer readable medium of any one of clauses 234-244, wherein the set of instructions that is executable by one or more processors of a computing device to cause the computing device to further perform adjusting fabrication process parameters based on the determined defective die probabilities to mitigate defect-prone regions of a wafer.268. The non-transitory computer readable medium of clause 267, wherein the fabrication process parameters comprise any one or more of a parameter of a scanner recipe or a parameter of an etcher recipe.269. The method of any one of clauses 124-136, 251, or 252, wherein the static sampling plan is generated based on a sampling budget ratio of a wafer.270. The method of clause 269, wherein the sampling budget ratio of the wafer comprises an allocation of dies to be sampled by the static sampling plan and an allocation of dies to be sampled by the dynamic sampling plan.271. The method of any one of clauses 124-136, 251, 252, 269, or 270, wherein generating the static sampling plan comprises selecting fixed die locations of a wafer to be inspected.272. The method of any one of clauses 124-136, 251, 252, or 269-271, wherein generating the static sampling plan comprises generating a stacked probe wafer map.273. The method of clause 272, wherein the stacked probe wafer map comprises a plurality of defect probability results corresponding to dies on a wafer.274. The method of clause 273, wherein the plurality of defect probability results indicate probabilities of whether a die contains a defect.275. The method of any one of clauses 272-274, wherein generating the stacked probe wafer map comprises averaging historical defect data of a plurality of wafers.276. The method of any one of clauses 124-136, 251, 252, or 269-271, wherein generating the static sampling plan comprises generating a stacked sampling wafer map.277. The method of clause 276, wherein the stacked sampling wafer map comprises a plurality of sampling probability results corresponding to dies on a wafer.278. The method of clause 277, wherein the plurality of sampling probability results indicate probabilities of whether a die will be sampled.279. The method of any one of clauses 276-278, wherein generating the stacked sampling wafer map comprises averaging historical sampling data of a plurality of wafers.280. The method of any one of clauses 135-136, wherein the projected die loss is calculated based on a predicted defect probability of the static sampling plan, a predicted defect probability of the dynamic sampling plan, a sampling ratio of the static sampling plan, and a sampling ratio of the dynamic sampling plan.281. The method of any one of clauses 137, 159-170, 253, or 254, wherein the baseline sampling plan is generated based on a sampling budget ratio of a wafer.282. The method of clause 281, wherein the sampling budget ratio of the wafer comprises an allocation of dies to be sampled by the baseline sampling plan and an allocation of dies to be sampled by the excursion event sampling plan.283. The method of any one of clauses 137, 159-170, 253, 254, 281, or 282, wherein generating the baseline sampling plan comprises selecting fixed die locations of a wafer to be inspected.284. The method of any one of clauses 137, 159-170, 253, 254, or 281-283, wherein generating the baseline sampling plan comprises generating a stacked probe wafer map.285. The method of clause 284, wherein the stacked probe wafer map comprises a plurality of defect probability results corresponding to dies on a wafer.286. The method of clause 285, wherein the plurality of defect probability results indicate probabilities of whether a die contains a defect.287. The method of any one of clauses 284-286, wherein generating the stacked probe wafer map comprises averaging historical defect data of a plurality of wafers.288. The method of any one of clauses 137, 159-170, 253, 254, or 281-283, wherein generating the baseline sampling plan comprises generating a stacked sampling wafer map.289. The method of clause 288, wherein the stacked sampling wafer map comprises a plurality of sampling probability results corresponding to dies on a wafer.290. The method of clause 289, wherein the plurality of sampling probability results indicate probabilities of whether a die will be sampled.291. The method of any one of clauses 288-290, wherein generating the stacked sampling wafer map comprises averaging historical sampling data of a plurality of wafers.292. The method of any one of clauses 169-170, wherein the projected die loss is calculated based on a predicted defect probability of the baseline sampling plan, a predicted defect probability of the excursion event sampling plan, a sampling ratio of the baseline sampling plan, and a sampling ratio of the excursion event sampling plan.293. A system to generate an inspection tool sampling plan, comprising: a memory storing a set of instructions; and one or more processors configured to execute the set of instructions to cause the system to perform operations according to any one of clauses 269-279.294. A system for defect detection using a computational guided inspection sampling plan, comprising: a memory storing a set of instructions; and one or more processors configured to execute the set of instructions to cause the system to perform operations according to any one of clauses 280-292.295. A non- transitory computer readable medium that stores a set of instructions that is executable by at least one processor of a computing device to cause the computing device to perform a method to generate an inspection tool sampling plan according to any one of clauses 269-279.296. A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of a computing device to cause the computing device to perform a method for defect detection using a computational guided inspection sampling plan according to any one of clauses 280-292.

[0170] Block diagrams in the figures may illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer hardware or software products according to various exemplary embodiments of the present disclosure. In this regard, each block in a schematic diagram may represent certain arithmetical or logical operation processing that may be implemented using hardware such as an electronic circuit. Blocks may also represent a module, segment, or portion of code that comprises one or more executable instructions for implementing the specified logical functions. It should be understood that in some alternative implementations,functions indicated in a block may occur out of the order noted in the figures. For example, two blocks shown in succession may be executed or implemented substantially concurrently, or two blocks may sometimes be executed in reverse order, depending upon the functionality involved. Some blocks may also be omitted. It should also be understood that each block of the block diagrams, and combination of the blocks, may be implemented by special purpose hardware -based systems that perform the specified functions or acts, or by combinations of special purpose hardware and computer instructions.

[0171] It will be appreciated that the embodiments of the present disclosure are not limited to the exact construction that has been described above and illustrated 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 connection with various embodiments, and other embodiments will be apparent to those skilled in the art from consideration of the specification and practice of the technology disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims

CLAIMS1. A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of a computing device to cause the computing device to perform operations for generating an inspection tool sampling plan, the operations comprising: generating a static sampling plan to determine a baseline for inspection; generating a dynamic sampling plan to determine excursion events; applying the static sampling plan; and applying the dynamic sampling plan by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically low defect probability.

2. The non-transitory computer readable medium of claim 1, wherein generating the static sampling plan is based on historical probe data of a plurality of samples.

3. The non-transitory computer readable medium of claim 2, wherein the historical probe data comprises die defect data during inspection of the plurality of samples.

4. The non-transitory computer readable medium of claim 2, wherein generating the static sampling plan comprises: generating a probability estimate map based on the historical probe data of the plurality of samples by averaging the historical probe data; and generating the static sampling plan based on the generated probability estimate map.

5. The non-transitory computer readable medium of claim 1, wherein applying the static sampling plan comprises inspecting the sample in an area corresponding to historically high defect probabilities.

6. The non-transitory computer readable medium of claim 1, wherein generating the dynamic sampling plan is based on a trained computational model.

7. The non-transitory computer readable medium of claim 6, wherein the trained computational model is a computational guided inspection model.

8. The non-transitory computer readable medium of claim 6, wherein generating the dynamic sampling plan comprises: feeding fabrication data of a sample into the trained computational model; generating a probability estimate of the sample; andconverting the probability estimate into the dynamic sampling plan.

9. The non-transitory computer readable medium of claim 8, wherein the fabrication data comprises metrology data corresponding to fabrication of the sample.

10. The non-transitory computer readable medium of claim 9, wherein the metrology data comprises one or more of necking, line pull back, line thinning, critical dimension, edge placement, overlapping, resist top loss, resist undercut, missing defects, or bridging defects of an integrated circuit structure on a sample.

11. The non-transitory computer readable medium of claim 1, wherein the operations further comprise generating a metrology sampling plan or modifying an existing metrology sampling plan to obtain fabrication data from an area of a sample with historically low defect probability.

12. The non-transitory computer readable medium of claim 1, wherein the operations further comprise: utilizing the sampling plan to guide sample inspection of a sample; calculating a projected die loss using an inspection result of the sample; obtaining a probe test result for the sample; and evaluating an R2correlation score by comparing the probe test result to the projected die loss.

13. The non-transitory computer readable medium of claim 1, wherein an inspection tool of the inspection tool sampling plan is a scanning charged particle microscope or an optical tool.

14. A system to generate an inspection tool sampling plan, the system comprising: a memory storing a set of instructions; and one or more processors configured to execute the set of instructions to cause the system to perform operations comprising: generate a static sampling plan to determine a baseline for inspection; generate a dynamic sampling plan to determine excursion events; apply the static sampling plan; and apply the dynamic sampling plan by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically low defect probability.

15. A method to generate an inspection tool sampling plan, the method comprising: generating a static sampling plan to determine a baseline for inspection;generating a dynamic sampling plan to determine excursion events; applying the static sampling plan; and applying the dynamic sampling plan by triggering additional sampling when predicted defect probabilities exceed a threshold in an area of a sample with historically low defect probability.