# US 2022/0284353 A1 · Methods and apparatus to train a machine learning model

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

- Number: US 2022/0284353 A1
- Document ID: US20220284353A1
- Status: Published application
- Kind: A1
- Application number: 17/631,858
- Filed: 2020-09-23
- Published: 2022-09-08
- Earliest claimed: 2019-09-24
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Hesham Mostafa; Casimir M. Wierzynski
- Web page: https://patentgrep.com/patent/US20220284353A1

## CPC

- G06N 3/08: Learning methods
- G06N 20/20: Ensemble learning
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods, apparatus, systems, and articles of manufacture are disclosed to train a machine learning model. An example apparatus to generate adaptive hyper-parameters includes a model aggregator to, in response to obtaining at least one model trained using a first set of hyper-parameters of a probability distribution, generate a loss reduction, a hyper-parameter generator to, when the loss reduction satisfies a loss threshold, update the probability distribution and generate a second set of hyper-parameters using the updated probability distribution, and an interface to transmit the second set of hyper-parameters to a client.

## Claims

### Claim 1

An apparatus to generate adaptive hyper-parameters, the apparatus comprising:
a model aggregator to, in response to obtaining at least one model trained using a first set of hyper-parameters of a probability distribution, generate a loss reduction; and
a hyper-parameter generator to:
when the loss reduction satisfies a loss threshold, update the probability distribution; and
generate a second set of hyper-parameters using the updated probability distribution; and
an interface to transmit the second set of hyper-parameters to a client.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the hyper-parameter generator is to update the probability distribution by increasing a probability of the first set of hyper-parameters.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the hyper-parameter generator is to, when the loss reduction does not satisfy the loss threshold, update the probability distribution by decreasing a probability of the first set of hyper-parameters, the loss threshold being a predetermined value.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the interface is to send the second set of hyper-parameters to a second client.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the interface is to:
obtain a first loss of the at least one model; and
obtain a second loss of a second model trained using the second set of hyper-parameters.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the loss reduction is generated based on the first loss and the second loss.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the hyper-parameter generator is to generate the probability distribution including at least the first set of hyper-parameters, the first set of hyper-parameters including at least one of a number of optimization steps to perform during a round of training or a learning rate.

### Claim 8

A non-transitory computer readable medium comprising instructions which, when executed, cause at least one processor to:
in response to obtaining at least one model trained using a first set of hyper-parameters of a probability distribution, generate a loss reduction;
when the loss reduction satisfies a loss threshold, update the probability distribution;
generate a second set of hyper-parameters using the updated probability distribution; and
transmit the second set of hyper-parameters to a client.

### Claim 9 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the instructions, when executed, cause the at least one processor to update the probability distribution by increasing a probability of the first set of hyper-parameters.

### Claim 10 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the instructions, when executed, cause the at least one processor to, when the loss reduction does not satisfy the loss threshold, update the probability distribution by decreasing a probability of the first set of hyper-parameters, the loss threshold being a predetermined value.

### Claim 11 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the instructions, when executed, cause the at least one processor to send the second set of hyper-parameters to a second client.

### Claim 12 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the instructions, when executed, cause the at least one processor to:
obtain a first loss of the at least one model; and
obtain a second loss of a second model trained using the second set of hyper-parameters.

### Claim 13 (depends on 12)

The non-transitory computer readable medium of claim 12, wherein the loss reduction is generated based on the first loss and the second loss.

### Claim 14 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the instructions, when executed, cause the at least one processor to generate the probability distribution including at least the first set of hyper-parameters, the first set of hyper-parameters including at least one of a number of optimization steps to perform during a round of training or a learning rate.

### Claim 15

A method to generate adaptive hyper-parameters, the method comprising:
in response to obtaining at least one model trained using a first set of hyper-parameters of a probability distribution, generating a loss reduction;
when the loss reduction satisfies a loss threshold, updating the probability distribution;
generating a second set of hyper-parameters using the updated probability distribution; and
transmitting the second set of hyper-parameters to a client.

### Claim 16 (depends on 15)

The method of claim 15, further including updating the probability distribution by increasing a probability of the first set of hyper-parameters.

### Claim 17 (depends on 15)

The method of claim 15, further including, when the loss reduction does not satisfy the loss threshold, updating the probability distribution by decreasing a probability of the first set of hyper-parameters, the loss threshold being a predetermined value.

### Claim 18 (depends on 15)

The method of claim 15, further including sending the second set of hyper-parameters to a second client.

### Claim 19 (depends on 15)

The method of claim 15, further including:
obtaining a first loss of the at least one model; and
obtaining a second loss of a second model trained using the second set of hyper-parameters.

### Claim 20 (depends on 19)

The method of claim 19, wherein the loss reduction is generated based on the first loss and the second loss.
