# US 2025/0028954 A1 · Method and computing device for generating neural network model and performing circuit simulation by using the neural network model

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

- Number: US 2025/0028954 A1
- Document ID: US20250028954A1
- Status: Published application
- Kind: A1
- Application number: 18/768,183
- Filed: 2024-07-10
- Published: 2025-01-23
- Earliest claimed: 2023-07-18
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Sanghoon Myung; Kyeyeop Kim; Jaehoon Jeong; Yunji Choi; Songyi Han
- Web page: https://patentgrep.com/patent/US20250028954A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/045: Combinations of networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method of generating a neural network model and performing a circuit simulation by using the neural network model is presented. The method includes generating sample data by performing a process simulation based on a temperature and a process parameter, training the neural network model based on the sample data, performing a lightweight operation on the neural network model to generate a lightweight neural network model, re-training the lightweight neural network model, and performing the circuit simulation with the process parameter as an input by using the re-trained lightweight neural network model.

## Claims

### Claim 1

A method of generating a neural network model and performing a circuit simulation by using the neural network model, the method comprising:
generating sample data by performing a process simulation based on a temperature and a process parameter;
training the neural network model based on the sample data;
performing a lightweight operation on the neural network model to generate a lightweight neural network model;
re-training the lightweight neural network model; and
performing the circuit simulation with the process parameter as an input by using the re-trained lightweight neural network model.

### Claim 2 (depends on 1)

The method of claim 1, wherein the sample data comprises first simulator output data, second simulator output data, and third simulator output data, and
wherein the first simulator output data comprises current-voltage average data and charge-voltage average data, the second simulator output data comprises current-voltage local variance data and charge-voltage local variance data, and the third simulator output data comprises current-voltage global variance data and charge-voltage global variance data.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the sample data by performing the process simulation based on the temperature and the process parameter comprises:
receiving, by a process simulator, input data comprising at least the temperature and the process parameter;
performing, by the process simulator, the process simulation;
performing, by the process simulator, a device simulation; and
generating, by the process simulator, the sample data comprising at least current-voltage average data and charge-voltage average data.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the sample data by performing the process simulation based on the temperature and the process parameter comprises:
receiving, by a process simulator, input data comprising at least the temperature and the process parameter;
performing, by the process simulator, the process simulation;
performing, by the process simulator, a device simulation for a random dopant fluctuation and a random geometry fluctuation, based on a doping profile; and
generating, by the process simulator, the sample data comprising at least current-voltage local variance data and charge-voltage local variance data.

### Claim 5 (depends on 1)

The method of claim 1, wherein generating the sample data by performing the process simulation based on the temperature and the process parameter comprises:
receiving, by a process simulator, input data comprising at least the temperature, the process parameter and also reflecting a process variation;
performing, by the process simulator, the process simulation;
performing, by the process simulator, a device simulation; and
generating, by the process simulator, the sample data comprising at least current-voltage global variance data and charge-voltage global variance data.

### Claim 6 (depends on 1)

The method of claim 1, wherein the neural network model is configured to receive a voltage and the process parameter as input data and output a current value and a charge value as output data.

### Claim 7 (depends on 6)

The method of claim 6, wherein the neural network model comprises an input layer, one or more hidden layers, an output layer, and a conversion function unit, and
wherein the conversion function unit is configured to:
convert a first output value corresponding to the current value received from the output layer, based on a first equation, I=I0·V·sinh(y), wherein I0 indicates a first normalization factor, Vindicates a voltage between a source and a drain, and y indicates the first output value;
output the first converted output value as a first output data;
convert a second output value corresponding to the charge value received from the output layer, based on a second equation, Q=Q0·x, wherein Q0 indicates a second normalization factor, and x indicates the second output value; and
output the second converted output value as a second output data.

### Claim 8 (depends on 1)

The method of claim 1, wherein the neural network model is configured to receive a voltage and the process parameter as input data and output a first output parameter and a second output parameter as output data, and
wherein the first output parameter comprises at least one of current average data, current local variance data, charge average data, and charge local variance data, and
the second output parameter comprises at least one of current average data, current global variance data, charge average data, and charge global variance data.

### Claim 9 (depends on 1)

The method of claim 1, wherein training the neural network model based on the sample data comprises:
generating output data comprising a first output parameter and a second output parameter;
calculating a value of a loss function based on the output data and target data in the sample data; and
updating the neural network model to reduce the value of the loss function.

### Claim 10 (depends on 9)

The method of claim 9, wherein the loss function is defined by an equation:
Loss
=
D
KL
(
N
⁡
(
μ
P
G
,
σ
P
G
2
)
,
N
⁡
(
μ
T
G
,
σ
T
G
2
)
)
+
D
KL
(
N
⁡
(
μ
P
L
,
σ
P
L
2
)
,
N
⁡
(
μ
T
L
,
σ
T
L
2
)
)
wherein, Loss indicates the loss function, DKL indicates a Kullback-Leibler divergence, N indicates a normal distribution, μPG indicates average data in the second output parameter, σPG2 indicates global variance data in the second output parameter, μTG indicates average data in the target data, σTG2 indicates global variance data in the target data, μPL indicates average data in the first output parameter, σPL2 indicates local variance data in the first output parameter, μTL indicates average data in the target data, and σTL2 indicates local variance data in the target data.

### Claim 11 (depends on 1)

The method of claim 1, wherein training the neural network model based on the sample data comprises training the neural network model based on all weights,
performing the lightweight operation on the neural network model comprises:
splitting the weights into a first weight group and a second weight group; and
initializing weights of the first weight group,
re-training the lightweight neural network model comprises re-training the neural network model based on weights included in the second weight group, and
a number of weights included in the first weight group is half a number of all weights.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
dividing the sample data into training data used in the training of the neural network model and validation data used in the re-training of the lightweight neural network model;
determining whether a fit between target data and output data of the neural network model is accurate;
adjusting a parameter of the neural network model until a threshold fit between the target data and the output data is reached;
after the re-training of the lightweight neural network model, converting the lightweight neural network model into a format corresponding to a circuit simulator; and
determining whether characteristics of a circuit resulting from the circuit simulation satisfy requirements.

### Claim 13 (depends on 1)

The method of claim 1, further comprising performing a calibration operation based on output data of the neural network model and measurement data in the sample data.

### Claim 14

A computing device comprising at least one processor and a memory,
wherein the memory stores instructions that, when executed by the at least one processor, allow the at least one processor to generate a neural network model and perform a circuit simulation by using the neural network model, and
the at least one processor is configured to:
generate sample data by performing a process simulation based on a temperature and a process parameter;
train the neural network model based on the sample data;
perform a lightweight operation on the neural network model to generate a lightweight neural network model;
re-train a lightweight neural network model; and
perform the circuit simulation with the process parameter as an input by using the re-trained lightweight neural network model.

### Claim 15 (depends on 14)

The computing device of claim 14, wherein the sample data comprises first simulator output data, second simulator output data, and third simulator output data, and
wherein the first simulator output data comprises current-voltage average data and charge-voltage average data, the second simulator output data comprises current-voltage local variance data and charge-voltage local variance data, and the third simulator output data comprises current-voltage global variance data and charge-voltage global variance data.

### Claim 16 (depends on 14)

The computing device of claim 14, wherein the neural network model comprises:
an input layer configured to receive a voltage and the process parameter as input data;
one or more hidden layers;
an output layer; and
a conversion function unit configured to convert an output value received from the output layer and output a current value and a charge value as output data.

### Claim 17 (depends on 14)

The computing device of claim 14, wherein the neural network model comprises:
an input layer configured to receive a voltage and the process parameter as input data;
one or more hidden layers;
an output layer; and
a conversion function unit configured to convert an output value received from the output layer and output a first output parameter and a second output parameter as output data, and
wherein the first output parameter comprises at least one of current average data, current local variance data, charge average data, and charge local variance data, and
the second output parameter comprises at least one of current average data, current global variance data, charge average data, and charge global variance data.

### Claim 18 (depends on 14)

The computing device of claim 14, wherein the training of the neural network model based on the sample data comprises:
generating output data;
calculating a value of a loss function based on the output data and target data in the sample data; and
training the neural network model to reduce the calculated value of the loss function.

### Claim 19 (depends on 14)

The computing device of claim 14, wherein training the neural network model based on the sample data comprises training the neural network model based on all weights,
performing the lightweight operation on the neural network model to generate the lightweight neural network model comprises:
splitting the weights into a first weight group and a second weight group; and
initializing weights of the first weight group,
re-training the lightweight neural network model comprises re-training the lightweight neural network model based on weights included in the second weight group, and
a number of weights included in the first weight group is half a number of all weights.

### Claim 20

A method of generating a neural network model and performing a circuit simulation by using the neural network model, the method comprising:
generating sample data by performing a process simulation based on a temperature and a process parameter;
dividing the sample data into training data and validation data;
training the neural network model based on the training data;
determining whether a fit between target data and output data of the neural network model is accurate;
adjusting a parameter of the neural network model until a threshold fit between the target data and the output data is reached;
performing a lightweight operation on the neural network model to generate a lightweight neural network model;
re-training the lightweight neural network model based on the validation data;
converting the lightweight neural network model into a format corresponding to a circuit simulator; and
performing the circuit simulation with the process parameter as an input by using the converted lightweight neural network model
