# US 2025/0166154 A1 · Defect detection using a machine learning algorithm

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

- Number: US 2025/0166154 A1
- Document ID: US20250166154A1
- Status: Published application
- Kind: A1
- Application number: 18/518,025
- Filed: 2023-11-22
- Published: 2025-05-22
- Earliest claimed: 2023-11-22
- Assignees: Applied Materials Israel Ltd.
- Applicants: Applied Materials Israel Ltd.
- Inventors: Sergey KHRISTO; Shih-Wei YANG; Denis SIMAKOV; Elad COHEN; Victor EGOROV
- Web page: https://patentgrep.com/patent/US20250166154A1

## CPC

- G06T 7/0004: {Industrial image inspection}
- G06T 2207/10061: from scanning electron microscope
- G06T 2207/20076: Probabilistic image processing
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30148: Semiconductor; IC; Wafer
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

There are provided systems and methods comprising obtaining a first inspection image informative of a first area of a specimen acquired by an examination tool, feeding at least the first inspection image to a machine learning algorithm configured to determine, for each given pixel of a plurality of pixels of the first inspection image, or for each given group of pixels of a plurality of groups of pixels of the first inspection image, one or more given parameters of a given model informative of pixel intensity distribution, for said each given pixel or given group of pixels, using at least some of the one or more given parameters, or the given model associated with the one or more given parameters, and measured pixel intensity of the given pixel or group of pixels, to determine whether a defect is present in the given pixel or in the given group of pixels.

## Claims

### Claim 1

A system comprising one or more processing circuitries configured to:
obtain a first inspection image informative of a first area of a semiconductor specimen acquired by an examination tool,
feed at least the first inspection image to a machine learning algorithm configured to determine, for each given pixel of a plurality of pixels of the first inspection image, or for each given group of pixels of a plurality of groups of pixels of the first inspection image, one or more given parameters of a given model informative of pixel intensity distribution,
for said each given pixel, or said each given group of pixels, use:
at least one of the one or more given parameters, or at least part of the given model associated with the one or more given parameters, and
measured pixel intensity of the given pixel or of the given group of pixels,
to determine whether a defect is present in the given pixel or in the given group of pixels.

### Claim 2 (depends on 1)

The system of claim 1, configured to, for said each given pixel or for said each given group of pixels, use at least some of the one or more given parameters, or at least part of the given model associated with the one or more given parameters, to determine a probability that a defect is present in the given pixel or in the given group of pixels.

### Claim 3 (depends on 1)

The system of claim 1, wherein, for said each given pixel or for said each given group of pixels, at least part of the given model associated with the one or more given parameters is informative of a pixel intensity probability distribution usable to determine a probability that the measured pixel intensity of the given pixel or of the given group of pixels corresponds to a defect.

### Claim 4 (depends on 1)

The system of claim 1, wherein, for said each given pixel or for said each given group of pixels, at least one of the one or more given parameters, or at least part of the given model associated with the one or more given parameters, is usable to determine an expected pixel intensity in an absence of defects in the given pixel or in the given group of pixels.

### Claim 5 (depends on 1)

The system of claim 1, wherein, for said each given pixel or for said each given group of pixels, at least one of the one or more given parameters, or at least part of the given model associated with the one or more given parameters, is usable to determine:
an expected pixel intensity in an absence of defects in the given pixel or in the given group of pixels, and
a probability that a deviation from the expected pixel intensity corresponds to a defect.

### Claim 6 (depends on 1)

The system of claim 1, configured to use the given model to detect, on average, in different regions with a different level of noise, a maximal number of defects below a same threshold for said different regions.

### Claim 7 (depends on 1)

The system of claim 1, configured to, for said each given pixel or for said each given group of pixels, use at least some of the one or more given parameters, or at least part of the given model associated with the one or more given parameters, to differentiate between presence of a defect and presence of noise in the given pixel or in the given group of pixels.

### Claim 8 (depends on 1)

The system of claim 1, wherein the one or more given parameters are determined by the machine learning algorithm specifically for said each given pixel or said each given group of pixels, wherein the one or more given parameters, or data derived thereof, comprise:
data informative of an expected pixel intensity in the given pixel, or in the given group of pixels, in an absence of defects in the given pixel, or in the given group of pixels;
at least one of:
data informative of noise present in the given pixel, or in the given group of pixels;
data informative of a confidence associated with the data informative of expected pixel intensity in the given pixel or in the given group of pixels;
data enabling normalization of noise present in the given pixel or in the given group of pixels; or
data enabling differentiating between defects and noise in the given pixel or in the given group of pixels.

### Claim 9 (depends on 1)

The system of claim 1, configured to feed, to the machine learning algorithm, in addition to the first inspection image, one or more reference images informative of one or more other areas of the semiconductor specimen, or of another semiconductor specimen.

### Claim 10 (depends on 1)

The system of claim 1, wherein the machine learning algorithm has been trained with at least one training image and a loss function comprising, for each given pixel of a plurality of pixels of the training image, or for each group of pixels of a plurality of group of pixels of the training image, one or more parameters of a model modelling pixel intensity associated with the given pixel or with the given group of pixels.

### Claim 11 (depends on 1)

The system of claim 1, wherein at least one of (i) or (ii) is met:
(i) the machine learning algorithm is configured to determine, for each given pixel of a plurality of pixels of the first inspection image, or for each given group of pixels of a plurality of groups of pixels of the first inspection image, at the same time:
data informative of expected pixel intensity in the given pixel or in the given group of pixels, in an absence of defects in the given pixel or in the given group of pixels, and
data informative of noise present in the given pixel or in the given group of pixels;
(ii) the same machine learning algorithm is configured to determine, for each given pixel of a plurality of pixels of the first inspection image, or for each given group of pixels of a plurality of groups of pixels of the first inspection image:
data informative of expected pixel intensity in the given pixel or in the given group of pixels, in an absence of defects in the given pixel or in the given group of pixels, and
data informative of noise present in the given pixel or in the given group of pixels.

### Claim 12 (depends on 1)

The system of claim 1, configured to:
obtain a single inspection image informative of an area of a semiconductor specimen acquired by the examination tool,
determine one or more defects in the area based on the single inspection image, said determination comprising:
feeding the single inspection image to the machine learning algorithm configured to determine, for each given pixel of a plurality of pixels of the single inspection image, or for each given group of pixels of a plurality of groups of pixels of the first inspection image, one or more given parameters of a given model informative of pixel intensity distribution, and
for said each given pixel, or said each given group of pixels, using at least one of the one or more given parameters, or at least part of the given model associated with the one or more given parameters, and measured pixel intensity of the given pixel or of the given group of pixels, to determine whether a defect is present in the given pixel or in the given group of pixels.

### Claim 13 (depends on 1)

The system of claim 1, wherein one or more training images used to train the machine learning algorithm have at least one of a smaller height or a smaller width than the first inspection image.

### Claim 14 (depends on 1)

The system of claim 1, configured to use at least one of the one or more given parameters, or at least part of the given model associated with the one or more given parameters, to generate a new image, wherein at least one of (i) or (ii) is met:
(i) the new image is noise-free or contains less noise that the first inspection image;
(ii) the new image is defect-free or contains less defects than the first inspection image.

### Claim 15

A system comprising one or more processing circuitries configured to:
obtain:
a first training image informative of a first area of a semiconductor specimen acquired by an examination tool,
feed at least the first training image to the machine learning algorithm, to train the machine learning algorithm to determine, for each given pixel of a plurality of pixels of the first training image, or for each given group of pixels of a plurality of groups of pixels of the first training image, one or more given parameters of a given model informative of pixel intensity distribution, wherein the one or more given parameters, or the given model associated with the one or more given parameters, is usable to detect presence of a defect in the given pixel or in the given group of pixels.

### Claim 16 (depends on 15)

The system of claim 15, wherein, for said each given pixel or for said each given group of pixels, the one or more given parameters, or the given model associated with the one or more given parameters, is usable to determine pixel intensity in an absence of defects in the given pixel or in the given group of pixels.

### Claim 17 (depends on 15)

The system of claim 15, wherein one or more training images used to train the machine learning algorithm correspond to one or more inspection images of a semiconductor specimen, to which one or more artificial defects have been added.

### Claim 18

A non-transitory computer readable medium comprising instructions that, when executed by at least one or more processing circuitries, cause the at least one or more processing circuitries to perform:
obtaining a first inspection image informative of a first area of a semiconductor specimen acquired by an examination tool,
feeding at least the first inspection image to a machine learning algorithm configured to determine, for each given pixel of a plurality of pixels of the first inspection image, or for each given group of pixels of a plurality of groups of pixels of the first inspection image, one or more given parameters of a given model informative of pixel intensity distribution,
for said each given pixel, or said each given group of pixels, using:
at least one of the one or more given parameters, or at least part of the given model associated with the one or more given parameters, and
measured pixel intensity of the given pixel or of the given group of pixels,
to determine whether a defect is present in the given pixel or in the given group of pixels.

### Claim 19

A non-transitory computer readable medium comprising instructions that, when executed by one or more processing circuitries, cause the one or more processing circuitries to perform:
obtaining a first inspection image informative of a first area of a semiconductor specimen acquired by an examination tool,
feeding at least the first inspection image to a machine learning algorithm configured to determine, for each given pixel of a plurality of pixels of the first inspection image, or for each given group of pixels of a plurality of groups of pixels of the first inspection image, one or more given parameters of a given model informative of pixel intensity distribution,
for said each given pixel, or said each given group of pixels, using at least one of the one or more given parameters, or at least part of the given model associated with the one or more given parameters, to determine a new given pixel intensity value,
thereby obtaining a set of new given pixel intensity values, and
using the set of new given pixel intensity values to generate a new image.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, wherein:
each new given pixel intensity value corresponds to a given expected pixel intensity in an absence of defects in the given pixel or in the given group of pixels, and
the set of new given pixel intensity values corresponds to a set of given expected pixel intensity values,
wherein at least one of (i) or (ii) is met:
(i) the new image is noise-free or contains less noise that the first inspection image;
(ii) the new image is defect-free or contains less defects than the first inspection image.
