# US 2022/0284295 A1 · Asynchronous agents with learning coaches and structurally modifying deep neural networks without performance degradation

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

- Number: US 2022/0284295 A1
- Document ID: US20220284295A1
- Status: Published application
- Kind: A1
- Application number: 17/664,898
- Filed: 2022-05-25
- Published: 2022-09-08
- Earliest claimed: 2017-06-05
- Assignees: D5Ai LLC
- Applicants: D5Ai LLC
- Inventors: James K. Baker
- Web page: https://patentgrep.com/patent/US20220284295A1

## CPC

- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/0499: Feedforward networks
- 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 3/091: Active learning
- G06N 3/092: Reinforcement learning
- G06N 3/096: Transfer learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods and computer systems improve a trained base deep neural network by structurally changing the base deep neural network to create an updated deep neural network, such that the updated deep neural network has no degradation in performance relative to the base deep neural network on the training data. The updated deep neural network is subsequently training. Also, an asynchronous agent for use in a machine learning system comprises a second machine learning system ML2 that is to be trained to perform some machine learning task. The asynchronous agent further comprises a learning coach LC and an optional data selector machine learning system DS. The purpose of the data selection machine learning system DS is to make the second stage machine learning system ML2 more efficient in its learning (by selecting a set of training data that is smaller but sufficient) and/or more effective (by selecting a set of training data that is focused on an important task). The learning coach LC is a machine learning system that assists the learning of the DS and ML2. Multiple asynchronous agents could also be in communication with each others, each trained and grown asynchronously under the guidance of their respective learning coaches to perform different tasks.

## Claims

### Claim at position 1

1-87. (canceled)

### Claim 88

A method of training a neural network, the neural network comprising one or more output nodes, wherein the one or more output nodes comprises at least a first output node, the method comprising iteratively training, by a computer system that comprises one or more programmed processing cores, the neural network with a set of training data items, wherein the iterative training comprises:
for each of n=1, . . . , N training iterations:
in a forward computation phase, computing, by the computer system, in a forward computation through the neural network, activation values for nodes of the neural network for an nth training data item in the set of training data items, wherein computing the activation values comprises computing an activation value for the first output node; and
in a back-propagation phase, computing, by the computer system, partial derivatives of a cost function for an objective for the neural network through the neural network for the nth training data item; and
after the forward computation phase and the back-propagation phase for the Nth training iteration, computing, by the computer system updated learned parameters for the neural network based on the computed partial derivatives for each of the n=1, . . . , N training iterations,
wherein:
the first output node is connected to D1 detector nodes, wherein D1 is greater than or equal to three;
each of the D1 detector nodes is trained to detect a category represented by the first output node; and
the n=1, . . . , N training iterations comprise:
for each of the n=1, . . . , N training iterations, determining by the computer system whether any of the D1 detector nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the D1 detector nodes are falsely activated, including a first penalty term with the cost function for the two or more of the D1 detector nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.

### Claim 89 (depends on 88)

The method of claim 88, wherein:
the first output node is connected to R1 rejecter nodes, wherein R1 is greater than or equal to three;
each of the R1 rejecter nodes is trained to reject a category represented by the first output node; and
the n=1, . . . , N training iterations comprise:
for each of the n=1, . . . , N training iterations, determining by the computer system whether any of the R1 rejecter nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the R1 rejecter nodes are falsely activated, including a second penalty term with the cost function for the two or more of the R1 rejecter nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.

### Claim 90 (depends on 88)

The method of claim 88, wherein:
the neural network further comprises a second output node;
the second output node is connected to D2 detector nodes, where D2 is greater than or equal to three;
each of the D2 detector nodes is trained to detect a category represented by the second output node; and
the n=1, . . . , N training iterations comprise:
for each of the n=1, . . . , N training iterations, determining by the computer system whether any of the D2 detector nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the D2 detector nodes are falsely activated, including the first penalty term with the cost function for the two or more of the D2 detector nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.

### Claim 91

A method of training a neural network, the neural network comprising one or more output nodes, wherein the one or more output nodes comprises at least a first output node, the method comprising iteratively training, by a computer system that comprises one or more programmed processing cores, the neural network with a set of training data items, wherein the iterative training comprises:
for each of n=1, . . . , N training iterations:
in a forward computation phase, computing, by the computer system, in a forward computation through the neural network, activation values for nodes of the neural network for an nth training data item in the set of training data items, wherein computing the activation values comprises computing an activation value for the first output node; and
in a back-propagation phase, computing, by the computer system, partial derivatives of a cost function for an objective for the neural network through the neural network for the nth training data item; and
after the forward computation phase and the back-propagation phase for the Nth training iteration, computing, by the computer system updated learned parameters for the neural network based on the computed partial derivatives for each of the n=1, . . . , N training iterations,
wherein:
the first output node is connected to R1 rejecter nodes, wherein R1 is greater than or equal to three;
each of the R1 rejecter nodes is trained to reject a category represented by the first output node; and
the n=1, . . . , N training iterations comprise:
for each of the n=1, . . . , N training iterations, determining by the computer system whether any of the R1 rejecter nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the R1 rejecter nodes are falsely activated, including a penalty term with the cost function for the two or more of the R1 rejecter nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.

### Claim 92 (depends on 91)

The method of claim 91, wherein:
the neural network further comprises a second output node;
the second output node is connected to R2 rejecter nodes, where R2 is greater than or equal to three;
each of the R2 rejecter nodes is trained to detect a category represented by the second output node; and
the n=1, . . . , N training iterations comprise:
for each of the n=1, . . . , N training iterations, determining by the computer system whether any of the R2 rejecter nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the R2 rejecter nodes are falsely activated, including the penalty term with the cost function for the two or more of the R2 rejecter nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.

### Claim 93

A computer system comprising:
one or more processor cores; and
a memory in communication with the one or more processor cores, wherein the memory stores computer instructions that when executed by the one or more processor cores, cause the one or more processor cores to train a neural network, wherein:
the neural network comprising one or more output nodes;
the one or more output nodes comprises at least a first output node;
the computer instructions, when executed by the one or more processor cores, cause the one or more processor cores to train the neural network by iteratively training the neural network with a set of training data items by:
for each of n=1, . . . , N training iterations:
in a forward computation phase, computing, in a forward computation through the neural network, activation values for nodes of the neural network, including an activation value for the first output node, for an nth training data item in the set of training data items; and
in a back-propagation phase, computing, partial derivatives of a cost function for an objective for the neural network through the neural network for the nth training data item; and
after the forward computation phase and the back-propagation phase for the Nth training iteration, updating learned parameters for the neural network based on the computed partial derivatives for each of the n=1, . . . , N training iterations,
wherein:
the first output node is connected to D1 detector nodes, wherein D1 is greater than or equal to three;
each of the D1 detector nodes is trained to detect a category represented by the first output node;
for each of the n=1, . . . , N training iterations, the one or more processor cores are programmed to:
determine whether any of the D1 detector nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the D1 detector nodes are falsely activated, include a first penalty term with the cost function for the two or more of the D1 detector nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.

### Claim 94 (depends on 93)

The computer system of claim 93, wherein:
the first output node is connected to R1 rejecter nodes, wherein R1 is greater than or equal to three;
each of the R1 rejecter nodes is trained to reject a category represented by the first output node; and
for each of the n=1, . . . , N training iterations, the one or more processor cores are programmed to:
determine whether any of the R1 rejecter nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the R1 rejecter nodes are falsely activated, include a second penalty term with the cost function for the two or more of the R1 rejecter nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.

### Claim 95 (depends on 93)

The computer system of claim 93, wherein:
the neural network further comprises a second output node;
the second output node is connected to D2 detector nodes, where D2 is greater than or equal to three;
each of the D2 detector nodes is trained to detect a category represented by the second output node; and
for each of the n=1, . . . , N training iterations, the one or more processor cores are programmed to:
determine whether any of the D2 detector nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the D2 detector nodes are falsely activated, include the first penalty term with the cost function for the two or more of the D2 detector nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.

### Claim 96

A computer system comprising:
one or more processor cores; and
a memory in communication with the one or more processor cores, wherein the memory stores computer instructions that when executed by the one or more processor cores, cause the one or more processor cores to train a neural network, wherein:
the neural network comprising one or more output nodes;
the one or more output nodes comprises at least a first output node;
the computer instructions, when executed by the one or more processor cores, cause the one or more processor cores to train the neural network by iteratively training with a set of training data items by:
for each of n=1, . . . , N training iterations:
in a forward computation phase, computing, in a forward computation through the neural network, activation values for nodes of the neural network, including an activation value for the first output node, for an nth training data item in the set of training data items; and
in a back-propagation phase, computing partial derivatives of a cost function for an objective for the neural network through the neural network for the nth training data item; and
after the forward computation phase and the back-propagation phase for the Nth training iteration, updating learned parameters for the neural network based on the computed partial derivatives for each of the n=1, . . . , N training iterations,
wherein:
the first output node is connected to R1 rejecter nodes, wherein R1 is greater than or equal to three;
each of the R1 rejecter nodes is trained to reject a category represented by the first output node;
for each of the n=1, . . . , N training iterations, the one or more processor cores are programmed to:
determine whether any of the R1 rejecter nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the R1 rejecter nodes are falsely activated, include a penalty term with the cost function for the two or more of the R1 rejecter nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.

### Claim 97 (depends on 96)

The computer system of claim 96, wherein:
the neural network further comprises a second output node;
the second output node is connected to R2 rejecter nodes, where R2 is greater than or equal to three;
each of the R2 rejecter nodes is trained to detect a category represented by the second output node; and
for each of the n=1, . . . , N training iterations, the one or more processor cores are programmed to:
for each of the n=1, . . . , N training iterations, determine whether any of the R2 rejecter nodes are falsely activated; and
for each of the n=1, . . . , N training iterations for which there is a determination that two or more of the R2 rejecter nodes are falsely activated, include the penalty term with the cost function for the two or more of the R2 rejecter nodes that are falsely activated in the computing of the partial derivatives in the back-propagation phase.
