# US 2025/0053811 A1 · System and method for hardware-aware pruning of conformer networks

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

- Number: US 2025/0053811 A1
- Document ID: US20250053811A1
- Status: Published application
- Kind: A1
- Application number: 18/639,937
- Filed: 2024-04-18
- Published: 2025-02-13
- Earliest claimed: 2023-08-07
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Ahmed ELKORDY; Behnam BABAGHOLAMI MOHAMADABADI; Mostafa EL-KHAMY
- Web page: https://patentgrep.com/patent/US20250053811A1

## CPC

- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system and a method are disclosed for hardware-aware pruning of conformer networks. In some embodiments, the method includes: training a neural network, the training including: performing a first pruning operation, on the neural network, after a first training epoch, and performing a second pruning operation, on the neural network, after a second training epoch and after the first pruning operation, wherein each of the pruning operations results in a respective pruning fraction, the respective pruning fraction being a function of an index of a training epoch preceding the pruning operation.

## Claims

### Claim 1

A method, comprising:
training a neural network, the training comprising:
performing a first pruning operation, on the neural network, after a first training epoch, and
performing a second pruning operation, on the neural network, after a second training epoch and after the first pruning operation,
wherein each of the pruning operations results in a respective pruning fraction, the respective pruning fraction being a function of an index of a training epoch preceding the pruning operation.

### Claim 2 (depends on 1)

The method of claim 1, wherein an increase in a pruning fraction during the second pruning operation is less than an increase in the pruning fraction during the first pruning operation.

### Claim 3 (depends on 2)

The method of claim 2, further comprising training the neural network in a third training epoch, after the first training epoch, and before the second training epoch.

### Claim 4 (depends on 1)

The method of claim 1, further comprising performing a third pruning operation on the neural network after the second pruning operation,
wherein an increase in the respective pruning fraction during the third pruning operation is less than an increase in the respective pruning fraction during the second pruning operation.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the training comprises performing a sequence of four or more pruning operations,
each of the pruning operations of the sequence increases a respective pruning fraction by an amount less than a preceding pruning operation of the sequence,
the sequence ends at a stopping epoch for pruning, and
the stopping epoch for pruning is a training epoch after which a final pruning operation of the sequence is performed.

### Claim 6 (depends on 5)

The method of claim 5, wherein each of the pruning operations results in a respective pruning fraction, the respective pruning fraction being a function of:
an index of a training epoch,
a number of training epochs per pruning operation, and
an initial pruning fraction.

### Claim 7 (depends on 6)

The method of claim 6, wherein the function has:
a value of zero when the index of the training epoch is less than the number of training epochs per pruning operation, and
a value of the initial pruning fraction, after the first pruning operation.

### Claim 8 (depends on 7)

The method of claim 7, wherein:
for each training epoch less than or equal to the stopping epoch for pruning:
the function includes a second term subtracted from a first term,
the first term is one,
the second term is a first difference raised to the power of the floor of the ratio of the index of the training epoch and the number of training epochs per pruning operation, and
the first difference is one less the initial pruning fraction; and
for each training epoch greater than the stopping epoch, the function is equal to the respective pruning fraction after the last pruning operation.

### Claim 9 (depends on 1)

The method of claim 1, wherein:
the neural network comprises a fully connected layer; and
the first pruning operation comprises removing a row or a column of the fully connected layer.

### Claim 10 (depends on 1)

The method of claim 1, wherein:
the neural network comprises a multi-head self-attention block; and
the first pruning operation comprises removing a row or a column of the multi-head self-attention block.

### Claim 11 (depends on 1)

The method of claim 1, wherein:
the neural network comprises a convolutional layer; and
the first pruning operation comprises removing a row or a column or a channel of a convolutional kernel of the convolutional layer.

### Claim 12 (depends on 1)

The method of claim 1, wherein:
the neural network comprises a first conformer layer and a second conformer layer, and
the training comprises setting each of a plurality of weights of the second conformer layer equal to a respective weight of the first conformer layer.

### Claim 13 (depends on 1)

The method of claim 1, wherein the training comprises knowledge distillation.

### Claim 14 (depends on 1)

The method of claim 1, further comprising receiving, by the neural network, a raw signal, and producing, by the neural network, an output, the output comprising an enhanced signal corresponding to the raw signal.

### Claim 15

A system comprising:
one or more processors; and
a memory storing instructions which, when executed by the one or more processors, cause performance of:
training a neural network, the training comprising:
performing a first pruning operation, on the neural network, after a first training epoch, and
performing a second pruning operation, on the neural network, after a second training epoch and after the first pruning operation,
wherein each of the pruning operations results in a respective pruning fraction, the respective pruning fraction being a function of an index of a training epoch preceding the pruning operation.

### Claim 16 (depends on 15)

The system of claim 15, wherein:
the neural network comprises a fully connected layer; and
the first pruning operation comprises removing a row or a column of the fully connected layer.

### Claim 17 (depends on 15)

The system of claim 15, wherein:
the neural network comprises a multi-head self-attention block; and
the first pruning operation comprises removing a row or a column of the multi-head self-attention block.

### Claim 18 (depends on 15)

The system of claim 15, wherein:
the neural network comprises a convolutional layer; and
the first pruning operation comprises removing a row or a column or a channel of a convolutional kernel of the convolutional layer.

### Claim 19 (depends on 15)

The system of claim 15, wherein:
the neural network comprises a first conformer layer and a second conformer layer, and
the training comprises setting each of a plurality of weights of the second conformer layer equal to a respective weight of the first conformer layer.

### Claim 20

A system comprising:
means for processing; and
a memory storing instructions which, when executed by the means for processing, cause performance of:
training a neural network, the training comprising:
performing a first pruning operation, on the neural network, after a first training epoch, and
performing a second pruning operation, on the neural network, after a second training epoch and after the first pruning operation,
wherein each of the pruning operations results in a respective pruning fraction, the respective pruning fraction being a function of an index of a training epoch preceding the pruning operation.
