Adaptive asynchronous federated learning method and system based on deep reinforcement learning

Through deep reinforcement learning, adaptive determination of the number of clients participating in aggregation and dynamic weight adjustment solves the problems of device heterogeneity and low training efficiency in federated learning, achieving more efficient training and more accurate models.

CN118586474BActive Publication Date: 2024-10-29QILU UNIVERSITY OF TECHNOLOGY (SHANDONG ACADEMY OF SCIENCES)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411052338.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-10-29
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

In an asynchronous communication environment, existing federated learning methods have low training efficiency due to uneven device computing resources and communication bandwidth, and the global model training deviation is large, and cannot effectively solve the problem of reduced efficiency caused by laggard devices.

Method used

Adopting an adaptive asynchronous federated learning method based on deep reinforcement learning, the agent adaptively determines the number of clients participating in each round of aggregation on the server side, and uses dynamic weight adjustment technology to optimize resource utilization and model aggregation, combined with SAC algorithms and strategies Gradient algorithm to maximize cumulative reward.

Benefits of technology

It improves the training efficiency of the federated learning system, reduces global model deviations, improves overall performance, solves the problems of device heterogeneity and data imbalance, and saves training completion time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586474B_ABST
    Figure CN118586474B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of federated learning technology, and in particular, relates to an adaptive asynchronous federated learning method and system based on deep reinforcement learning, the method comprising: using a wearable device as a federated learning client, the client communicates with a server, and in the process of updating the global model on the server, using deep reinforcement learning to adaptively determine the number of client aggregations in each global round, including: taking the number of clients participating in the aggregation in the tth round iteration as the action of the intelligent agent; the intelligent agent observes the state in the federated learning environment and outputs the action; after the action output by the intelligent agent is executed in the federated learning environment, the environment gives the next state and reward, iterates the training until the cumulative reward is maximized, and obtains the final action. The present invention comprehensively considers the problems of data imbalance, different device computing capabilities, resource constraints, etc. in federated learning, and uses deep reinforcement learning to calculate adaptive parameters to improve the training efficiency of the federated learning system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of federated learning, and in particular to an adaptive asynchronous federated learning method and system based on deep reinforcement learning. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Wearable behavior recognition has been widely used in the field of user behavior recognition due to its advantages such as portability and real-time performance. The technology uses wearable sensors such as inertial sensors (such as accelerometers and gyroscopes) and physiological information sensors to connect physical sensors to users to identify individual behavior patterns such as climbing stairs, running, and cycling. Traditionally, the use of artificial intelligence methods for wearable behavior recognition requires centralized data collection and processing, which is sometimes not feasible in real-world scenarios, especially considering the scalability of modern medical networks and the importance of data privacy. Federated learning (FL), as an emerging distributed collaborative artificial intelligence model, has a particular driving role in the development of user behavior recognition by coordinating multiple institutions or devices for artificial intelligence training without sharing original data.

[0004] Existing federated learning methods are usually developed in a synchronous communication environment, where clients can upload their local models to the server at the same time. It implicitly assumes that all selected clients can complete the local training steps at approximately the same time. However, this assumption is rarely tenable in many real-world scenarios, because these client devices usually have different computing resources and communication bandwidths, making the local updates received by the server unsynchronized. The client devices that complete local training and upload local models to the server the latest are defined as stragglers, because the length of their training time leads to a decrease in the training efficiency of the entire federated learning system. At present, most federated learning schemes adopt the method of requesting faster clients to wait for the stragglers to participate in the aggregation. This method can balance the progress of each device to a certain extent, but it greatly reduces the convergence speed and system efficiency of the entire FL, and leads to a waste of computing resources on devices with faster training speeds.

[0005] To overcome the problem of lagging devices in synchronous FL, researchers developed an asynchronous FL method to improve convergence performance. This asynchronous scheme performs a global model update once the server receives any local local model without making fast devices wait. This solution is an easy-to-manage FL update method with low configuration cost, which can effectively improve system efficiency. However, because each global model update only involves one local model, this introduces training bias to the global model, which may cause it to degrade the performance of the global model. Therefore, more training periods and more training time are required to achieve similar training performance (e.g., loss and accuracy) as the synchronous scheme. In addition, the communication frequency between the server and client devices is greatly increased, which will lead to a lot of bandwidth consumption.

[0006] Among wearable behavior recognition devices, different devices have different resources such as computing power and communication bandwidth. In addition, the amount of data for each behavior of each user also varies greatly, which leads to a decrease in the overall performance and efficiency of wearable behavior recognition users during training under the federated learning framework.

[0007] Although the synchronous training method of traditional federated learning can achieve good performance in terms of accuracy, it will produce a "laggard effect". In each round of global iteration, all users have to wait for the longest training time of the user to finish training before aggregation, which greatly reduces the overall efficiency of federated learning. Some previous works have proposed asynchronous methods to solve the "laggard effect" problem. However, the asynchronous methods of these works can only aggregate one local model at a time, resulting in increased training deviation and reduced accuracy of the global model. Summary of the invention

[0008] In order to overcome the above-mentioned deficiencies of the prior art, the present invention provides an adaptive asynchronous federated learning method and system based on deep reinforcement learning.

[0009] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions:

[0010] A first aspect of the present invention provides an adaptive asynchronous federated learning method based on deep reinforcement learning, comprising:

[0011] Wearable devices are used as federated learning clients. The client communicates with the server and models are updated on the client and server respectively.

[0012] During the global model update process on the server, deep reinforcement learning is used to adaptively determine the number of clients to aggregate in each global round, including:

[0013] The number of clients participating in the aggregation in the tth round of iteration is taken as the action of the agent; the number of iterations in the tth round of training of the client in the federated learning environment, the training completion time, the global model of the server, the loss parameters, and the bandwidth consumption and remaining bandwidth resources are taken as the state; the training completion time, the difference in loss values, and the resource loss are taken as the environment reward;

[0014] The agent observes the state in the federated learning environment and outputs actions. After the action output by the agent is executed in the federated learning environment, the environment gives the next state and reward, and iteratively trains the policy network until the cumulative reward is maximized and the final action is obtained.

[0015] A second aspect of the present invention provides an adaptive asynchronous federated learning system based on deep reinforcement learning, comprising: a client and a server, wherein a wearable device is used as a federated learning client, the client communicates with the server, and models are updated on the client and the server respectively;

[0016] During the global model update process on the server, deep reinforcement learning is used to adaptively determine the number of clients to aggregate in each global round, including:

[0017] The number of clients participating in the aggregation in the tth round of iteration is taken as the action of the agent; the number of iterations in the tth round of training of the client in the federated learning environment, the training completion time, the global model of the server, the loss parameters, and the bandwidth consumption and remaining bandwidth resources are taken as the state; the training completion time, the difference in loss values, and the resource loss are taken as the environment reward;

[0018] The agent observes the state in the federated learning environment and outputs actions. After the action output by the agent is executed in the federated learning environment, the environment gives the next state and reward, and iteratively trains the policy network until the cumulative reward is maximized and the final action is obtained.

[0019] The third aspect of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps in an adaptive asynchronous federated learning method based on deep reinforcement learning as described in the first aspect of the present invention.

[0020] The fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in an adaptive asynchronous federated learning method based on deep reinforcement learning as described in the first aspect of the present invention are implemented.

[0021] One or more of the above technical solutions have the following beneficial effects:

[0022] (1) The present invention comprehensively considers the problems of data imbalance, different computing capabilities of devices, resource constraints, etc. in federated learning, and takes the completion time of federated learning training, global model loss convergence, resource loss, etc. as the input of deep reinforcement learning tasks. The SAC algorithm is used to adaptively select the number of clients participating in global aggregation in each round of federated learning within the resource budget, and then the federated learning performance is observed. The policy gradient algorithm is then used to improve the agent selection strategy, which can improve the training efficiency of the federated learning system.

[0023] (2) The method of the present invention adopts a new dynamic weight aggregation method to make full use of the models from the "stragglers" and dynamically adjusts the weight to modify the impact of delay, that is, the weight is determined according to the amount of data uploaded by each client and the degree of delay, so as to improve the accuracy of the global model of federated learning; compared with the traditional federated learning synchronous solution, it can improve the training efficiency of the system, save training completion time, and solve the problem of device heterogeneity; compared with the traditional asynchronous federated learning solution, it can reduce the global model deviation, improve the overall system performance, and solve the data imbalance and global model skew problems in the traditional asynchronous federated method.

[0024] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0026] Figure 1 This is a flow chart of an adaptive asynchronous federated learning method based on deep reinforcement learning in the first embodiment.

[0027] Figure 2 This is a flow chart of data interaction between the intelligent agent and the environment of the first embodiment. DETAILED DESCRIPTION

[0028] Embodiment 1

[0029] like Figure 1 As shown, this embodiment discloses an adaptive asynchronous federated learning method based on deep reinforcement learning, including:

[0030] Step 1: Use the wearable device as a federated learning client. The client communicates with the server, and the server sends the global model to each client.

[0031] Step 2: After receiving the global model, the client performs a local model update and then uploads the local model to the server;

[0032] Step 3: The server waits for the client to upload the local model. When the number of local models on the server reaches the number of local models to be aggregated in this round, the server performs the global model aggregation step and dynamically adjusts the aggregation weight in the aggregation step according to the delay of the local model uploaded by the client in this round.

[0033] Step 4: After aggregation, the server sends the new global model to all clients, and iteratively updates the global model and the number of aggregations until the global model converges or reaches the target aggregation threshold.

[0034] In step 1, the federated learning system of the present invention assumes that Wearable devices and their users as federated learning clients and a server as a federated learning server composition.

[0035] Each client All have size , The local data set represents the behavior recognition data on the current device. In its dataset Perform local model training on Yes Equipment The data samples, then the device The local loss function on can be expressed as:

[0036]

[0037] The ultimate goal of federated learning is to maximize the performance of the global model (i.e., minimize the global model loss function), namely:

[0038]

[0039] in, represents the best global model, All in the system The total number of data samples for each device.

[0040] The federated learning method proposed in this invention uses an adaptive asynchronous federated learning mechanism and defines an adaptive federated learning problem with resource constraints. represents the total number of training cycles before the training ends. Under resource constraints and convergence guarantees, by determining The value of }, minimize training time ,Right now:

[0041]

[0042] in, is the convergence threshold of the loss value. Because the model updates on the client and server and the model communication between the client and the server all consume network bandwidth resources. Therefore, the following constraints are added to the problem definition:

[0043]

[0044] in, Indicates The number of local models aggregated by each global round server. Represents the client Computing resources consumed during local updates. Indicates the resources consumed by a model communication between the client and the server. Represents the total budget for resource consumption.

[0045] In step 2, the model is updated on the client and server respectively, including:

[0046] Before the federated learning training begins, the server initializes and sends an initial global model. After all clients receive the initialized global model, they perform local model updates. The client performs at least one round of iterative training on the local dataset to obtain a local model. , and then uploaded to the server for the subsequent global aggregation step.

[0047] In step 3, use Indicates that each global round }The number of clients that need to be aggregated, that is, the server needs to wait for each global round to receive A local model uploaded by a client.

[0048] When the number of local models on the server does not reach When the server waits for receiving.

[0049] When the number reaches , the server performs the subsequent global model aggregation step and dynamically adjusts the aggregation weight in the aggregation step according to the delay of the local model uploaded by the client in this round.

[0050] Exceeding the quantity The local model of the client uploaded later will be cached on the server to participate in the next round of global model aggregation.

[0051] After aggregation, the server will send the new global model to all clients, and finally perform global model and The above steps are iterated until convergence or reaching the target threshold.

[0052] In step 3, step 301: an aggregation method for dynamic weight adjustment includes:

[0053] If in the global iteration round In the client The first time its local model is sent to the server for aggregation, and the server has already been in the previous global iteration round time point If local models from other clients are aggregated at a certain location, the method of the present invention will use delay to dynamically adjust the weight of model aggregation to alleviate this problem.

[0054] Depending on the delay, the dynamic weight is written as ,in , . From the weight formula, we can see that the weight Is with the client The amount of data samples in the Therefore, the local model with smaller delay has a larger weight. So the global model aggregation follows the following formula:

[0055]

[0056] in, is the attenuation coefficient, .

[0057] Step 302: During the global model update process on the server, the number of clients to be aggregated in each global round is adaptively determined using deep reinforcement learning, including:

[0058] The number of clients participating in the aggregation in the tth round of iteration is taken as the action of the agent; the number of iterations in the tth round of training of the client in the federated learning environment, the training completion time, the global model of the server, the loss parameters, and the bandwidth consumption and remaining bandwidth resources are taken as the state; the training completion time, the difference in loss values, and the resource loss are taken as the environment reward;

[0059] The agent observes the state in the federated learning environment and outputs actions. After the action output by the agent is executed in the federated learning environment, the environment gives the next state and reward, and iteratively trains the policy network until the cumulative reward is maximized and the final action is obtained.

[0060] like Figure 2 As shown in the figure, in deep reinforcement learning, the agent interacts with the environment (i.e., the federated learning system), the agent makes decision actions, and the environment gives reward feedback.

[0061] The intelligent agent includes a policy network, a Q-value network, a target Q-value network, and an experience replay pool; the Q-value network includes a value network and , the target Q value network includes the value network and ; The target Q value network uses soft update, and the one with the smaller target Q value is given in the update.

[0062] In each iteration, the federated learning environment is first initialized and the state is observed. Based on the current strategy, discrete actions are obtained. In order to obtain discrete actions, The last layer of the value network applies a softmax activation function to ensure that it outputs a valid probability distribution and samples discrete actions according to the probability distribution;

[0063] Subsequently, the agent takes action, the environment gives feedback rewards and switches to the next state; the current state, current action, environment reward after the agent performs the current action, and the next state are stored as a tuple in the experience replay pool for the next round of training.

[0064] In the distributed execution of the agent, an optimizer is used to seek the optimal solution. In this embodiment, the optimizer used includes a stochastic gradient descent method and an adaptive learning rate optimization algorithm.

[0065] Specifically: In the present invention, the state, action and reward are respectively expressed as:

[0066] (1) Status: The status is determined by The number of iterations in a training round , training completion time (i.e., the time it takes to complete each round of training in federated learning), global model, loss function, the difference between the current loss value and the target loss value, loss threshold, bandwidth consumption, and remaining bandwidth resources, that is, .

[0067] (2) Action: The number of clients participating in the aggregation in the round iteration is the action decided by the agent.

[0068] Given the current state , the agent selects actions based on the policy network, and the model parameters of the policy network are , then the action The probability can be used To represent, the probability value is between 0 and 1. Each iteration round The action with the highest probability will be selected as the final action.

[0069] (3) Reward: The reward is a linear combination of the training completion time, the difference in loss value, and the resource consumption. In order to ensure that the reward value decreases as the training time increases, the present invention uses an exponential form to add the training completion time to the reward.

[0070] In terms of the convergence threshold, the closer to the convergence The smaller it is, the more rewards the agent should get. In addition, the longer the training time is, the more resources the task consumes, and the less rewards the agent should get. Therefore, ,in is a normal number.

[0071] In each training cycle, the agent’s policy network first receives the state , and output some actions These probabilities are called strategies ,Strategy The status Mapping to Actions Then, according to the strategy From Action Select actions from After the action is executed in the environment, the environment gives the next state and reward The goal of the agent is to maximize the cumulative reward, i.e. ,in, is the discount factor.

[0072] The present invention adopts the SAC algorithm in the deep reinforcement learning algorithm, which consists of a strategy network (ActorNetwork) and two Value network, these two The value networks are called Value Networks and Goals Value network.

[0073] The main feature of SAC is entropy regularization, and its objective function adds an entropy term , so the objective formula of the policy gradient is defined as:

[0074]

[0075] in, is a regularization coefficient used to control the importance of entropy. Entropy regularization increases the degree of exploration of the reinforcement learning algorithm. When , the SAC algorithm is the same as the traditional RL algorithm; when hour, The larger it is, the stronger the exploration is, which helps to accelerate subsequent policy learning and reduce the possibility of the policy falling into a poor local optimum, and the better the robustness is.

[0076] In addition, the SAC algorithm uses the experience replay pool , by storing tuples To update the policy network , Value network, target Value network parameters.

[0077] The update formula of the value network is as follows:

[0078]

[0079] in, yes The parameters of the value network can be optimized using stochastic gradient. is the goal Value Network:

[0080]

[0081] It periodically performs the soft update steps:

[0082]

[0083] The policy network is updated by minimizing the KL divergence:

[0084]

[0085] The specific steps of the algorithm are: first initialize the policy network , Value network, target Parameters of the value network and the experience replay pool , and then start the iteration. In each round of iteration, the federated learning environment is first initialized and the state is observed , based on the current strategy , and get discrete actions In order to obtain discrete actions, The softmax activation function is applied to the last layer of the value network to ensure that it outputs a valid probability distribution and samples discrete actions according to the probability distribution.

[0086] The agent then takes action and the environment gives feedback rewards And switch to the next state Tuple (Current state, current action, environment reward after the agent performs the current action, and next state) are stored in the experience replay pool for the next round of training.

[0087] Then, SAC performs a mini-batch of tuples Perform sampling (tuple sampling) to update the policy network , Value network, target Value network, and then adjust the regularization parameter .

[0088] Embodiment 2

[0089] This embodiment discloses an adaptive asynchronous federated learning system based on deep reinforcement learning, including:

[0090] Client and server: Wearable devices are used as federated learning clients. The client communicates with the server and models are updated on the client and server respectively.

[0091] During the global model update process on the server, deep reinforcement learning is used to adaptively determine the number of clients to aggregate in each global round, including:

[0092] The number of clients participating in the aggregation in the tth round of iteration is taken as the action of the agent; the number of iterations in the tth round of training of the client in the federated learning environment, the training completion time, the global model of the server, the loss parameters, and the bandwidth consumption and remaining bandwidth resources are taken as the state; the training completion time, the difference in loss values, and the resource loss are taken as the environment reward;

[0093] The agent observes the state in the federated learning environment and outputs actions. After the action output by the agent is executed in the federated learning environment, the environment gives the next state and reward, and iteratively trains the policy network until the cumulative reward is maximized and the final action is obtained.

[0094] Embodiment 3

[0095] The purpose of this embodiment is to provide a computer-readable storage medium.

[0096] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in an adaptive asynchronous federated learning method based on deep reinforcement learning as described in Example 1 of the present disclosure.

[0097] Embodiment 4

[0098] The purpose of this embodiment is to provide an electronic device.

[0099] An electronic device includes a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in an adaptive asynchronous federated learning method based on deep reinforcement learning as described in Example 1 of the present disclosure are implemented.

[0100] The steps involved in the apparatuses of the above embodiments 2, 3 and 4 correspond to the method embodiment 1, and the specific implementation methods can refer to the relevant description part of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.

[0101] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.

[0102] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. An adaptive asynchronous federated learning method based on deep reinforcement learning, characterized in that: include: Wearable devices are used as federated learning clients. The client communicates with the server and models are updated on the client and server respectively. During the global model update process on the server, a deep reinforcement learning method is used to adaptively determine the number of clients to aggregate in each global round, including: The number of clients participating in the aggregation in the tth round of iteration is taken as the action of the agent; the number of iterations in the tth round of training of the client in the federated learning environment, the training completion time, the global model of the server, the loss parameters, and the bandwidth consumption and remaining bandwidth resources are taken as the state; the training completion time, the difference in loss values, and the resource loss are taken as the environment reward; The agent observes the state in the federated learning environment and outputs actions. After the action output by the agent is executed in the federated learning environment, the environment gives the next state and reward, and iteratively trains the policy network until the cumulative reward is maximized and the final action is obtained. The loss parameters include the loss function of the global model, the difference between the current loss value and the target loss value, and the loss threshold; During the global model update process on the server, the aggregation weight is dynamically adjusted according to the amount of local model data uploaded by the client in this round and the degree of delay.

2. The adaptive asynchronous federated learning method based on deep reinforcement learning according to claim 1, characterized in that: The client communicates with the server, and updates the model on the client and the server respectively, including: After receiving the global model sent by the server, the client performs local model updates and then uploads the updated local model to the server; When the number of local models on the server reaches the number of aggregations in this round, the server performs global model aggregation. After aggregation, the server sends the new global model to all clients, and iteratively updates the global model and the number of aggregations until the loss function of the global model converges or reaches the target aggregation threshold.

3. The adaptive asynchronous federated learning method based on deep reinforcement learning according to claim 2, characterized in that: The use of wearable devices as federated learning clients includes: Use the behavior recognition data on the current wearable device as the client's local data set; Each client performs local model training on its dataset and calculates the loss function of the local model.

4. The adaptive asynchronous federated learning method based on deep reinforcement learning according to claim 2, characterized in that: When the number of local models does not reach the number of aggregations in this round, the server will continue to wait for reception; When the number exceeds the number of aggregations in this round, the excess client local models will be cached on the server to participate in the next round of global model aggregation.

5. The adaptive asynchronous federated learning method based on deep reinforcement learning according to claim 1, characterized in that: The intelligent agent includes a policy network, a Q value network, a target Q value network and an experience replay pool; In each iteration, the federated learning environment is first initialized and the state is observed. Based on the current strategy, discrete actions are obtained. In order to obtain discrete actions, The last layer of the value network applies a softmax activation function to ensure that it outputs a valid probability distribution and samples discrete actions according to the probability distribution; Then, the agent takes action, the environment gives feedback rewards and switches to the next state; The current state, current action, environment reward after the agent performs the current action, and next state are stored as a tuple in the experience replay pool for the next round of training.

6. An adaptive asynchronous federated learning system based on deep reinforcement learning, characterized in that: include: Client and server: Wearable devices are used as federated learning clients. The client communicates with the server and models are updated on the client and server respectively. During the global model update process on the server, deep reinforcement learning is used to adaptively determine the number of clients to aggregate in each global round, including: The number of clients participating in the aggregation in the tth round of iteration is taken as the action of the agent; the number of iterations in the tth round of training of the client in the federated learning environment, the training completion time, the global model of the server, the loss parameters, and the bandwidth consumption and remaining bandwidth resources are taken as the state; the training completion time, the difference in loss values, and the resource loss are taken as the environment reward; The agent observes the state in the federated learning environment and outputs actions. After the action output by the agent is executed in the federated learning environment, the environment gives the next state and reward, and iteratively trains the policy network until the cumulative reward is maximized and the final action is obtained. The loss parameters include the loss function of the global model, the difference between the current loss value and the target loss value, and the loss threshold; During the global model update process on the server, the aggregation weight is dynamically adjusted according to the amount of local model data uploaded by the client in this round and the degree of delay.

7. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps in an adaptive asynchronous federated learning method based on deep reinforcement learning as described in any one of claims 1 to 5 are implemented.

8. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the adaptive asynchronous federated learning method based on deep reinforcement learning as described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Equipment fault diagnosis method based on federal hierarchical optimization learning

    CN115525038A

  • Asynchronous weighted federated learning method for self-adaptive waiting duration

    CN116681126A