# US 2026/0099725 A1 · Topological sparse training process for machine learning models

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

- Number: US 2026/0099725 A1
- Document ID: US20260099725A1
- Status: Published application
- Kind: A1
- Application number: 18/906,079
- Filed: 2024-10-03
- Published: 2026-04-09
- Earliest claimed: 2024-10-03
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Amit Dhurandhar; Soham Dan; Aurelie Chloe Lozano; Georgios Kollias; Ronny Luss; Payel Das; Tejaswini Pedapati
- Web page: https://patentgrep.com/patent/US20260099725A1

## CPC

- G06N 3/096: Transfer learning
- G06N 3/0475: Generative networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An example operation may include one or more of executing a machine learning (ML) model with a plurality of attention heads on a training data input during an epoch to generate a predicted output, determining a difference between the predicted output an and actual output corresponding to the training data input based on a loss function that is configured to perform preferential attachment of neurons in the ML model, modifying parameter values of the ML model based on the difference, wherein the modifying comprises modifying at least one parameter value of the parameter values of the ML model to be set to zero to generate a sparse ML model, and executing the sparse ML model on an additional training data input during an additional epoch to generate an additional predicted output.

## Claims

### Claim 1

A computer-implemented method comprising:
executing a machine learning (ML) model comprising multiple attention heads on training data during an epoch to generate a prediction;
determining a difference between the prediction and a ground truth value corresponding to the training data based on a loss function that is configured to perform preferential attachment of neurons in the ML model;
modifying parameter values of the ML model based on the difference, wherein the modifying comprises modifying at least one parameter value of the parameter values of the ML model to be set to zero to generate a sparse ML model; and
executing the sparse ML model on additional training data during an additional epoch to generate an additional prediction.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising identifying two attention heads among the multiple attention heads that are redundant based on similarities between Query, Key, and Value matrices of the two attention heads, and removing an attention head from among the two attention heads from the ML model to generate the sparse ML model.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the removing comprises removing the attention head from each of multiple layers of nodes within the ML model to generate the sparse ML model.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein the identifying comprises identifying a first attention head that is dominated by a second attention head, and the removing comprises removing the first attention head to generate the sparse ML model.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the modifying comprises decreasing weights of parameter values associated with nodes in the ML model which have a number of connections with other nodes in the ML model which are below a threshold value.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising determining a difference between the additional prediction and a further ground truth value corresponding to the additional training data based on the loss function.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, further comprising additionally modifying the parameter values of the ML model based on the difference between the additional prediction and the further ground truth value, wherein the modifying comprises modifying at least one additional parameter value of the ML model to be set to zero to generate a more sparse ML model.

### Claim 8

A computer system comprising:
a processor set;
a set of one or more computer-readable storage media; and
program instructions, collectively stored in the set of one or more storage media, for that causes the processor set to perform computer operations comprising:
execute a machine learning (ML) model comprising multiple attention heads on training data during an epoch to generate a prediction;
determine a difference between the prediction and a ground truth value that corresponds to the training data based on a loss function that is configured to perform preferential attachment of neurons in the ML model;
modify parameter values of the ML model based on the difference, wherein the modifying comprises applying a weighted penalty to at least one parameter value of a node of the ML model to generate a sparse ML model, the weighted penalty being inversely proportional to a fractional connectivity of the node to an associated node; and
execute the sparse ML model on additional training data during an additional epoch to generate an additional prediction.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein the computer operations further comprise identifying two attention heads among the multiple attention heads that are redundant based on similarities between Query, Key, and Value matrices of the two attention heads, and removing an attention head from among the two attention heads from the ML model to generate the sparse ML model.

### Claim 10 (depends on 9)

The computer system of claim 9, wherein the removing comprises removing the attention head from each of multiple layers of nodes within the ML model to generate the sparse ML model.

### Claim 11 (depends on 9)

The computer system of claim 9, wherein the identifying comprises identifying a first attention head that is dominated by a second attention head, and the removing comprises removing the first attention head to generate the sparse ML model.

### Claim 12 (depends on 8)

The computer system of claim 8, wherein the modifying comprises decreasing weights of parameter values associated with nodes in the ML model which have a number of connections with other nodes in the ML model which are below a threshold value.

### Claim 13 (depends on 8)

The computer system of claim 8, wherein the computer operations further comprise determining a difference between the additional prediction and a further ground truth value corresponding to the additional training data based on the loss function.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein the computer operations further comprise additionally modifying the parameter values of the ML model based on the difference between the additional prediction and the further ground truth value, wherein the modifying comprises modifying at least one additional parameter value of the ML model to be set to zero to generate a more sparse ML model.

### Claim 15

A computer program product comprising:
a set of one or more computer-readable storage media; and
program instructions, collectively stored in the set of one or more computer-readable storage media, for causing a processor set to perform computer operations comprising:
executing a machine learning (ML) model comprising multiple attention heads on training data during an epoch to generate a prediction;
determining a difference between the prediction and a ground truth value corresponding to the training data based on a loss function that is configured to perform preferential attachment of neurons in the ML model;
modifying parameter values of the ML model based on the difference, wherein the modifying comprises modifying at least one parameter value of the parameter values of the ML model to be set to zero to generate a sparse ML model; and
executing the sparse ML model on an additional training data during an additional epoch to generate an additional prediction.

### Claim 16 (depends on 8)

The computer system of claim 8, wherein the computer operations further comprise identifying two attention heads among the multiple attention heads that are redundant based on similarities between Query, Key, and Value matrices of the two attention heads, and removing an attention head from among the two attention heads from the ML model to generate the sparse ML model.

### Claim 17 (depends on 9)

The computer system of claim 9, wherein the removing comprises removing the attention head from each of multiple layers of nodes within the ML model to generate the sparse ML model.

### Claim 18 (depends on 9)

The computer system of claim 9, wherein the identifying comprises identifying a first attention head that is dominated by a second attention head, and the removing comprises removing the first attention head to generate the sparse ML model.

### Claim 19 (depends on 8)

The computer system of claim 8, wherein the modifying comprises decreasing weights of parameter values associated with nodes in the ML model which have a number of connections with other nodes in the ML model which are below a threshold.

### Claim 20 (depends on 8)

The computer system of claim 8, wherein the computer operations further comprise determining a difference between the additional prediction and a further ground truth value corresponding to the additional training data based on the loss function, and additionally modifying the parameter values of the ML model based on the difference between the additional prediction and the further ground truth value, wherein the modifying comprises modifying at least one additional parameter value of the ML model to be set to zero to generate a more sparse ML model.
