# US 2025/0148186 A1 · Method and apparatus for determining root-cause defect, and storage medium

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

- Number: US 2025/0148186 A1
- Document ID: US20250148186A1
- Status: Published application
- Kind: A1
- Application number: 19/011,809
- Filed: 2025-01-07
- Published: 2025-05-08
- Earliest claimed: 2022-07-08
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Shoubo HU; Zhitang CHEN; Xiaopeng ZHANG; Shengyu ZHU; Pengyun LI; Jianxin MIAO; Yu HUANG
- Web page: https://patentgrep.com/patent/US20250148186A1

## CPC

- G06F 30/398: Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM] (optical proximity correction [OPC] design processes G03F1/36)
- G06N 3/045: Combinations of networks
- G06F 30/27: using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/08: Learning methods
- G06F 2111/08: Probabilistic or stochastic CAD
- G06F 2119/02: Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]
- G06F 2119/18: Manufacturability analysis or optimisation for manufacturability
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

This application relates to a method and an apparatus for determining a root-cause defect, and a storage medium. The method includes: obtaining a layout of a chip and diagnosis information of a defect in the chip; determining first feature information based on the layout and the diagnosis information; and determining, based on the first feature information by using a neural network model. With the described technology, both a design defect and a manufacturing defect of a chip can be considered, so that inference for a root cause is more comprehensive. In addition, an interaction relationship between complex root causes can be considered, so that a root-cause defect determined through inference is more accurate. In this way, assistance can be better provided in subsequent improvement of a chip-related design or a manufacturing technique, to reduce an increase in costs caused by a low yield rate.

## Claims

### Claim 1

A method for determining a root-cause defect, wherein the method comprises:
obtaining a layout of a chip and diagnosis information of a defect in the chip;
determining first feature information based on the layout and the diagnosis information, wherein the first feature information comprises feature information respectively corresponding to a manufacturing defect and a design defect; and
determining, based on the first feature information and by using a neural network model, a defect that is a root cause from the manufacturing defect and the design defect.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining, based on the first feature information and by using a neural network model, a defect that is a root cause from the manufacturing defect and the design defect comprises:
determining second feature information based on the first feature information and by using the neural network model, wherein the second feature information indicates a probability distribution of the manufacturing defect and the design defect; and
wherein the determining, based on the first feature information and by using a neural network model, a defect that is a root cause from the manufacturing defect and the design defect comprises determining, based on the second feature information and by using the neural network model, the defect that is the root cause from the manufacturing defect and the design defect.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the neural network model is a latent variable model, the second feature information is optimized second feature information, and the determining second feature information based on the first feature information and by using the neural network model comprises:
inputting the first feature information to an encoder of the latent variable model to determine initial second feature information;
inputting the initial second feature information to a decoder of the latent variable model to determine third feature information;
calculating, based on the initial second feature information, a first loss function value corresponding to the encoder;
calculating, based on the third feature information, a second loss function value corresponding to the decoder;
optimizing the latent variable model based on the first loss function value and the second loss function value to determine an optimized latent variable model; and
determining the optimized second feature information based on the optimized latent variable model.

### Claim 4 (depends on 3)

The method according to claim 3, wherein a feature value in the third feature information is 0 or 1.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the encoder is configured to construct a multivariate Gaussian distribution or a multivariate t distribution.

### Claim 6 (depends on 3)

The method according to claim 3, wherein a structure of the decoder is any one of: a multilayer perceptron, a graph convolutional neural network, or a graph attention network.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the diagnosis information comprises first diagnosis information corresponding to the design defect, and the determining first feature information based on the layout and the diagnosis information comprises:
determining a layout segment in the layout based on the layout and the diagnosis information, wherein the layout segment corresponds to a location of the design defect;
clustering equivalent layout segments in the layout segment to determine an equivalence class; and
determining, based on first diagnosis information corresponding to the equivalence class, feature information that is in the first feature information and that corresponds to the design defect.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the equivalence class comprises at least one of rotation equivalence, mirror equivalence, or translation equivalence between layout segments in the equivalence class.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the diagnosis information comprises second diagnosis information corresponding to the manufacturing defect, and the determining first feature information based on the layout and the diagnosis information comprises:
determining, based on the second diagnosis information, feature information that is in the first feature information and that corresponds to the manufacturing defect.

### Claim 10

An apparatus for determining a root-cause defect, comprising:
a processor; and
a memory for storing processor-executable instructions, wherein
the processor, when executing the instructions, is configured to implement:
obtain a layout of a chip and diagnosis information of a defect in the chip;
determine first feature information based on the layout and the diagnosis information, wherein the first feature information comprises feature information respectively corresponding to a manufacturing defect and a design defect; and
determine, based on the first feature information and by using a neural network model, a defect that is a root cause from the manufacturing defect and the design defect.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the determine, based on the first feature information and by using a neural network model, a defect that is a root cause from the manufacturing defect and the design defect comprises:
determine second feature information based on the first feature information and by using the neural network model, wherein the second feature information indicates a probability distribution of the manufacturing defect and the design defect; and
wherein the determining, based on the first feature information and by using a neural network model, a defect that is a root cause from the manufacturing defect and the design defect comprises determine, based on the second feature information and by using the neural network model, the defect that is the root cause from the manufacturing defect and the design defect.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the neural network model is a latent variable model, the second feature information is optimized second feature information, and the determine second feature information based on the first feature information by using the neural network model comprises:
input the first feature information to an encoder of the latent variable model to determine initial second feature information;
input the initial second feature information to a decoder of the latent variable model to determine third feature information;
calculate, based on the initial second feature information, a first loss function value corresponding to the encoder;
calculate, based on the third feature information, a second loss function value corresponding to the decoder;
optimize the latent variable model based on the first loss function value and the second loss function value to determine an optimized latent variable model; and
determine the optimized second feature information based on the optimized latent variable model.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein a feature value in the third feature information is 0 or 1.

### Claim 14 (depends on 12)

The apparatus according to claim 12, wherein the encoder is configured to construct a multivariate Gaussian distribution or a multivariate t distribution.

### Claim 15 (depends on 12)

The apparatus according to claim 12, wherein a structure of the decoder is any one of: a multilayer perceptron, a graph convolutional neural network, or a graph attention network.

### Claim 16

A non-transitory nonvolatile computer-readable storage medium, wherein the non-transitory nonvolatile computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the processor is instructed to perform operations comprising:
obtaining a layout of a chip and diagnosis information of a defect in the chip;
determining first feature information based on the layout and the diagnosis information, wherein the first feature information comprises feature information respectively corresponding to a manufacturing defect and a design defect; and
determining, based on the first feature information and by using a neural network model, a defect that is a root cause from the manufacturing defect and the design defect.

### Claim 17 (depends on 16)

The storage medium according to claim 16, wherein the determining, based on the first feature information and by using a neural network model, a defect that is a root cause from the manufacturing defect and the design defect comprises:
determine second feature information based on the first feature information by using the neural network model, wherein the second feature information indicates a probability distribution of the manufacturing defect and the design defect; and
wherein the determining, based on the first feature information and by using a neural network model, a defect that is a root cause from the manufacturing defect and the design defect comprises determining, based on the second feature information and by using the neural network model, the defect that is the root cause from the manufacturing defect and the design defect.

### Claim 18 (depends on 17)

The storage medium according to claim 17, wherein the neural network model is a latent variable model, the second feature information is optimized second feature information, and the determine second feature information based on the first feature information and by using the neural network model comprises:
input the first feature information to an encoder of the latent variable model to determine initial second feature information;
input the initial second feature information to a decoder of the latent variable model to determine third feature information;
calculate, based on the initial second feature information, a first loss function value corresponding to the encoder;
calculate, based on the third feature information, a second loss function value corresponding to the decoder;
optimize the latent variable model based on the first loss function value and the second loss function value to determine an optimized latent variable model; and
determine the optimized second feature information based on the optimized latent variable model.

### Claim 19 (depends on 18)

The storage medium according to claim 18, wherein a feature value in the third feature information is 0 or 1.

### Claim 20 (depends on 18)

The storage medium according to claim 18, wherein the encoder is configured to construct a multivariate Gaussian distribution or a multivariate t distribution.
