# US 2022/0292392 A1 · Scheduled federated learning for enhanced search

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

- Number: US 2022/0292392 A1
- Document ID: US20220292392A1
- Status: Published application
- Kind: A1
- Application number: 17/199,403
- Filed: 2021-03-11
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Ali Anwar; Syed Amer Zawad; Yi Zhou; NATHALIE BARACALDO ANGEL
- Web page: https://patentgrep.com/patent/US20220292392A1

## CPC

- G06N 20/00: Machine learning
- G06F 16/2453: Query optimisation
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/566: Grouping or aggregating service requests, e.g. for unified processing
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An indication of availability over time and resource usage is maintained for each computing device of a plurality of computing devices. An optimal combination of a subset of the plurality of computing devices is determined for each round of one or more rounds of training based on the availability over time and the resource usage for each computing device. A global model is generated utilizing the one or more optimal combinations of the plurality of computing devices and a query is performed utilizing the global model.

## Claims

### Claim 1

A method comprising:
maintaining an indication of availability over time and resource usage for each computing device of a plurality of computing devices;
determining an optimal combination of a subset of the plurality of computing devices for each round of one or more rounds of training based on the availability over time and the resource usage for each computing device;
generating a global model utilizing the one or more optimal combinations of the plurality of computing devices; and
performing a query utilizing the global model.

### Claim 2 (depends on 1)

The method of claim 1, further comprising scheduling the one or more optimal combinations of the plurality of computing devices for training over time.

### Claim 3 (depends on 2)

The method of claim 2, wherein the scheduling is based on a cost model, the cost model based on one or more of resource bias, availability, accuracy, and fairness.

### Claim 4 (depends on 1)

The method of claim 1, further comprising determining an importance of a contribution to the global model by a given computing device.

### Claim 5 (depends on 1)

The method of claim 1, further comprising maintaining a scheduling table based on the availability over time of the plurality of computing devices.

### Claim 6 (depends on 1)

The method of claim 1, wherein the determining the optimal combination further comprises using dynamic programming to identify all combinations of available computing devices over time.

### Claim 7 (depends on 6)

The method of claim 6, further comprising measuring resource usage and biasness for each combination of the plurality of computing devices.

### Claim 8 (depends on 1)

The method of claim 1, further comprising determining a priority of a given computing device for participating in a round of training based on its local training data.

### Claim 9 (depends on 1)

The method of claim 1, wherein the generating the global model further comprises determining a model performance and a model biasness of the global model.

### Claim 10 (depends on 1)

The method of claim 1, wherein generating the global model further comprises:
generating, by each selected computing device, a local model based on a corresponding local data set and a global data set, the global data set being provided by an aggregator; and
submitting the local model to the aggregator.

### Claim 11 (depends on 10)

The method of claim 10, wherein the generating of the global model further comprises generating, by the aggregator, a revised global model based on the submitted local models and sharing, by the aggregator, the revised global model with another set of selected parties.

### Claim 12 (depends on 1)

The method of claim 1, wherein the determining of the optimal combination further comprises determining all possible combinations of available computing devices over a given number of rounds.

### Claim 13 (depends on 12)

The method of claim 12, wherein the determining of the optimal combination further comprises selecting a combination having one of a smallest resource usage bias, a smallest resource used per device variance, and a smallest resource usage.

### Claim 14 (depends on 1)

The method of claim 1, wherein the generating the global model further comprises testing, by each computing device, the global model, using test data sets sampled from a corresponding local data set and sending, by each computing device, the resulting local test accuracy to an aggregator.

### Claim 15 (depends on 14)

The method of claim 14, wherein the generating the global model further comprises ranking the computing devices based on the local test accuracy, wherein a high accuracy indicates that the global model is biased towards the corresponding computing device.

### Claim 16 (depends on 1)

The method of claim 1, wherein the generating the global model further comprises testing, by each computing device, the local model using a global evaluation data set and sending, by each computing device, the resulting global evaluation accuracy to an aggregator.

### Claim 17 (depends on 16)

The method of claim 16, wherein the generating the global model further comprises ranking the computing devices based on the global evaluation accuracy, wherein a high accuracy indicates that the corresponding computing device has a superior local data set.

### Claim 18 (depends on 1)

The method of claim 1, wherein the determining of the optimal combination is based on a weighted objective function:
argmin w1*sum(Resource Usage per Device)+w2*var(Resource Usage per Device)+w3*sum(Biasness_Priority per Device)+w4*sum(PerformancePriorityPer Device),
wherein the Biasness_Priority per Device is based on a ranking of the computing devices based on local test accuracy, wherein the Performancepriorityper Device is based on a ranking of the computing devices based on global evaluation accuracy, and wherein w1, w2, w3, w4 are assigned weights.

### Claim 19

A computer program product for federated learning, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to:
maintain an indication of availability over time and resource usage for each computing device of a plurality of computing devices;
determine an optimal combination of a subset of the plurality of computing devices for each round of one or more rounds of training based on the availability over time and the resource usage for each computing device;
generate a global model utilizing the one or more optimal combinations of the plurality of computing devices; and
perform a query utilizing the global model.

### Claim 20

An apparatus comprising:
a memory; and
at least one processor, coupled to said memory, and operative to perform operations comprising:
maintaining an indication of availability over time and resource usage for each computing device of a plurality of computing devices;
determining an optimal combination of a subset of the plurality of computing devices for each round of one or more rounds of training based on the availability over time and the resource usage for each computing device;
generating a global model utilizing the one or more optimal combinations of the plurality of computing devices; and
performing a query utilizing the global model.
