Homomorphic encryption federated learning communication cost control method and system based on key learning period identification

By identifying the critical and non-critical learning periods of the homomorphic encryption federated learning model and adjusting the client connection, the problem of communication overhead and accuracy in the model compression process is solved, and reliability and security are improved.

CN118677594AActive Publication Date: 2024-09-20BEIHANG UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410766229.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-20
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

The existing homomorphic encryption federated learning model cannot take into account both model accuracy and communication overhead during the traditional model compression process, which affects the working reliability and security of the model.

Method used

By identifying the critical learning period and non-critical learning period of the homomorphic encryption federated learning model, adjust the number of client connections and communication connection status, reduce unnecessary client connections, and adjust the server and server based on client connection change information and working status feature information. Client communication connection.

Benefits of technology

It effectively reduces the communication overhead of model training, while maintaining the accuracy and security of the model, ensuring the reliability of the homomorphic encryption federated learning model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677594A
    Figure CN118677594A
Patent Text Reader

Abstract

The invention provides a homomorphic encryption federated learning communication cost control method and system based on key learning period recognition, and the method comprises the steps: recognizing a client cluster which is allowed to be connected with a server for training a homomorphic encryption federated learning model from the interior of a network, and carrying out the monitoring of the client cluster, and obtaining the working state feature information of all clients; loss value change data of the model is obtained through monitoring in the training process, so that a key learning period and a non-key learning period of the model in the training process are distinguished and determined; based on the respective time attribute information of the key learning period and the non-key learning period, client connection change information of the model in the training process is determined, and quantitative calibration is carried out on the connection change of the client; and the communication connection state between the server and the client is adjusted based on the client connection change information and the working state feature information, so that the communication overhead of model training is effectively reduced, the precision of the model is not influenced, and the working reliability and safety of the homomorphic encryption federated learning model are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of federated learning, and in particular to a method and system for controlling communication costs of homomorphic encrypted federated learning based on key learning period identification. Background Art

[0002] The homomorphic encryption federated learning model can better protect the data model security in the federated learning process, but in order to ensure the normal operation of the homomorphic encryption federated learning model, a corresponding amount of communication overhead support is required. At present, the training efficiency of the homomorphic encryption federated learning model is improved by compressing the homomorphic encryption federated learning model, but at the same time, the homomorphic encryption federated learning model will cause information loss, increase the difficulty of model convergence, and affect the accuracy of the model. It can be seen that the existing homomorphic encryption federated learning model cannot simultaneously ensure that the model accuracy is not reduced and reduce the communication overhead during the traditional model compression process, and cannot improve the working reliability and security of the homomorphic encryption federated learning model. Summary of the invention

[0003] The purpose of the present invention is to provide a method and system for controlling the communication cost of homomorphic encrypted federated learning based on critical learning period identification, which identifies the client cluster allowed to connect to the server for training the homomorphic encrypted federated learning model from within the network, and monitors the client cluster to obtain the working status characteristic information of all clients; it also monitors the loss value change data of the model during the training process to distinguish and determine the critical learning period and non-critical learning period of the model in the training process, and quantifies and distinguishes the importance of the model at different stages in the entire training process, so as to facilitate the subsequent adjustment of the number of connected clients for different learning periods and reduce unnecessary client connections; based on the time attribute information of the critical learning period and the non-critical learning period, the client connection change information of the model during the training process is determined, and the client connection change is quantitatively calibrated; based on the client connection change information and the working status characteristic information, the communication connection status between the server and the client is adjusted, effectively reducing the communication overhead of model training, while not affecting the accuracy of the model, ensuring the working reliability and security of the homomorphic encrypted federated learning model.

[0004] The present invention is achieved through the following technical solutions:

[0005] A method for controlling communication costs of homomorphic encrypted federated learning based on critical learning period identification includes:

[0006] Identify the server where the homomorphic encryption federated learning model is trained, and obtain the communication attribute information of the server within the network; based on the communication attribute information, determine the client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model, and monitor all clients under the client cluster to obtain the working status feature information of all clients;

[0007] The training process of the homomorphic encryption federated learning model is monitored to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process are determined; based on the respective time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, the client connection change information of the homomorphic encryption federated learning model during the training process is determined;

[0008] Based on the client connection change information and the working status characteristic information, the communication connection status between the server and the client is adjusted; and based on the real-time training status of the homomorphic encryption federated learning model, the communication authority of the server within the network is adjusted.

[0009] Optionally, a server where the homomorphic encryption federated learning model is trained is identified to obtain communication attribute information of the server within the network; based on the communication attribute information, a client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model is determined, and all clients under the client cluster are monitored to obtain working status feature information of all clients, including:

[0010] Compare the device identity information of the server where the homomorphic encryption federated learning model is trained with the device connection lists of all gateways in the network to determine the gateway location information and gateway bandwidth information accessed by the server in the network; based on the gateway location information, determine all client clusters within a preset distance range from the connection path of the server in the network; and based on the gateway bandwidth information, select a client cluster with a matching communication bandwidth value from all client clusters within the preset distance range as the client cluster allowed to connect to the server;

[0011] Based on the device identity information of all clients under the client cluster that is allowed to connect, all subordinate clients are monitored to obtain the real-time to-be-processed task volume of all clients, which is used as the working status characteristic information.

[0012] Optionally, all clients under the client cluster are monitored to obtain the working status characteristic information of all clients, including:

[0013] Step S1, monitoring all clients under the client cluster is performed by allocating a monitoring time within a corresponding cycle to each client under the client cluster by the server, thereby achieving the effect of time-division multiplexing monitoring. First, the following formula (1) is used to control the duration of a cycle of time-division multiplexing monitoring by the server according to the number of all clients under the client cluster and the maximum amount of data that each client can generate.

[0014]

[0015] In the above formula (1), T represents the duration of a cycle of the server's time-division multiplexing monitoring; n represents the number of all clients under the client cluster; T0 represents the duration of the server processing a unit amount of data; S0 represents the unit amount of data; e represents a natural constant; S max (r) represents the maximum amount of data that can be generated by the rth client;

[0016] Step S2, using the following formula (2), according to the usage level of each client under the client cluster and the maximum amount of data that each client can generate, control the listening time within the cycle allocated to each client during time-division multiplexing listening by the server,

[0017]

[0018] In the above formula (2), T # (r) represents the listening time in the period allocated to the r-th client; D(r) represents the usage degree of the r-th client;

[0019] Step S3, using the following formula (3), according to the amount of characteristic information data of the working status of each client monitored in each monitoring cycle, the usage level of each client under the client cluster is updated,

[0020]

[0021] In the above formula (3), D′(r) represents the updated usage level of the r-th client; J(r) represents the amount of characteristic information data of the working status of the r-th client monitored during the monitoring period.

[0022] Optionally, the training process of the homomorphic encryption federated learning model is monitored to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process are determined; based on the time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, client connection change information of the homomorphic encryption federated learning model during the training process is determined, including:

[0023] Based on the data training speed of the homomorphic encryption federated learning model during the training process, determine the monitoring frequency of the training process of the homomorphic encryption federated learning, so as to obtain the loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, determine the average loss rate of the homomorphic encryption federated learning model in all training stages; if the average loss rate is greater than a preset loss rate threshold, determine the corresponding training stage as the critical learning period of the homomorphic encryption federated learning model during the training process; otherwise, determine the corresponding training stage as the non-critical learning period of the homomorphic encryption federated learning model during the training process;

[0024] Obtain the time length information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, and based on the time length information, determine the client connection increase information in each critical learning period and the client connection decrease information in each non-critical learning period of the homomorphic encryption federated learning model, as the client connection change information.

[0025] Optionally, adjusting the communication connection state between the server and the client based on the client connection change information and the working state characteristic information; and adjusting the communication authority of the server within the network based on the real-time training state of the homomorphic encryption federated learning model, including:

[0026] When the homomorphic encryption federated learning model is in a non-critical learning period, based on the client connection reduction information, a corresponding number of clients that meet a preset remaining available computing power condition are selected from all clients currently connected to the server, thereby interrupting the connection between all selected clients and the server;

[0027] When the homomorphic encryption federated learning model is in a critical learning period, based on the client connection increase information and the working status characteristic information, a corresponding number of clients that meet a preset to-be-processed task amount condition are selected from the client cluster allowed to connect, so as to connect all the selected clients to the server;

[0028] Based on the real-time training convergence change state of the homomorphic encryption federated learning model, determine whether the homomorphic encryption federated learning model has completed training; if so, terminate the communication authority of the server within the network; if not, keep the current communication authority of the server within the network unchanged.

[0029] A homomorphic encryption federated learning communication cost control system based on critical learning period identification, including:

[0030] A communication state identification module is used to identify the server where the homomorphic encryption federated learning model is trained and obtain the communication attribute information of the server within the network;

[0031] A client selection and monitoring module, used to determine, based on the communication attribute information, a client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model, and monitor all clients under the client cluster to obtain the working status characteristic information of all clients;

[0032] A critical learning period identification module is used to monitor the training process of the homomorphic encryption federated learning model to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, determine all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process;

[0033] A client connection change determination module, used to determine the client connection change information of the homomorphic encryption federated learning model during the training process based on the time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model;

[0034] A communication connection state adjustment module, used to adjust the communication connection state between the server and the client based on the client connection change information and the working state characteristic information;

[0035] A communication authority adjustment module is used to adjust the communication authority of the server within the network based on the real-time training status of the homomorphic encryption federated learning model.

[0036] Optionally, the communication state identification module is used to identify the server where the homomorphic encryption federated learning model is trained, and obtain communication attribute information of the server within the network, including:

[0037] Compare the device identity information of the server where the homomorphic encryption federated learning model is trained with the device connection list of all gateways in the network to determine the gateway location information and gateway bandwidth information accessed by the server in the network;

[0038] The client selection and monitoring module is used to determine the client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model based on the communication attribute information, and monitor all clients under the client cluster to obtain the working status characteristic information of all clients, including:

[0039] Based on the gateway location information, determine all client clusters whose connection path distances to the server within the network are within a preset distance range; and based on the gateway bandwidth information, select a client cluster with a matching communication bandwidth value from all client clusters within the preset distance range as the client cluster allowed to connect to the server;

[0040] Based on the device identity information of all clients under the client cluster that is allowed to connect, all subordinate clients are monitored to obtain the real-time to-be-processed task volume of all clients, which is used as the working status characteristic information.

[0041] Optionally, the critical learning period identification module is used to monitor the training process of the homomorphic encryption federated learning model to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, determine all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process, including:

[0042] Based on the data training speed of the homomorphic encryption federated learning model during the training process, determine the monitoring frequency of the training process of the homomorphic encryption federated learning, so as to obtain the loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, determine the average loss rate of the homomorphic encryption federated learning model in all training stages; if the average loss rate is greater than a preset loss rate threshold, determine the corresponding training stage as the critical learning period of the homomorphic encryption federated learning model during the training process; otherwise, determine the corresponding training stage as the non-critical learning period of the homomorphic encryption federated learning model during the training process;

[0043] The client connection change determination module is used to determine the client connection change information of the homomorphic encryption federated learning model during the training process based on the time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, including:

[0044] Obtain the time length information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, and based on the time length information, determine the client connection increase information in each critical learning period and the client connection decrease information in each non-critical learning period of the homomorphic encryption federated learning model, as the client connection change information.

[0045] Optionally, the connection state adjustment module is used to adjust the communication connection state between the server and the client based on the client connection change information and the working state characteristic information, including:

[0046] When the homomorphic encryption federated learning model is in a non-critical learning period, based on the client connection reduction information, a corresponding number of clients that meet a preset remaining available computing power condition are selected from all clients currently connected to the server, thereby interrupting the connection between all selected clients and the server;

[0047] When the homomorphic encryption federated learning model is in a critical learning period, based on the client connection increase information and the working status characteristic information, a corresponding number of clients that meet a preset to-be-processed task amount condition are selected from the client cluster allowed to connect, so as to connect all the selected clients to the server;

[0048] The communication authority adjustment module is used to adjust the communication authority of the server within the network based on the real-time training state of the homomorphic encryption federated learning model, including:

[0049] Based on the real-time training convergence change state of the homomorphic encryption federated learning model, determine whether the homomorphic encryption federated learning model has completed training; if so, terminate the communication authority of the server within the network; if not, keep the current communication authority of the server within the network unchanged.

[0050] Compared with the prior art, the present invention has the following beneficial effects:

[0051] The homomorphic encryption federated learning communication cost control method and system based on critical learning period identification provided in the present application identify the client cluster allowed to connect to the server for training the homomorphic encryption federated learning model from within the network, and monitor the client cluster to obtain the working status characteristic information of all clients; also monitor the loss value change data of the model during the training process to distinguish and determine the critical learning period and non-critical learning period of the model in the training process, and quantify and distinguish the importance of the model at different stages in the entire training process, so as to facilitate the subsequent adjustment of the number of connected clients for different learning periods and reduce unnecessary client connections; based on the time attribute information of the critical learning period and the non-critical learning period, determine the client connection change information of the model during the training process, and quantitatively calibrate the client connection change; also based on the client connection change information and the working status characteristic information, adjust the communication connection status between the server and the client, effectively reduce the communication overhead of model training, and at the same time will not affect the accuracy of the model, ensuring the working reliability and security of the homomorphic encryption federated learning model. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. 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 creative work. Among them:

[0053] Figure 1 A flow chart of a method for controlling communication costs of homomorphic encrypted federated learning based on critical learning period identification provided by the present invention.

[0054] Figure 2 A schematic diagram of the structure of the homomorphic encryption federated learning communication cost control system based on key learning period identification provided by the present invention. DETAILED DESCRIPTION

[0055] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0056] The terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0057] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0058] See also Figure 1 As shown, an embodiment of the present application provides a method for controlling communication costs of homomorphic encrypted federated learning based on key learning period identification. The method for controlling communication costs of homomorphic encrypted federated learning based on key learning period identification includes:

[0059] Identify the server where the homomorphic encryption federated learning model is trained, and obtain the communication attribute information of the server within the network; based on the communication attribute information, determine the client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model, and monitor all clients under the client cluster to obtain the working status characteristic information of all clients;

[0060] The training process of the homomorphic encryption federated learning model is monitored to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process are determined; based on the respective time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, the client connection change information of the homomorphic encryption federated learning model during the training process is determined;

[0061] Based on the client connection change information and the working status characteristic information, the communication connection status between the server and the client is adjusted; and based on the real-time training status of the homomorphic encryption federated learning model, the communication authority of the server within the network is adjusted.

[0062] The beneficial effects of the above embodiments are as follows: the method for controlling the communication cost of homomorphic encrypted federated learning based on critical learning period identification identifies the client clusters allowed to connect to the server for training the homomorphic encrypted federated learning model from within the network, and monitors the client clusters to obtain the working status characteristic information of all clients; the loss value change data of the model is also monitored during the training process to distinguish and determine the critical learning period and non-critical learning period of the model during the training process, and quantitatively distinguish and identify the importance of the model at different stages during the entire training process, so as to facilitate the subsequent adjustment of the number of connected clients for different learning periods and reduce unnecessary client connections; based on the time attribute information of the critical learning period and the non-critical learning period, the client connection change information of the model during the training process is determined, and the client connection changes are quantitatively calibrated; based on the client connection change information and the working status characteristic information, the communication connection status between the server and the client is adjusted, effectively reducing the communication overhead of the model training without affecting the accuracy of the model, thereby ensuring the working reliability and security of the homomorphic encrypted federated learning model.

[0063] In another embodiment, the server where the homomorphic encryption federated learning model is trained is identified to obtain communication attribute information of the server within the network; based on the communication attribute information, the client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model is determined, and all clients under the client cluster are monitored to obtain the working status characteristic information of all clients, including:

[0064] Compare the device identity information of the server where the homomorphic encryption federated learning model is trained with the device connection lists of all gateways in the network to determine the gateway location information and gateway bandwidth information to which the server is connected in the network; based on the gateway location information, determine all client clusters within a preset distance range from the connection path of the server in the network; and based on the gateway bandwidth information, select a client cluster with a matching communication bandwidth value from all client clusters within the preset distance range as the client cluster allowed to connect to the server;

[0065] Based on the device identity information of all clients under the client cluster that is allowed to connect, all the clients are monitored to obtain the real-time to-be-processed task volume of all the clients, which is used as the working status characteristic information.

[0066] The beneficial effects of the above embodiments are that the homomorphic encryption federated learning model needs to be trained with the help of the corresponding server before being applied to different occasions, and can only be used in the corresponding task calculation after the convergence of the trained model meets the corresponding numerical range conditions. The homomorphic encryption federated learning model needs the assistance of different external clients during the training process, that is, the model needs to communicate with different clients, which will put forward corresponding communication overhead requirements for the model. In order to ensure that the model can have a reliable and stable communication connection with external clients during the training process, the device identity information of the server where the model is trained is compared with the device connection list of all gateways in the network where the server is located, so as to determine the gateway that the server is currently connected to in the network, and then further determine the location information and gateway bandwidth information of the accessed gateway, so as to perform a targeted search for the client that the server can connect to. Based on the gateway location information, all client clusters whose connection paths to the server within the network are within a preset distance range are determined, so that the communication connection between the server and the clients that are relatively close to the network can be guaranteed; based on the gateway bandwidth information, a client cluster with a matching communication bandwidth value is selected from all client clusters within the preset distance range (i.e., the communication bandwidth value required for all clients under the selected client cluster to communicate with the server is less than or equal to the gateway bandwidth), and this is used as the client cluster allowed to connect by the server, thereby ensuring that the server obtains a good and stable client communication connection. In addition, based on the device identity information of all clients under the client cluster allowed to connect, all subordinate clients are monitored to obtain the real-time pending task volume of all clients, so that the task processing load of all clients can be quantified and identified, providing a reliable basis for subsequent adjustment of the connection status between the server and the client.

[0067] In another embodiment, all clients under the client cluster are monitored to obtain the working status characteristic information of all clients, including:

[0068] Step S1, monitoring all clients under the client cluster is performed by allocating a monitoring time within a corresponding cycle to each client under the client cluster by the server, thereby achieving the effect of time-division multiplexing monitoring. First, the following formula (1) is used to control the duration of a cycle of time-division multiplexing monitoring of the server according to the number of all clients under the client cluster and the maximum amount of data that each client can generate.

[0069]

[0070] In the above formula (1), T represents the duration of a cycle of the server's time-division multiplexing monitoring; n represents the number of all clients under the client cluster; T0 represents the duration of the server processing a unit of data; S0 represents the unit of data; e represents a natural constant; S max (r) represents the maximum amount of data that can be generated by the rth client;

[0071] Step S2, using the following formula (2), according to the usage level of each client under the client cluster and the maximum amount of data that each client can generate, control the listening time within the cycle allocated to each client during time-division multiplexing listening by the server,

[0072]

[0073] In the above formula (2), T # (r) represents the listening time in the period allocated to the r-th client; D(r) represents the usage degree of the r-th client;

[0074] Step S3, using the following formula (3), according to the amount of characteristic information data of the working status of each client monitored in each monitoring cycle, the usage level of each client under the client cluster is updated,

[0075]

[0076] In the above formula (3), D′(r) represents the updated usage level of the r-th client; J(r) represents the amount of characteristic information data of the working status of the r-th client monitored during the monitoring period.

[0077] The beneficial effect of the above embodiment is that, by using the above formula (1), according to the number of all clients under the client cluster and the maximum amount of data that each client can generate, the length of a cycle of the server's time-sharing multiplexing monitoring is controlled to ensure that the length of the monitoring cycle can meet the monitoring of each client; then by using the above formula (2), according to the usage level of each client under the client cluster and the maximum amount of data that each client can generate, the listening time within the cycle allocated to each client during the server's time-sharing multiplexing monitoring is controlled, thereby reasonably allocating the listening time according to the usage level to ensure the stability of the system; then by using the above formula (3), according to the amount of work status feature information data of each client monitored in each monitoring cycle, the usage level of each client under the client cluster is updated, thereby ensuring the reliability of the system by iterative updates without listening.

[0078] In another embodiment, the training process of the homomorphic encryption federated learning model is monitored to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process are determined; based on the time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, the client connection change information of the homomorphic encryption federated learning model during the training process is determined, including:

[0079] Based on the data training speed of the homomorphic encryption federated learning model during the training process, determine the monitoring frequency of the training process of the homomorphic encryption federated learning model, so as to obtain the loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, determine the average loss rate of the homomorphic encryption federated learning model in all training stages; if the average loss rate is greater than the preset loss rate threshold, determine the corresponding training stage as the critical learning period of the homomorphic encryption federated learning model during the training process; otherwise, determine the corresponding training stage as the non-critical learning period of the homomorphic encryption federated learning model during the training process;

[0080] The time length information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model is obtained, and based on the time length information, the information on the increase in client connections in each critical learning period and the information on the decrease in client connections in each non-critical learning period of the homomorphic encryption federated learning model is determined as the client connection change information.

[0081] The beneficial effect of the above embodiment is that the speed of change of the loss value of the homomorphic encryption federated learning model during the training process will change with the data training speed of the model. In order to accurately obtain the change of the loss value of the model during the training process, the monitoring frequency of the training process of the homomorphic encryption federated learning is determined based on the data training speed of the homomorphic encryption federated learning model during the training process. Generally speaking, the greater the data training speed, the greater the corresponding monitoring frequency. Based on the loss value change data, the average loss rate of the homomorphic encryption federated learning model in all training stages is determined, and the average loss rate is compared by threshold value, so as to distinguish whether the training stage of the model belongs to the critical learning period or the non-critical learning period, so as to facilitate the subsequent differentiated client connection changes in different types of learning periods when the model is in the critical learning period and the non-critical learning period. The time length information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model is also obtained to determine the increase in client connections in each critical learning period and the decrease in client connections in each non-critical learning period of the homomorphic encryption federated learning model. This allows the number of client connections to be appropriately increased when the model training is in the critical learning period to provide sufficient client support for the model training, and the number of client connections to be appropriately reduced when the model training is in the non-critical learning period, providing a reliable basis for reducing communication overhead during the model training process.

[0082] In another embodiment, based on the client connection change information and the working status characteristic information, adjusting the communication connection state between the server and the client; and based on the real-time training state of the homomorphic encryption federated learning model, adjusting the communication authority of the server within the network, including:

[0083] When the homomorphic encryption federated learning model is in a non-critical learning period, based on the client connection reduction information, a corresponding number of clients that meet the preset remaining available computing power conditions are selected from all clients currently connected to the server, thereby interrupting the connections between all selected clients and the server;

[0084] When the homomorphic encryption federated learning model is in a critical learning period, based on the client connection increase information and the work status characteristic information, a corresponding number of clients that meet the preset to-be-processed task amount condition are selected from the client cluster that is allowed to connect, so as to connect all the selected clients to the server;

[0085] Based on the real-time training convergence change state of the homomorphic encryption federated learning model, determine whether the homomorphic encryption federated learning model has completed training; if so, terminate the communication authority of the server within the network; if not, keep the current communication authority of the server within the network unchanged.

[0086] The beneficial effect of the above embodiment is that when the homomorphic encryption federated learning model is in a non-critical learning period, based on the client connection reduction information, a corresponding number of clients that meet the preset remaining available computing power condition are selected from all the clients currently connected to the server, so as to interrupt the connection between all the selected clients and the server, such as interrupting the connection between the client whose remaining available computing power value is less than the preset computing power threshold among all the clients currently connected to the server, and specifically, the number of clients connected to the server can be reduced exponentially. When the homomorphic encryption federated learning model is in a critical learning period, based on the client connection increase information and the working status characteristic information, a corresponding number of clients that meet the preset pending task amount condition are selected from the client cluster that is allowed to connect, so as to connect all the selected clients to the server, such as connecting the client whose pending task amount is less than the preset task amount threshold in the client cluster that is allowed to connect to the server, and specifically, the number of clients connected to the server can be increased exponentially. In addition, based on the real-time training convergence change state of the homomorphic encryption federated learning mode, it is determined whether the homomorphic encryption federated learning model has completed training. Specifically, when the real-time training convergence change state indicates that the difference between the convergence of the model and the preset target convergence is less than or equal to the preset threshold, it is determined that the homomorphic encryption federated learning model has completed training. At this time, the communication rights of the server within the network are terminated, which facilitates the calculation and processing of different tasks by the homomorphic encryption federated learning model; when the real-time training convergence change state indicates that the difference between the convergence of the model and the preset target convergence is greater than the preset threshold, it is determined that the homomorphic encryption federated learning model has not completed training. At this time, the current communication rights of the server within the network are kept unchanged to ensure that the homomorphic encryption federated learning model can be fully trained.

[0087] See also Figure 2 As shown, an embodiment of the present application provides a homomorphic encryption federated learning communication cost control system based on key learning period identification. The homomorphic encryption federated learning communication cost control system based on key learning period identification includes:

[0088] The communication status identification module is used to identify the server where the homomorphic encryption federated learning model is trained and obtain the communication attribute information of the server within the network;

[0089] A client selection and monitoring module is used to determine the client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model based on the communication attribute information, and monitor all clients under the client cluster to obtain the working status characteristic information of all clients;

[0090] A critical learning period identification module is used to monitor the training process of the homomorphic encryption federated learning model to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, determine all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process;

[0091] A client connection change determination module, used to determine the client connection change information of the homomorphic encryption federated learning model during the training process based on the time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model;

[0092] A communication connection state adjustment module, used to adjust the communication connection state between the server and the client based on the client connection change information and the working state characteristic information;

[0093] The communication authority adjustment module is used to adjust the communication authority of the server within the network based on the real-time training status of the homomorphic encryption federated learning model.

[0094] The beneficial effects of the above embodiments are as follows: the homomorphic encryption federated learning communication cost control system based on critical learning period identification identifies the client cluster allowed to connect to the server for training the homomorphic encryption federated learning model from within the network, and monitors the client cluster to obtain the working status characteristic information of all clients; it also monitors the loss value change data of the model during the training process to distinguish and determine the critical learning period and non-critical learning period of the model in the training process, and quantifies and distinguishes the importance of the model at different stages in the entire training process, so as to facilitate the subsequent adjustment of the number of connected clients for different learning periods and reduce unnecessary client connections; based on the time attribute information of the critical learning period and the non-critical learning period, the client connection change information of the model during the training process is determined, and the client connection change is quantitatively calibrated; based on the client connection change information and the working status characteristic information, the communication connection status between the server and the client is adjusted, effectively reducing the communication overhead of the model training, while not affecting the accuracy of the model, ensuring the working reliability and security of the homomorphic encryption federated learning model.

[0095] In another embodiment, the communication state identification module is used to identify the server where the homomorphic encryption federated learning model is trained, and obtain the communication attribute information of the server within the network, including:

[0096] Compare the device identity information of the server where the homomorphic encryption federated learning model is trained with the device connection list of all gateways in the network to determine the gateway location information and gateway bandwidth information that the server accesses in the network;

[0097] The client selection and monitoring module is used to determine the client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model based on the communication attribute information, and monitor all clients under the client cluster to obtain the working status characteristic information of all clients, including:

[0098] Based on the gateway location information, all client clusters whose connection paths to the server within the network are within a preset distance range are determined; based on the gateway bandwidth information, a client cluster having a matching communication bandwidth value is selected from all client clusters within the preset distance range as a client cluster allowed to connect to the server;

[0099] Based on the device identity information of all clients under the client cluster that is allowed to connect, all the clients are monitored to obtain the real-time to-be-processed task volume of all the clients, which is used as the working status characteristic information.

[0100] The beneficial effects of the above embodiments are as follows: the method for controlling the communication cost of homomorphic encrypted federated learning based on critical learning period identification identifies the client clusters allowed to connect to the server for training the homomorphic encrypted federated learning model from within the network, and monitors the client clusters to obtain the working status characteristic information of all clients; the loss value change data of the model is also monitored during the training process to distinguish and determine the critical learning period and non-critical learning period of the model during the training process, and quantitatively distinguish and identify the importance of the model at different stages during the entire training process, so as to facilitate the subsequent adjustment of the number of connected clients for different learning periods and reduce unnecessary client connections; based on the time attribute information of the critical learning period and the non-critical learning period, the client connection change information of the model during the training process is determined, and the client connection changes are quantitatively calibrated; based on the client connection change information and the working status characteristic information, the communication connection status between the server and the client is adjusted, effectively reducing the communication overhead of the model training without affecting the accuracy of the model, thereby ensuring the working reliability and security of the homomorphic encrypted federated learning model.

[0101] In another embodiment, the critical learning period identification module is used to monitor the training process of the homomorphic encryption federated learning model to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, determine all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process, including:

[0102] Based on the data training speed of the homomorphic encryption federated learning model during the training process, determine the monitoring frequency of the training process of the homomorphic encryption federated learning model, so as to obtain the loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, determine the average loss rate of the homomorphic encryption federated learning model in all training stages; if the average loss rate is greater than the preset loss rate threshold, determine the corresponding training stage as the critical learning period of the homomorphic encryption federated learning model during the training process; otherwise, determine the corresponding training stage as the non-critical learning period of the homomorphic encryption federated learning model during the training process;

[0103] The client connection change determination module is used to determine the client connection change information of the homomorphic encryption federated learning model during the training process based on the time attribute information of all key learning periods and all non-key learning periods under the homomorphic encryption federated learning model, including:

[0104] The time length information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model is obtained, and based on the time length information, the information on the increase in client connections in each critical learning period and the information on the decrease in client connections in each non-critical learning period of the homomorphic encryption federated learning model is determined as the client connection change information.

[0105] The beneficial effects of the above embodiments are that the homomorphic encryption federated learning model needs to be trained with the help of the corresponding server before being applied to different occasions, and can only be used in the corresponding task calculation after the convergence of the trained model meets the corresponding numerical range conditions. The homomorphic encryption federated learning model needs the assistance of different external clients during the training process, that is, the model needs to communicate with different clients, which will put forward corresponding communication overhead requirements for the model. In order to ensure that the model can have a reliable and stable communication connection with external clients during the training process, the device identity information of the server where the model is trained is compared with the device connection list of all gateways in the network where the server is located, so as to determine the gateway that the server is currently connected to in the network, and then further determine the location information and gateway bandwidth information of the accessed gateway, so as to perform a targeted search for the client that the server can connect to. Based on the gateway location information, all client clusters whose connection paths to the server within the network are within a preset distance range are determined, so that the communication connection between the server and the clients that are relatively close to the network can be guaranteed; based on the gateway bandwidth information, a client cluster with a matching communication bandwidth value is selected from all client clusters within the preset distance range (i.e., the communication bandwidth value required for all clients under the selected client cluster to communicate with the server is less than or equal to the gateway bandwidth), and this is used as the client cluster allowed to connect by the server, thereby ensuring that the server obtains a good and stable client communication connection. In addition, based on the device identity information of all clients under the client cluster allowed to connect, all subordinate clients are monitored to obtain the real-time pending task volume of all clients, so that the task processing load of all clients can be quantified and identified, providing a reliable basis for subsequent adjustment of the connection status between the server and the client.

[0106] In another embodiment, the connection state adjustment module is used to adjust the communication connection state between the server and the client based on the client connection change information and the working state characteristic information, including:

[0107] When the homomorphic encryption federated learning model is in a non-critical learning period, based on the client connection reduction information, a corresponding number of clients that meet the preset remaining available computing power conditions are selected from all clients currently connected to the server, thereby interrupting the connections between all selected clients and the server;

[0108] When the homomorphic encryption federated learning model is in a critical learning period, based on the client connection increase information and the work status characteristic information, a corresponding number of clients that meet the preset to-be-processed task amount condition are selected from the client cluster that is allowed to connect, so as to connect all the selected clients to the server;

[0109] The communication authority adjustment module is used to adjust the communication authority of the server within the network based on the real-time training state of the homomorphic encryption federated learning model, including:

[0110] Based on the real-time training convergence change state of the homomorphic encryption federated learning model, determine whether the homomorphic encryption federated learning model has completed training; if so, terminate the communication authority of the server within the network; if not, keep the current communication authority of the server within the network unchanged.

[0111] The beneficial effect of the above embodiment is that when the homomorphic encryption federated learning model is in a non-critical learning period, based on the client connection reduction information, a corresponding number of clients that meet the preset remaining available computing power condition are selected from all the clients currently connected to the server, so as to interrupt the connection between all the selected clients and the server, such as interrupting the connection between the client whose remaining available computing power value is less than the preset computing power threshold among all the clients currently connected to the server, and specifically, the number of clients connected to the server can be reduced exponentially. When the homomorphic encryption federated learning model is in a critical learning period, based on the client connection increase information and the working status characteristic information, a corresponding number of clients that meet the preset pending task amount condition are selected from the client cluster that is allowed to connect, so as to connect all the selected clients to the server, such as connecting the client whose pending task amount is less than the preset task amount threshold in the client cluster that is allowed to connect to the server, and specifically, the number of clients connected to the server can be increased exponentially. In addition, based on the real-time training convergence change state of the homomorphic encryption federated learning mode, it is determined whether the homomorphic encryption federated learning model has completed training. Specifically, when the real-time training convergence change state indicates that the difference between the convergence of the model and the preset target convergence is less than or equal to the preset threshold, it is determined that the homomorphic encryption federated learning model has completed training. At this time, the communication rights of the server within the network are terminated, which facilitates the calculation and processing of different tasks by the homomorphic encryption federated learning model; when the real-time training convergence change state indicates that the difference between the convergence of the model and the preset target convergence is greater than the preset threshold, it is determined that the homomorphic encryption federated learning model has not completed training. At this time, the current communication rights of the server within the network are kept unchanged to ensure that the homomorphic encryption federated learning model can be fully trained.

[0112] In general, the method and system for controlling the communication cost of homomorphic encrypted federated learning based on critical learning period identification identify the client clusters allowed to connect to the server training the homomorphic encrypted federated learning model from within the network, and monitor the client clusters to obtain the working status characteristic information of all clients; the loss value change data of the model is also monitored during the training process to distinguish and determine the critical learning period and non-critical learning period of the model during the training process, and quantitatively distinguish and identify the importance of the model at different stages in the entire training process, so as to facilitate the subsequent adjustment of the number of connected clients for different learning periods and reduce unnecessary client connections; based on the time attribute information of the critical learning period and the non-critical learning period, the client connection change information of the model during the training process is determined, and the client connection changes are quantitatively calibrated; based on the client connection change information and the working status characteristic information, the communication connection status between the server and the client is adjusted, effectively reducing the communication overhead of model training without affecting the accuracy of the model, thereby ensuring the working reliability and security of the homomorphic encrypted federated learning model.

[0113] The above is only a specific implementation of the present invention, and any other improvements made based on the concept of the present invention are considered to be within the protection scope of the present invention.

Claims

1. A method for controlling communication costs of homomorphic encrypted federated learning based on identification of critical learning periods, characterized in that: include: Identify the server where the homomorphic encryption federated learning model is trained, and obtain the communication attribute information of the server within the network; Based on the communication attribute information, determine the client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model, and monitor all clients under the client cluster to obtain the working status characteristic information of all clients; The training process of the homomorphic encryption federated learning model is monitored to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process are determined; based on the respective time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, the client connection change information of the homomorphic encryption federated learning model during the training process is determined; Adjusting the communication connection state between the server and the client based on the client connection change information and the working state characteristic information; And based on the real-time training status of the homomorphic encryption federated learning model, the communication authority of the server within the network is adjusted.

2. The method for controlling communication cost of homomorphic encrypted federated learning based on critical learning period identification according to claim 1, characterized in that: The server where the homomorphic encryption federated learning model is trained is identified to obtain the communication attribute information of the server within the network; based on the communication attribute information, the client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model is determined, and all clients under the client cluster are monitored to obtain the working status characteristic information of all clients, including: Compare the device identity information of the server where the homomorphic encryption federated learning model is trained with the device connection lists of all gateways in the network to determine the gateway location information and gateway bandwidth information accessed by the server in the network; based on the gateway location information, determine all client clusters within a preset distance range from the connection path of the server in the network; and based on the gateway bandwidth information, select a client cluster with a matching communication bandwidth value from all client clusters within the preset distance range as the client cluster allowed to connect to the server; Based on the device identity information of all clients under the client cluster that is allowed to connect, all subordinate clients are monitored to obtain the real-time to-be-processed task volume of all clients, which is used as the working status characteristic information.

3. The method for controlling communication cost of homomorphic encrypted federated learning based on key learning period identification according to claim 1, characterized in that: Monitor all clients under the client cluster to obtain the working status characteristic information of all clients, including: Step S1, monitoring all clients under the client cluster is performed by allocating a monitoring time within a corresponding cycle to each client under the client cluster by the server, thereby achieving the effect of time-division multiplexing monitoring. First, the following formula (1) is used to control the duration of a cycle of time-division multiplexing monitoring by the server according to the number of all clients under the client cluster and the maximum amount of data that each client can generate. In the above formula (1), T represents the duration of a cycle of the server's time-division multiplexing monitoring; n represents the number of all clients under the client cluster; T0 represents the duration of the server processing a unit amount of data; S0 represents the unit amount of data; e represents a natural constant; S max (r) represents the maximum amount of data that can be generated by the rth client; Step S2, using the following formula (2), according to the usage level of each client under the client cluster and the maximum amount of data that each client can generate, control the listening time within the cycle allocated to each client during time-division multiplexing listening by the server, In the above formula (2), T # (r) represents the listening time in the cycle allocated to the rth client; D(r) represents the usage degree of the rth client; Step S3, using the following formula (3), according to the amount of characteristic information data of the working status of each client monitored in each monitoring cycle, the usage level of each client under the client cluster is updated, In the above formula (3), D′(r) represents the updated usage level of the r-th client; J(r) represents the amount of characteristic information data of the working status of the r-th client monitored during the monitoring period.

4. The method for controlling communication cost of homomorphic encrypted federated learning based on critical learning period identification according to claim 2, characterized in that: The training process of the homomorphic encryption federated learning model is monitored to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process are determined; based on the time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, client connection change information of the homomorphic encryption federated learning model during the training process is determined, including: Based on the data training speed of the homomorphic encryption federated learning model during the training process, the monitoring frequency of the training process of the homomorphic encryption federated learning is determined to obtain the loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, the average loss rate of the homomorphic encryption federated learning model in all training stages is determined; if the average loss rate is greater than the preset loss rate threshold, the corresponding training stage is determined as the critical learning period of the homomorphic encryption federated learning model during the training process; otherwise, the corresponding training stage is determined as the non-critical learning period of the homomorphic encryption federated learning model during the training process; the time length information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model is obtained, and based on the time length information, the client connection increase information of the homomorphic encryption federated learning model in each critical learning period and the client connection decrease information in each non-critical learning period are determined as the client connection change information.

5. The method for controlling communication cost of homomorphic encrypted federated learning based on critical learning period identification according to claim 3, characterized in that: Adjusting the communication connection state between the server and the client based on the client connection change information and the working state characteristic information; And based on the real-time training status of the homomorphic encryption federated learning model, adjusting the communication authority of the server within the network, including: When the homomorphic encryption federated learning model is in a non-critical learning period, based on the client connection reduction information, a corresponding number of clients that meet a preset remaining available computing power condition are selected from all clients currently connected to the server, thereby interrupting the connection between all selected clients and the server; When the homomorphic encryption federated learning model is in a critical learning period, based on the client connection increase information and the working status characteristic information, a corresponding number of clients that meet a preset to-be-processed task amount condition are selected from the client cluster allowed to connect, so as to connect all the selected clients to the server; Based on the real-time training convergence change state of the homomorphic encryption federated learning model, determine whether the homomorphic encryption federated learning model has completed training; if so, terminate the communication authority of the server within the network; if not, keep the current communication authority of the server within the network unchanged.

6. A homomorphic encryption federated learning communication cost control system based on critical learning period identification, characterized in that: include: A communication state identification module is used to identify the server where the homomorphic encryption federated learning model is trained and obtain the communication attribute information of the server within the network; A client selection and monitoring module, used to determine, based on the communication attribute information, a client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model, and monitor all clients under the client cluster to obtain the working status characteristic information of all clients; A critical learning period identification module is used to monitor the training process of the homomorphic encryption federated learning model to obtain loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, determine all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model during the training process; A client connection change determination module, used to determine the client connection change information of the homomorphic encryption federated learning model during the training process based on the time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model; A communication connection state adjustment module, used to adjust the communication connection state between the server and the client based on the client connection change information and the working state characteristic information; A communication authority adjustment module is used to adjust the communication authority of the server within the network based on the real-time training status of the homomorphic encryption federated learning model.

7. The homomorphic encryption federated learning communication cost control system based on key learning period identification as claimed in claim 5, characterized in that: The communication state identification module is used to identify the server where the homomorphic encryption federated learning model is trained, and obtain the communication attribute information of the server within the network, including: Compare the device identity information of the server where the homomorphic encryption federated learning model is trained with the device connection list of all gateways in the network to determine the gateway location information and gateway bandwidth information accessed by the server in the network; The client selection and monitoring module is used to determine the client cluster that the server is allowed to connect to during the training of the homomorphic encryption federated learning model based on the communication attribute information, and monitor all clients under the client cluster to obtain the working status characteristic information of all clients, including: Based on the gateway location information, determine all client clusters whose connection path distances to the server within the network are within a preset distance range; and based on the gateway bandwidth information, select a client cluster with a matching communication bandwidth value from all client clusters within the preset distance range as the client cluster allowed to connect to the server; Based on the device identity information of all clients under the client cluster that is allowed to connect, all subordinate clients are monitored to obtain the real-time to-be-processed task volume of all clients, which is used as the working status characteristic information.

8. The homomorphic encryption federated learning communication cost control system based on key learning period identification as claimed in claim 6, characterized in that: The key learning period identification module is used to monitor the training process of the homomorphic encryption federated learning model to obtain loss value change data of the homomorphic encryption federated learning model during the training process; Based on the loss value change data, all critical learning periods and all non-critical learning periods of the homomorphic encryption federated learning model in the training process are determined, including: Based on the data training speed of the homomorphic encryption federated learning model during the training process, the monitoring frequency of the training process of the homomorphic encryption federated learning is determined to obtain the loss value change data of the homomorphic encryption federated learning model during the training process; based on the loss value change data, the average loss rate of the homomorphic encryption federated learning model in all training stages is determined; if the average loss rate is greater than the preset loss rate threshold, the corresponding training stage is determined as the critical learning period of the homomorphic encryption federated learning model during the training process; otherwise, the corresponding training stage is determined as the non-critical learning period of the homomorphic encryption federated learning model during the training process; the client connection change determination module is used to determine the client connection change information of the homomorphic encryption federated learning model during the training process based on the time attribute information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, including: Obtain the time length information of all critical learning periods and all non-critical learning periods under the homomorphic encryption federated learning model, and based on the time length information, determine the client connection increase information in each critical learning period and the client connection decrease information in each non-critical learning period of the homomorphic encryption federated learning model, as the client connection change information.

9. The homomorphic encryption federated learning communication cost control system based on key learning period identification as claimed in claim 7, characterized in that: The connection state adjustment module is used to adjust the communication connection state between the server and the client based on the client connection change information and the working state characteristic information, including: When the homomorphic encryption federated learning model is in a non-critical learning period, based on the client connection reduction information, a corresponding number of clients that meet a preset remaining available computing power condition are selected from all clients currently connected to the server, thereby interrupting the connection between all selected clients and the server; When the homomorphic encryption federated learning model is in a critical learning period, based on the client connection increase information and the working status characteristic information, a corresponding number of clients that meet a preset to-be-processed task amount condition are selected from the client cluster allowed to connect, so as to connect all the selected clients to the server; The communication authority adjustment module is used to adjust the communication authority of the server within the network based on the real-time training state of the homomorphic encryption federated learning model, including: Based on the real-time training convergence change state of the homomorphic encryption federated learning model, determine whether the homomorphic encryption federated learning model has completed training; if so, terminate the communication authority of the server within the network; if not, keep the current communication authority of the server within the network unchanged.

Citation Information

Patent Citations

  • Privacy protection federated learning method, system and device in distributed environment and medium

    CN116383864A

  • Method for jointly optimizing client selection and bandwidth allocation based on DRL in federated learning

    CN116389270A

  • Federal learning double-layer incentive mechanism with malicious participant attack detection

    CN116723017A

  • Federal learning-oriented privacy protection method

    CN117294469A