# US 2022/0044391 A1 · Deep learning based defect detection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0044391 A1
- Document ID: US20220044391A1
- Status: Published application
- Kind: A1
- Application number: 17/155,037
- Filed: 2021-01-21
- Published: 2022-02-10
- Earliest claimed: 2020-08-05
- Assignees: KLA Corporation
- Applicants: KLA Corporation
- Inventors: Richard Wallingford; Ge Cong; Sangbong Park
- Web page: https://patentgrep.com/patent/US20220044391A1

## CPC

- G06T 7/0006: {using a design-rule based approach}
- G06T 7/001: {using an image reference approach}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G06T 11/00: Two-dimensional [2D] image generation
- G06V 10/82: using neural networks
- G06T 2207/10061: from scanning electron microscope
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/20224: Image subtraction
- G06T 2207/30148: Semiconductor; IC; Wafer
- G06V 2201/06: Recognition of objects for industrial automation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Methods and systems for detecting defects on a specimen are provided. One system includes one or more computer systems and one or more components executed by the one or more computer systems. The component(s) include a deep learning model configured for, for a location on a specimen, generating a gray scale simulated design data image from a high resolution image generated at the location by a high resolution imaging system. The computer system(s) are configured for generating a simulated binary design data image for the location from the gray scale simulated design data image. The computer system(s) are also configured for detecting defects at the location on the specimen by subtracting design data for the location from the simulated binary design data image.

## Claims

### Claim 1

A system configured to detect defects on a specimen, comprising:
one or more computer systems; and
one or more components executed by the one or more computer systems, wherein the one or more components comprise a deep learning model configured for, for a location on a specimen, generating a gray scale simulated design data image from a high resolution image generated at the location, and
wherein the high resolution image is generated at the location by a high resolution imaging system;
wherein the one or more computer systems are configured for generating a simulated binary design data image for the location from the gray scale simulated design data image; and
wherein the one or more computer systems are further configured for detecting defects at the location on the specimen by subtracting design data for the location from the simulated binary design data image.

### Claim 2 (depends on 1)

The system of claim 1, wherein the deep learning model is further configured as a generative adversarial network.

### Claim 3 (depends on 1)

The system of claim 1, wherein the deep learning model is further configured to transfer artifacts of one or more defects in the high resolution image to the gray scale simulated design data image.

### Claim 4 (depends on 1)

The system of claim 1, wherein generating the simulated binary design data image comprises thresholding the gray scale simulated design data image to binarize the gray scale simulated design data image and match nominal dimensions of patterned features in the gray scale simulated design data image to nominal dimensions of patterned features in the design data for the specimen.

### Claim 5 (depends on 1)

The system of claim 1, wherein said detecting comprises restricting an area of interest in results of said subtracting to a care area in the simulated binary design data image and applying a detection area threshold to only the results of said subtracting in the restricted area of interest.

### Claim 6 (depends on 1)

The system of claim 1, wherein the deep learning model is further configured for, for an additional location known to be defect free on the specimen, generating an additional gray scale simulated design data image from an additional high resolution image generated at the additional location, wherein the one or more computer systems are further configured for generating an additional simulated binary design data image for the additional location from the additional gray scale simulated design data image, and wherein the design data subtracted from the simulated binary design data image for the detecting comprises the additional simulated binary design data image.

### Claim 7 (depends on 1)

The system of claim 1, wherein the deep learning model is further configured for, for an additional location known to be defect free on the specimen, generating an additional gray scale simulated design data image from an additional high resolution image generated at the additional location, wherein the one or more computer systems are further configured for generating an additional simulated binary design data image for the additional location from the additional gray scale simulated design data image, and wherein said detecting comprises aligning the design data to the simulated binary design data image generated for the location using the additional simulated binary design data image.

### Claim 8 (depends on 1)

The system of claim 1, wherein the deep learning model is further configured for, for an additional location known to be defect free on the specimen, generating an additional gray scale simulated design data image from an additional high resolution image generated at the additional location, wherein the one or more computer systems are further configured for generating an additional simulated binary design data image for the additional location from the additional gray scale simulated design data image, and wherein the one or more computer systems are further configured for training a defect classifier using the additional simulated binary design data image.

### Claim 9 (depends on 1)

The system of claim 1, wherein the one or more computer systems are further configured for training a defect classifier using results of said subtracting.

### Claim 10 (depends on 1)

The system of claim 1, wherein the one or more computer systems are further configured for training a defect classifier using one or more of the gray scale simulated design data image, the simulated binary design data image, the design data, and results of said subtracting.

### Claim 11 (depends on 1)

The system of claim 1, wherein the one or more computer systems are further configured to discover previously unknown defect types on the specimen using results of said detecting.

### Claim 12 (depends on 1)

The system of claim 1, wherein the design data subtracted from the simulated binary design data image is not generated by simulation of the specimen or the high resolution imaging system.

### Claim 13 (depends on 1)

The system of claim 1, wherein the design data subtracted from the simulated binary design data image and the simulated binary design data image illustrate optical proximity correction features in the design data.

### Claim 14 (depends on 1)

The system of claim 1, wherein the design data subtracted from the simulated binary design data image and the simulated binary design data image do not illustrate optical proximity correction features in the design data.

### Claim 15 (depends on 1)

The system of claim 1, wherein the location is selected from locations on the specimen at which one or more defects were previously detected, and wherein the one or more defects were detected at the locations on the specimen by a light-based inspection system.

### Claim 16 (depends on 1)

The system of claim 1, wherein the location is selected from locations on the specimen at which one or more defects were previously detected, and wherein the one or more defects were detected at the locations on the specimen by the high resolution imaging system.

### Claim 17 (depends on 1)

The system of claim 1, wherein the high resolution imaging system is configured as an electron beam imaging system.

### Claim 18 (depends on 1)

The system of claim 1, wherein the system comprises the high resolution imaging system.

### Claim 19 (depends on 1)

The system of claim 1, wherein the design data is for patterned features on only one level of the specimen.

### Claim 20 (depends on 1)

The system of claim 1, wherein the design data is for patterned features on different levels of the specimen, and wherein the simulated binary design data image comprises different gray levels for the patterned features on the different levels of the specimen.

### Claim 21

A non-transitory computer-readable medium, storing program instructions executable on one or more computer systems for performing a computer-implemented method for detecting defects on a specimen, wherein the computer-implemented method comprises:
for a location on a specimen, generating a gray scale simulated design data image from a high resolution image generated at the location, wherein the high resolution image is generated at the location by a high resolution imaging system, and wherein generating the gray scale simulated design data image is performed by a deep learning model included in one or more components executed by the one or more computer systems;
generating a simulated binary design data image for the location from the gray scale simulated design data image; and
detecting defects at the location on the specimen by subtracting design data for the location from the simulated binary design data image, wherein generating the simulated binary design data image and detecting the defects are performed by the one or more computer systems.

### Claim 22

A computer-implemented method for detecting defects on a specimen, comprising:
for a location on a specimen, generating a gray scale simulated design data image from a high resolution image generated at the location, wherein the high resolution image is generated at the location by a high resolution imaging system, and wherein generating the gray scale simulated design data image is performed by a deep learning model included in one or more components executed by one or more computer systems;
generating a simulated binary design data image for the location from the gray scale simulated design data image; and
detecting defects at the location on the specimen by subtracting design data for the location from the simulated binary design data image, wherein generating the simulated binary design data image and detecting the defects are performed by the one or more computer systems.
