# US 2021/0286270 A1 · Method for decreasing uncertainty in machine learning model predictions

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

- Number: US 2021/0286270 A1
- Document ID: US20210286270A1
- Status: Published application
- Kind: A1
- Application number: 17/334,574
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2018-11-30
- Applicants: ASML Netherlands B.V.
- Inventors: Scott Anderson MIDDLEBROOKS; Markus Gerardus Martinus Maria VAN KRAAIJ; Maxim PISARENCO
- Web page: https://patentgrep.com/patent/US20210286270A1

## CPC

- G03F 7/705: {Modelling or simulating from physical phenomena up to complete wafer processes or whole workflow in wafer productions}
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G03F 1/36: Masks having proximity correction features; Preparation thereof, e.g. optical proximity correction [OPC] design processes
- G03F 7/70441: {Optical proximity correction [OPC]}
- G03F 7/70508: {Data handling in all parts of the microlithographic apparatus, e.g. handling pattern data for addressable masks or data transfer to or from different components within the exposure apparatus}
- G06F 30/347: Physical level, e.g. placement or routing
- 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/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Described herein is a method for quantifying uncertainty in parameterized (e.g., machine learning) model predictions. The method comprises causing a parameterized model to predict multiple posterior distributions from the parameterized model for a given input. The multiple posterior distributions comprise a distribution of distributions. The method comprises determining a variability of the predicted multiple posterior distributions for the given input by sampling from the distribution of distributions; and using the determined variability in the predicted multiple posterior distributions to quantify uncertainty in the parameterized model predictions. The parameterized model comprises encoder-decoder architecture. The method comprises using the determined variability in the predicted multiple posterior distributions to adjust the parameterized model to decrease the uncertainty of the parameterized model for predicting wafer geometry, overlay, and/or other information as part of a semiconductor manufacturing process.

## Claims

### Claim 1

A method for quantifying uncertainty in parameterized model predictions, the method comprising:
causing a parameterized model to predict multiple posterior distributions from the parameterized model for a given input, the multiple posterior distributions comprising a distribution of distributions;
determining a variability of the predicted multiple posterior distributions for the given input by sampling from the distribution of distributions; and
using the determined variability in the predicted multiple posterior distributions to quantify uncertainty in the parameterized model predictions.

### Claim 2 (depends on 1)

The method of claim 1, wherein the parameterized model is a machine learning model.

### Claim 3 (depends on 1)

The method of claim 1, wherein causing the parameterized model to predict the multiple posterior distributions comprises causing the parameterized model to generate the distribution of distributions using parameter dropout.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
causing the parameterized model to predict the multiple posterior distributions from the parameterized model for a given input comprises causing the parameterized model to predict a first set of multiple posterior distributions corresponding to a first posterior distribution PΘ (z|x), and a second set of multiple posterior distributions corresponding to a second posterior distribution Pϕ (y|z);
determining the variability of the predicted multiple posterior distributions for the given input by sampling from the distribution of distributions comprises determining the variability of the first and second sets of predicted multiple posterior distributions for the given input by sampling from the distribution of distributions for the first and second sets; and
using the determined variability in the predicted multiple posterior distributions to quantify the uncertainty in the parameterized model predictions comprises using the determined variability in the first and second sets of predicted multiple posterior distributions to quantify the uncertainty in the parameterized model predictions.

### Claim 5 (depends on 1)

The method of claim 1, wherein the given input comprises one or more of an image, a clip, an encoded image, an encoded clip, or data from a prior layer of the parameterized model.

### Claim 6 (depends on 1)

The method of claim 1, further comprising using the determined variability in the predicted multiple posterior distributions and/or the quantified uncertainty to adjust the parameterized model to decrease the uncertainty of the parameterized model by making the parameterized model more descriptive or including more diverse training data.

### Claim 7 (depends on 1)

The method of claim 1, wherein the parameterized model comprises encoder-decoder architecture.

### Claim 8 (depends on 7)

The method of claim 7, wherein the encoder-decoder architecture comprises variational encoder-decoder architecture, the method further comprising training the variational encoder-decoder architecture with a probabilistic latent space, which generates realizations in an output space.

### Claim 9 (depends on 8)

The method of claim 8, wherein the latent space comprises a low dimensional encoding.

### Claim 10 (depends on 9)

The method of claim 9, further comprising determining, for the given input, a conditional probability of a latent variable using an encoder part of the encoder-decoder architecture.

### Claim 11 (depends on 10)

The method of claim 10, further comprising determining a conditional probability using a decoder part of the encoder-decoder architecture.

### Claim 12 (depends on 1)

The method of claim 1, wherein sampling comprises randomly selecting distributions from the distribution of distributions, wherein the sampling is gaussian or non-gaussian.

### Claim 13 (depends on 8)

The method of claim 8, wherein the uncertainty of the parameterized model is related to an uncertainty of weights of parameters of the parameterized model, and a size and descriptiveness of the latent space.

### Claim 14 (depends on 8)

The method of claim 8, wherein using the determined variability in the predicted multiple posterior distributions to adjust the parameterized model to decrease the uncertainty of the parameterized model comprises:
increasing a training set size and/or adding to a dimensionality of the latent space;
adding additional dimensionality to the latent space; or
training the parameterized model with additional and more diverse training samples.

### Claim 15

A computer program product comprising a non-transitory computer readable medium having instructions recorded thereon, the instructions when executed by a computer implementing a method comprising:
causing a parameterized model to predict multiple posterior distributions from the parameterized model for a given input, the multiple posterior distributions comprising a distribution of distributions;
determining a variability of the predicted multiple posterior distributions for the given input by sampling from the distribution of distributions; and
using the determined variability in the predicted multiple posterior distributions to quantify uncertainty in the parameterized model predictions.
