Federal learning distributed training method and device for Internet of Things equipment, and medium

By introducing Laplace noise and decision tree sets in federated learning, local model training and data fitting are solved, and the problem of low data transmission efficiency and security in federated learning is improved, and the prediction accuracy of the model and the scalability of the system are improved. sex.

CN118886522AActive Publication Date: 2024-11-01GUANGDONG POWER GRID CO LTD

Patent Information

Application Number
CN202411046185.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-01
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

In federated learning, there is a risk of large amount of data, low transmission efficiency and data leakage, and it is difficult to effectively compress and local optimization while maintaining model performance.

Method used

By introducing Laplace noise sets and decision tree sets, a prediction model is established, and the global model is trained using gradient descent algorithm to perform local data fitting, reducing data transmission volume, and improving model accuracy and security.

Benefits of technology

It realizes that while ensuring data security, the model optimization efficiency and overall system efficiency are improved, the dependence on the central server is reduced, data transmission needs are reduced, and the system scalability and model prediction accuracy are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118886522A_ABST
    Figure CN118886522A_ABST
Patent Text Reader

Abstract

The invention discloses a federated learning distributed training method and device for Internet of Things equipment and a medium, and the method comprises the steps: transmitting a plurality of prediction models to a central server for aggregation, and obtaining a global model; wherein the plurality of prediction models are established by introducing a Laplacian noise set according to a decision tree set and a model prediction function of the plurality of Internet of Things devices; and acquiring a global model, and training the global model through a gradient descent algorithm to enable parameters of the global model to fit a local data set. According to the federated learning distributed training method and device for the Internet of Things equipment and the medium, local model training is carried out by utilizing own data, the dependence on a central server is reduced, the model optimization efficiency is improved, the requirement for data transmission is reduced, the overall efficiency of a system is effectively improved, and the system reliability is improved. The problems that local optimization processing of data is difficult to achieve in federated learning, and data processing efficiency and safety are difficult to improve can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of machine learning technology, and in particular to a method, device and medium for federated learning distributed training of Internet of Things devices. Background Art

[0002] The rapid development and widespread application of information technology has led to more and more data information being converted into digital form for processing and storage; machine learning technology can automatically mine the treasures hidden in data, and machine learning models trained with large amounts of data have been applied in various scenarios and are profoundly changing our world, such as precision medicine, clinical auxiliary diagnosis, new drug development, portrait recognition, voiceprint recognition, personalized recommendation algorithms, multimodal learning such as images, voice, and natural language; in applications, the accuracy and generalization capabilities of the model are crucial, and all of these rely on the machine's learning of large amounts of data. Federated learning is a distributed machine learning framework that allows multiple participants to collaborate on training a shared model while maintaining the privacy of their respective data.

[0003] However, federated learning faces severe communication challenges, especially for the transmission of model parameters, which involves large amounts of data and low transmission efficiency. Also, since the devices of the participants may have different computing and storage capabilities, it is difficult to effectively compress the model while maintaining model performance. In addition, federated learning involves interactions between multiple parties, and the complexity of such multi-party interactions increases the risk of data leakage. Summary of the invention

[0004] The present invention provides a method, device and medium for distributed training of federated learning of Internet of Things devices, so as to solve the problem that it is difficult to realize local optimization processing of data in federated learning and improve data processing efficiency and security.

[0005] Sending a plurality of prediction models to a central server for aggregation to obtain a global model; wherein the plurality of prediction models are established by introducing a Laplace noise set and according to a decision tree set and a model prediction function of the plurality of IoT devices; the decision tree set is established by fitting a corresponding decision tree with a residual set as the first target variable; the residual set is established according to the target variables and model prediction results of the plurality of IoT devices;

[0006] The global model is obtained, and the global model is trained by a gradient descent algorithm so that the parameters of the global model fit the local data set.

[0007] The present invention can intuitively understand the accuracy of model prediction in several IoT devices and judge whether the model has deviation or deficiency by calculating and analyzing the residual set. By fitting the decision tree with the residual set as the target variable, the prediction error of the model on the original data can be further optimized, thereby making up for the deficiency of the original model. By integrating multiple such decision trees, the overall prediction error can be gradually reduced and the prediction accuracy of the model can be improved. Since Laplace noise is additive and scalable, adding Laplace noise to the parameter update amount of the model can effectively protect personal privacy. Therefore, the several prediction models thus established have high flexibility and scalability. Since each IoT device trains the model locally, the direct transmission and centralized storage of the original data are avoided, thereby reducing the risk of data leakage; and data localization processing also means that only the model update, rather than the entire data set of several IoT devices, needs to be transmitted to the central server, which greatly reduces the amount of data transmission, reduces the demand for network bandwidth, and accelerates the transmission speed of model updates.

[0008] Compared with the existing technology, the present invention enables IoT devices to use their own data for local model training while ensuring data security and privacy. This local model update method reduces dependence on central servers, which not only improves model optimization efficiency, but also reduces the demand for data transmission, effectively improving the overall efficiency and scalability of the system. Therefore, it can solve the problem of difficulty in realizing local optimization processing of data in federated learning and improve data processing efficiency and security.

[0009] As a preferred solution, several prediction models are sent to a central server for aggregation to obtain a global model, specifically:

[0010] Sending the plurality of prediction models to the central server;

[0011] Controlling the central server to dynamically adjust the weights of the plurality of prediction models according to the data volume, model quality and preset parameters of the plurality of IoT devices to obtain a plurality of weighted models;

[0012] The weighted models are aggregated into the global model by performing weighted average calculation on the weighted models.

[0013] This preferred solution integrates multiple prediction models, and the global model can combine the advantages of each model, reduce the deviation and overfitting problems that may occur in a single model, thereby improving the overall generalization ability of the model, so that the global model can make more accurate and stable predictions when faced with new and unseen data. Dynamically adjusting the weights of each model according to the data volume and model quality of the IoT device can ensure that resources can be more reasonably allocated to models with better performance. By performing weighted average calculations on the weighted models, the global model can output a more comprehensive and accurate prediction result that integrates the prediction information of multiple models and can better reflect the actual situation of the data, thereby improving the prediction accuracy.

[0014] As a preferred solution, the residual set is established based on the target variables and model prediction results of the plurality of IoT devices, specifically:

[0015] Setting the initial model prediction function in the plurality of IoT devices to the average value or the proportion of the categories of the target variable;

[0016] Based on the model prediction result of the initial model prediction function, the residual set is calculated according to the target variable and the model prediction functions in the plurality of IoT devices.

[0017] This preferred solution sets the prediction result of the initial model prediction function to the average value or category proportion of the target variable, which actually establishes a baseline or starting point for the entire prediction process, which reflects a basic estimate of the target variable without considering any specific equipment or data characteristics. A residual set is calculated based on the initial prediction result, the target variable and the model prediction function, which reflects the prediction error of the model on the current data.

[0018] As a preferred solution, the several prediction models are established by introducing a Laplace noise set and based on a decision tree set and the model prediction functions of the several IoT devices, specifically:

[0019] Controlling the step size of model parameter update by learning rate, and establishing several initial prediction models by combining the decision tree set and the model prediction functions of the several IoT devices;

[0020] The Laplace noise set is added to the parameter update amount of the several initial prediction models to obtain the several prediction models.

[0021] This preferred solution can effectively control the learning progress and convergence speed of the model by setting an appropriate learning rate; combining the decision tree set with the model prediction function of the IoT device can fully utilize the advantages of both to establish a more accurate and robust prediction model, making it better adaptable to the complex and changing IoT environment. In addition, Laplace noise, as a random noise with a specific probability distribution, can be added to the parameter update amount of the prediction model to greatly improve the robustness and privacy protection capabilities of the model.

[0022] As a preferred solution, the Laplace noise set is specifically:

[0023] Under the condition that structural parameters other than the data sets are ensured to remain consistent, using the preset data sets to update the first initial prediction model among the several initial prediction models, and obtain the updated model output on the different data sets;

[0024] The maximum value of the difference in the output of the model is defined as sensitivity;

[0025] Calculate a scale parameter according to the sensitivity and a preset privacy budget;

[0026] Based on the scale parameter, according to the probability density function of Laplace distribution, a random number generator is used to generate a noise value that conforms to Laplace distribution to obtain a first Laplace noise;

[0027] The plurality of initial prediction models are traversed to obtain the Laplace noise set consisting of a plurality of first Laplace noises.

[0028] In this preferred solution, the greater the sensitivity, the more sensitive the model is to changes in a single data point, and the risk of privacy leakage increases accordingly. Therefore, the maximum difference of the model output is defined as sensitivity, which can quantify the sensitivity of the model to data changes and provide a basis for subsequent privacy protection measures. The scale parameter is calculated based on the sensitivity and privacy budget, which determines the size of the noise added to the model parameter update amount. Adding Laplace noise to the parameter update amount of the model can smooth the parameter update process and reduce the risk of overfitting. Because Laplace noise is additive and scalable, it can also effectively protect personal privacy.

[0029] The present invention also provides a federated learning distributed training device for an IoT device, which is applicable to a number of IoT devices and includes an aggregation module and a fitting module;

[0030] The aggregation module is used to send several prediction models to a central server for aggregation to obtain a global model; wherein the several prediction models are established by introducing a Laplace noise set and according to a decision tree set and a model prediction function of the several IoT devices; the decision tree set is established by fitting a corresponding decision tree with a residual set as the first target variable; the residual set is established according to the target variables and model prediction results of the several IoT devices;

[0031] The fitting module is used to obtain the global model and train the global model through a gradient descent algorithm so that the parameters of the global model fit the local data set.

[0032] As a preferred solution, the aggregation module includes a sending unit, a weighting unit and an aggregation unit;

[0033] Wherein, the sending unit is used to send the several prediction models to the central server;

[0034] The weight unit is used to control the central server to dynamically adjust the weights of the several prediction models according to the data volume, model quality and preset parameters of the several IoT devices to obtain several weighted models;

[0035] The aggregation unit is used to aggregate the multiple weighted models into the global model by performing weighted average calculation on the multiple weighted models.

[0036] As a preferred solution, the aggregation module includes a setting unit and a residual unit;

[0037] Wherein, the setting unit is used to set the initial model prediction function in the plurality of IoT devices to the average value or category ratio of the target variable;

[0038] The residual unit is used to calculate the residual set based on the model prediction result of the initial model prediction function, according to the target variable and the model prediction functions in the plurality of Internet of Things devices.

[0039] As a preferred solution, the aggregation module includes an initial unit and a model unit;

[0040] The initial unit is used to control the step size of the model parameter update through the learning rate, and to establish several initial prediction models in combination with the decision tree set and the model prediction functions of the several IoT devices;

[0041] The model unit is used to add the Laplace noise set to the parameter update amount of the several initial prediction models to obtain the several prediction models.

[0042] As a preferred solution, the Laplace noise set is specifically:

[0043] Under the condition that structural parameters other than the data sets are ensured to remain consistent, using the preset data sets to update the first initial prediction model among the several initial prediction models, and obtain the updated model output on the different data sets;

[0044] The maximum value of the difference in the output of the model is defined as sensitivity;

[0045] Calculate a scale parameter according to the sensitivity and a preset privacy budget;

[0046] Based on the scale parameter, according to the probability density function of Laplace distribution, a random number generator is used to generate a noise value that conforms to Laplace distribution to obtain a first Laplace noise;

[0047] The plurality of initial prediction models are traversed to obtain the Laplace noise set consisting of a plurality of first Laplace noises.

[0048] The present application also provides a storage medium, on which a computer program is stored. The computer program is called and executed by a computer to implement the above-mentioned federated learning distributed training method for an Internet of Things device. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a flowchart of a federated learning distributed training method for an Internet of Things device provided in an embodiment of the present application;

[0050] Figure 2 It is a diagram of the overall system architecture provided by the embodiment of the present application;

[0051] Figure 3 It is a structural diagram of a federated learning distributed training device for an Internet of Things device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0053] In the description of this application, it should be understood that the term "first" is used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "several" means two or more.

[0054] The embodiment of the present application provides a federated learning distributed training method for IoT devices, which is mainly used in situations where local model training needs to be performed on IoT devices, and model updates need to be aggregated through a central server, thereby achieving localized data processing and centralized optimization of models, significantly improving the efficiency and security of data processing.

[0055] Embodiment 1:

[0056] See also Figure 1 The embodiment of the present application provides a federated learning distributed training method for an IoT device, which is applicable to several IoT devices, including S1 to S2. The specific implementation steps are as follows:

[0057] S1. Sending several prediction models to a central server for aggregation to obtain a global model; wherein, several prediction models are established by introducing a Laplace noise set and based on a decision tree set and model prediction functions of several IoT devices; the decision tree set is established by fitting the corresponding decision tree with the residual set as the first target variable; the residual set is established based on the target variables and model prediction results of several IoT devices.

[0058] Step S1 of the embodiment of the present application includes S1.1 to S1.6; wherein S1.1 is a process of calculating a residual set, S1.2 is a process of establishing a decision tree set based on the residual set, S1.3 is a process of establishing a Laplace noise set, S1.4 is a process of calculating several prediction models based on the decision tree set and the Laplace noise set, S1.5 is a process of evaluating model performance, and S1.6 is a process of establishing a global model, specifically:

[0059] S1.1. Obtain sample data of several IoT devices;

[0060] Based on the sample data, if the goal of several IoT devices is to predict one or more continuous-valued target variables (i.e., regression task), the initial model prediction function F0(x) in several IoT devices is set to the average value of the target variable; if the goal of several IoT devices is to predict the category of the target variable (i.e., classification task), the initial model prediction function F0(x) is set to the proportion of the category;

[0061] Based on the model prediction results of the initial model prediction function, a residual set is calculated according to the target variable and the model prediction functions in several IoT devices;

[0062] Among them, the first residual in the residual set can be expressed as:

[0063] r im =y i -F m-1 (x i )

[0064] Among them, y i is the target variable corresponding to sample i, which can be a continuous or categorical label; F m-1 (x i ) is the model prediction result of the m-1th decision tree corresponding to sample i.

[0065] In the embodiment S1.1 of the present application, the prediction result of the initial model prediction function is set to the average value or category ratio of the target variable, which is actually to establish a baseline or starting point for the entire prediction process, which reflects a basic estimate of the target variable without considering any specific device or data characteristics. A residual set is calculated based on the initial prediction result, the target variable and the model prediction function, which reflects the prediction error of the model on the current data.

[0066] S1.2, using the residual set as the new target variable, fitting the corresponding decision tree h m (x), get the decision tree set;

[0067] Furthermore, the capability limitations of IoT devices can be accommodated by limiting the depth and number of decision trees. Specifically:

[0068] Limiting the depth of each decision tree to no more than a first preset interval; wherein the first preset interval may be 3 to 5 layers;

[0069] The total number of decision trees is limited to not exceed a second preset interval; wherein the second preset interval may be 10 to 50 trees;

[0070] Only some features are used for training each decision tree to reduce the computational burden; a randomly sampled data subset is used to train each decision tree to reduce memory usage.

[0071] S1.3, while ensuring that structural parameters other than the data set remain consistent, using the preset data sets to update the first initial prediction model among the initial prediction models, to obtain the updated model output on the different data sets;

[0072] The maximum value of the difference in model output is defined as sensitivity Δf;

[0073] According to the sensitivity Δf and the preset privacy budget ∈, the scale parameter λ is calculated;

[0074] Based on the scale parameter λ, according to the probability density function of the Laplace distribution, a random number generator is used to generate a noise value that conforms to the Laplace distribution, and the first Laplace noise Lap(λ) is obtained;

[0075] Traversing a number of initial prediction models, obtaining a Laplace noise set consisting of a number of first Laplace noises;

[0076] The scale parameter is:

[0077] λ=Δf / ∈

[0078] The probability density function of Laplace noise is:

[0079]

[0080] Among them, Δf is the sensitivity; ∈ is the privacy budget, which is used to control the strength of privacy protection. The smaller the value of ∈, the stronger the privacy protection, but the practicality of the data may be reduced; x is the noise value.

[0081] In the embodiment S1.3 of the present application, the greater the sensitivity, the more sensitive the model is to the change of a single data point, and the risk of privacy leakage increases accordingly. Therefore, the maximum difference of the model output is defined as the sensitivity, which can quantify the sensitivity of the model to data changes and provide a basis for subsequent privacy protection measures. The scale parameter is calculated based on the sensitivity and the privacy budget, which determines the size of the noise added to the model parameter update amount. Adding Laplace noise to the parameter update amount of the model can smooth the process of parameter update and reduce the risk of overfitting. And because Laplace noise is additive and scalable, it can also effectively protect personal privacy.

[0082] S1.4, controlling the step size of model parameter update by learning rate v, and establishing several initial prediction models by combining decision tree sets and model prediction functions of several IoT devices;

[0083] Adding the Laplace noise set to the parameter update amount of several initial prediction models to obtain several prediction models; wherein the several prediction models reflect the data characteristics and environment specific to several IoT devices, and the prediction models can also be called local models;

[0084] Among them, the first initial prediction model among the several initial prediction models is:

[0085] F m (x) = F m-1 (x)+vh m (x)

[0086] The first prediction model among several prediction models is:

[0087] θ new =θ old +Δθ+Lap(λ)

[0088] Where m is the ordinal number of the decision tree in the decision tree set, m = 1, 2, ..., M, and M is the total number of decision trees in the decision tree set; F m-1 (x) is the initial prediction model corresponding to the m-1th decision tree, v is the learning rate, h m (x) is the mth decision tree;

[0089] θ old is the model parameter of the first initial prediction model; Δθ is the change of the first initial prediction model in the current update, that is, the parameter update obtained after local model training; Lap(λ) is the Laplace noise corresponding to the first initial prediction model.

[0090] In the embodiment of the present application, the application process of Laplace noise is exemplified as follows:

[0091] Under the preset conditions, the maximum value of the model output difference of several initial prediction models is calculated to be 1, that is, the sensitivity is Δf=1;

[0092] Setting the privacy budget ∈ = 0.1, we can calculate the scale parameter λ = 10;

[0093] Generate Plath noise based on scale parameter λ Lap(λ)=0.5;

[0094] Plass noise Lap(λ) is introduced into the parameter update amount of the initial prediction model to obtain the prediction model;

[0095] Among them, applying noise to the model update can be expressed as:

[0096] W new =W old +ΔW+0.5

[0097] Among them, W old is the model parameter of the initial prediction model, and ΔW is the change of the initial prediction model in the current update, that is, the parameter update obtained after local model training.

[0098] Embodiment S1.4 of the present application can effectively control the learning progress and convergence speed of the model by setting a suitable learning rate; combining the decision tree set with the model prediction function of the IoT device can fully utilize the advantages of both to establish a more accurate and robust prediction model, so that it can better adapt to the complex and changeable IoT environment. Moreover, Laplace noise, as a random noise with a specific probability distribution, can be added to the parameter update amount of the prediction model to greatly improve the robustness and privacy protection ability of the model. In this way, even if the model update is shared, the information of a single user is effectively protected, thereby enhancing the privacy of the data in the federated learning environment.

[0099] S1.5. If the goal of several IoT devices is to predict one or more continuous-valued target variables (i.e., regression tasks), then optimize the model parameters of several prediction models by using mean squared error (MSE), thereby helping several prediction models to better fit the data in local training and use it to evaluate model performance after global model aggregation;

[0100] If the goal of several IoT devices is to predict the category of the target variable (i.e., classification task), the model parameters of several prediction models are optimized by using logarithmic loss, thereby helping several prediction models to better fit the data in local training and used to evaluate model performance after global model aggregation;

[0101] The mean square error can be expressed as:

[0102]

[0103] Among them, n is the number of samples in the preset data set, y i is the true value or observed value of the i-th sample in the preset data set, F(x i ) is the predicted value of the i-th sample in the preset data set.

[0104] S1.6, sending several prediction models to a central server;

[0105] Control the central server to dynamically adjust the weights of several prediction models according to the data volume, model quality and preset parameters of several IoT devices to obtain several weighted models;

[0106] By performing weighted average calculation on several weighted models, several weighted models can be aggregated into a global model. In addition, several weighted models can be merged into a global model through aggregation strategies such as stochastic gradient descent (SGD), differential privacy (Differential Privacy), federated stochastic gradient descent (FedSGD), and dynamic adjustment of learning rate.

[0107] Embodiment S1.6 of the present application integrates multiple prediction models, and the global model can combine the advantages of each model, reduce the deviation and overfitting problems that may occur in a single model, thereby improving the overall generalization ability of the model, so that the global model can make more accurate and stable predictions when facing new and unseen data. Dynamically adjusting the weights of each model according to the data volume and model quality of the IoT device can ensure that resources can be more reasonably allocated to models with better performance. By performing weighted average calculations on the weighted models, the global model can output a more comprehensive and accurate prediction result that integrates the prediction information of multiple models and can better reflect the actual situation of the data, thereby improving the prediction accuracy.

[0108] S2. Obtain the global model and train the global model through the gradient descent algorithm so that the parameters of the global model fit the local data set.

[0109] Step S2 of the embodiment of the present application is specifically as follows:

[0110] Distribute the global model back to several IoT devices and ensure that each IoT device receives the correct version of the model update by managing the global model versions generated at different time points; and reduce the size of data when several IoT devices send and receive model updates to reduce network bandwidth usage and improve data transmission efficiency;

[0111] Based on the sample data of several IoT devices, the global model is trained through the gradient descent algorithm so that the parameters of the global model fit the local data sets of several IoT devices, thereby better adapting to the specific operating environment and data distribution of each IoT device;

[0112] Also, during the training process, any device failure or data transmission error that occurs during the federated learning process is detected and the recovery process is automatically initiated to maintain the continuity and integrity of the training;

[0113] Among them, the learning rate η of the gradient descent algorithm is adjusted according to the following formula:

[0114]

[0115] Among them, δ is the preset decay coefficient; t is the number of iterations, which is used to dynamically adjust the learning rate according to the real-time performance feedback of the model training to optimize the training process and improve the convergence speed of the model; η t is the learning rate at the tth iteration.

[0116] In an embodiment of the present application, if in a more distributed or decentralized learning environment, several prediction models not only communicate with a central server, but also need to directly exchange model parameters with their neighboring IoT devices, the model parameters from the neighboring IoT devices can be merged in the following manner to improve the model performance and data efficiency of the entire system while protecting the privacy of user data:

[0117] Obtain model parameter sets for several IoT devices based on local data training;

[0118] According to the data volume n of each IoT device among several IoT devices i and data quality score q i , calculate the weight set;

[0119] According to the parameter average value and weight set of the model parameter set, the global model parameter W is calculated using the preset weighted average formula.

[0120] Distribute the aggregated global model parameters W back to each IoT device in the plurality of IoT devices for the next round of training and optimization;

[0121] The weights are:

[0122]

[0123] The weighted average formula is:

[0124]

[0125] Among them, n i is the data volume of the ith IoT device among several IoT devices, q i is the data quality score of the ith IoT device; j is the total number of IoT devices, and the denominator of the weight is the sum of the weighted data volume and data quality of all participating devices;

[0126] α i is the weight of the ith IoT device, w i is the model parameter of the i-th IoT device.

[0127] Among them, the data quality score q i The optimization method for solving is as follows:

[0128] According to the update frequency and latestness of the data, the data timeliness score t of the i-th IoT device is calculated. i ;

[0129] According to the consistency of data between various sources, the data consistency score c of the i-th IoT device is calculated i ;

[0130] According to the integrity of the data, the data integrity score g of the i-th IoT device is calculated i ;

[0131] According to the timeliness of the data, the score t i , Data consistency score c i and data integrity score g i Calculate the data quality score q i1 ;

[0132] The data quality scores are:

[0133] q i1 =w t ·t i +w c ·c i +w g ·g i +w q ·q i

[0134] Among them, t i is the data timeliness score of the ith IoT device, ranging from 0 to 1; c i is the data consistency score of the ith IoT device, ranging from 0 to 1, including format and value; g i is the data integrity score of the ith IoT device, ranging from 0 to 1, including the proportion of missing values ​​and erroneous values; q i is the original data quality score, which can be obtained based on the accuracy and representativeness of the data; t 、w c 、w g and w q They are the weight of the data timeliness score, the weight of the data consistency score, the weight of the data integrity score and the weight of the original data quality score, and their sum is 1.

[0135] Embodiment S2 of the present application can not only effectively utilize the computing resources of IoT devices through model distribution, but also improve the overall performance and adaptability of the model in a federated learning environment under the premise of protecting data privacy; and the algorithm used when merging model parameters from adjacent IoT devices not only ensures the improvement of model performance, but also considers the influence of data volume and data quality through the design of weights, ensuring that high-quality data contributes more to the model, while also ensuring that specific user data is not directly shared, thereby protecting data privacy;

[0136] In addition, for the optimized data quality score, the cross-device collaborative optimization algorithm not only takes into account the data volume and original data quality, but also comprehensively considers the timeliness, consistency and completeness of the data, thereby more comprehensively evaluating the value of each device data and ensuring that high-quality data contributes more to the model, while enhancing the accuracy and robustness of the model; this multi-dimensional data quality assessment method is particularly suitable for the Internet of Things environment where data sources are diverse and dynamically changing.

[0137] To apply the embodiments of this application, please refer to Figure 2 , Figure 2 is a diagram of the overall system architecture provided by an embodiment of the present application, which shows the general framework of implementing a federated learning distributed training method for an IoT device provided by the present embodiment;

[0138] Among them, after the local models of IoT devices 1~n are updated locally, the updated local models 1~n are sent to the central server for aggregation processing, and the received local models are aggregated by the data processing module to form a global model update, and then the aggregated global model is sent back to IoT devices 1~n through the model distribution module.

[0139] Overall, the embodiments of the present application have the following beneficial effects:

[0140] The present invention can intuitively understand the accuracy of model prediction in several IoT devices and judge whether the model has deviation or deficiency by calculating and analyzing the residual set. By fitting the decision tree with the residual set as the target variable, the prediction error of the model on the original data can be further optimized, thereby making up for the deficiency of the original model. By integrating multiple such decision trees, the overall prediction error can be gradually reduced and the prediction accuracy of the model can be improved. Since Laplace noise is additive and scalable, adding Laplace noise to the parameter update amount of the model can effectively protect personal privacy. Therefore, the several prediction models thus established have high flexibility and scalability. Since each IoT device trains the model locally, the direct transmission and centralized storage of the original data are avoided, thereby reducing the risk of data leakage; and data localization processing also means that only the model update, rather than the entire data set of several IoT devices, needs to be transmitted to the central server, which greatly reduces the amount of data transmission, reduces the demand for network bandwidth, and accelerates the transmission speed of model updates.

[0141] Embodiment 2:

[0142] See also Figure 3 , an embodiment of the present application provides a federated learning distributed training device for an IoT device, applicable to a number of IoT devices, including an aggregation module 10 and a fitting module 20;

[0143] The aggregation module 10 is used to send several prediction models to the central server for aggregation to obtain a global model; wherein the several prediction models are established by introducing a Laplace noise set and based on a decision tree set and a model prediction function of several IoT devices; the decision tree set is established by fitting a corresponding decision tree with a residual set as the first target variable; the residual set is established based on the target variables and model prediction results of several IoT devices;

[0144] The fitting module 20 is used to obtain a global model and train the global model through a gradient descent algorithm so that the parameters of the global model fit the local data set.

[0145] In one embodiment, the aggregation module 10 includes a setting unit, a residual unit, a decision tree unit, a noise unit, an initial unit, a model unit, an evaluation unit, a sending unit, a weight unit and an aggregation unit; wherein the setting unit and the residual unit are the process of calculating the residual set, the decision tree unit is the process of establishing a decision tree set according to the residual set, the noise unit is the process of establishing a Laplace noise set, the initial unit and the model unit are the process of calculating several prediction models according to the decision tree set and the Laplace noise set, the evaluation unit is the process of evaluating the model performance, and the sending unit, the weight unit and the aggregation unit are the process of establishing a global model, specifically:

[0146] A setting unit, used for obtaining sample data of several IoT devices;

[0147] The setting unit is further used to set the initial model prediction function F0(x) in the plurality of IoT devices to the average value of the target variable if the goal of the plurality of IoT devices is to predict one or more continuous-valued target variables (i.e., a regression task) based on the sample data; and to set the initial model prediction function F0(x) to the proportion of the category if the goal of the plurality of IoT devices is to predict the category of the target variable (i.e., a classification task);

[0148] A residual unit is used to calculate a residual set based on the model prediction result of the initial model prediction function according to the target variable and the model prediction function in several IoT devices;

[0149] Among them, the first residual in the residual set can be expressed as:

[0150] r im =y i -F m-1 (x i )

[0151] Among them, y i is the target variable corresponding to sample i, which can be a continuous or categorical label; F m-1 (x i ) is the model prediction result of the m-1th decision tree corresponding to sample i.

[0152] The setting unit and the residual unit of the embodiment of the present application set the prediction result of the initial model prediction function to the average value or category ratio of the target variable, which is actually to establish a baseline or starting point for the entire prediction process, which reflects a basic estimate of the target variable without considering any specific device or data characteristics. A residual set is calculated based on the initial prediction result, the target variable and the model prediction function, which reflects the prediction error of the model on the current data.

[0153] The decision tree unit is used to fit the corresponding decision tree h using the residual set as the new target variable. m (x), get the decision tree set;

[0154] Furthermore, the capability limitations of IoT devices can be accommodated by limiting the depth and number of decision trees. Specifically:

[0155] Limiting the depth of each decision tree to no more than a first preset interval; wherein the first preset interval may be 3 to 5 layers;

[0156] The total number of decision trees is limited to not exceed a second preset interval; wherein the second preset interval may be 10 to 50 trees;

[0157] Only some features are used for training each decision tree to reduce the computational burden; a randomly sampled data subset is used to train each decision tree to reduce memory usage.

[0158] A noise unit is used to update a first initial prediction model among the plurality of initial prediction models using a plurality of preset data sets while ensuring that structural parameters other than the data sets remain consistent, so as to obtain updated model outputs on different data sets;

[0159] The noise unit is also used to define the maximum value of the difference in model output as sensitivity Δf;

[0160] The noise unit is also used to calculate the scale parameter λ according to the sensitivity Δf and the preset privacy budget ∈;

[0161] The noise unit is further used to generate a noise value conforming to the Laplace distribution using a random number generator based on a scale parameter λ and a probability density function of the Laplace distribution, so as to obtain a first Laplace noise Lap(λ);

[0162] The noise unit is further used to traverse a number of initial prediction models to obtain a Laplace noise set consisting of a number of first Laplace noises;

[0163] The scale parameter is:

[0164] λ=Δf / ∈

[0165] The probability density function of Laplace noise is:

[0166]

[0167] Among them, Δf is the sensitivity; ∈ is the privacy budget, which is used to control the strength of privacy protection. The smaller the value of ∈, the stronger the privacy protection, but the practicality of the data may be reduced; x is the noise value.

[0168] In the noise unit of the embodiment of the present application, the greater the sensitivity, the more sensitive the model is to the change of a single data point, and the risk of privacy leakage increases accordingly. Therefore, the maximum difference of the model output is defined as the sensitivity, which can quantify the sensitivity of the model to data changes and provide a basis for subsequent privacy protection measures. The scale parameter is calculated based on the sensitivity and the privacy budget, which determines the size of the noise added to the model parameter update amount. Adding Laplace noise to the parameter update amount of the model can smooth the parameter update process and reduce the risk of overfitting. And because Laplace noise is additive and scalable, it can also effectively protect personal privacy.

[0169] The initial unit is used to control the step size of the model parameter update through the learning rate v, and to establish several initial prediction models by combining the decision tree set and the model prediction functions of several IoT devices;

[0170] A model unit, used for adding the Laplace noise set to the parameter update amount of several initial prediction models to obtain several prediction models; wherein the several prediction models reflect the data characteristics and environment specific to several IoT devices, and the prediction models may also be called local models;

[0171] Among them, the first initial prediction model among the several initial prediction models is:

[0172] F m (x) = F m-1 (x)+vh m (x)

[0173] The first prediction model among several prediction models is:

[0174] θ new =θ old +Δθ+Lap(λ)

[0175] Where m is the ordinal number of the decision tree in the decision tree set, m = 1, 2, ..., M, and M is the total number of decision trees in the decision tree set; F m-1 (x) is the initial prediction model corresponding to the m-1th decision tree, v is the learning rate, h m (x) is the mth decision tree;

[0176] θ old is the model parameter of the first initial prediction model; Δθ is the change of the first initial prediction model in the current update, that is, the parameter update obtained after local model training; Lap(λ) is the Laplace noise corresponding to the first initial prediction model.

[0177] In the embodiment of the present application, the application process of Laplace noise is exemplified as follows:

[0178] Under the preset conditions, the maximum value of the model output difference of several initial prediction models is calculated to be 1, that is, the sensitivity is Δf=1;

[0179] Setting the privacy budget ∈ = 0.1, we can calculate the scale parameter λ = 10;

[0180] Generate Plath noise based on scale parameter λ Lap(λ)=0.5;

[0181] Plass noise Lap(λ) is introduced into the parameter update amount of the initial prediction model to obtain the prediction model;

[0182] Among them, applying noise to the model update can be expressed as:

[0183] W new =W old +ΔW+0.5

[0184] Among them, W old is the model parameter of the initial prediction model, and ΔW is the change of the initial prediction model in the current update, that is, the parameter update obtained after local model training.

[0185] The initial unit and model unit of the embodiment of the present application can effectively control the learning progress and convergence speed of the model by setting a suitable learning rate; combining the decision tree set with the model prediction function of the IoT device can make full use of the advantages of both to establish a more accurate and robust prediction model, so that it can better adapt to the complex and changeable IoT environment. In addition, Laplace noise, as a random noise with a specific probability distribution, can be added to the parameter update amount of the prediction model to greatly improve the robustness and privacy protection ability of the model. In this way, even if the model update is shared, the information of a single user is effectively protected, thereby enhancing the privacy of the data in the federated learning environment.

[0186] An evaluation unit, for optimizing model parameters of several prediction models by using mean square error (MSE) if the goal of several IoT devices is to predict one or more continuous-valued target variables (i.e., regression tasks), thereby helping several prediction models to better fit data in local training, and for evaluating model performance after global model aggregation;

[0187] The evaluation unit is also used to help the several prediction models better fit the data in local training by optimizing the model parameters of the several prediction models by using logarithmic loss if the goal of the several IoT devices is to predict the category of the target variable (i.e., classification task), and to evaluate the model performance after global model aggregation;

[0188] The mean square error can be expressed as:

[0189]

[0190] Among them, n is the number of samples in the preset data set, y i is the true value or observed value of the i-th sample in the preset data set, F(x i ) is the predicted value of the i-th sample in the preset data set.

[0191] A sending unit, used for sending a number of prediction models to a central server;

[0192] A weight unit, used to control the central server to dynamically adjust the weights of several prediction models according to the data volume, model quality and preset parameters of several IoT devices to obtain several weighted models;

[0193] The aggregation unit is used to aggregate several weighted models into a global model by performing weighted average calculation on them. In addition, several weighted models can be merged into a global model through aggregation strategies such as Stochastic Gradient Descent (SGD), Differential Privacy (Differential Privacy), Federated Stochastic Gradient Descent (FedSGD), and dynamic adjustment of learning rate.

[0194] The sending unit, weight unit and aggregation unit of the embodiment of the present application integrate multiple prediction models, and the global model can combine the advantages of each model, reduce the deviation and overfitting problems that may occur in a single model, thereby improving the overall generalization ability of the model, so that the global model can make more accurate and stable predictions when facing new and unseen data. Dynamically adjusting the weights of each model according to the data volume and model quality of the IoT device can ensure that resources can be more reasonably allocated to models with better performance. By performing weighted average calculations on the weighted models, the global model can output a more comprehensive and accurate prediction result, which integrates the prediction information of multiple models and can better reflect the actual situation of the data, thereby improving the prediction accuracy.

[0195] In one embodiment, the fitting module 20 is specifically:

[0196] Distribute the global model back to several IoT devices and ensure that each IoT device receives the correct version of the model update by managing the global model versions generated at different time points; and reduce the size of data when several IoT devices send and receive model updates to reduce network bandwidth usage and improve data transmission efficiency;

[0197] Based on the sample data of several IoT devices, the global model is trained through the gradient descent algorithm so that the parameters of the global model fit the local data sets of several IoT devices, thereby better adapting to the specific operating environment and data distribution of each IoT device;

[0198] Also, during the training process, any device failure or data transmission error that occurs during the federated learning process is detected and the recovery process is automatically initiated to maintain the continuity and integrity of the training;

[0199] Among them, the learning rate η of the gradient descent algorithm is adjusted according to the following formula:

[0200]

[0201] Among them, δ is the preset decay coefficient; t is the number of iterations, which is used to dynamically adjust the learning rate according to the real-time performance feedback of the model training to optimize the training process and improve the convergence speed of the model; η t is the learning rate at the tth iteration.

[0202] In an embodiment of the present application, if in a more distributed or decentralized learning environment, several prediction models not only communicate with a central server, but also need to directly exchange model parameters with their neighboring IoT devices, the model parameters from the neighboring IoT devices can be merged in the following manner to improve the model performance and data efficiency of the entire system while protecting the privacy of user data:

[0203] Obtain model parameter sets for several IoT devices based on local data training;

[0204] According to the data volume n of each IoT device among several IoT devices i and data quality score q i , calculate the weight set;

[0205] According to the parameter average value and weight set of the model parameter set, the global model parameter W is calculated using the preset weighted average formula.

[0206] Distribute the aggregated global model parameters W back to each IoT device in the plurality of IoT devices for the next round of training and optimization;

[0207] The weights are:

[0208]

[0209] The weighted average formula is:

[0210]

[0211] Among them, n i is the data volume of the ith IoT device among several IoT devices, q i is the data quality score of the ith IoT device; j is the total number of IoT devices, and the denominator of the weight is the sum of the weighted data volume and data quality of all participating devices;

[0212] α i is the weight of the ith IoT device, w i is the model parameter of the i-th IoT device.

[0213] Among them, the data quality score q i The optimization method for solving is as follows:

[0214] According to the update frequency and latestness of the data, the data timeliness score t of the i-th IoT device is calculated. i ;

[0215] According to the consistency of data between various sources, the data consistency score c of the i-th IoT device is calculated i ;

[0216] According to the integrity of the data, the data integrity score g of the i-th IoT device is calculated i ;

[0217] According to the timeliness of the data, the score t i , Data consistency score c i and data integrity score g i Calculate the data quality score q i1 ;

[0218] The data quality scores are:

[0219] q i1 =w t ·t i +w c ·c i +w g ·g i +w q ·q i

[0220] Among them, t i is the data timeliness score of the ith IoT device, ranging from 0 to 1; c i is the data consistency score of the ith IoT device, ranging from 0 to 1, including format and value; g i is the data integrity score of the ith IoT device, ranging from 0 to 1, including the proportion of missing values ​​and erroneous values; q i is the original data quality score, which can be obtained based on the accuracy and representativeness of the data; t 、w c 、w g and w q They are the weight of the data timeliness score, the weight of the data consistency score, the weight of the data integrity score and the weight of the original data quality score, and their sum is 1.

[0221] The fitting module 20 of the embodiment of the present application can not only effectively utilize the computing resources of the IoT devices by distributing the model, but also improve the overall performance and adaptability of the model in a federated learning environment under the premise of protecting data privacy; and the algorithm used when merging model parameters from adjacent IoT devices not only ensures the improvement of model performance, but also considers the influence of data volume and data quality through the design of weights, ensuring that high-quality data contributes more to the model, while also ensuring that specific user data is not directly shared, thereby protecting data privacy;

[0222] In addition, for the optimized data quality score, the cross-device collaborative optimization algorithm not only takes into account the data volume and original data quality, but also comprehensively considers the timeliness, consistency and completeness of the data, thereby more comprehensively evaluating the value of each device data and ensuring that high-quality data contributes more to the model, while enhancing the accuracy and robustness of the model; this multi-dimensional data quality assessment method is particularly suitable for the Internet of Things environment where data sources are diverse and dynamically changing.

[0223] To apply the embodiments of this application, please refer to Figure 2 , Figure 2 is a diagram of the overall system architecture provided by an embodiment of the present application, which shows the general framework of a federated learning distributed training device for an IoT device provided by the present embodiment;

[0224] Among them, after the local models of IoT devices 1~n are updated locally, the updated local models 1~n are sent to the central server for aggregation processing, and the received local models are aggregated by the data processing module to form a global model update, and then the aggregated global model is sent back to IoT devices 1~n through the model distribution module.

[0225] Overall, the embodiments of the present application have the following beneficial effects:

[0226] The present invention can intuitively understand the accuracy of model prediction in several IoT devices and judge whether the model has deviation or deficiency by calculating and analyzing the residual set. By fitting the decision tree with the residual set as the target variable, the prediction error of the model on the original data can be further optimized, thereby making up for the deficiency of the original model. By integrating multiple such decision trees, the overall prediction error can be gradually reduced and the prediction accuracy of the model can be improved. Since Laplace noise is additive and scalable, adding Laplace noise to the parameter update amount of the model can effectively protect personal privacy. Therefore, the several prediction models thus established have high flexibility and scalability. Since each IoT device trains the model locally, the direct transmission and centralized storage of the original data are avoided, thereby reducing the risk of data leakage; and data localization processing also means that only the model update, rather than the entire data set of several IoT devices, needs to be transmitted to the central server, which greatly reduces the amount of data transmission, reduces the demand for network bandwidth, and accelerates the transmission speed of model updates.

[0227] Embodiment three:

[0228] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the federated learning distributed training method for an Internet of Things device;

[0229] Among them, the federated learning distributed training method of an IoT device, if implemented in the form of a software functional unit and used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0230] The above are preferred embodiments of the present invention. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A distributed training method for federated learning of IoT devices, characterized in that: Applicable to several IoT devices, the method includes: Sending a plurality of prediction models to a central server for aggregation to obtain a global model; wherein the plurality of prediction models are established by introducing a Laplace noise set and according to a decision tree set and a model prediction function of the plurality of IoT devices; the decision tree set is established by fitting a corresponding decision tree with a residual set as the first target variable; the residual set is established according to the target variables and model prediction results of the plurality of IoT devices; The global model is obtained, and the global model is trained by a gradient descent algorithm so that the parameters of the global model fit the local data set.

2. A federated learning distributed training method for an Internet of Things device as claimed in claim 1, characterized in that: Several prediction models are sent to the central server for aggregation to obtain a global model, specifically: Sending the plurality of prediction models to the central server; Controlling the central server to dynamically adjust the weights of the plurality of prediction models according to the data volume, model quality and preset parameters of the plurality of IoT devices to obtain a plurality of weighted models; The weighted models are aggregated into the global model by performing weighted average calculation on the weighted models.

3. The method for distributed training of federated learning of an Internet of Things device according to claim 1, characterized in that: The residual set is established based on the target variables and model prediction results of the plurality of IoT devices, specifically: Setting the initial model prediction function in the plurality of IoT devices to the average value or the proportion of the categories of the target variable; Based on the model prediction result of the initial model prediction function, the residual set is calculated according to the target variable and the model prediction functions in the plurality of IoT devices.

4. The method for distributed training of federated learning of an Internet of Things device according to claim 1, characterized in that: The several prediction models are established by introducing a Laplace noise set and according to a decision tree set and the model prediction functions of the several IoT devices, specifically: Controlling the step size of model parameter update by learning rate, and establishing several initial prediction models by combining the decision tree set and the model prediction functions of the several IoT devices; The Laplace noise set is added to the parameter update amount of the several initial prediction models to obtain the several prediction models.

5. A federated learning distributed training method for an Internet of Things device as claimed in claim 4, characterized in that: The Laplace noise set is specifically: Under the condition that structural parameters other than the data sets are ensured to remain consistent, using the preset data sets to update the first initial prediction model among the several initial prediction models, and obtain the updated model output on the different data sets; The maximum value of the difference in the output of the model is defined as sensitivity; Calculate a scale parameter according to the sensitivity and a preset privacy budget; Based on the scale parameter, according to the probability density function of Laplace distribution, a random number generator is used to generate a noise value that conforms to Laplace distribution to obtain a first Laplace noise; The plurality of initial prediction models are traversed to obtain the Laplace noise set consisting of a plurality of first Laplace noises.

6. A federated learning distributed training device for IoT devices, characterized in that: Applicable to several IoT devices, including aggregation module and fitting module; The aggregation module is used to send several prediction models to a central server for aggregation to obtain a global model; wherein the several prediction models are established by introducing a Laplace noise set and according to a decision tree set and a model prediction function of the several IoT devices; the decision tree set is established by fitting a corresponding decision tree with a residual set as the first target variable; the residual set is established according to the target variables and model prediction results of the several IoT devices; The fitting module is used to obtain the global model and train the global model through a gradient descent algorithm so that the parameters of the global model fit the local data set.

7. The federated learning distributed training device for an Internet of Things device as claimed in claim 6, characterized in that: The aggregation module includes a sending unit, a weighting unit and an aggregation unit; Wherein, the sending unit is used to send the several prediction models to the central server; The weight unit is used to control the central server to dynamically adjust the weights of the several prediction models according to the data volume, model quality and preset parameters of the several IoT devices to obtain several weighted models; The aggregation unit is used to aggregate the multiple weighted models into the global model by performing weighted average calculation on the multiple weighted models.

8. The federated learning distributed training device for an Internet of Things device as claimed in claim 6, characterized in that: The aggregation module includes a setting unit and a residual unit; Wherein, the setting unit is used to set the initial model prediction function in the plurality of IoT devices to the average value or category ratio of the target variable; The residual unit is used to calculate the residual set based on the model prediction result of the initial model prediction function, according to the target variable and the model prediction functions in the plurality of Internet of Things devices.

9. The federated learning distributed training device for an Internet of Things device as claimed in claim 6, characterized in that: The aggregation module includes an initial unit and a model unit; The initial unit is used to control the step size of the model parameter update through the learning rate, and to establish several initial prediction models in combination with the decision tree set and the model prediction functions of the several IoT devices; The model unit is used to add the Laplace noise set to the parameter update amount of the several initial prediction models to obtain the several prediction models.

10. The federated learning distributed training device for an Internet of Things device according to claim 9, characterized in that: The Laplace noise set is specifically: Under the condition that structural parameters other than the data sets are ensured to remain consistent, using the preset data sets to update the first initial prediction model among the several initial prediction models, and obtain the updated model output on the different data sets; The maximum value of the difference in the output of the model is defined as sensitivity; Calculate a scale parameter according to the sensitivity and a preset privacy budget; Based on the scale parameter, according to the probability density function of Laplace distribution, a random number generator is used to generate a noise value that conforms to Laplace distribution to obtain a first Laplace noise; The plurality of initial prediction models are traversed to obtain the Laplace noise set consisting of a plurality of first Laplace noises.

11. A storage medium, characterized in that: The storage medium stores a computer program, which is called and executed by a computer to implement a federated learning distributed training method for an IoT device as described in any one of claims 1 to 5 above.

Citation Information

Patent Citations

  • Federal learning global model training method based on differential privacy and quantification

    CN113591145A

  • Decision tree integrated training method and device based on differential privacy

    CN115310133A

  • Integrated learning model in federated learning system and construction method thereof

    CN115936111A

  • Block chain-based credible federal gradient boosting tree participant contribution evaluation method

    CN116961920A

  • Wireless service traffic prediction method based on weighted federated learning

    WO2021169577A1

Cited By

  • Federal learning and differential privacy protection-based carbon emission prediction method and system

    CN120910914A