# US 2023/0068386 A1 · Systems and methods for distributed learning for wireless edge dynamics

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

- Number: US 2023/0068386 A1
- Document ID: US20230068386A1
- Status: Published application
- Kind: A1
- Application number: 17/790,950
- Filed: 2020-12-26
- Published: 2023-03-02
- Earliest claimed: 2020-02-03
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Mustafa Riza Akdeniz; Arjun Anand; Nageen Himayat; Amir S. Avestimehr; Ravikumar Balakrishnan; Prashant Bhardwaj; Jeongsik Choi; Yang-Seok Choi; Sagar Dhakal; Brandon Gary Edwards; Saurav Prakash; Amit Solomon; Shilpa Talwar; Yair Eliyahu Yona
- Web page: https://patentgrep.com/patent/US20230068386A1

## CPC

- G06N 20/00: Machine learning
- H04L 47/125: by balancing the load, e.g. traffic engineering
- G06N 3/045: Combinations of networks
- G06N 3/063: using electronic means
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/098: Distributed learning, e.g. federated learning
- H04L 47/80: Actions related to the user profile or the type of traffic
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The apparatus of an edge computing node, a system, a method and a machine-readable medium. The apparatus includes a processor to perform rounds of federated machine learning training including: processing client reports from a plurality of clients of the edge computing network; selecting a candidate set of clients from the plurality of clients for an epoch of the federated machine learning training; causing a global model to be sent to the candidate set of clients; and performing the federated machine learning training on the candidate set of clients. The processor may perform rounds of federated machine learning training including: obtaining coded training data from each of the selected clients; and performing machine learning training on the coded training data.

## Claims

### Claim at position 1

-70. (canceled)

### Claim 71

An apparatus of a first edge computing node to be operated in an edge computing network, the apparatus including an interconnect interface to connect the apparatus to one or more components of the first edge computing node, and a processor to:
decode a first message from a second edge computing node, the first message including information on a target data distribution for federated machine learning training;
determine the target data distribution from the first message;
encode a client report for transmission to the second edge computing node based on a divergence between a local data distribution of the first edge computing node and the target data distribution;
cause transmission of the client report to the second edge computing node;
decode a second message from the second edge computing node, the second message including information on a global model associated with a global epoch of the federated machine learning training; and
update a local gradient at the first edge computing node based on the global model.

### Claim 72 (depends on 71)

The apparatus of claim 71, the processor further to:
encode weighted loss information for transmission to the second edge computing node;
cause transmission of the weighted loss information to the second edge computing node;
encode for transmission to the second edge computing node a local weight update wk,t+e=wk,t+e−1−η*gk,t+e*pk/qk, where wk,t+e corresponds to a weight update of the first edge computing node at global epoch t and local epoch e, η is a learning rate, gk,t+e corresponds to a gradient estimate for the first edge computing node at global epoch t and local epoch e, pk corresponds to an original sampling distribution of the first edge computing node, and q is a probability distribution for the first edge computing node; and
cause transmission of the local weight update to the second edge computing node.

### Claim 73 (depends on 71)

The apparatus of claim 71, wherein a data distribution at the first edge computing node corresponds to non-independent and identically distributed data (non-i.i.d.).

### Claim 74 (depends on 71)

The apparatus of claim 71, the processor to perform rounds of federated machine learning training including:
processing a capability request from the second edge computing node;
generating a capability report on compute capabilities and communication capabilities of the first edge computing node in response to the capability request;
causing transmission of the capability report to the second edge computing node;
after causing transmission of the capability report, decoding the second message from the second edge computing node to initialize training parameters of a federated machine learning training round with the second edge computing node; and
reporting updated model weights based on the global model for the federated machine learning training round.

### Claim 75 (depends on 74)

The apparatus of claim 74, wherein the compute capabilities include a compute rate and the communication capabilities include an uplink communication time to the second edge computing node.

### Claim 76 (depends on 74)

The apparatus of claim 74, wherein the capability report further includes information on a number of training examples at the first edge computing node.

### Claim 77 (depends on 71)

The apparatus of claim 71, the processor to:
encode, for transmission to the second edge computing node, a capability report including at least one of information based on a training loss of the first edge computing node for a global epoch of a federated machine learning training by the second edge computing node training, or information based on a gradient of the first edge computing node with respect to a pre-activation output of the first edge computing node;
cause transmission of the capability report; and
for a next global epoch of the federated machine learning training, decode an updated global model from the second edge computing node.

### Claim 78 (depends on 77)

The apparatus of claim 77, the processor to further decode the second message prior to causing transmission of the capability report.

### Claim 79 (depends on 77)

The apparatus of claim 77, wherein the capability report further includes a compute rate, and at least one of an uplink communication time or a downlink communication time for communication with the second edge computing node.

### Claim 80 (depends on 71)

The apparatus of claim 71, the processor to:
compute kernel coefficients based on a kernel function, a local raw training data set of the first edge computing node, and a raw label set corresponding to the local raw training data set;
generate a coded training data set from the raw training data set;
generate a coded label set based on the kernel coefficients, the kernel function, and the raw label set; and
cause the coded training data set and coded label set to be transmitted to the second edge computing node.

### Claim 81 (depends on 71)

The apparatus of claim 71, the processor to further:
access a local training data set of the first edge computing node;
apply a Random Fourier Feature Mapping (RFFM) transform to the training data set to yield a transformed training data set;
after decoding the second message, iteratively, until the global model converges:
compute an update to the global model using the transformed training data set and a raw label set corresponding to the training data set to obtain an updated global model; and
cause the update to be transmitted to the second edge computing node.

### Claim 82 (depends on 71)

The apparatus of claim 71, the processor to:
access a local training data set of the first edge computing node and a label set corresponding to the local training data set;
apply a Random Fourier Feature Mapping (RFFM) transform to the training data set to yield a transformed training data set;
estimate a local machine learning (ML) model based on the transformed training data set and the label set;
generate a coded training data set from the transformed training data set;
generate a coded label set based on the coded training data set and the estimated local ML model; and
cause the coded training data set and coded label set to be transmitted to the second edge computing node.

### Claim 83 (depends on 71)

The apparatus of claim 71, the processor to:
access a subset of a local training data set of the first edge computing node;
generate a transformed training data subset based on a Random Fourier Feature Mapping (RFFM) transform and the training data subset;
generate a coding matrix based on a distribution;
generate a weighting matrix;
generate a coded training data mini-batch based on multiplying the transformed training data subset with the coding matrix and the weighting matrix; and
cause the coded training data mini-batch to be transmitted to the second edge computing node;
wherein the weighting matrix is based on a probability of whether the coded training data mini-batch will be received at the second edge computing node.

### Claim 84 (depends on 71)

The apparatus of claim 71, the processor to:
obtain, from each of a set of first edge computing nodes of the edge computing network, a maximum coding redundancy value for a coded federated learning (CFL) cycle to be performed on a global machine learning (ML) model of the federated ML training;
determine a coding redundancy value based on the maximum coding redundancy values received from the edge computing devices;
determine an epoch time and a number of data points to be processed at each edge computing device during each epoch of the CFL cycle based on the determined coding redundancy value; and
cause the determined coding redundancy value, epoch time, and number of data points to be processed at each edge computing device to be transmitted to the set of edge computing devices.

### Claim 85 (depends on 71)

The apparatus of claim 71, the processor to:
determine a coded privacy budget and an uncoded privacy budget based on a differential privacy guarantee for a cycle of the federated machine learning;
generate a coded data set from a raw data set of the first edge computing node based on the coded privacy budget;
cause the coded data set to be transmitted to the second edge computing node;
perform a round of the federated machine learning on the global model including:
after receiving the second message, computing an update to the global model based on the raw data set and the uncoded privacy budget; and
causing transmission of the update to the global model to the second edge computing node.

### Claim 86 (depends on 71)

The apparatus of claim 71, further comprising a transceiver coupled to the processor, and one or more antennas coupled to the transceiver, the antennas to send and receive wireless communications from other edge computing nodes in the edge computing network.

### Claim 87 (depends on 86)

The apparatus of claim 86, further comprising a system memory coupled to the processor, the system memory to store instructions, the processor to execute the instructions to perform the training.

### Claim 88

A non-transitory computer-readable storage medium comprising instructions to cause a first edge computing node, upon execution of the instructions by one or more processors of the first edge computing node, to perform operations including:
decoding a first message from a second edge computing node, the first message including information on a target data distribution for federated machine learning training;
determining the target data distribution from the first message;
encoding a client report for transmission to the second edge computing node based on a divergence between a local data distribution of the first edge computing node and the target data distribution;
causing transmission of the client report to the second edge computing node;
decoding a second message from the second edge computing node, the second message including information on a global model associated with a global epoch of the federated machine learning training; and
updating a local gradient at the first edge computing node based on the global model.

### Claim 89 (depends on 88)

The storage medium of claim 88, the operations including:
encoding weighted loss information for transmission to the second edge computing node;
causing transmission of the weighted loss information to the second edge computing node;
encoding for transmission to the second edge computing node a local weight update wk,t+e=wk,t+e−1−η*gk,t+e*pk/qk, where wk,t+e corresponds to a weight update of the first edge computing node at global epoch t and local epoch e, η is a learning rate, gk,t+e corresponds to a gradient estimate for the first edge computing node at global epoch t and local epoch e, pk corresponds to an original sampling distribution of the first edge computing node, and q is a probability distribution for the first edge computing node; and
causing transmission of the local weight update to the second edge computing node.

### Claim 90 (depends on 88)

The storage medium of claim 88, wherein a data distribution at the first edge computing node corresponds to non-independent and identically distributed data (non-i.i.d.).

### Claim 91 (depends on 88)

The storage medium of claim 88, the method including performing rounds of federated machine learning training including:
processing a capability request from the second edge computing node;
generating a capability report on compute capabilities and communication capabilities of the first edge computing node in response to the capability request;
causing transmission of the capability report to the second edge computing node;
after causing transmission of the capability report, decoding the second message from the second edge computing node to initialize training parameters of a federated machine learning training round with the second edge computing node; and
reporting updated model weights based on the global model for the federated machine learning training round.

### Claim 92

A method to be performed at an first edge computing node in an edge computing network, the method including:
decoding a first message from a second edge computing node, the first message including information on a target data distribution for federated machine learning training;
determining the target data distribution from the first message;
encoding a client report for transmission to the second edge computing node based on a divergence between a local data distribution of the first edge computing node and the target data distribution;
causing transmission of the client report to the second edge computing node;
decoding a second message from the second edge computing node, the second message including information on a global model associated with a global epoch of the federated machine learning training; and
updating a local gradient at the first edge computing node based on the global model.

### Claim 93 (depends on 92)

The method of claim 92, the method including:
encoding weighted loss information for transmission to the second edge computing node;
causing transmission of the weighted loss information to the second edge computing node;
encoding for transmission to the second edge computing node a local weight update wk,t+e=wk,t+e−1−η*gk,t+e*pk/qk, where wk,t+e corresponds to a weight update of the first edge computing node at global epoch t and local epoch e, η is a learning rate, gk,t+e corresponds to a gradient estimate for the first edge computing node at global epoch t and local epoch e, pk corresponds to an original sampling distribution of the first edge computing node, and q is a probability distribution for the first edge computing node; and
causing transmission of the local weight update to the second edge computing node.

### Claim 94 (depends on 92)

The method of claim 92, the method including performing rounds of federated machine learning training including:
processing a capability request from the second edge computing node;
generating a capability report on compute capabilities and communication capabilities of the first edge computing node in response to the capability request;
causing transmission of the capability report to the second edge computing node;
after causing transmission of the capability report, decoding the second message from the second edge computing node to initialize training parameters of a federated machine learning training round with the second edge computing node; and
reporting updated model weights based on the global model for the federated machine learning training round.

### Claim 95 (depends on 94)

The method of claim 94, wherein the capability report further includes information on a number of training examples at the first edge computing node.
