A robust and secure federated learning aggregation method for measuring user reliability

By using secret sharing technology to measure user reliability and perform weighted average calculations in federated learning, the problems of data privacy protection, Byzantine attacks and the impact of low-quality users in federated learning are solved, and efficient aggregation model construction is achieved.

CN118520974BActive Publication Date: 2024-10-22JINAN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410978012.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-22
Estimated Expiration
2044-07-22

AI Technical Summary

Technical Problem

While existing federated learning aggregation solutions protect user data privacy, it is difficult to defend against Byzantine attacks and the negative impact of low-quality users on the aggregation model, and commonly used differential privacy technologies and homomorphic encryption technologies have the potential to reduce model accuracy and computational overhead. question.

Method used

A robust and secure federated learning aggregation method based on secret sharing technology is used to measure user reliability by calculating the Euclidean distance between the local model and the global model, reducing the impact of Byzantine attacks and low-quality users, and calculating the aggregation model through weighted average to reduce calculations overhead.

Benefits of technology

Effectively protect user data privacy, reduce the negative impact of Byzantine attacks and low-quality users on the aggregation model, improve model accuracy and performance, and reduce computing overhead.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520974B_ABST
    Figure CN118520974B_ABST
Patent Text Reader

Abstract

The present invention relates to a robust and secure federated learning aggregation method for measuring user reliability, including: S1, obtaining a number of local data, training a global model based on the number of local data, and obtaining a local model; S2, splitting the local model, and sending the split local model to a number of servers; S3, calculating the Euclidean distance between the local model share and the global model based on a number of servers, processing the Euclidean distance, and obtaining a reliability value; S4, obtaining an aggregation model based on the reliability value and the local model, and updating and training the local model through the aggregation model; S5, repeating steps S1-S4 until the aggregation model reaches a preset standard, and obtaining a standard aggregation model. While protecting the privacy of user data, the present invention also effectively reduces the negative impact of Byzantine attackers and low-quality users, and improves the security, robustness and efficiency of the federated learning aggregation scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data security technology, and in particular to a robust and secure federated learning aggregation method for measuring user reliability. Background Art

[0002] Machine learning is one of the focuses of attention in the field of artificial intelligence. Its achievements in many fields such as natural language processing, Internet of Things and recommendation systems are quite significant. However, machine learning still faces many challenges. Machine learning usually relies on a centralized training model, in which a large number of users send local raw data to the server for unified model training. However, this model may lead to the leakage of sensitive data. In today's era, data is the foundation of the digital economy, and data privacy protection is the foundation of digital economic governance. Data between users cannot be shared and exchanged safely and effectively, which has caused the problem of data "islands".

[0003] In order to achieve secure data sharing and integration, federated learning, as a distributed machine learning method, has the core concept of keeping the original data of multiple users locally. Users only need to share local models with the server, realizing a new model of "data available but invisible". This greatly enhances data privacy protection and promotes secure data sharing and collaboration among users.

[0004] However, some studies have shown that federated learning still faces the problem of privacy leakage. The server can infer private information through the received local model. In addition, Byzantine attackers can upload poisonous local models to pollute the global model, resulting in a decrease in the accuracy of the aggregated model. At the same time, in actual applications, some users may have low-quality training data. Local models trained with low-quality data will also have a negative impact on the aggregated results to a certain extent.

[0005] Solving the above three problems at the same time is a huge challenge. This is because the privacy protection strategy of federated learning aims to prohibit access to local models to avoid information leakage, but strategies with Byzantine robustness and defense against low-quality users usually require access to local models to calculate the reliability of each user. In existing federated learning aggregation schemes, in order to comprehensively consider privacy protection, Byzantine robustness, and the problem of dealing with low-quality users, most schemes tend to adopt differential privacy technology or homomorphic encryption technology. Among them, the scheme based on differential privacy technology needs to add noise to the data in order to achieve the function of privacy protection, which may reduce the accuracy of the model; and homomorphic encryption technology has a large computational overhead when used to resist Byzantine attacks.

[0006] In summary, protecting user data privacy while reducing Byzantine attacks and the negative impact of low-quality users on the aggregation model are issues that need to be addressed in the federated learning aggregation process. Therefore, designing a privacy-preserving Byzantine-robust federated learning aggregation method is of far-reaching significance. Summary of the invention

[0007] In order to solve some problems existing in the above-mentioned federated learning aggregation scheme, the present invention proposes a robust and secure federated learning aggregation method that measures user reliability, which takes into account security, privacy protection, accuracy and anti-Byzantine attack considerations.

[0008] To achieve the above object, the present invention provides the following solutions:

[0009] A robust and secure federated learning aggregation method for measuring user reliability, including:

[0010] S1. Obtain a number of local data, train a global model based on the number of local data, and obtain a local model;

[0011] S2. Split the local model and send the split local models to several servers; the several servers include: server ,server and server ;

[0012] S3, calculating the Euclidean distance between the local model share and the global model based on the plurality of servers, processing the Euclidean distance, and obtaining a reliability value;

[0013] S4. Acquire an aggregate model according to the reliability value and the local model, and update and train the local model through the aggregate model;

[0014] S5. Repeat steps S1-S4 until the aggregation model reaches a preset standard, and obtain a standard aggregation model.

[0015] Optionally, obtaining a number of local data includes:

[0016] Acquire and initialize the global model, and store the initialized global model on the server in the form of two-party secret sharing and the server .

[0017] Optionally, calculating the Euclidean distance between the local model share and the global model includes:

[0018] The local model and the global model are calculated based on the addition mechanism of the three-party secret sharing by the servers to obtain the calculation result of subtracting the local model from the global model;

[0019] The subtraction result of the local model and the global model is calculated based on the multiplication mechanism of the three-party replicated secret sharing to obtain the Euclidean distance between the local model share and the global model.

[0020] Optionally, processing the Euclidean distance to obtain a reliability value includes:

[0021] The Euclidean distance share corresponding to each server [ d n ] A Multiply by a constant to get the secret share of the opposite of the Euclidean distance [- d n ] A ={- d n 1 , - d n 2 , - d n 3 } ;

[0022] Based on the server Generate random numbers , the random number Send to the server , the server According to the formula Perform disturbance processing and send the results to the server , the server The share of the opposite number of the Euclidean distance held Send to the server ;

[0023] Through the server Received and and the server Shares held , obtain the obfuscation value of reliability, divide the obfuscation value of reliability according to the two-party secret sharing technology, and send the divided obfuscation value shares of reliability to the server respectively and the server ;

[0024] Based on the server and the server Using random numbers The disturbance to the reliability confusion value is eliminated to obtain the reliability value in the form of two-party secret sharing.

[0025] Optionally, the method for obtaining the obfuscation value of the reliability is:

[0026]

[0027] in, is the reliability calculation function, is the Euclidean distance between the local model and the global model, , and are the three shares of the Euclidean distance in the form of secret sharing, is the reliability confusion value, For Server and server A random number held in common, The result of the logarithm operation of the random number.

[0028] Optionally, obtaining a reliability value in a two-party secret sharing form includes:

[0029] Get the server in the form of two-party secret sharing Reliability value:

[0030]

[0031] in, For the server in the form of two-party secret sharing The reliability value of To send to the server The reliability of the obfuscated value of the secret share, For Server and server A commonly held random number;

[0032] Get the server in the form of two-party secret sharing Reliability value:

[0033]

[0034] in, For the server in the form of two-party secret sharing The reliability value of To send to the server The reliability of the obfuscated value of the secret share, For Server and server A random number held in common.

[0035] Optionally, obtaining the aggregation model includes:

[0036] Based on the conversion principle of the three-party secret sharing technology, the server With the server The local model under the three-party secret sharing form is converted into a local model under the two-party secret sharing form;

[0037] The local model in the two-party secret sharing form and the reliability value corresponding to the local model in the two-party secret sharing form are weighted averaged through a two-party secret sharing addition operation and a two-party secret sharing multiplication operation to obtain the server The corresponding aggregate model share and the server The corresponding aggregate model share;

[0038] The server The corresponding aggregate model share and the server The corresponding aggregate model share is sent to each user, and the user updates and trains the local model according to the aggregate model.

[0039] Optionally, the weighted average is calculated as:

[0040]

[0041] in, is the secret share of the global model, is the total number of users, is the secret share of the local model multiplied by the reliability, For reliability.

[0042] The beneficial effects of the present invention are:

[0043] Based on secret sharing technology, the present invention proposes a robust and secure federated learning aggregation method for measuring user reliability. The method effectively protects the privacy of user data, protects the user's local model, reliability and global model. In addition, the present invention proposes a new reliability measurement mechanism, which calculates the reliability value of each local model based on secret sharing. The larger the Euclidean distance between the local model and the global model, the lower the corresponding reliability value. On the contrary, the smaller the Euclidean distance between the local model and the global model, the higher the corresponding reliability value. This mechanism can greatly reduce the negative impact of Byzantine attackers and low-quality local models. Compared with the scheme using homomorphic encryption, the present invention greatly reduces the computational overhead. Compared with the scheme using differential privacy, the scheme based on differential privacy technology needs to add noise to the data in order to realize the function of privacy protection, which may reduce the accuracy of the model. In summary, the present invention reduces the computational overhead while ensuring user privacy, and reduces the negative impact of Byzantine attacks and low-quality users on the aggregation model, and the aggregation model still has good performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0045] Figure 1 This is an architecture diagram of a robust and secure federated learning aggregation method for measuring user reliability according to an embodiment of the present invention;

[0046] Figure 2 This is a flow chart of a robust and secure federated learning aggregation method for measuring user reliability according to an embodiment of the present invention;

[0047] Figure 3 This is a diagram showing the accuracy of the aggregation model under different Byzantine attacker ratios when using the Mnist dataset and the Fashion-Mnist dataset in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0050] like Figure 1-2 As shown, this embodiment discloses a robust and secure federated learning aggregation method for measuring user reliability, including:

[0051] S1. Obtain some local data, train a global model based on the some local data, and obtain a local model;

[0052] S2. Split the local model and send the split local model to several servers; the several servers include: server ,server and server ;

[0053] S3. Calculate the Euclidean distance between the local model share and the global model based on several servers, process the Euclidean distance, and obtain a reliability value;

[0054] S4. Obtain an aggregate model based on the reliability value and the local model, and update and train the local model through the aggregate model;

[0055] S5. Repeat steps S1-S4 until the aggregation model reaches a preset standard, and obtain a standard aggregation model, specifically:

[0056] S1. Establish a three-server training model and initialize it;

[0057] The three-server training framework includes several users and three servers , and Among them, users have independent local data. During the federated learning training process, users are responsible for training data locally and receiving the aggregated model sent by the server. The three servers are mainly responsible for receiving the local models sent by users and performing model aggregation. In addition, the server and It is also responsible for initializing the global model;

[0058] S2, secret sharing of local model;

[0059] After the user trains the original data locally and obtains the local model, the user uses the three-party replication secret sharing technology to split the local model into three shares and sends the corresponding shares to the corresponding server;

[0060] S3, calculating the Euclidean distance between the local model and the global model;

[0061] Three servers , and After receiving the local model share, the Euclidean distance between the local model and the global model is calculated based on the addition and multiplication operations of the three-party secret sharing technology;

[0062] S4, reliability calculation mechanism based on three servers;

[0063] Three servers , and The reliability of the user's local model is measured according to the reliability calculation mechanism, so that a high-quality local model obtains a higher reliability value, while a low-quality local model obtains a lower reliability value;

[0064] S5, security aggregation mechanism;

[0065] server and According to different local models and the corresponding reliability values ​​of local models, weighted aggregation is performed, and then the share of the aggregated model is sent back to the user end. After the user receives all the shares of the aggregated model, the plain text form of the aggregated model is restored to update the local parameters and enter the next round of iteration until the global model reaches the preset standard. The standard global model is used for prediction.

[0066] After obtaining some local data, the following steps are included: obtaining and initializing the global model, and storing the initialized global model on the server in the form of two-party secret sharing. and server , specifically:

[0067] and Responsible for the initialization of the global model. It exists in the form of secret sharing between two parties. and In. Specifically: , hold , hold .

[0068] Each user uses the three-party replication secret sharing technology to divide the trained local model into three shares. For example, Train based on local data to get a local model . Using the three-party copy secret sharing technique Divided into three shares, namely , and ,in, The user will send the corresponding share to the corresponding server, and each server Holding two shares ,Right now hold , hold , hold .

[0069] Calculating the Euclidean distance between the local model share and the global model includes: calculating the local model and the global model based on a plurality of servers using an addition mechanism of tripartite secret sharing to obtain a calculation result of subtracting the local model from the global model; calculating the subtraction calculation result based on a multiplication mechanism of tripartite replicated secret sharing to obtain the Euclidean distance between the local model share and the global model, specifically:

[0070] Based on secret sharing technology, three servers are called , and The received local model is processed to calculate the Euclidean distance between the local model and the global model. For example, first, the three servers calculate the subtraction result of the local model and the global model based on the addition mechanism of tripartite secret sharing. Then the calculated result Perform replication secret sharing, that is , so that each server will hold a pair of shares. Finally, the three servers collaborate to calculate the Euclidean distance between the local model and the global model based on the multiplication mechanism of the three-party replicated secret sharing, that is, .

[0071] Processing the Euclidean distance to obtain the reliability value includes: the Euclidean distance share corresponding to each server Multiply by the constant -1 to obtain the secret share of the opposite number of the Euclidean distance corresponding to each server ; Server-based Generate random numbers , the random number Send to server ,server send To Server and servers send To Server ; Through the server Received and and the server Shares held , obtain the reliability confusion value, divide the reliability confusion value according to the two-party secret sharing technology, and send the divided confusion value shares to the server respectively and server ; Server-based and server Using random numbers Eliminate the disturbance of the random number on the obfuscated value and obtain the reliability value in the form of two-party secret sharing, specifically:

[0072] First, the reliability calculation function is defined as The calculation of this function is based on the Euclidean distance between the local model and the global model. The greater the distance between the user's local model and the global model, the lower the reliability value obtained. On the contrary, the smaller the distance between the user's local model and the global model, the higher the reliability value obtained. In this way, the negative impact of Byzantine attackers and low-quality users on the model can be greatly reduced.

[0073] Using secret sharing technology, three servers are called to process the Euclidean distance of the local model and calculate . Generate random numbers and send to , send to , send to .

[0074] Based on the received information, we can calculate , so the user's local model is It is confidential. No private information can be inferred from it. The data calculated above is input into the reliability function for processing to obtain the confusion value of user reliability, that is, Therefore, the reliability value of the user is The server is also confidential. Finally, based on the two-party secret sharing technology, The confusion value of reliability Divided into two shares , and sends the corresponding shares to the other two servers. hold , hold .

[0075] server and Use random numbers to eliminate the confusion of the reliability value, thereby obtaining the reliability value in the form of two-party secret sharing .

[0076] Specific: calculate , calculate At this point, with the cooperation of the three servers, the secret sharing form of the reliability value of each user is calculated. During the whole process, the local model, the global model and the reliability value are kept confidential to the three servers.

[0077] The acquisition aggregation model includes: based on the conversion principle of the three-party secret sharing technology, the server With the server The local model in the three-party secret sharing form is converted into a local model in the two-party secret sharing form; through the two-party secret sharing addition operation and the two-party secret sharing multiplication operation, the local model in the two-party secret sharing form and the reliability value corresponding to the local model in the two-party secret sharing form are weighted averaged to obtain the server The corresponding aggregation model share and server The corresponding aggregation model share will be The corresponding aggregation model share and server The corresponding aggregate model share is sent to each user, and the user updates and trains the local model based on the aggregate model, specifically:

[0078] First, based on the conversion principle of the three-party secret sharing technology, the server and The local model under the three-party secret sharing form is converted into a local model under the two-party secret sharing form, that is, .

[0079] The weighted average formula for calculating the global model is defined as:

[0080]

[0081] Based on the multiplication mechanism and addition mechanism of two-party secret sharing technology, the server and The secret share of the global model can be easily obtained, that is Then the server and Each user shares their secret share with each other. After receiving the full share of the aggregate model, the user restores the plaintext form of the aggregate model to update the local parameters and enter the next round of iteration until the global model reaches the preset standard.

[0082] From the above technical solution, it can be seen that the present invention provides a robust and secure federated learning aggregation method for measuring user reliability, which is based on a three-server architecture and includes the following steps: establishing a three-server training model and initializing it, secret sharing of local models, calculating the Euclidean distance between the local model and the global model, a reliability calculation mechanism based on three servers, and a secure aggregation mechanism.

[0083] The definitions of some letters and formulas involved in the present invention are explained:

[0084] : A value or vector x based on a three-party secret sharing.

[0085] : A value or vector x based on a secret shared between two parties.

[0086] : Convert three-party secret sharing to two-party secret sharing.

[0087] :Based on three-party secret sharing multiplication calculation .

[0088] :Based on two-party secret sharing multiplication calculation .

[0089] Terminology explanation:

[0090] 3PC Arithmetic Replicated Secret Sharing: Based on the 3PC Arithmetic Replicated Secret Sharing technology, data can be divided into three shares. Specifically: given a value x, x can be divided into ,and Then the three shares are copied, that is , so each party will hold two secret shares. The relevant algorithm of the three-party addition replication secret sharing technology is as follows:

[0091] Compute the addition of two secret shares: .

[0092] Calculate the addition of the secret shared value and a constant: , where c is a constant.

[0093] Calculate the multiplication of the secret shared value and a constant: .

[0094] Compute the multiplication of two secret shares: ,in , is a randomly generated random number.

[0095] 2PC Arithmetic Secret Sharing: Based on two-party secret sharing, data can be divided into two shares. Specifically: given a value x, x can be divided into ,and Since some algorithms of two-party secret sharing are similar to those of three-party secret sharing, only the multiplication of two secret sharing values ​​in two-party secret sharing is introduced here. In order to perform the multiplication calculation of two-party secret sharing, a triplet needs to be generated in advance. , and the triple satisfies Based on this triple, we can calculate as well as The two parties work together to recover e and f. The final result of the multiplication is .

[0096] Conversion of secret sharing: The conversion of three-party secret sharing to two-party secret sharing is expressed as ,in , .

[0097] Based on secret sharing technology, this invention provides a robust and secure federated learning aggregation method for measuring user reliability. Figure 2 As shown, the specific steps include:

[0098] Step 1: The datasets used in this example are Mnist and Fashion-Mnist, and the LeNet model is used for training. Aggregation Server and Initialize the global model , and each holds a share. and Distribute the initialized global model shares to all users.

[0099] Step 2: Divide the data set into 100 users, and then set the number of malicious users in a certain ratio, in order to detect the degree of influence of malicious users in different ratios on the accuracy of the global model. The user performs local training based on the local original data, where the learning rate is 0.001 and the number of local training rounds is 10 rounds. Then the user sends the local model to three servers based on the three-party secret sharing technology, and the malicious user injects Gaussian noise into the local model before dividing the secret share, trying to pollute the global model.

[0100] Step 3: Server , and According to the secret shares of all local models received, the Euclidean distance between all local models and the global model is calculated. Specifically, in the tth iteration, the local model For example, three servers work together to first calculate the addition operation based on the three-party secret sharing Then three servers , and The calculation results are copied and shared, so that the three servers , and Both hold a pair of shares, namely Finally, according to the multiplication operation of the three-party secret sharing, the Euclidean distance between the local model and the global model is calculated as .

[0101] Step 4: Define the reliability calculation function as . Three servers , and The reliability value corresponding to each local model is calculated based on the secret sharing technology and the reliability function.

[0102] Step 5: Server and Based on the secret sharing technology, the reliability and weighted average results of the local model are calculated to obtain a new round of global model. Specifically:

[0103] server and First, the global gradient of the three-party secret sharing is converted into the form of two-party secret sharing, that is, Then the server calculates the result of multiplying each local model by its reliability value based on the secret shared multiplication operation between the two parties. , .

[0104] Next, the server and Based on the addition operation of the secret shared by the two parties, we can calculate as well as .then and Cooperation will The plaintext of is recovered to obtain the result of adding all the user reliability values, that is, .

[0105] Finally, the server and According to the multiplication operation of the secret sharing between the two parties, a new global model is calculated. The global model still exists in the server in the form of secret sharing, that is, The server then sends the share of the global model back to the client. After receiving all the shares of the aggregated model, the user restores the plain text form of the aggregated model to update the local parameters and enter the next round of iteration until the global model reaches the preset standard.

[0106] like Figure 3 As shown, when using the Mnist dataset and the Fashion-Mnist dataset, the aggregation model accuracy effect diagram of the embodiment of the present invention under different Byzantine attacker ratios.

[0107] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A robust and secure federated learning aggregation method for measuring user reliability, characterized in that: include: S1. Obtain a number of local data, train a global model based on the number of local data, and obtain a local model; S2, splitting the local model, and sending the split local models to several servers; The plurality of servers include: a server ,server and server ; S3, calculating the Euclidean distance between the local model share and the global model based on the plurality of servers, processing the Euclidean distance, and obtaining a reliability value; Calculating the Euclidean distance between the local model share and the global model includes: The local model and the global model are calculated based on the addition mechanism of the three-party secret sharing by the servers to obtain the calculation result of subtracting the local model from the global model; Calculate the subtraction result of the local model and the global model based on the multiplication mechanism of the three-party replicated secret sharing to obtain the Euclidean distance between the local model share and the global model; Processing the Euclidean distance to obtain a reliability value includes: The Euclidean distance share corresponding to each server Multiply by a constant to get the secret share of the opposite of the Euclidean distance ; Based on the server Generate random numbers , the random number Send to the server , the server According to the formula Perform disturbance processing and send the results to the server , the server The share of the opposite number of the Euclidean distance held Send to the server ; Through the server Received and and the server Shares held , obtain the obfuscation value of reliability, divide the obfuscation value of reliability according to the two-party secret sharing technology, and send the divided obfuscation value shares of reliability to the server respectively and the server ; Based on the server and the server Using random numbers Eliminate disturbances to the reliability confusion value to obtain a reliability value in a two-party secret sharing form; S4. Acquire an aggregate model according to the reliability value and the local model, and update and train the local model through the aggregate model; S5. Repeat steps S1-S4 until the aggregation model reaches a preset standard, and obtain a standard aggregation model.

2. The robust and secure federated learning aggregation method for measuring user reliability according to claim 1, characterized in that: After obtaining some local data, it includes: Acquire and initialize the global model, and store the initialized global model on the server in the form of two-party secret sharing and the server .

3. The robust and secure federated learning aggregation method for measuring user reliability according to claim 1, characterized in that: The method for obtaining the obfuscation value of the reliability is: in, is the reliability calculation function, is the Euclidean distance between the local model and the global model, , and are the three shares of the Euclidean distance in the form of secret sharing, is the reliability confusion value, For Server and server A random number held in common, The result of the logarithm operation of the random number.

4. The robust and secure federated learning aggregation method for measuring user reliability according to claim 1, characterized in that: Obtaining the reliability value of the two-party secret sharing form includes: Get the server in the form of two-party secret sharing Reliability value: in, For the server in the form of two-party secret sharing The reliability value of To send to the server The reliability of the obfuscated value of the secret share, For Server and server A commonly held random number; Get the server in the form of two-party secret sharing Reliability value: in, For the server in the form of two-party secret sharing The reliability value of To send to the server The reliability of the obfuscated value of the secret share, For Server and server A random number held in common.

5. The robust and secure federated learning aggregation method for measuring user reliability according to claim 4, characterized in that: Acquiring the aggregation model includes: Based on the conversion principle of the three-party secret sharing technology, the server With the server The local model under the three-party secret sharing form is converted into a local model under the two-party secret sharing form; The local model in the two-party secret sharing form and the reliability value corresponding to the local model in the two-party secret sharing form are weighted averaged through a two-party secret sharing addition operation and a two-party secret sharing multiplication operation to obtain the server The corresponding aggregate model share and the server The corresponding aggregate model share; The server The corresponding aggregate model share and the server The corresponding aggregate model share is sent to each user, and the user updates and trains the local model according to the aggregate model.

6. The robust and secure federated learning aggregation method for measuring user reliability according to claim 5, characterized in that: The weighted average is calculated as: in, is the secret share of the global model, is the total number of users, is the secret share of the local model multiplied by the reliability, For reliability.