# US 2025/0211469 A1 · Communication method and related apparatus

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

- Number: US 2025/0211469 A1
- Document ID: US20250211469A1
- Status: Published application
- Kind: A1
- Application number: 19/080,209
- Filed: 2025-03-14
- Published: 2025-06-26
- Earliest claimed: 2022-09-20
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Gongzheng Zhang; Chen Xu; Rong Li
- Web page: https://patentgrep.com/patent/US20250211469A1

## CPC

- G06N 3/098: Distributed learning, e.g. federated learning
- H04L 25/0254: {using neural network algorithms}
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- H04L 25/03165: {using neural networks}
- 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 communication method and a related apparatus, the method including receiving, by a first apparatus, at least one quantization threshold from a second apparatus, performing, by the first apparatus, quantization on related information of a first model of the first apparatus based on the at least one quantization threshold, and sending, by the first apparatus, first information to the second apparatus, wherein the first information indicates quantized related information of the first model.

## Claims

### Claim 1

A communication method, comprising:
receiving, by a first apparatus, at least one quantization threshold from a second apparatus;
performing, by the first apparatus, quantization on related information of a first model of the first apparatus based on the at least one quantization threshold; and
sending, by the first apparatus, first information to the second apparatus, wherein the first information indicates quantized related information of the first model.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the related information of the first model comprises an output parameter or an update parameter of the first model, and wherein the update parameter comprises a weight gradient or a weight parameter of the first model.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the related information of the first model comprises at least one of:
the output parameter of the first model, and wherein the information obtained by processing the related information of the first model comprises an average value of absolute values of values of output parameters of the first model; or
the update parameter of the first model, and wherein the information obtained by processing the related information of the first model comprises an average value of absolute values of values of update parameters of the first model.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising performing, before the receiving, the at least one quantization threshold from the second apparatus:
sending, by the first apparatus, second information to the second apparatus;
wherein the second information indicates information obtained by at least one of:
processing the related information of the first model; or
processing related information obtained by performing an Mth round of training on the first model by the first apparatus, wherein the related information of the first model is related information obtained by performing a Qth round of training on the first model by the first apparatus, wherein M is an integer greater than or equal to 1 and less than Q, and wherein Q is an integer greater than 1.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the related information of the first model comprises N parameters of the first model, and N is an integer greater than or equal to 1;
wherein the performing, by the first apparatus, quantization on related information of a first model of the first apparatus based on the at least one quantization threshold comprises:
performing, by the first apparatus, quantization on the N parameters based on the at least one quantization threshold, to obtain N quantized parameters, and wherein the first information comprises the N quantized parameters; and
wherein the sending, by the first apparatus, first information to the second apparatus comprises:
modulating, by the first apparatus, the N quantized parameters, to obtain N first signals; and
sending, by the first apparatus, the N first signals to the second apparatus.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the at least one quantization threshold comprises a first quantization threshold and a second quantization threshold; and
wherein the performing, by the first apparatus, quantization on the N parameters based on the at least one quantization threshold, to obtain N quantized parameters comprises:
quantizing, by the first apparatus, an ith parameter to a first value in response to the ith parameter in the N parameters being greater than the first quantization threshold, wherein i is an integer greater than or equal to 1 and less than or equal to N; or
quantizing, by the first apparatus, an ith parameter to a second value in response to the ith parameter in the N parameters being less than or equal to the first quantization threshold and being greater than or equal to the second quantization threshold; or
quantizing, by the first apparatus, an ith parameter to a third value in response to the ith parameter in the N parameters being less than the second quantization threshold.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the modulating, by the first apparatus, the N quantized parameters, to obtain N first signals comprises:
modulating, by the first apparatus, an ith quantized parameter, to obtain an ith first signal, wherein the ith first signal corresponds to two sequences; and
wherein a transmit power at which the first apparatus sends a 1st sequence in the two sequences is less than a transmit power at which the first apparatus sends a 2nd sequence in the two sequences when the ith quantized parameter is the first value;
wherein a transmit power at which the first apparatus sends a 1st sequence in the two sequences is equal to a transmit power at which the first apparatus sends a 2nd sequence in the two sequences when the ith quantized parameter is the second value; and
wherein a transmit power at which the first apparatus sends a 1st sequence in the two sequences is greater than a transmit power at which the first apparatus sends a 2nd sequence in the two sequences when the ith quantized parameter is the third value.

### Claim 8 (depends on 7)

The method according to claim 7, wherein, when the ith quantized parameter is the first value, the 1st sequence in the two sequences is a non-all-0 sequence, and the 2nd sequence is an all-0 sequence;
wherein, when the ith quantized parameter is the second value, the two sequences are both all-0 sequences; and
wherein, when the ith quantized parameter is the third value, the 1st sequence in the two sequences is an all-0 sequence, and the 2nd sequence is a non-all-0 sequence.

### Claim 9 (depends on 6)

The method according to claim 6, wherein the related information of the first model comprises N parameters of the first model that are obtained through quantization error compensation, wherein the N parameters obtained through quantization error compensation are obtained by performing error compensation for the N parameters by the first apparatus based on quantization errors respectively corresponding to the N parameters obtained by performing the Qth round of training on the first model by the first apparatus, wherein a quantization error corresponding to the ith parameter in the N parameters is determined based on an ith parameter obtained by performing a (Q−1)th round of training on the first model and performing quantization error compensation by the first apparatus, wherein i is an integer greater than or equal to 1 and less than or equal to N, wherein N is an integer greater than or equal to 1, and wherein Q is an integer greater than 1.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising:
receiving, by the first apparatus, third information from the second apparatus, wherein the third information indicates global information of the first model.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the global information of the first model comprises a global output parameter of the first model, or the global information of the first model comprises a global update parameter or a global learning rate of the first model.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the sending, by the first apparatus, first information to the second apparatus comprises:
sending, by the first apparatus, the first information to the second apparatus L times, wherein L is an integer greater than or equal to 1.

### Claim 13 (depends on 12)

The method according to claim 12, further comprising:
receiving, by the first apparatus, first indication information from the second apparatus, wherein the first indication information indicates the quantity L of sending times that the first apparatus sends the first information to the second apparatus.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the related information of the first model comprises N parameters of the first model that are obtained through sparsification, wherein the N parameters of the first model that are obtained through sparsification are N parameters selected by the first apparatus from K parameters of the first model based on a common sparse mask, wherein the K parameters of the first model are parameters obtained by performing one round of training on the first model by the first apparatus, wherein K is an integer greater than or equal to N, wherein K is an integer greater than or equal to 1, and wherein N is an integer greater than or equal to 1.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the common sparse mask is a bit sequence, wherein the bit sequence comprises K bits, and wherein the K bits correspond on a one-to-one basis to the K parameters; and
wherein a value of one bit in the K bits being 0 indicates to the first apparatus to not select a parameter corresponding to the bit; and
wherein a value of one bit in the K bits being 1 indicates to the first apparatus to select a parameter corresponding to the bit.

### Claim 16 (depends on 14)

The method according to claim 14, wherein the common sparse mask is determined by the first apparatus based on a sparsity ratio and a pseudo-random number, and wherein the sparsity ratio is indicated by the second apparatus to the first apparatus.

### Claim 17

A communication method, comprising:
sending, by a second apparatus, at least one quantization threshold to a first apparatus, wherein the at least one quantization threshold is associated with performing quantization on related information of a first model of the first apparatus; and
receiving, by the second apparatus, first information sent from the first apparatus, wherein the first information indicates quantized related information of the first model.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the related information of the first model comprises an output parameter or an update parameter of the first model, and wherein the update parameter comprises a weight gradient or a weight parameter of the first model.

### Claim 19 (depends on 18)

The method according to claim 18, wherein the related information of the first model comprises at least one of:
the output parameter of the first model, and wherein the information obtained by processing the related information of the first model comprises an average value of absolute values of values of output parameters of the first model; or
the update parameter of the first model, and wherein the information obtained by processing the related information of the first model comprises an average value of absolute values of values of update parameters of the first model.

### Claim 20 (depends on 19)

The method according to claim 19, further comprising:
receiving, by the second apparatus, second information from the first apparatus; and
determining, by the second apparatus, the at least one quantization threshold based on the second information;
wherein the second information indicates information obtained by at least one of:
processing the related information of the first model; or
performing an Mth round of training on the first model and performing processing by the first apparatus, wherein the related information of the first model is related information obtained by performing a Qth round of training on the first model by the first apparatus, wherein M is an integer greater than or equal to 1 and less than Q, and wherein Q is an integer greater than 1.

### Claim 21 (depends on 20)

The method according to claim 20, further comprising:
receiving, by the second apparatus, third information from a third apparatus;
wherein the third information indicates at least one of:
information obtained by processing related information of a second model of the third apparatus; or
information obtained by performing an Sth round of training on the second model and performing processing by the third apparatus;
wherein the related information of the second model is related information obtained by performing an Rth round of training on the second model by the third apparatus, wherein S is an integer greater than or equal to 1 and less than R, and R is an integer greater than 1; and
wherein the determining, by the second apparatus, the at least one quantization threshold based on the second information comprises:
determining, by the second apparatus, the at least one quantization threshold based on the second information and the third information.

### Claim 22 (depends on 21)

The method according to claim 21, further comprising:
receiving, by the second apparatus, fifth information from the third apparatus, wherein the fifth information indicates the related information of the second model of the third apparatus;
wherein the determining, by the second apparatus, global information of the first model based on the first information comprises:
determining, by the second apparatus, the global information of the first model based on the first information and the fifth information.

### Claim 23 (depends on 22)

The method according to claim 22, wherein the related information of the first model comprises N parameters of the first model, wherein N is an integer greater than or equal to 1, wherein the related information of the second model comprises N parameters of the second model, wherein the first information comprises N quantized parameters of the first model, and wherein the fifth information comprises N quantized parameters of the second model;
wherein the receiving, by the second apparatus, first information sent from the first apparatus comprises:
receiving, by the second apparatus, N first signals from the first apparatus, wherein the N first signals carry the N quantized parameters of the first model, and the N first signals correspond on a one-to-one basis to the N quantized parameters of the first model;
wherein the receiving, by the second apparatus, the fifth information from the third apparatus comprises:
receiving, by the second apparatus, N second signals from the third apparatus, wherein the N second signals carry the N quantized parameters of the second model, and wherein the N second signals correspond on a one-to-one basis to the N quantized parameters of the second model; and
wherein the determining, by the second apparatus, the global information of the first model based on the first information and the fifth information comprises:
determining, by the second apparatus, the global information of the first model based on the N first signals and the N second signals.

### Claim 24 (depends on 23)

The method according to claim 23, wherein an ith first signal in the N first signals corresponds to a first sequence and a second sequence, wherein an ith second signal in the N second signals corresponds to a third sequence and a fourth sequence, wherein a time-frequency resource used by the first apparatus to send the first sequence is the same as a time-frequency resource used by the third apparatus to send the third sequence, wherein a time-frequency resource used by the first apparatus to send the second sequence is the same as a time-frequency resource used by the third apparatus to send the fourth sequence, and wherein the global information of the first model comprises N global parameters of the first model, and wherein i is an integer greater than or equal to 1 and less than or equal to N; and
wherein the determining, by the second apparatus, the global information of the first model based on the N first signals and the N second signals comprises:
determining, by the second apparatus, a first signal energy sum of the first sequence and the third sequence that are received by the second apparatus;
determining, by the second apparatus, a second signal energy sum of the second sequence and the fourth sequence that are received by the second apparatus; and
determining, by the second apparatus, an ith global parameter in the N global parameters based on the first signal energy sum and the second signal energy sum.

### Claim 25 (depends on 23)

The method according to claim 23, further comprising:
sending, by the second apparatus, second indication information to the first apparatus, wherein the second indication information indicates a common sparse mask, and wherein the common sparse mask indicates the first apparatus to report some parameters obtained by training the first model by the first apparatus.

### Claim 26 (depends on 25)

The method according to claim 25, further comprising:
receiving, by the second apparatus, third indication information from the first apparatus, wherein the third indication information indicates indexes of the N parameters whose absolute values of corresponding values are largest and that are in K parameters obtained by performing one round of training on the first model by the first apparatus;
receiving, by the second apparatus, fourth indication information from the third apparatus, wherein the fourth indication information indicates indexes of N parameters whose absolute values of corresponding values are largest and that are in K parameters of the second model of the third apparatus, and wherein the K parameters of the second model are K parameters obtained by performing one round of training on the second model by the third apparatus; and
determining, by the second apparatus, the common sparse mask based on the third indication information and the fourth indication information.

### Claim 27 (depends on 17)

The method according to claim 17, further comprising:
determining, by the second apparatus, global information of the first model based on the first information; and
sending, by the second apparatus, fourth information to the first apparatus, wherein the fourth information indicates the global information of the first model.

### Claim 28 (depends on 27)

The method according to claim 27, wherein the global information of the first model comprises a global output parameter of the first model, or the global information of the first model comprises a global update parameter or a global learning rate of the first model.

### Claim 29

A first apparatus, comprising:
at least one processor; and
at least one non-transitory computer readable memory connected to the at least one processor and including computer program code, wherein the at least one non-transitory computer readable memory and the computer program code are configured, with the one or more processors, to cause the first apparatus to perform at least:
receiving at least one quantization threshold from a second apparatus;
performing quantization on related information of a first model of the first apparatus based on the at least one quantization threshold; and
sending first information to the second apparatus, wherein the first information indicates quantized related information of the first model.

### Claim 30

A second apparatus, comprising:
at least one processor; and
at least one non-transitory computer readable memory connected to the at least one processor and including computer program code, wherein the at least one non-transitory computer readable memory and the computer program code are configured, with the one or more processors, to cause the second apparatus to perform at least:
sending at least one quantization threshold to a first apparatus, wherein the at least one quantization threshold is used to perform quantization on related information of a first model of the first apparatus; and
receiving first information sent from the first apparatus, wherein the first information indicates quantized related information of the first model.
