# US 2021/0174265 A1 · Building deep learning ensembles with diverse targets

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

- Number: US 2021/0174265 A1
- Document ID: US20210174265A1
- Status: Published application
- Kind: A1
- Application number: 17/268,660
- Filed: 2019-08-12
- Published: 2021-06-10
- Earliest claimed: 2018-08-17
- Assignees: D5Ai LLC
- Applicants: D5Ai LLC
- Inventors: James K. BAKER
- Web page: https://patentgrep.com/patent/US20210174265A1

## CPC

- G06N 20/20: Ensemble learning
- G06N 3/045: Combinations of networks
- G06N 3/048: Activation functions
- G06N 3/0499: Feedforward networks
- G06N 3/063: using electronic means
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computer-implemented method of training an ensemble machine learning system comprising a plurality of ensemble members. The method includes selecting a shared objective and an objective for each of the ensemble members. The method further includes training each of the ensemble members according to each objective on a training data set, connecting an output of each of the ensemble members to a joint optimization machine learning system to form a consolidated machine learning system, and training the consolidated machine learning system according to the shared objective and the objective for each of the ensemble members on the training data set. The ensemble members can be the same or different types of machine learning systems. Further, the joint optimization machine learning system can be the same or a different type of machine learning system than the ensemble members.

## Claims

### Claim 1

A computer-implemented method of training an ensemble machine learning system comprising a plurality of ensemble members, the method comprising:
training, by a computer system, individually the plurality of ensemble members on a training data set, wherein each of the plurality of ensemble members is training according to an associated objective for the ensemble member; and
after training the plurality of ensemble members, training, by the computer system, a consolidated machine learning system, wherein:
the consolidated machine learning system comprises the plurality of ensemble members and a joint optimization machine learning system, such that an output from each of the plurality of ensemble members is input to the joint optimization machine learning system;
the joint optimization machine learning system is training according to a shared objective; and
each of the plurality of ensemble members is training according to both the shared objective and the associated objective for the plurality of ensemble members.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the associated objective for each of the plurality of ensemble members is unique.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein:
each of the plurality of ensemble members comprises an output detector node; and
the associated objective comprises a subset of the training data set as a target for each output detector node.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein:
each of the plurality of ensemble members comprises an output detector node;
the training data set comprises a first subset and a second subset that is disjoint from the first subset; and
the associated objective comprises:
a first value for the output detector node when a training data item falls within the first subset of the training data set; and
a second value for the output detector node when the training data item falls within the second subset of the training data set.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein training the consolidated machine learning system comprises:
computing, by the computer system, feed-forward activations for each of the plurality of ensemble members for a training data item from a training data set;
computing, by the computer system, feed-forward activations for the joint optimization machine learning system for the training data item;
back propagating, by the computer system, partial derivatives of the shared objective through the joint optimization machine learning system;
computing, by the computer system, a weighted sum of the partial derivatives of the shared objective and a derivative of the associated objective for each of the plurality of ensemble members;
estimating, by the computer system, an update term for each of the plurality of ensemble members according to the weighted sum; and
updating, by the computer system, learned parameters of each of the plurality of ensemble members according to the update term.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein estimating the update term comprises:
back propagating, by the computer system, a derivative of the weighted sum through each of the plurality of ensemble members.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein estimating the update term comprises:
storing, by the computer system, current values of learned parameters of each of the plurality of ensemble members as stored values;
determining, by the computer system, updated values of the learned parameters of each of the plurality of ensemble members for the training data item being a positive example;
adding, by the computer system, a difference between the stored values and the updated values of the learned parameters to an accumulated gradient estimate for the training data set; and
resetting, by the computer system, the learned parameters to the stored values.

### Claim 8 (depends on 5)

The computer-implemented method of claim 5, wherein estimating the update term comprises:
storing, by the computer system, current values of learned parameters of each of the plurality of ensemble members as stored values;
determining, by the computer system, first updated values of the learned parameters of each of the plurality of ensemble members for the training data item being a negative example;
resetting, by the computer system, the learned parameters to the stored values;
determining, by the computer system, second updated values of the learned parameters of each of the plurality of ensemble members for the training data item being a positive example;
adding, by the computer system, an averaged difference between the first updated values and the second updated values of the learned parameters to an accumulated gradient estimate for the training data set; and
resetting, by the computer system, the learned parameters to the stored values.

### Claim 9 (depends on 5)

The computer-implemented method of claim 5, wherein the weighted sum comprises a weight applied to the partial derivatives of the shared objective relative to the derivative of the associated objective for each of the plurality of ensemble members.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, further comprising:
controlling, by the computer system, the weight according to a training progress of each of the plurality of ensemble members.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein controlling the weight according to the training progress of each of the plurality of ensemble members comprises:
reducing, by the computer system, the weight as each of the plurality of ensemble members reaches convergence.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of ensemble members comprises a plurality of different machine learning system types.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of ensemble members comprises a single machine learning system type.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, wherein the single machine learning system type comprises a neural network.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein each neural network comprises a same number of layers, a same number of nodes within each of the layers, and a same arrangement of directed arc connections between the nodes.

### Claim 16

A computer system for training an ensemble machine learning system comprising a plurality of ensemble members, the computer system comprising:
a processor; and
a memory coupled to the processor, the memory storing:
the plurality of ensemble members;
a joint optimization machine learning system; and
instructions that, when executed by the processor, cause the computer system to:
train individually the plurality of ensemble members on a training data set, wherein each of the plurality of ensemble members is training according to an associated objective for the ensemble member; and
after training the plurality of ensemble members, train a consolidated machine learning system, wherein:
the consolidated machine learning system comprises the plurality of ensemble members and the joint optimization machine learning system, such that an output from each of the plurality of ensemble members is input to the joint optimization machine learning system;
the joint optimization machine learning system is training according to a shared objective; and
each of the plurality of ensemble members is training according to both the shared objective and the associated objective for the plurality of ensemble members.

### Claim 17 (depends on 16)

The computer system of claim 16, wherein the associated objective for each of the plurality of ensemble members is unique.

### Claim 18 (depends on 16)

The computer system of claim 16, wherein:
each of the plurality of ensemble members comprises an output detector node; and
the associated objective comprises a subset of the training data set as a target for each output detector node.

### Claim 19 (depends on 16)

The computer system of claim 16, wherein:
each of the plurality of ensemble members comprises an output detector node;
the training data set comprises a first subset and a second subset that is disjoint from the first subset; and
the associated objective comprises:
a first value for the output detector node when a training data item falls within the first subset of the training data set; and
a second value for the output detector node when the training data item falls within the second subset of the training data set.

### Claim 20 (depends on 16)

The computer system of claim 16, wherein the instructions cause the computer system to train the consolidated machine learning system by causing the computer system to:
compute feed-forward activations for each of the plurality of ensemble members for a training data item from a training data set;
compute feed-forward activations for the joint optimization machine learning system for the training data item;
back propagate partial derivatives of the shared objective through the joint optimization machine learning system;
compute a weighted sum of the partial derivatives of the shared objective and a derivative of the associated objective for each of the plurality of ensemble members;
estimate an update term for each of the plurality of ensemble members according to the weighted sum; and
update learned parameters of each of the plurality of ensemble members according to the update term.

### Claim 21 (depends on 20)

The computer system of claim 20, wherein the instructions cause the computer system to estimate the update term by causing the computer system to:
back propagate a derivative of the weighted sum through each of the plurality of ensemble members.

### Claim 22 (depends on 20)

The computer system of claim 20, wherein the instructions cause the computer system to estimate the update term by causing the computer system to:
store current values of learned parameters of each of the plurality of ensemble members as stored values;
determine updated values of the learned parameters of each of the plurality of ensemble members for the training data item being a positive example;
add a difference between the stored values and the updated values of the learned parameters to an accumulated gradient estimate for the training data set; and
reset the learned parameters to the stored values.

### Claim 23 (depends on 20)

The computer system of claim 20, wherein the instructions cause the computer system to estimate the update term by causing the computer system to:
store current values of learned parameters of each of the plurality of ensemble members as stored values;
determine first updated values of the learned parameters of each of the plurality of ensemble members for the training data item being a negative example;
reset the learned parameters to the stored values;
determine second updated values of the learned parameters of each of the plurality of ensemble members for the training data item being a positive example;
add an averaged difference between the first updated values and the second updated values of the learned parameters to an accumulated gradient estimate for the training data set; and
reset the learned parameters to the stored values.

### Claim 24 (depends on 20)

The computer system of claim 20, wherein the weighted sum comprises a weight applied to the partial derivatives of the shared objective relative to the derivative of the associated objective for each of the plurality of ensemble members.

### Claim 25 (depends on 24)

The computer system of claim 24, wherein the instructions further cause the computer system to:
control the weight according to a training progress of each of the plurality of ensemble members.

### Claim 26 (depends on 25)

The computer system of claim 25, wherein the instructions cause the computer system to control the weight according to the training progress of each of the plurality of ensemble members by causing the computer system to:
reduce the weight as each of the plurality of ensemble members reaches convergence.

### Claim 27 (depends on 16)

The computer system of claim 16, wherein the plurality of ensemble members comprises a plurality of different machine learning system types.

### Claim 28 (depends on 16)

The computer system of claim 16, wherein the plurality of ensemble members comprises a single machine learning system type.

### Claim 29 (depends on 28)

The computer system of claim 28, wherein the single machine learning system type comprises a neural network.

### Claim 30 (depends on 29)

The computer system of claim 29, wherein each neural network comprises a same number of layers, a same number of nodes within each of the layers, and a same arrangement of directed arc connections between the nodes.
