# US 2019/0294923 A1 · Training a machine learning model with synthetic images

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

- Number: US 2019/0294923 A1
- Document ID: US20190294923A1
- Status: Published application
- Kind: A1
- Application number: 16/357,360
- Filed: 2019-03-19
- Published: 2019-09-26
- Earliest claimed: 2018-03-21
- Assignees: KLA-Tencor Corporation
- Applicants: KLA-Tencor Corporation
- Inventors: Ian Riley; Li He; Sankar Venkataraman; Michael Kowalski; Arjun Hegde
- Web page: https://patentgrep.com/patent/US20190294923A1

## CPC

- G06T 7/0004: {Industrial image inspection}
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/24: Classification techniques
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06T 7/001: {using an image reference approach}
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/776: Validation; Performance evaluation
- G06V 10/82: using neural networks
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T 2207/10061: from scanning electron microscope
- 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
- 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 training a machine learning model using synthetic defect images are provided. One system includes one or more components executed by one or more computer subsystems. The one or more components include a graphical user interface (GUI) configured for displaying one or more images for a specimen and image editing tools to a user and for receiving input from the user that includes one or more alterations to at least one of the images using one or more of the image editing tools. The component(s) also include an image processing module configured for applying the alteration(s) to the at least one image thereby generating at least one modified image and storing the at least one modified image in a training set. The computer subsystem(s) are configured for training a machine learning model with the training set in which the at least one modified image is stored.

## Claims

### Claim 1

A system configured to train a machine learning model, comprising:
one or more computer subsystems; and
one or more components executed by the one or more computer subsystems, wherein the one or more components comprise:
a graphical user interface (GUI) configured for:
displaying one or more images for a specimen and image editing tools to a user; and
receiving input from the user, wherein the input comprises one or more alterations to at least one of the one or more images using one or more of the image editing tools;
an image processing module configured for applying the one or more alterations to the at least one of the one or more images thereby generating at least one modified image and storing the at least one modified image in a training set; and
a machine learning model configured for performing one or more functions for the specimen using images generated for the specimen by an imaging subsystem;
wherein the one or more computer subsystems are configured for training the machine learning model with the training set in which the at least one modified image is stored.

### Claim 2 (depends on 1)

The system of claim 1, wherein the one or more images displayed in the GUI are images included in an initial training set, and wherein the storing comprises adding the at least one modified image to the initial training set thereby generating the training set.

### Claim 3 (depends on 1)

The system of claim 1, wherein the one or more alterations comprise annotating the at least one of the one or more images with a defect class label.

### Claim 4 (depends on 1)

The system of claim 1, wherein the one or more alterations comprise creating a synthetic defect in the at least one of the one or more images.

### Claim 5 (depends on 1)

The system of claim 1, wherein the one or more alterations comprise one or more manually drawn alterations input by the user with a drawing tool included in the image editing tools.

### Claim 6 (depends on 1)

The system of claim 1, wherein the one or more alterations comprise pasting a portion of an image corresponding to a known defect of interest into the at least one of the one or more images.

### Claim 7 (depends on 1)

The system of claim 1, wherein the one or more alterations comprise creating a synthetic defect in the at least one of the one or more images based on one or more characteristics of a known defect of interest for the specimen.

### Claim 8 (depends on 1)

The system of claim 1, wherein the one or more images displayed in the GUI are images in an initial training set, wherein the initial training set does not comprise any instances of a known defect of interest for the specimen, wherein the one or more alterations comprise creating a synthetic defect in the at least one of the one or more images based on one or more characteristics of the known defect of interest, and wherein the storing comprises adding the at least one modified image to the initial training set thereby generating the training set.

### Claim 9 (depends on 1)

The system of claim 1, wherein the one or more images displayed in the GUI are images in an initial training set, wherein the initial training set comprises fewer than a predetermined number of instances of a known defect of interest for the specimen, wherein the one or more alterations comprise creating one or more synthetic defects in the at least one of the one or more images based on one or more characteristics of the known defect of interest thereby generating one or more of the at least one modified image, and wherein the storing comprises adding the one or more of the at least one modified image to the initial training set thereby generating the training set.

### Claim 10 (depends on 1)

The system of claim 1, wherein the one or more alterations comprise one or more modifications to a portion of the at least one of the one or more images corresponding to a defect, and wherein generating the at least one modified image comprises generating a new image based on the one or more modifications.

### Claim 11 (depends on 10)

The system of claim 10, wherein the one or more modifications comprise scaling, rotating, edge blurring, or intensity modification.

### Claim 12 (depends on 1)

The system of claim 1, wherein the GUI is further configured for displaying results of the training to the user.

### Claim 13 (depends on 1)

The system of claim 1, wherein the GUI is further configured for displaying results of the one or more functions performed by the trained machine learning model for the specimen or another specimen using the images generated for the specimen or the other specimen, respectively, by the imaging subsystem.

### Claim 14 (depends on 13)

The system of claim 13, wherein the GUI is further configured for receiving additional input from the user in response to displaying the results of the one or more functions performed by the trained machine learning model for the specimen or the other specimen.

### Claim 15 (depends on 14)

The system of claim 14, wherein the additional input comprises a validity of the results of the one or more functions performed by the trained machine learning model for the specimen or the other specimen.

### Claim 16 (depends on 14)

The system of claim 14, wherein the one or more functions comprise detecting defects on the specimen or the other specimen, wherein the additional input comprises a selection of one or more of the detected defects for the image processing module to store in the training set thereby generating a modified training set, and wherein the one or more computer subsystems are further configured for re-training the machine learning model with the modified training set.

### Claim 17 (depends on 1)

The system of claim 1, wherein the one or more functions comprise detecting defects on the specimen.

### Claim 18 (depends on 1)

The system of claim 1, wherein the one or more functions comprise classifying defects detected on the specimen.

### Claim 19 (depends on 1)

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

### Claim 20 (depends on 1)

The system of claim 1, wherein the imaging subsystem is configured as an optical based imaging subsystem.

### Claim 21 (depends on 1)

The system of claim 1, wherein the specimen is a wafer.

### Claim 22 (depends on 1)

The system of claim 1, wherein the specimen is a reticle.

### Claim 23

A non-transitory computer-readable medium, storing program instructions executable on one or more computer systems for performing a computer-implemented method for training a machine learning model, wherein the computer-implemented method comprises:
displaying one or more images for a specimen and image editing tools to a user with a graphical user interface (GUI);
receiving input from the user via the GUI, wherein the input comprises one or more alterations to at least one of the one or more images using one or more of the image editing tools;
applying the one or more alterations to the at least one of the one or more images thereby generating at least one modified image;
storing the at least one modified image in a training set, wherein said applying and said storing are performed by an image processing module; and
training a machine learning model with the training set in which the at least one modified image is stored, wherein the machine learning model is configured for performing one or more functions for the specimen using images generated for the specimen by an imaging subsystem, wherein the GUI, the image processing module, and the machine learning model are included in one or more components executed by the one or more computer systems, and wherein the training is performed by the one or more computer systems.

### Claim 24

A computer-implemented method for training a machine learning model, comprising:
displaying one or more images for a specimen and image editing tools to a user with a graphical user interface (GUI);
receiving input from the user via the GUI, wherein the input comprises one or more alterations to at least one of the one or more images using one or more of the image editing tools;
applying the one or more alterations to the at least one of the one or more images thereby generating at least one modified image;
storing the at least one modified image in a training set, wherein said applying and said storing are performed by an image processing module; and
training a machine learning model with the training set in which the at least one modified image is stored, wherein the machine learning model is configured for performing one or more functions for the specimen using images generated for the specimen by an imaging subsystem, wherein the GUI, the image processing module, and the machine learning model are included in one or more components executed by one or more computer subsystems, and wherein the training is performed by the one or more computer subsystems.
