# US 2026/0093987 A1 · Computer system and method for quantizing artificial 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 2026/0093987 A1
- Document ID: US20260093987A1
- Status: Published application
- Kind: A1
- Application number: 18/945,122
- Filed: 2024-11-12
- Published: 2026-04-02
- Earliest claimed: 2024-09-30
- Assignees: Nota, Inc.
- Applicants: Nota, Inc.
- Inventors: Tairen Piao; Shinkook Choi
- Web page: https://patentgrep.com/patent/US20260093987A1

## CPC

- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/048: Activation functions
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Provided is a quantization method of an artificial neural network model including a plurality of layers. The quantization method includes identifying an outlier from among activation elements output from a first layer among the layers of the artificial neural network model, determining and regularizing a weight to be regularized among weights applied to the first layer based on relevance with the identified outlier, and quantizing the artificial neural network model after the quantization.

## Claims

### Claim 1

A quantization method of an artificial neural network model including a plurality of layers, performed by a computer system, the quantization method comprising:
identifying at least one first outlier from among first activation elements output from a first layer among the layers;
identifying second weight elements associated with the first outlier from among first weight elements applied in the first layer;
regularizing a second weight element determined based on relevance with the first outlier, among the identified second weight elements; and
performing quantization for at least one of third weight elements applied in the first layer after the regularization or activation elements output from the first layer.

### Claim 2 (depends on 1)

The quantization method of claim 1, further comprising:
identifying second activation elements associated with the first outlier from among input activation elements that are input to the first layer,
wherein the first outlier is calculated by operation between the second activation elements and the second weight elements, and
the regularizing of the second weight element comprises determining a second weight element corresponding to a main contributing factor in calculating the first outlier among the second weight elements as the second weight element subject to regularization.

### Claim 3 (depends on 2)

The quantization method of claim 2, wherein each of the first activation elements is an element included in a first activation matrix,
each of the input activation elements is an element included in an input activation matrix, and
each of the first weight elements is an element included in a first weight matrix.

### Claim 4 (depends on 3)

The quantization method of claim 3, wherein the identifying of the second weight elements comprises identifying a column of the first weight matrix used to calculate an element corresponding to the first outlier of the first activation matrix,
the identifying of the second activation elements comprises identifying a row of the input activation matrix used to calculate the element corresponding to the first outlier of the first activation matrix, and
the second weight element corresponding to the main contributing factor is an element of the column of the first weight matrix corresponding to a largest value among element-wise products of the row of the input activation matrix and the column of the first weight matrix.

### Claim 5 (depends on 1)

The quantization method of claim 1, wherein the relevance with the first outlier is determined in consideration of second activation elements calculated with the second weight elements among input activation elements that are input to the first layer.

### Claim 6 (depends on 1)

The quantization method of claim 1, wherein the regularizing of the determined second weight element comprises pruning the determined second weight element.

### Claim 7 (depends on 1)

The quantization method of claim 1, wherein the regularizing is performed during quantization calibration on the artificial neural network model.

### Claim 8 (depends on 7)

The quantization method of claim 7, wherein the first activation elements are acquired by averaging the activation elements output from the first layer for each of sample inputs used for the quantization calibration.

### Claim 9 (depends on 1)

The quantization method of claim 1, further comprising:
identifying at least one outlier from among activation elements output from a second layer that follows the first layer among the layers;
identifying weight elements associated with the identified outlier from among weight elements applied in the second layer;
determining a weight element having the highest relevance with the identified outlier among the identified weight elements; and
regularizing the weight element having the highest relevance with the outlier.

### Claim 10 (depends on 1)

The quantization method of claim 1, wherein the first layer is an input layer that is the first layer of the artificial neural network model.

### Claim 11 (depends on 1)

The quantization method of claim 1, wherein operations comprising the identifying of the first outlier, the identifying of the second weight elements, and the regularizing are sequentially performed for each layer, starting from an input layer that is the first layer of the artificial neural network model among the layers, and are performed until the artificial neural network model satisfies a preset maximum pruning rate.

### Claim 12 (depends on 11)

The quantization method of claim 11, wherein the maximum pruning rate is determined by:
setting an initial pruning rate;
comparing an inference result by a model in which the artificial neural network model is pruned while increasing the initial pruning rate and an inference result by an initial model that is the artificial neural network model; and
determining the maximum pruning rate as a value that increases the initial pruning rate, based on a change in the comparison result.

### Claim 13 (depends on 1)

The quantization method of claim 1, wherein the identifying of the first outlier comprises identifying the first outlier from among the first activation elements based on median absolute deviation (MAD) and a predetermined rate or number of the first activation elements.

### Claim 14 (depends on 13)

The quantization method of claim 13, wherein the predetermined rate or number is determined based on the total number of weight elements of the artificial neural network model.

### Claim 15 (depends on 1)

A non-transitory computer-readable recording medium to execute the method of claim 1 on the computer system.

### Claim 16

A computer system to perform quantization of an artificial neural network model including a plurality of layers, the computer system comprising:
at least one processor configured to execute computer-readable instructions in the computer system,
wherein the at least one processor is configured to identify at least one first outlier from among first activation elements output from a first layer among the layers, to identify second weight elements associated with the first outlier from among first weight elements applied in the first layer, to regularize a second weight element determined based on relevance with the first outlier, among the identified second weight elements, and to perform quantization for at least one of third weight elements applied in the first layer after the regularization or activation elements output from the first layer.
