# US 2023/0274194 A1 · Method and apparatus for fetching gradient data for federated learning process

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

- Number: US 2023/0274194 A1
- Document ID: US20230274194A1
- Status: Published application
- Kind: A1
- Application number: 17/584,332
- Filed: 2022-01-25
- Published: 2023-08-31
- Earliest claimed: 2022-01-25
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Srinivas YERRAMALLI; Taesang YOO; Rajat PRAKASH; Junyi LI; Eren BALEVI; Hamed PEZESHKI; Tao LUO; Xiaoxia ZHANG; Aziz Gholmieh
- Web page: https://patentgrep.com/patent/US20230274194A1

## CPC

- G06N 20/20: Ensemble learning
- H04L 41/16: using machine learning or artificial intelligence
- H04L 1/1835: {Buffer management}
- H04L 41/042: comprising distributed management centres cooperatively managing the network
- H04L 41/34: Signalling channels for network management communication
- 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

A method of wireless communication by a user equipment (UE) includes receiving, from a network device, a request to initiate gradient computations for a round of federated learning. The method also includes computing gradients in response to receiving the request to initiate gradient computation. The method further includes informing the network device of availability of the gradients. The method still further includes receiving, from the network device, information to enable transfer of the gradients to the network device. The method further includes transferring the gradients to the network device in response to receiving the information to enable transfer.

## Claims

### Claim 1

A method of wireless communication by a user equipment (UE), comprising:
receiving, from a network device, a request to initiate gradient computations for a round of federated learning;
computing gradients in response to receiving the request to initiate gradient computation;
informing the network device of availability of the gradients;
receiving, from the network device, information to enable transfer of the gradients to the network device; and
transferring the gradients to the network device in response to receiving the information to enable transfer.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, from the network device, an acknowledgment (ACK) of successful transferring of the gradients; and
flushing gradients from a buffer in response to receiving the ACK.

### Claim 3 (depends on 1)

The method of claim 1, in which the information to enable transfer indicates whether the transferring occurs in an analog format or a digital format.

### Claim 4 (depends on 3)

The method of claim 3, in which the information to enable transfer indicates the analog format for initial transmissions and indicates the digital format for retransmissions.

### Claim 5 (depends on 1)

The method of claim 1, further comprising compressing the gradients in a digital format based on the information to enable transfer.

### Claim 6 (depends on 1)

The method of claim 1, further comprising informing the network device of a quantity of data samples available for computing the gradients or whether the quantity of data samples exceeds a threshold.

### Claim 7 (depends on 6)

The method of claim 6, further comprising receiving, from the network device, a status request for the quantity of data samples.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
storing the gradients in a buffer, in which informing the network device of availability indicates a first quantity of gradients that have been computed; and
computing additional gradients, in which informing the network device of availability indicates a second quantity of gradients that have been computed, the second quantity of gradients including the additional gradients.

### Claim 9 (depends on 8)

The method of claim 8, in which the second quantity of gradients comprises the first quantity of gradients averaged with the additional gradients.

### Claim 10 (depends on 8)

The method of claim 8, in which the second quantity of gradients includes the additional gradients, which replace the first quantity of gradients.

### Claim 11

An apparatus for wireless communication by a user equipment (UE), comprising:
a memory; and
at least one processor coupled to the memory, the at least one processor configured:
to receive, from a network device, a request to initiate gradient computations for a round of federated learning;
to compute gradients in response to receiving the request to initiate gradient computation;
to inform the network device of availability of the gradients;
to receive, from the network device, information to enable transfer of the gradients to the network device; and
to transfer the gradients to the network device in response to receiving the information to enable transfer.

### Claim 12 (depends on 11)

The apparatus of claim 11, in which the at least one processor is further configured:
to receive, from the network device, an acknowledgment (ACK) of successful transferring of the gradients; and
to flush the gradients from a buffer in response to receiving the ACK.

### Claim 13 (depends on 11)

The apparatus of claim 11, in which the information to enable transfer indicates whether the transferring occurs in an analog format or a digital format.

### Claim 14 (depends on 13)

The apparatus of claim 13, in which the information to enable transfer indicates the analog format for initial transmissions and indicates the digital format for retransmissions.

### Claim 15 (depends on 11)

The apparatus of claim 11, in which the at least one processor is further configured to compress the gradients in a digital format based on the information to enable transfer.

### Claim 16 (depends on 11)

The apparatus of claim 11, in which the at least one processor is further configured to inform the network device of a quantity of data samples available for computing the gradients or whether the quantity of data samples exceeds a threshold.

### Claim 17 (depends on 16)

The apparatus of claim 16, in which the at least one processor is further configured to receive, from the network device, a status request for the quantity of data samples.

### Claim 18 (depends on 11)

The apparatus of claim 11, in which the at least one processor is further configured:
to store the gradients in a buffer, wherein the network device is informed of availability to indicate a first quantity of gradients that have been computed; and
to compute additional gradients, wherein the network device is informed of availability to indicate a second quantity of gradients that have been computed, the second quantity of gradients includes the additional gradients.

### Claim 19 (depends on 18)

The apparatus of claim 18, in which the second quantity of gradients comprises the first quantity of gradients averaged with the additional gradients.

### Claim 20 (depends on 18)

The apparatus of claim 18, in which the second quantity of gradients includes the additional gradients, which replace the first quantity of gradients.

### Claim 21

A method of wireless communication by a network device, comprising:
transmitting a request to initiate gradient computations for a round of federated learning;
receiving a notice of availability of computed gradients in response to the request to initiate gradient computation;
transmitting information to enable transfer of the computed gradients from a user equipment (UE) to the network device; and
receiving the computed gradients.

### Claim 22 (depends on 21)

The method of claim 21, further comprising transmitting an acknowledgment (ACK) of successful transferring of the computed gradients to trigger the UE to flush the computed gradients from a buffer.

### Claim 23 (depends on 21)

The method of claim 21, in which the information to enable transfer indicates whether the transferring occurs in an analog format or a digital format.

### Claim 24 (depends on 23)

The method of claim 23, in which the information to enable transfer indicates the analog format for initial transmissions and indicates the digital format for retransmissions.

### Claim 25 (depends on 21)

The method of claim 21, further comprising receiving an indication informing the network device of a quantity of data samples available for computing gradients or whether the quantity of data samples exceeds a threshold.

### Claim 26 (depends on 25)

The method of claim 25, further comprising transmitting a status request for the quantity of data samples.

### Claim 27 (depends on 21)

The method of claim 21, in which:
receiving the notice of availability of computed gradients indicates a first quantity of gradients that have been computed; and
receiving the notice of availability of computed gradients indicates a second quantity of gradients that have been computed, the second quantity of gradients including additional computed gradients.

### Claim 28 (depends on 27)

The method of claim 27, in which the second quantity of gradients comprises the first quantity of gradients averaged with the additional gradients.

### Claim 29 (depends on 27)

The method of claim 27, in which the second quantity of gradients includes the additional gradients, which replace the first quantity of gradients.
