Privacy protection quadrature amplitude modulation method for wireless distributed learning
By performing random sparsification and orthogonal amplitude modulation processing on floating-point data in wireless communication scenarios, the problem of balancing privacy protection and communication efficiency in federal data analysis is solved, and efficient privacy protection and communication efficiency improvement are achieved, and in Gaussian It shows good robustness under the channel.
Patent Information
- Application Number
- CN202410697858.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-05-31
AI Technical Summary
It is difficult for existing technologies to effectively achieve the balance between data privacy protection and communication efficiency in wireless communication scenarios in federal data analysis, especially due to the mismatch between the continuity of Gaussian and Laplacian noise and the limited accuracy of modern devices, and the discrete noise The mean square error of the mechanism grows proportionally to the data dimension.
Using a privacy-preserving quadrature amplitude modulation method for wireless communication, the floating-point data is randomly sparsely processed through the client, and the data is converted into a binary type using random encoding and quadrature amplitude modulation, and is sent to the central server through wireless communication. , using shared random numbers to decode and recover data, ensuring privacy protection and improving communication efficiency.
It achieves improved communication efficiency while meeting privacy protection and accuracy requirements, and the accuracy shows good robustness to the signal-to-noise ratio, providing privacy protection equivalent to the Gaussian mechanism and communication efficiency exceeding the Gaussian mechanism, both The square error has nothing to do with sparsity, and communication efficiency can be improved by adjusting sparsity.
Smart Images

Figure CN118713971A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of differential privacy and wireless communication, and in particular to a privacy protection quadrature amplitude modulation method for wireless communication. Background Art
[0002] Nowadays, massive data transmission brings high communication overhead to the centralized data analysis paradigm, so federated data analysis is proposed as a new distributed computing paradigm that allows data to be used and analyzed while keeping the original data on the user's device. Federated data analysis faces two key challenges: data privacy and communication efficiency. On the one hand, the user's local data may contain sensitive information, and privacy protection mechanisms need to be designed. On the other hand, user devices usually have limited communication capabilities, and mechanisms such as compression need to be adopted to improve communication efficiency.
[0003] Differential privacy (DP) has become the gold standard for privacy protection with its rigorous theoretical basis and easy implementation. The most commonly used method is to add Gaussian or Laplace noise to the data. However, Gaussian and Laplace noise are continuous, and modern computers / mobile devices can usually only generate and store variables of limited precision, which weakens the privacy protection ability of Gaussian and Laplace mechanisms. On the other hand, in order to improve the communication efficiency of users, compression methods such as quantization and sparsification are often adopted. In this case, discrete noise is often better. Therefore, in recent years, various privacy protection mechanisms based on discrete noise have been proposed, such as Bernoulli binomial noise, discrete Gaussian mechanism, and Poisson binomial mechanism. On this basis, some work studies the basic trade-off between communication efficiency, privacy protection, and accuracy in the classical (ε, δ)-DP framework, such as achieving differential privacy while ensuring communication efficiency through quantization, sampling, and perturbation entries, but the mean square error of these mechanisms is often different from d 2 In addition, in the design of existing discrete differential privacy protection mechanisms, the combination with actual wireless communication scenarios is often ignored. Summary of the invention
[0004] In order to solve the problems existing in the background technology, the present invention provides a privacy-preserving orthogonal amplitude modulation method for wireless communication. The present invention can effectively improve the communication efficiency while meeting the requirements of privacy protection and accuracy, and effectively solves the two major challenges of privacy protection and communication efficiency faced by distributed learning in the wireless communication scenario, and the accuracy shows good robustness to the signal-to-noise ratio.
[0005] The technical solution adopted by the present invention is:
[0006] The method is to perform the following processing on the floating point data communicated between a central server and multiple clients:
[0007] S1. For the floating point type update data (wireless communication data) that the client intends to send to the central server, the client uses random sparse processing of shared random numbers to reduce the amount of data transmission;
[0008] S2, obtaining modulated data by performing random coding and orthogonal amplitude modulation on the randomly sparse updated data using probability parameters in the random sparse process;
[0009] S3. The modulated data is sent from the client to the central server via wireless communication. The central server performs orthogonal amplitude demodulation on the received modulated data to obtain binary demodulated data. The demodulated data is decoded using a shared random number using probability parameters in random sparsification to obtain the recovery data of the client's updated data.
[0010] The specific implementation of step S1 is as follows:
[0011] The client's update data is represented as a d-dimensional vector x = [x1, x2, ..., x d ],1≤i≤d,x i Represents the i-th element in the vector, the element type is a floating point number, x i satisfy Where c represents x i The upper bound parameter of the absolute value, Letters represent arbitrary symbols;
[0012] The client updates each element of the data with The probability is randomly sparsely distributed by randomly discarding random numbers to reduce the amount of data transmission. A and B are the first probability parameter and the second probability parameter, and B>A is required.
[0013] The step S2 specifically involves first randomly encoding the randomly sparse updated data to become binary type coded data containing only two symbols, 0 and 1, and then orthogonally modulating the coded data to become modulated data.
[0014] The random encoding utilizes a first probability parameter in random sparsification.
[0015] The random code in step S2 is mapped and processed in the following manner to become binary type coded data:
[0016]
[0017] Where code(·) represents the random encoding operation, and p represents the element x in the updated data. i , A represents the first probability parameter in random sparsification, and the first probability parameter A>upper bound parameter c.
[0018] The decoding of the demodulated data utilizes the second probability parameter in the random sparsification.
[0019] In step S3, after the demodulated data is obtained, the following specific processing is performed:
[0020] S31, mapping the binary type demodulated data as follows:
[0021]
[0022] Among them, map ( / ) represents the mapping operation, s j Represents the jth symbol in the demodulated data, and the mapping operation is s j When it is equal to 1, it is mapped to 1, s j When it is equal to 0, it is mapped to -1;
[0023] S32, multiplying the mapped demodulated data by the second probability parameter B in random thinning to obtain decoded data;
[0024] S33. The central server uses the shared random number in the random thinning process of step S1 to fill the position of the element randomly discarded during the random thinning in the decoded data with 0 to obtain the client's recovery data.
[0025] The two probability parameters in the random sparsification satisfy the following relationship:
[0026]
[0027] Among them, μ is a parameter to measure the privacy protection ability.
[0028] The present invention improves communication efficiency by randomly sparsifying the update data on the client side, and then directly encodes the randomly sparsified update data into binary coded data through random coding. The coded data is sent to the central server by the client through wireless communication after orthogonal amplitude modulation; the central server demodulates the received modulated data through orthogonal amplitude to obtain binary demodulated data, and decodes the demodulated data to obtain the recovery data of the client update data, which is an unbiased estimator of the client update data. Based on the joint analysis and processing of the privacy protection gain provided by random sparsification and random coding, and the analysis of the mean square error, the privacy protection and accuracy equivalent to the Gaussian mechanism can be ensured by reasonably selecting parameters, and the accuracy is independent of the sparsity. The communication efficiency can be effectively improved by adjusting the sparsity. In addition, the accuracy of this method shows good robustness to noise.
[0029] The innovation of the present invention lies in the random sparse processing of the data on the client, and the combination of the parameters of the random sparse processing and the random discarding positions in the subsequent random encoding and orthogonal amplitude modulation as well as the reception and decoding of the central server, so that the final data forms an unbiased estimated distribution, realizing efficient and accurate privacy protection of wireless communication and improving processing efficiency.
[0030] The present invention has the following beneficial effects:
[0031] The orthogonal amplitude modulation method based on random sparsification and random coding proposed in the present invention can provide privacy protection equivalent to that of a Gaussian mechanism and communication efficiency exceeding that of a Gaussian mechanism. The mean square error of this method is independent of sparsity, so the communication efficiency can be improved by adjusting the sparsity while ensuring privacy and accuracy.
[0032] At the same time, the central server recovery data of the orthogonal amplitude modulation method is an unbiased estimator of the client update data, and the accuracy of the method shows good robustness to noise under Gaussian channel. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 The specific structural diagram of the present invention is shown by taking 4QAM, a 4-ary quadrature amplitude modulation, as an example.
[0034] Figure 2 , 3 This is a comparison chart of the mean square error (MSE) of the privacy-preserving orthogonal amplitude modulation method for wireless distributed learning of the present invention and the traditional Gaussian mechanism combined with 32-bit quantization and sparsification orthogonal amplitude modulation method under the same privacy protection requirements corresponding to different sparsities and different signal-to-noise ratios, where SNR represents signal-to-noise ratio.
[0035] Figure 4 , 5 This is a comparison chart of the mean square error (MSE) of the privacy-preserving orthogonal amplitude modulation method for wireless distributed learning of the present invention and the orthogonal amplitude modulation method combined with the traditional Gaussian mechanism and 32-bit quantization and sparsification under the same sparsity corresponding to different privacy protections and different signal-to-noise ratios. DETAILED DESCRIPTION
[0036] The present invention will be further described below in conjunction with the accompanying drawings and specific implementations.
[0037] The embodiments of the present invention and their implementation process are as follows:
[0038] This embodiment is aimed at the scenario of distributed learning using wireless communication as a means of information transmission, and includes a central server and multiple clients, wherein the client serves as a communication sending end and the central server serves as a communication receiving end. In the distributed learning task, each client sends local update data to the central server using wireless communication, and the central server receives the update data from each client via wireless communication, wherein the type of each element in the update data is a floating point number.
[0039] S1. For the floating point type update data (wireless communication data) that the client intends to send to the central server, the client uses random sparse processing of shared random numbers to reduce the amount of data transmission;
[0040] The client's update data is represented as a d-dimensional vector x = [x1, x2, ..., x d ],1≤i≤d,x i Represents the i-th element in the vector, represents the position of the element in the vector, and the element type is a floating point number, x i satisfy Where c represents x i The upper bound parameter of the absolute value, Letters represent arbitrary symbols;
[0041] The client updates each element of the data with The probability is randomly discarded by random numbers to achieve random sparseness to reduce the amount of data transmission. A and B are the first probability parameter and the second probability parameter that allow the size to be flexibly set according to actual needs, and B>A is required. The value of represents the sparsity of random sparsification, The smaller it is, the greater the probability of discarding each element, and the sparser the updated data after random sparsification.
[0042] During random sparsification, the client shares the random number with the central server, that is, the client and the central server share the random number by using the same random number seed. Because the random number is shared, the central server knows the position of the elements randomly discarded by the client during random sparsification in the updated data during subsequent demodulation.
[0043] S2, obtaining modulated data by performing random coding and orthogonal amplitude modulation on the randomly sparse updated data using probability parameters in the random sparse process;
[0044] Step S2 specifically involves first randomly encoding the randomly sparse updated data to become binary type coded data containing only two symbols, 0 and 1, and then orthogonally modulating the coded data to become modulated data.
[0045] Random coding uses the first probability parameter in random sparsification, which is mapped and processed in the following way to become binary type encoded data:
[0046]
[0047] Where code(·) represents the random encoding operation, and p represents the element x in the updated data. i The mapping probability of S1 is A, which represents the first probability parameter in random sparsification, and the first probability parameter A>upper bound parameter c. A is equal to A in S1 random sparsification, and is a parameter that allows the size to be set according to actual needs to control the level of randomness.
[0048] The above operation is to randomly sparse each element x in the updated data i By probability Map it to symbol 1, with probability Map it to symbol 0.
[0049] S3. The modulated data is sent from the client to the central server via wireless communication. The central server performs orthogonal amplitude demodulation on the received modulated data to obtain binary demodulated data. The demodulated data is decoded using probability parameters in random sparsification using shared random numbers to obtain recovered data of the client's updated data. The recovered data is an unbiased estimator of the client's updated data.
[0050] The decoding of the demodulated data utilizes the second probability parameter in the random sparsification. Specifically, after obtaining the demodulated data, the following processing is performed:
[0051] S31, mapping the binary type demodulated data as follows:
[0052]
[0053] Where map(·) represents the mapping operation, s j Represents the jth symbol in the demodulated data, and the mapping operation is s j When it is equal to 1, it is mapped to 1, s j When it is equal to 0, it is mapped to -1;
[0054] S32, multiplying the mapped demodulated data by the second probability parameter B in random thinning to obtain decoded data;
[0055] S33. The central server uses the shared random number in the random thinning process of step S1 to fill the position of the element randomly discarded during the random thinning in the decoded data with 0 to obtain the client's recovery data.
[0056] Represent the recovered data as a d-dimensional vector z, and we get E[z i] = x i , that is, the recovered data is an unbiased estimator of the client's updated data, where z i Represents the i-th element in the received vector.
[0057] The present invention can reduce the amount of data that needs to be transmitted for distributed learning in wireless scenarios and achieve privacy protection through the coordination relationship between random sparsification, random coding and modulation between steps S1 and S2.
[0058] The prior art usually implements the privacy protection standard using the Gaussian mechanism. The present invention can provide privacy protection equivalent to the Gaussian mechanism, but its communication efficiency exceeds that of the Gaussian mechanism.
[0059] In terms of privacy protection, it is assumed that the Gaussian mechanism satisfies μ-GDP, where GDP is a standard for measuring privacy protection and μ is a parameter for measuring privacy protection capabilities. It can provide privacy protection equivalent to that of the Gaussian mechanism.
[0060] In terms of communication efficiency, the Gaussian mechanism that satisfies μ-GDP is implemented by adding Gaussian noise is used to provide privacy protection, where n represents Gaussian noise, represents Gaussian distribution, σ represents the standard deviation of Gaussian distribution, The updated data after adding Gaussian noise is of floating point type. Therefore, in a wireless scenario, each element of the updated data needs to be further quantized into 32 binary symbols by 32 bits before being modulated. Compared with the S2 random encoding process of the present invention, each element of the updated data is directly encoded into 1 binary symbol. The Gaussian mechanism has a large amount of transmitted data and low communication efficiency.
[0061] In an ideal channel, the mean square error is close to the Gaussian mechanism and remains unchanged under different sparsity; in a Gaussian channel, the mean square error shows good robustness to noise. The specific analysis is as follows:
[0062] Under ideal channel, the present invention Gaussian mechanism mse'=σ 2 , where mse represents the i-th element z of the central server recovery data of the present invention i Update the i-th element x of the data with the client i The mean square error between them, mse' represents the i-th element z of the data recovered by the central server under the Gaussian mechanism i Update the i-th element x of the data with the client i The mean square error between them is small and the accuracy is high. When the present invention and the Gaussian mechanism provide the same privacy protection, the following formula AB=c is satisfied: 2 +σ 2,So Usually small, so the mean square error of the two is close. In addition, we can see that mse(z i ) is only related to the product AB of A and B, and the sparsity of random sparsification Therefore, increasing the sparsity to reduce the amount of transmitted data will not affect the mean square error and accuracy.
[0063] Under Gaussian white noise channel conditions, the bit error rate of MQAM (M-ary quadrature amplitude modulation) is expressed as P b , for the updated data element x i , the corresponding element z in the restored data i =1 has a probability of z i = -1 has a probability of Mean square error generally Therefore, AB dominates the mean square error. As the noise changes, the bit error rate P b The impact on the mean square error is small, so the accuracy shows good robustness to noise.
[0064] Through computer simulation verification, it can be seen that: Figure 2 , 3 As shown in the figure, compared with the orthogonal amplitude modulation method combining Gaussian mechanism with 32-bit quantization and sparsification, the privacy-preserving orthogonal amplitude modulation method for wireless distributed learning proposed in the present invention does not change with sparsity under the same privacy protection requirements, so the sparsity can be adjusted to achieve higher communication efficiency; Figure 2 , 3 Or 4, 5, it can be seen that the method proposed in the present invention shows excellent robustness to noise under Gaussian channel conditions compared with the traditional Gaussian mechanism combined with 32-bit quantization and sparsification orthogonal amplitude modulation method under MSE metric. Therefore, the privacy-preserving orthogonal amplitude modulation method for wireless distributed learning proposed in the present invention provides a very effective modulation scheme that takes into account both privacy protection and communication efficiency in wireless communication scenarios.
[0065] Specific examples:
[0066] The client updates the data x = [x1, x2, x3, x4] = [0.2, 0.4, 0.25, 0.1], A = 0.5, B = 1, and uses 4QAM. First, after the S1 step, the client updates each element of the data with Probabilistic random discarding realizes random sparsification. Assume that the updated data after random sparsification is x'=[x1,x3]=[0.2,0.25], where x' represents the updated data after random sparsification, i.e., the two elements x2 and x4 are discarded after random sparsification. Next, after step S2, each element of the updated data after random sparsification is randomly encoded. Specifically, the element x1 in the updated data after random sparsification is randomly encoded with probability Encoded as 1, with probability Encoded as 0, the same operation is performed on element x3, with probability Encoded as 1, with probability The code is 0. Assume that the coded data after random coding is [1,0], and the coded data becomes modulated data after orthogonal amplitude modulation. The modulated data is sent from the client to the central server through wireless communication. The central server demodulates the received modulated data through orthogonal amplitude modulation to obtain binary demodulated data [1,0]. The demodulated data is first mapped to [1,-1] during the decoding process, and then multiplied by B=1 to obtain the recovered data [1,-1]. When the number of clients is large, in a statistical sense, the central server can obtain an unbiased estimate of the mean of the updated data of each client.
[0067] The above specific implementation modes are used to explain the present invention rather than to limit the present invention. Any modification and change made to the present invention within the spirit of the present invention and the protection scope of the claims shall fall within the protection scope of the present invention.
[0068] The above description is only a preferred embodiment of the present invention, so all equivalent changes or modifications made according to the structure, characteristics and principles described in the scope of the patent application of the present invention are included in the scope of the patent application of the present invention.
Claims
1. A privacy-preserving quadrature amplitude modulation method for wireless distributed learning, characterized in that: The method is to perform the following processing on the floating point data communicated between a central server and multiple clients: S1. For the floating point type update data that the client intends to send to the central server, the client uses the random sparse processing of the shared random number to reduce the amount of data transmission; S2, obtaining modulated data by performing random coding and orthogonal amplitude modulation on the randomly sparse updated data using probability parameters in the random sparse process; S3. The modulated data is sent from the client to the central server via wireless communication. The central server performs orthogonal amplitude demodulation on the received modulated data to obtain binary demodulated data. The demodulated data is decoded using a shared random number using probability parameters in random sparsification to obtain the recovery data of the client's updated data.
2. The privacy-preserving quadrature amplitude modulation method for wireless distributed learning according to claim 1, characterized in that: The specific implementation of step S1 is as follows: The client's update data is represented as a d-dimensional vector x = [x1, x2, ..., x d ],1≤i≤d,x i Represents the i-th element in the vector, the element type is a floating point number, x i satisfy Where c represents x i Upper bound parameter of absolute value; The client updates each element of the data with The probability is randomly sparsely distributed by randomly discarding random numbers to reduce the amount of data transmission. A and B are the first probability parameter and the second probability parameter, and B>A is required.
3. The privacy-preserving quadrature amplitude modulation method for wireless distributed learning according to claim 1, characterized in that: The step S2 specifically involves first randomly encoding the randomly sparse updated data to become binary type coded data containing only two symbols, 0 and 1, and then orthogonally modulating the coded data to become modulated data.
4. A privacy-preserving quadrature amplitude modulation method for wireless distributed learning according to claim 1 or 3, characterized in that: The random encoding utilizes a first probability parameter in random sparsification.
5. A privacy-preserving quadrature amplitude modulation method for wireless distributed learning according to claim 1 or 3, characterized in that: The random code in step S2 is mapped and processed in the following manner to become binary type coded data: Where code( / ) represents the random encoding operation, and p represents the element x in the updated data. i , A represents the first probability parameter in random sparsification, and the first probability parameter A>upper bound parameter c.
6. The privacy-preserving quadrature amplitude modulation method for wireless distributed learning according to claim 1, characterized in that: The decoding of the demodulated data utilizes the second probability parameter in the random sparsification.
7. The privacy-preserving quadrature amplitude modulation method for wireless distributed learning according to claim 1, characterized in that: In step S3, after the demodulated data is obtained, the following specific processing is performed: S31, mapping the binary type demodulated data as follows: Where map(·) represents the mapping operation, s j Represents the jth symbol in the demodulated data, and the mapping operation is s j When it is equal to 1, it is mapped to 1, s j When it is equal to 0, it is mapped to -1; S32, multiplying the mapped demodulated data by the second probability parameter B in random thinning to obtain decoded data; S33. The central server uses the shared random number in the random thinning process of step S1 to fill the position of the element randomly discarded during the random thinning in the decoded data with 0 to obtain the client's recovery data.
8. The privacy-preserving quadrature amplitude modulation method for wireless distributed learning according to claim 1, characterized in that: The two probability parameters in the random sparsification satisfy the following relationship: Among them, μ is a parameter to measure the privacy protection ability.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium or electronic device having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Federal learning-oriented privacy protection method
CN117294469A
Distributed artificial intelligence system using transmission of compressed gradients and model parameter, and learning apparatus and method therefor
US20230196205A1
