# US 2025/0094805 A1 · Polymorphic pruning of neural networks

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

- Number: US 2025/0094805 A1
- Document ID: US20250094805A1
- Status: Published application
- Kind: A1
- Application number: 18/889,814
- Filed: 2024-09-19
- Published: 2025-03-20
- Earliest claimed: 2023-09-20
- Assignees: Entanglement, Inc.
- Applicants: Entanglement, Inc.
- Inventors: Anna HUGHES; Amit VERMA; Haibo WANG; Gary KOCHENBERGER; Fred GLOVER; Amit HULANDAGERI
- Web page: https://patentgrep.com/patent/US20250094805A1

## CPC

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

## Abstract

A method and system for polymorphic pruning of neural networks are disclosed. The method involves training a neural network model on an input dataset for an initial predetermined number of iterations to gather weight information, including the strength of each weight and changes in strength over iterations. The weights are stored in an array accessible to a pruning algorithm. An objective function is compiled using the weight information, and an optimization tool solves the objective function to generate a solution vector. This solution vector is used to create a pruning mask, which is applied to the neural network model to prune certain weights by setting them to zero. The pruned weight vector updates the model, resulting in a neural network with fewer non-zero connections between neurons.

## Claims

### Claim 1

A method comprising:
receiving an input dataset;
upon providing the input dataset to a training process of a machine learning model, determining information about weights associated with the machine learning model;
determining an objective function using the information about the weights associated with the machine learning model;
determining a solution vector to the objective function;
determining a pruning mask from the solution vector; and
updating the machine learning model using the pruning mask and the solution vector.

### Claim 2 (depends on 1)

The method of claim 1, wherein the information about weights associated with the machine learning model is determined during the training process.

### Claim 3 (depends on 1)

The method of claim 1, wherein the information about weights includes a strength of each weight (W) and a change in strength between iterations (ΔW).

### Claim 4 (depends on 1)

The method of claim 1, wherein the training process of the machine learning model will automatically stop after a predetermined number of iterations while the pruning mask is determined.

### Claim 5 (depends on 1)

The method of claim 1, wherein the objective function will maximize a strength of the weights and minimize correlations between the weights.

### Claim 6 (depends on 1)

The method of claim 1, wherein pruning is implemented globally on the weights.

### Claim 7 (depends on 1)

The method of claim 1, wherein pruning is implemented layer-wise on the weights.

### Claim 8

A pruning system comprising:
a memory; and
a processor that is configured to execute machine readable instructions stored in the memory for causing the processor to:
receive an input dataset;
upon providing the input dataset to a training process of a machine learning model, determine information about weights associated with the machine learning model;
determine an objective function using the information about the weights associated with the machine learning model;
determine a solution vector to the objective function;
determine a pruning mask from the solution vector; and
update the machine learning model using the pruning mask and the solution vector.

### Claim 9 (depends on 8)

The pruning system of claim 8, wherein the information about weights associated with the machine learning model is determined during the training process.

### Claim 10 (depends on 8)

The pruning system of claim 8, wherein the information about weights includes a strength of each weight (W) and a change in strength between iterations (ΔW).

### Claim 11 (depends on 8)

The pruning system of claim 8, wherein the training process of the machine learning model will automatically stop after a predetermined number of iterations while the pruning mask is determined.

### Claim 12 (depends on 8)

The pruning system of claim 8, wherein the objective function will maximize a strength of the weights and minimize correlations between the weights.

### Claim 13 (depends on 8)

The pruning system of claim 8, wherein pruning is implemented globally on the weights.

### Claim 14 (depends on 8)

The pruning system of claim 8, wherein pruning is implemented layer-wise on the weights.

### Claim 15

A non-transitory computer-readable storage medium storing a plurality of instructions executable by a processor, the plurality of instructions when executed by the processor cause the processor to perform operations comprising:
receiving an input dataset;
upon providing the input dataset to a training process of a machine learning model, determining information about weights associated with the machine learning model;
determining an objective function using the information about the weights associated with the machine learning model;
determining a solution vector to the objective function;
determining a pruning mask from the solution vector; and
updating the machine learning model using the pruning mask and the solution vector.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the information about weights associated with the machine learning model is determined during the training process.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the information about weights includes a strength of each weight (W) and a change in strength between iterations (ΔW).

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the training process of the machine learning model will automatically stop after a predetermined number of iterations while the pruning mask is determined.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the objective function will maximize a strength of the weights and minimize correlations between the weights.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein pruning is implemented globally on the weights or implemented layer-wise on the weights.
