# US 2022/0284344 A1 · Method for training machine learning model for improving patterning process

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

- Number: US 2022/0284344 A1
- Document ID: US20220284344A1
- Status: Published application
- Kind: A1
- Application number: 17/631,557
- Filed: 2020-07-30
- Published: 2022-09-08
- Earliest claimed: 2019-08-13
- Assignees: ASML Netherlands B.V.
- Applicants: Asml Netherlands B.V.
- Inventors: Ziyang MA; Jin CHENG; Ya LUO; Leiwu ZHENG; Xin GUO; Jen-Shiang WANG
- Web page: https://patentgrep.com/patent/US20220284344A1

## CPC

- G03F 7/705: {Modelling or simulating from physical phenomena up to complete wafer processes or whole workflow in wafer productions}
- G06N 20/00: Machine learning
- G03F 1/36: Masks having proximity correction features; Preparation thereof, e.g. optical proximity correction [OPC] design processes
- G03F 7/70625: {Dimensions, e.g. line width, critical dimension [CD], profile, sidewall angle or edge roughness}
- G03F 7/70666: {Aerial image, i.e. measuring the image of the patterned exposure light at the image plane of the projection system}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/09: Supervised learning
- G06N 3/047: Probabilistic or stochastic networks
- G03F: PHOTOMECHANICAL PRODUCTION OF TEXTURED OR PATTERNED SURFACES, e.g. FOR PRINTING, FOR PROCESSING OF SEMICONDUCTOR DEVICES; MATERIALS THEREFOR; ORIGINALS THEREFOR; APPARATUS SPECIALLY ADAPTED THEREFOR; (phototypographic composing devices B41B; photosensitive materials or processes for photographic purposes G03C; electrophotography, sensitive layers or processes therefor G03G)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for training a machine learning model configured to predict values of a physical characteristic associated with a substrate and for use in adjusting a patterning process. The method involves obtaining a reference image; determining a first set of model parameter values of the machine learning model such that a first cost function is reduced from an initial value of the cost function obtained using an initial set of model parameter values, where the first cost function is a difference between the reference image and an image generated via the machine learning model; and training, using the first set of model parameter values, the machine learning model such that a combination of the first cost function and a second cost function is iteratively reduced, the second cost function representing a difference between measured values and predicted values.

## Claims

### Claim 1

A method of training a machine learning model configured to predict values of a physical characteristic associated with a substrate and for use in adjusting a patterning process, the method comprising:
obtaining a reference image associated with a desired pattern to be printed on the substrate;
determining a first set of model parameter values of the machine learning model such that a first cost function is reduced from a value of the first cost function obtained by using initial model parameter values, wherein the first cost function represents a difference between the reference image and an image generated via the machine learning model; and
training, by using the set of model parameter values, the machine learning model based on combination of the first cost function and a second cost function,
wherein the second cost function represents a difference between measured values and predicted values of the physical characteristic associated with the desired pattern, wherein the predicted values are predicted via the machine learning model.

### Claim 2 (depends on 1)

The method of claim 1, wherein the obtaining of the reference image comprises executing a process model that models a portion of the patterning process and configured to generate the reference image as output.

### Claim 3 (depends on 2)

The method of claim 2, wherein the process model is a calibrated model of an optics model, a resist model, and/or an etch model of the patterning process.

### Claim 4 (depends on 1)

The method of claim 1, wherein the reference image is an aerial image, a resist image, and/or an etch image of the desired pattern.

### Claim 5 (depends on 1)

The method of claim 1, wherein the determining the set of model parameter values of the machine learning model is an iterative process, an iteration comprising:
generating the image generated via the machine learning model by executing the machine learning model using the desired pattern;
determining the difference between the generated image and the reference image; and
adjusting one or more model parameter values of the machine learning model such that the difference is reduced.

### Claim 6 (depends on 1)

The method of claim 1, wherein the training of the machine learning model is an iterative process and comprises initializing model parameters of the machine learning model with the set of model parameter values, an iteration comprising:
predicting the predicted values of the physical characteristic associated with the substrate by executing the machine learning model using the desired pattern;
obtaining the measured values of the physical characteristic of a desired printed pattern on the substrate; and
adjusting one or more model parameter values of the machine learning model such that the combination of the first cost function and the second cost function is reduced.

### Claim 7 (depends on 6)

The method of claim 6, wherein the adjusting one or more model parameter values is based on a gradient descent of the combination of the first cost function and the second cost function.

### Claim 8 (depends on 1)

The method of claim 1, wherein the machine learning model is a convolutional neural network, and wherein model parameters include a weight and/or bias associated with one or more layers of the convolutional neural network.

### Claim 9 (depends on 1)

The method of claim 1, wherein the physical characteristic associated with a substrate is a critical dimension (CD) or an edge placement error associated with the desired pattern, and wherein the measured values are CD values obtained via a metrology tool.

### Claim 10 (depends on 1)

The method of claim 1, wherein the measured values are intensity values of an aerial image associated with the desired pattern.

### Claim 11 (depends on 1)

The method of claim 1, further comprising training, by using the set of model parameter values, the machine learning model such that a combination of the first cost function, the second cost function, and a third cost function is reduced, wherein the third cost function is a function of a grid dependency.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
predicting, via the trained machine learning model, substrate images for a design layout; and
determining, via optical proximity correction (OPC) simulation using the design layout and the predicted substrate images, a mask layout to be used for manufacturing a mask for a patterning process.

### Claim 13 (depends on 12)

The method of claim 12, wherein the OPC simulation comprises:
determining a simulated pattern that will be printed on a substrate; and
determining optical proximity corrections to the design layout such that a difference between the simulated pattern and the design layout is reduced.

### Claim 14 (depends on 12)

The method of claim 12, wherein the determining the mask layout comprises extracting one or more assist features from the predicted post-OPC image of the machine learning model.

### Claim 15

A computer program product comprising a non-transitory computer readable medium having instructions therein, the instructions, when executed by a computer system, configured to cause the computer system to at least:
obtain a reference image associated with a desired pattern to be printed on a substrate;
determine a set of model parameter values of a machine learning model such that a first cost function is reduced from a value of the first cost function obtained by using initial model parameter values, wherein the first cost function represents a difference between the reference image and an image generated via the machine learning model and the machine learning model configured to predict values of a physical characteristic associated with a substrate and for use in adjusting a patterning process; and
train, by using the set of model parameter values, the machine learning model based on a combination of the first cost function and a second cost function,
wherein the second cost function represents a difference between measured values and predicted values of the physical characteristic associated with the desired pattern, wherein the predicted values are predicted via the machine learning model.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the instructions configured to cause the computer system to obtain the reference image are further configured to cause the computer system to execute a process model that models a portion of the patterning process and configured to generate the reference image as output.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the machine learning model is a convolutional neural network, and wherein model parameters include a weight and/or bias associated with one or more layers of the convolutional neural network.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the instructions are further configured to cause the computer system to train, by using the set of model parameter values, the machine learning model such that a combination of the first cost function, the second cost function, and a third cost function is reduced, wherein the third cost function is a function of a grid dependency.

### Claim 19 (depends on 1)

The method of claim 1, wherein the combination of the first cost function (CF1) and the second cost function (CF2) is computed using an expression c1*CF1+c2*CF2, where c1 and c2 are coefficients.

### Claim 20 (depends on 8)

The method of claim 8, wherein weights of the convolution neural network are adjusted to reduce edge placement error or a model error associated with a model of the patterning process being trained.
