# US 2026/0073200 A1 · Jointly Pruning and Quantizing a Neural Network

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

- Number: US 2026/0073200 A1
- Document ID: US20260073200A1
- Status: Published application
- Kind: A1
- Application number: 18/828,005
- Filed: 2024-09-09
- Published: 2026-03-12
- Earliest claimed: 2024-09-09
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Tianyi CHEN; Tianyu DING; Xiaoyi QU; David APONTE; Ilya Dmitriyevich ZHARKOV; Luming LIANG
- Web page: https://patentgrep.com/patent/US20260073200A1

## CPC

- G06N 3/0495: Quantised networks; Sparse networks; Compressed 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/084: Backpropagation, e.g. using gradient descent
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A technique jointly prunes and quantizes an original neural network. This produces a final neural network having a smaller size than the original neural network. The technique involves converting the original neural network into a quantized-preprocessed neural network by adding weight-quantization logic that simulates effects of converting weight parameters used by the original neural network into quantized weight parameters, and/or adding activation-quantization logic that simulates effects of converting activations produced by the layers of the original neural network into quantized activation information. The technique then applies an iterative training process that includes: (a) identifying a prescribed number of groups of weight parameters in a set of original groups as redundant, a remainder of the original set of groups being to-be-retained groups, and (b) determining quantization parameters that will govern quantization used in levels of the final neural network.

## Claims

### Claim 1

A method for pruning and quantizing a neural network, comprising:
receiving an original neural network having a structure with multiple levels, the original neural network having a first storage size;
converting the original neural network into a quantized-preprocessed neural network by adding quantization logic to the original neural network;
identifying an original set of groups of weight parameters used by the quantized-preprocessed neural network, each group in the original set of groups being associated with part of a structure of the quantized-preprocessed neural network; and
in an iterative training process, transforming the quantized-preprocessed neural network into a final neural network having a second storage size that is less than the first storage size, the iterative training process repeating operations of:
identifying a prescribed number of groups of the original set of groups as redundant, a remainder of the original set of groups being to-be-retained groups,
the redundant groups being groups in the original set of groups that are to be removed in the final neural network, and the to-be-retained groups being groups that are to be retained in the final neural network; and
determining quantization parameters that govern quantization used in levels of quantized-preprocessed neural network,
a target device being capable of storing and running the final neural network with fewer memory and processing resources than the original neural network.

### Claim 2 (depends on 1)

The method of claim 1, wherein each group in the original set of groups is associated with a group of one or more components in the original neural network, the group of one or more components having been determined to produce zero outputs upon setting weight parameters in the group of one or more components to zero.

### Claim 3 (depends on 1)

The method of claim 1, wherein the converting involves adding weight-quantization logic that simulates effects of converting weight parameters used by the original neural network into quantized weight parameters.

### Claim 4 (depends on 1)

The method of claim 1, wherein the converting involves adding activation-quantization logic that simulates effects of converting activations produced by the layers of the original neural network into quantized activation information.

### Claim 5 (depends on 1)

The method of claim 1, further comprising determining bit widths used by the levels of the final neural network based on the quantization parameters that have been determined.

### Claim 6 (depends on 1)

The method of claim 1, wherein some of the quantization parameters that are determined govern bit widths of quantized weights used in the final neural network.

### Claim 7 (depends on 1)

The method of claim 1, wherein some of the quantization parameters that are determined govern bit widths of activation information generated by the final neural network.

### Claim 8 (depends on 1)

The method of claim 1,
wherein the iterative training process is preceded by preparatory training in which the original neural network is trained without pruning,
wherein a bit width of a particular layer of the quantized-preprocessed neural network is dependent on plural learned quantization parameters, including an upper-limit quantization parameter that describes a maximum quantization value, a quantization step size that expresses a size between two neighboring quantization values, and an exponent that controls a shape of quantization, and
wherein the preparatory training updates the upper-limit quantization parameter and the exponent, determines a region defined by permissible quantization step sizes, and updates the quantization size based on the region.

### Claim 9 (depends on 1)

The method of claim 1, wherein the iterative training process is followed by post-pruning training in which the to-be-retained groups are trained without performing further pruning.

### Claim 10 (depends on 1)

The method of claim 1, wherein the iterative training process includes determining that a particular group is a redundant group based on a saliency score associated with the particular group, the saliency score measuring an impact of the particular group on functions performed by the original neural network.

### Claim 11 (depends on 1)

The method of claim 1, wherein the iterative training process includes successively projecting the redundant groups to an origin point and successively transferring information contained in the redundant groups to the to-be-retained groups.

### Claim 12 (depends on 11)

The method of claim 11, wherein the projecting is governed by a forget rate, the forget rate depending on the quantization parameters.

### Claim 13 (depends on 1)

The method of claim 1, further comprising storing the final neural network in a storage device of the target device.

### Claim 14

A computing system for pruning and quantizing a neural network, comprising:
an instruction data store for storing computer-readable instructions; and
a processing system for executing the computer-readable instructions in the data store, to perform operations including:
receiving an original neural network having a structure with multiple levels, the original neural network having a first storage size;
converting the original neural network into a quantized-preprocessed neural network by adding quantization logic to the original neural network;
identifying an original set of groups of weight parameters used by the quantized-preprocessed neural network, each group in the original set of groups being associated with part of a structure of the quantized-preprocessed neural network; and
performing preparatory training in which the quantized-preprocessed neural network is trained without pruning, to produce a pretrained neural network;
jointly pruning and quantizing the pretrained neural network into a final neural network having a second storage size that is less than the first storage size, the jointly pruning and quantizing repeating operations of:
identifying a prescribed number of groups of the original set of groups as redundant, a remainder of the original set of groups being to-be-retained groups,
the redundant groups being groups in the original set of groups that are to be removed in the final neural network, and the to-be-retained groups being groups that are to be retained in the final neural network, and
determining quantization parameters that govern quantization used in levels of pretrained neural network; and
after the jointly pruning and quantizing, performing post-pruning training in which the to-be-retained groups are trained without performing further pruning,
a target device being capable of storing and running the final neural network with fewer memory and processing resources than the original neural network.

### Claim 15 (depends on 14)

The computing system of claim 14, wherein the converting involves:
adding weight-quantization logic that simulates effects of converting weight parameters used by the original neural network into quantized weight parameters; and/or
adding activation-quantization logic that simulates effects of converting activations produced by the layers of the original neural network into quantized activation information.

### Claim 16 (depends on 14)

The computing system of claim 14,
wherein a bit width of a particular layer of the quantized-preprocessed neural network is dependent on plural learned quantization parameters, including an upper-limit quantization parameter that describes a maximum quantization value, a quantization step size that expresses a size between two neighboring quantization values, and an exponent that controls a shape of quantization, and
wherein the preparatory training updates the upper-limit quantization parameter and the exponent, determines a region defined by permissible quantization step sizes, and updates the quantization size based on the region.

### Claim 17 (depends on 14)

The computing system of claim 14,
wherein some of the quantization parameters that are determined govern bit widths of quantized weights used in the final neural network, and/or
wherein some of the quantization parameters that are determined govern bit widths of activation information generated by the final neural network.

### Claim 18 (depends on 14)

The computing system of claim 14, wherein the jointly pruning and quantizing includes successively projecting the redundant groups to an origin point and successively transferring information contained in the redundant groups to the to-be-retained groups.

### Claim 19 (depends on 18)

The computing system of claim 18, wherein the projecting is governed by a forget rate, the forget rate depending on identified quantization parameters.

### Claim 20

A computer-readable storage medium for storing computer-readable instructions, a processing system executing the computer-readable instructions to perform operations, the operations comprising:
receiving an original neural network having a structure with multiple levels, the original neural network having a first storage size;
converting the original neural network into a quantized-preprocessed neural network by adding quantization logic to the original neural network,
the converting including adding weight-quantization logic that simulates effects of converting weight parameters used by the original neural network into quantized weight parameters, and/or adding activation-quantization logic that simulates effects of converting activations produced by the layers of the original neural network into quantized activation information;
identifying an original set of groups of weight parameters used by the quantized-preprocessed neural network, each group in the original set of groups being associated with part of a structure of the quantized-preprocessed neural network; and
jointly pruning and quantizing the quantized-preprocessed neural network into a final neural network having a second storage size that is less than the first storage size, the jointly pruning and quantizing repeating operations of:
identifying a prescribed number of groups of the original set of groups as redundant, a remainder of the original set of groups being to-be-retained groups,
the redundant groups being groups in the original set of groups that are to be removed in the final neural network, and the to-be-retained groups being groups that are to be retained in the final neural network, and
determining quantization parameters that govern quantization used in levels of the final neural network; and
after the joint pruning and quantization, determining bit widths used by the levels of the quantized-preprocessed neural network based on the quantization parameters that have been determined.
