# US 2020/0265301 A1 · Incremental training of machine learning tools

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

- Number: US 2020/0265301 A1
- Document ID: US20200265301A1
- Status: Published application
- Kind: A1
- Application number: 16/277,735
- Filed: 2019-02-15
- Published: 2020-08-20
- Earliest claimed: 2019-02-15
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Douglas C. Burger; Eric S. Chung; Bita Darvish Rouhani
- Web page: https://patentgrep.com/patent/US20200265301A1

## CPC

- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06F 18/40: Software arrangements specially adapted for pattern recognition, e.g. user interfaces or toolboxes therefor
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 5/04: Inference or reasoning models
- G06N 3/063: using electronic means
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Technology related to incremental training of machine learning tools is disclosed. In one example of the disclosed technology, a method can include receiving operational parameters of a machine learning tool based on a primary set of training data. The machine learning tool can be a deep neural network. Input data can be applied to the machine learning tool to generate an output of the machine learning tool. A measure of prediction quality can be generated for the output of the machine learning tool. In response to determining the measure of prediction quality is below a threshold, incremental training of the operational parameters can be initiated using the input data as training data for the machine learning tool. Operational parameters of the machine learning tool can be updated based on the incremental training. The updated operational parameters can be stored.

## Claims

### Claim 1

A computing system comprising:
a processor in communication with an input sensor and a computer-readable medium storing trained operational parameters of a neural network model, the processor configured to:
apply input data collected by the input sensor to the neural network model to generate a classification of the input data based on the trained operational parameters;
measure a prediction quality of the classification of the input data;
determine whether the prediction quality is below a threshold quality level;
in response to determining the prediction quality is below the threshold quality level, initiate incremental training of the neural network model using the input data as training data for the neural network model, wherein an output of the incremental training is updated operational parameters of the neural network model; and
store the updated operational parameters of the neural network model on the computer-readable medium so that the neural network model operates according to the updated operational parameters.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein initiating the incremental training of the neural network model comprises determining a privacy setting of the computing system.

### Claim 3 (depends on 2)

The computing system of claim 2, wherein the privacy setting is determined to be private, and the initiated incremental training of the neural network model comprises calculating a gradient function of the neural network model.

### Claim 4 (depends on 3)

The computing system of claim 3, wherein the initiated incremental training of the neural network model comprises transmitting an output of gradient function to a server computer so that the server computer performs the incremental training of the neural network model based on the output of the gradient function.

### Claim 5 (depends on 2)

The computing system of claim 2, wherein the privacy setting is determined to be public, and the initiated incremental training of the neural network model comprises transmitting the received input data to a server computer.

### Claim 6 (depends on 1)

The computing system of claim 1, wherein the processor is further configured to determine the prediction quality is below the threshold quality level by determining the input data was misclassified.

### Claim 7 (depends on 1)

The computing system of claim 1, wherein neurons of a last layer of the neural network model use a soft-max activation function, and the processor is further configured to determine the prediction quality is below the threshold quality level by determining a perplexity function based on outputs of the last layer of the neural network model and a one-hot vector.

### Claim 8 (depends on 1)

The computing system of claim 1, wherein the processor is further configured to determine the prediction quality is below the threshold quality level by determining a perplexity function based on outputs of a mixture of layers of the neural network model.

### Claim 9

A method comprising:
producing operational parameters of a machine learning tool based on a primary set of training data;
applying input data to the machine learning tool being used in an inference mode to generate an output of the machine learning tool;
in response to determining a measure of prediction quality of the output of the machine learning tool is below a threshold, initiating incremental training of the operational parameters using the input data as training data for the machine learning tool; and
storing updated operational parameters of the machine learning tool, the updated operational parameters being based on the incremental training.

### Claim 10 (depends on 9)

The method of claim 9, wherein the machine learning tool is a deep neural network comprising a plurality of hidden layers.

### Claim 11 (depends on 10)

The method of claim 10, wherein the measure of prediction quality is a function of an output of a hidden layer from the plurality of hidden layers of the deep neural network.

### Claim 12 (depends on 9)

The method of claim 9, wherein initiating the incremental training of the machine learning tool comprises calculating a gradient function of the machine learning tool.

### Claim 13 (depends on 9)

The method of claim 9, wherein the generated output of the machine learning tool is stored only on a local device performing the incremental training and is not transmitted to a server computer.

### Claim 14

A method of training operational parameters of a machine learning tool, the method comprising:
training the operational parameters of the machine learning tool based on an initial set of training data;
transmitting the operational parameters of the machine learning tool to an edge device via an interconnection network;
receiving additional training data from the edge device, the additional training data selected based on a measure of quality applied to an output of the machine learning tool executing at the edge device;
performing incremental training of the operational parameters using the additional training data received from the edge device to generate updated operational parameters; and
transmitting the updated operational parameters to the edge device.

### Claim 15 (depends on 14)

The method of claim 14, wherein the machine learning tool uses a deep neural network comprising a plurality of hidden layers, and the operational parameters include weights of edges of the deep neural network.

### Claim 16 (depends on 14)

The method of claim 14, wherein the additional training data is input data of the machine learning tool, the input data collected at the edge device.

### Claim 17 (depends on 14)

The method of claim 14, wherein the additional training data is a gradient of the machine learning tool calculated by back-propagating an output of the machine learning tool, the output generated using input data collected at the edge device.

### Claim 18 (depends on 14)

The method of claim 14, further comprising evaluating a trust-level of the edge device, and wherein the additional training data is weighted based on the trust-level of the edge device when the incremental training is performed.

### Claim 19 (depends on 14)

The method of claim 14, wherein performing incremental training comprises using both a subset of the initial set of training data and the additional training data as inputs to the machine learning tool during a training mode of the machine learning tool.

### Claim 20 (depends on 14)

The method of claim 14, wherein the incremental training is delayed until a threshold amount of additional training data is received.
