Federal continuous learning method based on improved unet network

CN118690832AActive Publication Date: 2024-09-24SHAO XING JIA YI XIN XI KE JI YOU XIAN GONG SI +2

Patent Information

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

AI Technical Summary

Technical Problem

然而,模型在一系列冗长的任务上进行训练时,存在生成数据质量恶化的潜在风险

Benefits of technology

[0042] 1. Without violating data privacy and security, use the diffusion model as the generation and replay model of historical data to improve the quality of generated images and reduce the risk of generator mode collapse.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690832A
    Figure CN118690832A
Patent Text Reader

Abstract

The invention discloses a federal continuous learning method based on a diffusion model. The method comprises the following steps: step 1, a server distributes parameters to each client; step 2, dividing local real data into a training set and a verification set by the client, and updating model parameters; step 3, if the current task is the initial task, training a local classifier, then turning to step 6, and if the current task is not the initial task, synthesizing historical data by the client; 4, mixing the synthetic data with local real data; 5, training a local classifier by using cross entropy loss and kl divergence; step 6, storing local classifier parameters according to a verification set result; 7, training a diffusion model; and step 8, the training of the client is finished, and the parameters are uploaded to the server. And step 9, the server performs average aggregation on the model parameters. And training a classifier by using all local synthetic samples. And step 10, ending the training. The method improves the accuracy of the federal system and reduces forgetting of previous knowledge.
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 federated continuous learning method based on an improved UNET network, the goal of which is to protect data privacy and reduce the forgetting of historical knowledge. Background Art

[0002] Each client in federated learning (FL) retains data locally and only transmits training updates to a central server for aggregation. Traditional FL assumes that the data owned by the client is static, but in reality, new data categories may appear on the client over time. For example, in a mobile edge computing (MEC) network, edge devices (UEs) continuously generate data sets and new data categories appear.

[0003] Based on this scenario, the concept of continuous learning is introduced in the federated framework. Federated Continuous Learning (FCL) allows local clients to continuously collect new data and dynamically add new classes at any time. Due to data privacy, limited local client storage, and task differences, the knowledge of the past network will be forgotten. In addition, the imbalanced data distribution between clients in FL will exacerbate the catastrophic forgetting problem. Obviously, this forgetting is not conducive to the progress of FL. Therefore, how to enable devices to participate in federated learning in a new environment while retaining old knowledge is a problem to be studied.

[0004] At present, the means for federated learning to solve the above challenges is mainly to use additional datasets or previous task data. However, this is difficult to obtain in some data-sensitive scenarios and cannot capture the full complexity of the original data. Consider using a generator to synthesize historical datasets, aiming to simulate the global distribution of data on each client. However, when the model is trained on a series of lengthy tasks, there is a potential risk of deterioration in the quality of generated data. Maximizing the maintenance and retention of the representation of old task data in the current task has become an important issue. In response to the above problems, a research method that can not only ensure the image quality of the synthetic historical dataset but also efficiently aggregate client knowledge is of great research significance. Summary of the invention

[0005] The purpose of this invention is to effectively alleviate the catastrophic forgetting problem in FCL in data privacy sensitive scenarios without storing the client's local private data or any additional data sets. A federated continuous learning method using a diffusion model as a generation model is proposed. Based on the characteristics of the UNET network, a new "classifier" module is added to give the UNET additional function of label classification. Therefore, no other classifiers, such as AlexNet, are required, the model size is reduced, and server memory resources are optimized.

[0006] The present invention provides a federated continuous learning method based on an improved UNET model. The specific training method includes the following steps:

[0007] Step 1: The server distributes all parameters of the unet network to each client.

[0008] Step 2: The client divides the local real data into training set and verification set according to a certain ratio, updates the unet network parameters, and starts local training;

[0009] Step 3. If the current task is the initial task, freeze the parameters of the "decoder" module of the unet network, and train the local classifier, especially the "classifier" parameters of the unet, based on the training set containing only local real data, using cross entropy loss, and then go to step 6;

[0010] If the current task is not the initial task, the client freezes the parameters of the unet "classifier" module, uses the diffusion model based on the unet network denoising as the generator, uses the labels of the local historical tasks, and synthesizes samples under the guidance of the unet classifier gradient of the local task;

[0011] Step 4: Split the synthetic samples into training set and validation set, add them to the local training set, and update the local training set from containing only real data to a mixture of real data and synthetic samples. The same is true for the validation set.

[0012] Step 5: Freeze the parameters of the "decoder" module of the UNET network. First, based on the local training set containing local real data and synthetic samples, use the cross entropy loss to train the local classifier; then, based on the local synthetic samples, use the server model as the teacher model, and use the KL divergence to train the local classifier;

[0013] Step 6: Test with the local validation set and save the optimal local classifier parameters;

[0014] Step 7: Local training generator. During the first communication, freeze the "classifier" module of unet and use local real data to train the diffusion model, especially the "decoder" parameters of unet. If the current task is not the initial task, use synthetic samples for training;

[0015] Step 8: After the client completes this round of training, it uploads all parameters of the unet network, including classifier parameters and generator parameters, to the server. If the current task is not the initial task, it also uploads the local synthetic sample obtained in step 3;

[0016] Step 9: The server performs global average aggregation on all parameters of the unet model. If the current task is not the initial task, all local synthetic samples are used to train the classifier parameters using the cross entropy loss function;

[0017] Step 10: After the federated training is completed, the final prediction model is output.

[0018] Preferably, the server distributes parameters of the global model to the client.

[0019] Preferably, the backbone network of the global model shown is a UNET network, and a classifier label output layer is added after the middle layer of the UNET network. At present, the UNET network is responsible for predicting noise in the diffusion model sampling process. Based on the characteristics of the UNET network, the present invention updates the model structure and gives the additional function of UNET label classification. Therefore, no other classification models, such as AlexNet, are needed to reduce the model size and optimize server memory resources. The new UNET model is designed to meet the needs of predicting noise and label classification, reduce the number of parameters that need to be trained, and thus reduce the complexity and memory requirements of the model.

[0020] Preferably, the classifier label output layer includes a normalization layer, a SiLU activation function, an AttentionPool2d layer, and a fully connected layer which are connected in sequence.

[0021] Preferably, the training method of the local classifier in step 3 is:

[0022]

[0023] Among them, ω i is the model parameter updated by the i-th client round, is the local real data of client i, is the true label category corresponding to the data, is the model's predicted label category, and the two use the cross entropy formula to calculate the loss.

[0024] Preferably, the training method of the local classifier in step 5 is: firstly, the local classifier is trained using formula (2) on real data and synthetic samples to learn new knowledge; then, the local synthetic samples and formula (3) are used to limit the local model from deviating from the initial global model, so as to better utilize the global knowledge:

[0025]

[0026] Among them, x i is the local training set data of client i, including real data and synthetic samples; formula (3) is the KL divergence, is the local synthetic sample of client i, It is the predicted output category of the global model of the previous round of communication aggregation for the local synthetic sample of the current client.

[0027] Preferably, in step 6, the step of training the diffusion model is:

[0028] ① Add noise to the given time step l and the original image x0 to generate xl .

[0029] ② Calculate the loss: Use the current unet network parameters to predict the noise and calculate the loss between the predicted noise and the actual added noise, that is, Among them, ∈ θ are the parameters of the unet network except the "classifier" module; x l is the image after adding noise at step l, and y is the category label.

[0030] ③ Back propagation and parameter update: Calculate the gradient through back propagation and use the optimizer to update the network parameters.

[0031] ④ Repeat steps 1-3 above until the predetermined number of training rounds is reached. The goal is to optimize the noise prediction ability of the unet network and learn richer feature representations of the image.

[0032] Preferably, in step 9, the global average aggregation refers to formula (4), and the classifier parameters are trained using all local synthetic samples and the cross entropy loss function according to formula (5):

[0033]

[0034] In formula (4), ω g is the global classifier model, is the "classifier" parameter of client i at task t; ∈ is the diffusion model, specifically the parameters of the unet network except the "classifier" module. t,i is the actual data number of client i at task t, is the real data volume of all clients at task t; in formula (5), CE is the cross entropy loss, Represents all local synthetic data.

[0035] Preferably, steps 2-9 are a federated training iteration cycle.

[0036] Preferably, the number of iteration cycles of federated training is the communication rounds set for federated learning.

[0037] Preferably, the method aims to minimize the global loss function:

[0038]

[0039] in, It represents the loss of the “classifier” model of client i on all task data. The goal is to make the model performance of each client reach the extreme value on all tasks.

[0040] Furthermore, the method described herein designs a new UNET model, which meets the needs of predicting noise and label classification, and effectively reduces the model size.

[0041] Beneficial effects of the present invention:

[0042] 1. Without violating data privacy and security, use the diffusion model as the generation and replay model of historical data to improve the quality of generated images and reduce the risk of generator mode collapse.

[0043] 2. The updated UNET network is used to simultaneously generate and classify images, simplifying the computation and resource overhead during training and inference. Combining these two tasks also allows the model to learn more comprehensive and richer feature representations.

[0044] 3. On the server side of federated learning, using small batches of synthetic samples to train classifiers and generators can more effectively learn global knowledge and reduce the risk of forgetting. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 This is a system architecture diagram of the federated continuous learning method based on the improved UNET network proposed in the present invention.

[0046] Figure 2 This is an improved unet network diagram.

[0047] Figure 3 It is the training flow chart of the FedDiffusion method. DETAILED DESCRIPTION

[0048] The following case study Figure 1 , Figure 1 This is the system architecture of the federated continuous learning method based on the improved unet network proposed by the present invention. In this embodiment, the public image dataset (Cifar-10) can be divided into different numbers of tasks and different numbers of clients.

[0049] The original UNET network cooperates with the diffusion model to predict noise, which is divided into three parts: one part is the encoding module, which is mainly composed of convolutional layer, time embedding layer, skip connection layer, group normalization layer, downsampling layer, etc.; the second part is the intermediate layer, which extracts higher-level features; the third part is the decoding module, which is composed of upsampling layer and predicted noise output layer.

[0050] Based on the above network structure, the present invention updates the unet network as a global model and adds a label classification function. Figure 2. The encoding and intermediate layers are shared by two functions. After that, the flow is split, which can be the classifier label output layer or the decoding model of the existing network. The two directions are responsible for different functions and obtain different outputs. The specific changes to the classifier module are as follows: First, the input features are normalized and the number of channels is set to 512; then the SiLU activation function is applied to increase the nonlinear characteristics; then, the attention pooling layer is used to perform attention calculation and feature aggregation in the spatial dimension; finally, the fully connected layer accepts the features output from the attention mechanism and converts them into the desired output dimension.

[0051] Taking cifar10 data as an example, in the attention pooling layer, the mean of the input tensor is first concatenated along the last dimension; then a position embedding with a shape of (512,65) is added to the tensor to capture the spatial position information; then the tensor is projected to the representation of the query, key, and value through a convolutional layer with an input channel of 1, an output channel of 1536, and a convolution kernel size of 1; then, a multi-head attention mechanism is applied for feature extraction, with the number of attention heads being 8; finally, the output is projected through another convolutional layer with an input channel of 1, an output channel of 100, and a convolution kernel size of 1.

[0052] This modification allows image generation and image classification tasks to share low-level feature representations, so the model can learn more comprehensive and richer feature representations and reduce the risk of overfitting. In addition, the depth of the unet network is always 4 layers, and the model structure of the client and server is the same.

[0053] The corresponding pseudo code implementation steps of FedDiffusion are as follows:

[0054]

[0055]

[0056] The present invention is further described below with examples provided.

[0057] Example 1

[0058] This embodiment provides a federated continuous learning method based on an improved UNET network, including the following steps:

[0059] Step 1. Apply this method. In the initialization phase, the server distributes the parameters of the global model to each client.

[0060] It should be noted that the global model and the local model mentioned in this embodiment are models initialized by the parameter server for federated learning.

[0061] Step 2. The client first divides the local real data into training set and validation set according to a certain ratio, and directly updates the global model to overwrite the local classifier and generator parameters, and local training begins.

[0062] Step 3: If the current task is an initial task, freeze the parameters of the "decoder" module of the unet network, and train the local classifier based on the local real data according to formula (1), especially the "classifier" parameters of the unet;

[0063]

[0064] Among them, ω i is the model parameter updated by the i-th client round, is the local real data of client i, is the true label category corresponding to the data, is the model's predicted label category, and the two use the cross entropy formula to calculate the loss.

[0065] Step 4. Based on the test results of the validation set, save the "classifier" parameters of the local unet with the highest accuracy.

[0066] Step 5. During the initial communication, freeze the "classifier" module of unet and train the diffusion model with a local training set containing only real data. The specific training steps of the DiffusionTrain algorithm are as follows:

[0067] ① Add noise to the given time step l and the original image x0 to generate x l ;

[0068] ② Calculate the loss: Use the current unet network parameters to predict the noise and calculate the loss between the predicted noise and the actual added noise, that is, Among them, ∈ θ are the parameters of the unet network except the classifier module; x l is the image after adding noise in step l, and y is the category label;

[0069] ③ Back propagation and parameter update: Calculate the gradient through back propagation and use the optimizer to update the network parameters;

[0070] ④ Repeat steps 1-3 above until the predetermined number of training rounds is reached. The goal is to optimize the noise prediction ability of the unet network.

[0071] Step 6. After this round of training, the client uploads all parameters of the UNET network, including classifier parameters and generator parameters, to the server.

[0072] Step 7. The server first performs global average aggregation on all parameters of the unet model, referring to formula (4):

[0073]

[0074] In formula 3, ω g is the global classifier model, is the “classifier” parameter of client i at task t. t,i is the amount of data from client i at task t, is the amount of data of all clients at task t.

[0075] Step 8. This example is the initial task training step. A task has one or more communication times; steps 2-7 are a communication cycle.

[0076] Example 2

[0077] The difference between this embodiment and embodiment 1 is that, in this embodiment,

[0078] Step 3: If the current task is not the initial task, the diffusion model is used to synthesize historical data. Using the previous local labels, a fixed number of samples are synthesized for each category condition.

[0079] First sample an initial noise image x from a standard normal distribution L , for each time step t from T to 1, use the trained unet network to predict the noise in the current image and calculate the denoised image x based on the predicted noise t , at time step t = 0, the generated image x0 is the final output image. The corresponding pseudo code implementation steps of image generation are as follows:

[0080]

[0081]

[0082] Step 4. Split the synthetic samples into training set and validation set, insert them into the local training set, and update the local training set from containing only real data to a mixture of real data and synthetic samples. The same is true for the validation set.

[0083] Step 5. Freeze the parameters of the "decoder" module of the UNET network and cancel the gradient update of the "decoder". First, based on local real data and synthetic samples, use cross entropy loss and use formula (2) to train the "classifier" parameters of the UNET to learn new knowledge; then based on local synthetic samples, use the server model as the teacher model, use KL divergence and use formula (3) to train the "classifier" parameters of the UNET. This step trains the parameters for one or more rounds. The training method is as follows:

[0084]

[0085] Among them, x i is the local training set data of client i, including real data and synthetic samples; formula (3) is the KL divergence, is the local synthetic sample of client i, It is the predicted output category of the global model of the previous round of communication aggregation for the local synthetic sample of the current client.

[0086] Step 6. Based on the test results of the validation set, save the "classifier" parameters of the local unet with the highest accuracy.

[0087] Step 7. During the initial communication, freeze the "classifier" module of unet and train the diffusion model with a local training set containing local real data and synthetic data. The specific training steps of the DiffusionTrain algorithm are as follows:

[0088] ① Add noise to the given time step l and the original image x0 to generate x l ;

[0089] ② Calculate the loss: Use the current unet network parameters to predict the noise and calculate the loss between the predicted noise and the actual added noise, that is, Among them, ∈ θ are the parameters of the unet network except the classifier module; x l is the image after adding noise in step l, and y is the category label;

[0090] ③ Back propagation and parameter update: Calculate the gradient through back propagation and use the optimizer to update the network parameters;

[0091] ④ Repeat steps 1-3 above until the predetermined number of training rounds is reached. The goal is to optimize the noise prediction ability of the unet network.

[0092] Step 8. After the client completes this round of training, it uploads all parameters of the UNET network, including classifier parameters and generator parameters, to the server, and also uploads the local synthetic samples obtained in step 3.

[0093] Step 9. The server first performs global average aggregation on all parameters of the unet model, referring to formula (4); if the current task is not the initial task, all local synthetic samples are used to train the classifier parameters using formula (5).

[0094]

[0095] In formula 4, ω g is the global classifier model, is the “classifier” parameter of client i at task t. t,i is the amount of data from client i at task t, is the amount of data of all clients at task t; in formula 5, CE is the cross entropy loss, represents all local synthetic data,

[0096] Step 10. This example has at least two tasks, and the client local data is completely overwritten in sequence when the new task arrives. A task has one or more communication times; steps 2-9 are a communication cycle.

[0097] The effectiveness of the evaluation method in this example is mainly measured by the average accuracy ACC of all task data of the model, and the goal is high accuracy.

[0098] The calculation formula is as follows.

[0099]

[0100] Among them, a i,T It is the average model accuracy of the global model after task T training for all client i test data under the current task.

[0101] The above embodiment mainly illustrates how the model learns global knowledge as quickly as possible when a new task arrives, while retaining old knowledge to achieve equilibrium. The example of the present invention minimizes the loss function through the above scheme, and its expression is: in, It represents the loss of the “classifier” model of client i on all task data. The goal is to make the model performance of each client reach the extreme value on all tasks.

[0102] In this example, there are three requirements for building tasks for the client. First, for the client, if the class already exists in its historical tasks, the client will not pick up this class again. This ensures that for any client, the class will not appear more than once in its private sequence, which depends on the definition of class incremental learning; second, the client data distribution is different, using the Dirichlet distribution, and the label distribution is non-independent and identically distributed (Non-IID); third, the client data will be split into training set and validation set in a ratio of 8:2.

[0103] The effect of the present invention is further described below in conjunction with simulation experiments.

[0104] 1. Experimental Setup

[0105] The dataset used in the simulation experiment of the present invention is CIFAR-10, which is a color image dataset that is closer to universal objects. The size of each picture is 32x32 pixels, each category contains 6000 images, including a total of 50,000 training pictures and 10,000 test pictures. The 10 categories are randomly divided into 5 tasks, each task contains 2 categories, 10,000 training pictures and 2,000 test pictures. The experiment simulates 5 local clients holding private data, facing five different tasks that arrive one after another, and jointly trains a federated learning global model. In each task, the pictures are assigned to the client according to the Dirichlet distribution (α=0.5). Each client synthesizes 128 samples for each historical category, the client is trained locally 15 times, communicates 30 times, and the diffusion model is trained 15,000 times, with a step number of 4000.

[0106] 2. Results Analysis

[0107] The simulation experiment of the present invention adopts the present invention and two existing related technologies (FedLwF-2T training method and FedCIL training method). The two existing technologies adopted are:

[0108] The prior art FedLwF-2T training method refers to the federated continuous learning and non-forgetting training method proposed by Usmanova et al. in “Adistillation-based approach integrating continual learning and federated learning for pervasiveservices, 2021”, referred to as the FedLwF-2T training method.

[0109] The prior art FedCIL training method refers to the federated learning generative replay method proposed by Daiqing Qi et al. in “Better generative replay for continual federated learning, 2023”, referred to as the FedCIL training method.

[0110] In order to verify the effect of the simulation experiment of the present invention, the average accuracy of the model on the current task and the previous task after completing all tasks (that is, after learning the fifth task, the average accuracy of the model on the first task test set to the fifth task test set) is used as the evaluation index to evaluate the federated continuous learning training results of the three methods. All the results are plotted in the following table:

[0111] Methods\Tasks Task5 FedLwF-2T 39.46 FedCIL 47.68 Ours 51.84

[0112] From the above table, it can be seen that the average classification accuracy of the federated learning global network for all tasks in the present invention remains at 51.84 after 5 task trainings, which is higher than the other two prior art methods. This proves that the present invention prevents the federated learning global network from forgetting old task knowledge in the task flow by using the improved method based on the unet network. The present invention combines the characteristics of the diffusion model and continuous learning, so that the quality of the generated images remains stable and the client's forgetting of old task knowledge is reduced.

[0113] The above simulation experiments show that the method of the present invention uses the method of improving the UNET network to perform federated continuous learning training, which solves the problems of catastrophic forgetting of old task knowledge, sensitivity to real data and generator mode collapse existing in the prior art methods, and is an effective federated continuous learning training method.

[0114] The above is the implementation process of the present invention. Any changes made according to the technology of the present invention, as long as the resulting functions do not exceed the scope of the technical solution of the present invention, shall fall within the protection scope of the present invention.

Claims

1. A federated continuous learning method based on an improved unet network, It is characterized in that The method comprises the following steps: Step 1: The server distributes all parameters of the unet network to each client; Step 2: The client divides the local real data into training set and verification set according to a certain ratio, updates the unet network parameters, and starts local training; Step 3: If the current task is the initial task, freeze the decoder module parameters in the unet network, train the local classifier in the unet network based on the training set containing only local real data, use the cross entropy loss, and then go to step 6; If the current task is not the initial task, the client freezes the classifier module parameters in the unet network, uses the diffusion model based on the unet network denoising as the generator, uses the labels of the local historical tasks, and synthesizes samples under the guidance of the unet classifier gradient of the local task, and continues to step 4; Step 4: Split the synthetic samples into training set and validation set, and put them into the local training set. The local training set is updated from containing real data to a mixture of real data and synthetic samples. The same is true for the validation set. Step 5: Freeze the decoder module parameters in the UNET network, first train the local classifier based on the local training set using cross entropy loss, and then train the local classifier based on the local synthetic samples using the server model as the teacher model using KL divergence; Step 6: Test with the local validation set and save the optimal local classifier parameters; Step 7: Local training generator. During the first communication, freeze the classifier module in the unet network and use local real data to train the decoder parameters in the diffusion model. If the current task is not the initial task, use synthetic samples for training. Step 8. After the client completes this round of training, it uploads all parameters of the unet network, including classifier parameters and generator parameters, to the server. If the current task is not the initial task, it also uploads the local synthetic sample obtained in step 3. Step 9: The server performs global average aggregation on all parameters of the unet model. If the current task is not the initial task, all local synthetic samples and the cross entropy loss function are used to train the classifier parameters. Step 10: After the federated training is completed, the final prediction model is output.

2. According to claim 1, a federated continuous learning method based on an improved unet network, It is characterized in that The server distributes to the client the parameters of the global unet network model.

3. According to claim 2, a federated continuous learning method based on an improved unet network, It is characterized in that The backbone network of the global model shown is the unet network, and a classifier label output layer is added after the middle layer of the unet network.

4. According to claim 3, a federated continuous learning method based on an improved unet network, It is characterized in that The classifier label output layer includes a normalization layer, a SiLU activation function, an AttentionPool2d layer, and a fully connected layer which are connected in sequence.

5. According to claim 1, a federated continuous learning method based on an improved unet network, It is characterized in that The training method of the local classifier in step 3 is: Among them, ω i is the model parameter updated by the i-th client round, is the local real data of client i, is the true label category corresponding to the data, is the model's predicted label category, and the two use the cross entropy formula to calculate the loss.

6. A federated continuous learning method based on an improved unet network according to claim 1, It is characterized in that The training method of the local classifier in step 5 is: First, use formula (2) to train the local classifier on real data and synthetic samples to learn new knowledge; then use formula (3) on local synthetic samples to limit the local model from deviating from the initial global model and better utilize global knowledge: Among them, x i is the local training set data of client i, including real data and synthetic samples; formula (3) is the KL divergence, is the local synthetic sample of client i, It is the predicted output category of the global model of the previous round of communication aggregation for the local synthetic sample of the current client.

7. According to claim 1, a federated continuous learning method based on an improved unet network, It is characterized in that In step 7, the goal is to optimize the prediction noise capability of the unet network, and the steps for training the diffusion model are: ① At a given time step l and original image x 0 Add noise to generate x l ; ② Calculate the loss: Use the current unet network parameters to predict the noise and calculate the loss between the predicted noise and the actual added noise, that is, Among them, ∈ θ are the parameters of the unet network except the classifier module; x l is the image after adding noise in step l, and y is the category label; ③ Back propagation and parameter update: Calculate the gradient through back propagation and use the optimizer to update the network parameters; ④ Repeat steps 1-3 above until the predetermined number of training rounds is reached.

8. According to claim 1, a federated continuous learning method based on an improved unet network, It is characterized in that In step 9, the global average aggregation refers to formula (4), and the classifier parameters are trained using all local synthetic samples and the cross entropy loss function, referring to formula (5): In formula (4), ω g is the global classifier model, is the classifier parameter of client i at task t; ∈ is the diffusion model, specifically the parameters of the unet network except the classifier module, n t,i is the actual data number of client i at task t, is the real data volume of all clients at task t; in formula (5), CE is the cross entropy loss, Represents all local synthetic data.

9. According to claim 1, a federated continuous learning method based on an improved unet network, It is characterized in that The steps 2-9 are the federated training iteration cycle.

10. A federated continuous learning method based on an improved unet network according to claim 7, It is characterized in that The number of federated training iterations is the communication round set for federated learning.

Citation Information

Patent Citations

  • Systems and methods for improving low dose volume contrast enhanced MRI

    CN112470190A

  • A federated learning-based non-intrusive enterprise load decomposition method

    CN113962314A

  • Amplitude alignment individuation and robust aggregation method oriented to federated learning

    CN117196059A

  • Systems, methods, and apparatuses for implementing advancements towards annotation efficient deep learning in computer-aided diagnosis

    US20220328189A1

Cited By

  • Personalized federated learning method for asynchronous optimization and prototype perception reasoning of classifier

    CN120687850A