# US 9,355,067 B1 · Distribution of parameter calculation for iterative optimization methods

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

- Number: US 9,355,067 B1
- Document ID: US9355067B1
- Status: Granted
- Kind: B1
- Application number: 14/691,362
- Filed: 2015-04-20
- Granted: 2016-05-31
- Earliest claimed: 2012-03-23
- Assignees: Google Inc.
- Applicants: Google Inc.
- Inventors: Rajat Monga; Xiaoyun Wu; Andrew Yan-Tak Ng
- Web page: https://patentgrep.com/patent/US9355067B1

## CPC

- G06F 17/10: Complex mathematical operations {(function generation by table look-up G06F1/03; evaluation of elementary functions by calculation G06F7/544)}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 30/20: Design optimisation, verification or simulation (optimisation, verification or simulation of circuit designs G06F30/30)
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- 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 2111/10: Numerical modelling
- 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 are disclosed for distributed first- or higher-order model fitting algorithms. Determination of the parameter set for the objective function is divided into a plurality of sub-processes, each performed by one of a plurality of worker computers. A master computer coordinates the operation of the plurality of worker computers, each operating on a portion of the parameter set such that no two worker computers contain exactly the same parameter subset nor the complete parameter set. Each worker computer performs its sub-processes on its parameter subset, together with training data. For maximum efficiency, the sub-processes are performed using a compact set of instruction primitives. The results are evaluated by the master computer, which may coordinate additional sub-process operations to perform higher-order optimization or terminate the optimization method and proceed to formulation of a model function.

## Claims

### Claim 1

A system for optimizing a data model having a parameter set comprising a plurality of parameters, the system comprising:
a master computer system controlling an iterative optimization process for optimizing the parameter set of the data model, wherein the master computer system is configured to perform operations comprising:
dividing the parameter set of the data model into a plurality of parameter subsets;
assigning each of the parameter subsets to a respective one of a plurality of worker computer systems, wherein each worker computer system is assigned a different parameter subset, and wherein no worker computer system is assigned the complete parameter set;
receiving, from each of the worker computer systems, results of a respective evaluation of a closeness of fit,
wherein each respective evaluation is an evaluation of a closeness of fit of classifications generated by the data model for a set of training data to known outputs for the set of training data, and
wherein each respective evaluation is performed after the worker computer system has performed at least one sub-process of the iterative optimization process on the set of training data to determine updates for the values for the parameters in the parameter subset assigned to the worker computer system;
determining an overall closeness of fit of the data model using the results of the respective evaluations of the closeness of fit received from each of the worker computer systems; and
determining whether or not to perform another iteration of the iterative optimization process based on the overall closeness of fit of the data model.

### Claim 2 (depends on 1)

The system of claim 1, further comprising:
the plurality of worker computer systems, wherein each of the plurality of worker computer systems is configured to perform operations comprising:
perform at least one sub-process of the iterative optimization process on the set of training data to determine updates for the values for the parameters in the parameter subset assigned to the worker computer system and to evaluate the closeness of fit of classifications generated by the data model to known outputs for the set of training data, and
provide the results of the evaluation of the closeness of fit to the master computer system.

### Claim 3 (depends on 2)

The system of claim 2, further comprising a computer accessible memory device communicatively coupled to each of the plurality of worker computer systems, wherein the computer accessible memory device stores a master parameter set.

### Claim 4 (depends on 3)

The system of claim 3, wherein the at least one sub-process performed by each worker computer system includes updating the master parameter set with the updated values for the parameters in the parameter subset assigned to the worker computer system.

### Claim 5 (depends on 1)

The system of claim 1, wherein the operations that the master computer system is configured to perform further comprise sending a communication to each of the worker computer systems to cause the worker computer systems to initiate the at least one sub-process.

### Claim 6 (depends on 1)

The system of claim 1, wherein, when the master computer system determines that another iteration should be performed, the operations that the master computer system is configured to perform further comprise:
generating a plurality of updated parameter subsets using the updates;
distributing each updated parameter subset to a respective worker computer system; and
instructing each worker computer system to replace any existing parameter subset stored thereby with the updated parameter subset.

### Claim 7 (depends on 1)

The system of claim 1, wherein each worker computer is configured to perform the at least one sub-process using only instruction primitives selected from the group consisting of: fill, scale dot product, affine, random initialization, and L1/L2 regularization.

### Claim 8 (depends on 1)

The system of claim 1, wherein the iterative optimization process is a method of order greater than one.

### Claim 9 (depends on 8)

The system of claim 8, wherein the method of order greater than one comprises an L-BFGS method.

### Claim 10

A method for optimizing a data model having a parameter set comprising a plurality of parameters, the method comprising:
dividing, by a master computer system controlling an iterative optimization process for optimizing the parameter set of the data model, the parameter set of the data model into a plurality of parameter subsets;
assigning, by the master computer, each of the parameter subsets to a respective one of a plurality of worker computer systems, wherein each worker computer system is assigned a different parameter subset, and wherein no worker computer system is assigned the complete parameter set;
receiving, by the master computer system and from each of the worker computer systems, results of a respective evaluation of a closeness of fit,
wherein each respective evaluation is an evaluation of a closeness of fit of classifications generated by the data model for a set of training data to known outputs for the set of training data, and
wherein each respective evaluation is performed after the worker computer system has performed at least one sub-process of the iterative optimization process on the set of training data to determine updates for the values for the parameters in the parameter subset assigned to the worker computer system;
determining, by the master computer system, an overall closeness of fit of the data model using the results of the respective evaluations of the closeness of fit received from each of the worker computer systems; and
determining, by the master computer system, whether or not to perform another iteration of the iterative optimization process based on the overall closeness of fit of the data model.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
performing, by each worker computer system of the plurality of worker computer systems, at least one sub-process of the iterative optimization process on the set of training data to determine updates for the values for the parameters in the parameter subset assigned to the worker computer system and to evaluate the closeness of fit of classifications generated by the data model to known outputs for the set of training data, and
providing, by each worker computer system, the results of the evaluation of the closeness of fit to the master computer system.

### Claim 12 (depends on 11)

The method of claim 11, wherein the at least one sub-process performed by each worker computer system includes updating a master parameter set stored on a computer accessible memory device communicatively coupled to each of the plurality of worker computer systems with the updated values for the parameters in the parameter subset assigned to the worker computer system.

### Claim 13 (depends on 10)

The method of claim 10, further comprising:
sending, by the master computer system, a communication to each of the worker computer systems to cause the worker computer systems to initiate the at least one sub-process.

### Claim 14 (depends on 10)

The method of claim 10, further comprising:
in response to determining that another iteration should be performed:
generating, by the master computer system, a plurality of updated parameter subsets using the updates;
distributing, by the master computer system, each updated parameter subset to a respective worker computer system; and
instructing, by the master computer system, each worker computer system to replace any existing parameter subset stored thereby with the updated parameter subset.

### Claim 15 (depends on 10)

The method of claim 10, wherein each worker computer is configured to perform the at least one sub-process using only instruction primitives selected from the group consisting of: fill, scale dot product, affine, random initialization, and L1/L2 regularization.

### Claim 16 (depends on 10)

The method of claim 10, wherein the iterative optimization process is an optimization method of order greater than one.

### Claim 17 (depends on 16)

The method of claim 16, wherein the optimization method of order greater than one comprises an L-BFGS method.

### Claim 18

A computer program product encoded on one or more non-transitory computer storage media, the computer program product comprising instructions that when executed by one or more computers cause the one or more computers to perform operations for optimizing a data model having a parameter set comprising a plurality of parameters, the operations comprising:
dividing, by a master computer system controlling an iterative optimization process for optimizing the parameter set of the data model, the parameter set of the data model into a plurality of parameter subsets;
assigning, by the master computer, each of the parameter subsets to a respective one of a plurality of worker computer systems, wherein each worker computer system is assigned a different parameter subset, and wherein no worker computer system is assigned the complete parameter set;
receiving, by the master computer system and from each of the worker computer systems, results of a respective evaluation of a closeness of fit,
wherein each respective evaluation is an evaluation of a closeness of fit of classifications generated by the data model for a set of training data to known outputs for the set of training data, and
wherein each respective evaluation is performed after the worker computer system has performed at least one sub-process of the iterative optimization process on the set of training data to determine updates for the values for the parameters in the parameter subset assigned to the worker computer system;
determining, by the master computer system, an overall closeness of fit of the data model using the results of the respective evaluations of the closeness of fit received from each of the worker computer systems; and
determining, by the master computer system, whether or not to perform another iteration of the iterative optimization process based on the overall closeness of fit of the data model.

### Claim 19 (depends on 18)

The computer program product of claim 18, the operations further comprising:
performing, by each worker computer system of the plurality of worker computer systems, at least one sub-process of the iterative optimization process on the set of training data to determine updates for the values for the parameters in the parameter subset assigned to the worker computer system and to evaluate the closeness of fit of classifications generated by the data model to known outputs for the set of training data, and
providing, by each worker computer system, the results of the evaluation of the closeness of fit to the master computer system.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the at least one sub-process performed by each worker computer system includes updating a master parameter set stored on a computer accessible memory device communicatively coupled to each of the plurality of worker computer systems with the updated values for the parameters in the parameter subset assigned to the worker computer system.
