# US 11,120,102 B2 · Systems and methods of distributed optimization

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

- Number: US 11,120,102 B2
- Document ID: US11120102B2
- Status: Granted
- Kind: B2
- Application number: 17/004,324
- Filed: 2020-08-27
- Published: 2020-12-17
- Granted: 2021-09-14
- Earliest claimed: 2015-10-16
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Hugh Brendan McMahan; Jakub Konecny; Eider Brantly Moore; Daniel Ramage; Blaise H. Aguera-Arcas
- Web page: https://patentgrep.com/patent/US11120102B2

## CPC

- G06F 17/17: Function evaluation by approximation methods, e.g. inter- or extrapolation, smoothing, least mean square method ({G06F17/18 takes precedence } ; interpolation for numerical control G05B19/18)
- G06F 17/11: for solving equations {, e.g. nonlinear equations, general mathematical optimization problems (optimization specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 30/00: Computer-aided design [CAD]
- G06N 20/00: Machine learning
- G06F 2111/02: CAD in a network environment, e.g. collaborative CAD or distributed simulation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and methods of determining a global model are provided. In particular, one or more local updates can be received from a plurality of user devices. Each local update can be determined by the respective user device based at least in part on one or more data examples stored on the user device. The one or more data examples stored on the plurality of user devices are distributed on an uneven basis, such that no user device includes a representative sample of the overall distribution of data examples. The local updates can then be aggregated to determine a global model.

## Claims

### Claim 1

A device for performing voice recognition; the device comprising:
a microphone;
a speaker;
one or more processors; and
one or more memory devices, the one or more memory devices storing:
a machine-learned voice recognition model; and
computer-readable instructions that when executed by the one or more processors cause the one or more processors to perform operations, the operations comprising:
determining a local model update associated with an objective function based at least in part on a number of local data examples stored by the device, the local model update being determined by performing a number of iterations of a gradient descent training technique on a local version of the machine-learned voice-recognition model with respect to the number of local data examples stored by the device;
providing the local model update to a central computing system for use in determination of a global version of the machine-learned voice-recognition model based on aggregation of the local model update with one or more additional local model updates received from one or more additional devices, the aggregation of the local model update with the one or more additional local model updates comprising application of a weighting term to each local model update; the weighting term for each local model update being proportional to the number of local data examples stored on the corresponding device;
receiving the global version of the machine-learned voice-recognition model from the central computing system; and
employing the global version of the machine-learned voice-recognition model to produce voice recognition predictions based on voice data captured by the microphone.

### Claim 2 (depends on 1)

The device of claim 1, wherein one or more of the number of local data examples stored by the device are generated through interaction of a user with the device.

### Claim 3 (depends on 2)

The device of claim 2, wherein the one or more of the number of local data examples generated through interaction of the user with the device comprise audio files.

### Claim 4 (depends on 1)

The device of claim 1, wherein the machine-learned voice recognition model comprises a convolutional neural network.

### Claim 5

A device for performing voice recognition, the device comprising:
a microphone;
a speaker;
one or more processors; and
one or more memory devices, the one or more memory devices storing computer-readable instructions that when executed by the one or more processors cause the one or more processors to perform operations, the operations comprising:
accessing a global version of a machine-learned voice-recognition model, wherein the global version of the machine-learned model has been generated based on aggregation of a plurality of local model updates respectively generated by a plurality of additional devices, the aggregation of the plurality of local model updates comprising application of a weighting term to each local model update, the weighting term for each local model update being proportional to a number of local data examples stored on the additional device that generated the local model update;
capturing voice data with the microphone; and
employing the global version of the machine-learned voice-recognition model to produce voice recognition predictions based on the voice data captured by the microphone.

### Claim 6 (depends on 5)

The device of claim 5, wherein one or more of the number of local data examples stored by each additional device are generated through interaction of a respective user with the additional device.

### Claim 7 (depends on 6)

The device of claim 6, wherein the one or more of the number of local data examples generated through interaction of the respective user with the additional device comprise audio files.

### Claim 8 (depends on 5)

The device of claim 5, wherein the machine-learned voice recognition model comprises a convolutional neural network.

### Claim 9

A computer-implemented method of performing voice recognition, the method comprising:
receiving, by a device that comprises a microphone and a speaker, a global version of a machine-learned voice-recognition model obtained from a central computing system, wherein the global version of the machine-learned model has been generated based on aggregation of a plurality of local model updates respectively generated by a plurality of additional devices, the aggregation of the plurality of local model updates comprising application of a weighting term to each local model update, the weighting term for each local model update being proportional to a number of local data examples stored on the additional device that generated the local model update; and
capturing, by the device using the microphone, voice data; and
employing, by the device, the received global version of the machine-learned voice recognition model to produce voice recognition predictions based on the voice data captured by the microphone.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein one or more of the number of local data examples stored by each additional device are generated through interaction of a respective user with the additional device.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein the one or more of the number of local data examples generated through interaction of the respective user with the additional device comprise audio files.

### Claim 12 (depends on 9)

The computer-implemented method of claim 9, wherein the machine-learned voice recognition model comprises a convolutional neural network.

### Claim 13

A computer-implemented method of performing voice recognition, the method comprising:
determining, by a first device that comprises a microphone, a speaker, and a machine-learned voice recognition model, a local model update to the machine-learned voice recognition model based at least in part on a gradient of a loss function and a number of locally stored data examples;
providing, by the first device, the local model update to a central computing system for use in determination of a global update to the machine-learned voice recognition model by the central computing system via aggregation of the local model update with one or more additional local model updates received from one or more additional devices, the aggregation of the local model update with the one or more additional local model updates comprising application of a weighting term to each local model update, the weighting term for each local model update being proportional to the number of locally stored data examples stored on the corresponding device;
receiving, by a second device that comprises a microphone and a speaker, the machine-learned voice recognition model from the central computing system after application of the global update to the machine-learned voice recognition model by the central computing system; and
employing, by the second device, the received machine-learned voice recognition model to produce voice recognition predictions based on voice data captured by the microphone of the second device.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, wherein one or more of the number of locally stored data are generated through interaction of a user with the first device.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein the one or more of the number of locally stored data are generated through interaction of the user with the first device comprise audio files.
