License: CC BY-NC-ND 4.0
arXiv:2312.12263v3 [cs.CV] 16 Feb 2024

FedDiv: Collaborative Noise Filtering for Federated Learning with Noisy Labels

Jichang Li1,2, Guanbin Li1,3, Hui Cheng4, Zicheng Liao2,5, Yizhou Yu2* Corresponding Authors are Guanbin Li and Yizhou Yu.
Abstract

Federated Learning with Noisy Labels (F-LNL) aims at seeking an optimal server model via collaborative distributed learning by aggregating multiple client models trained with local noisy or clean samples. On the basis of a federated learning framework, recent advances primarily adopt label noise filtering to separate clean samples from noisy ones on each client, thereby mitigating the negative impact of label noise. However, these prior methods do not learn noise filters by exploiting knowledge across all clients, leading to sub-optimal and inferior noise filtering performance and thus damaging training stability. In this paper, we present FedDiv to tackle the challenges of F-LNL. Specifically, we propose a global noise filter called Federated Noise Filter for effectively identifying samples with noisy labels on every client, thereby raising stability during local training sessions. Without sacrificing data privacy, this is achieved by modeling the global distribution of label noise across all clients. Then, in an effort to make the global model achieve higher performance, we introduce a Predictive Consistency based Sampler to identify more credible local data for local model training, thus preventing noise memorization and further boosting the training stability. Extensive experiments on CIFAR-10, CIFAR-100, and Clothing1M demonstrate that FedDiv achieves superior performance over state-of-the-art F-LNL methods under different label noise settings for both IID and non-IID data partitions. Source code is publicly available at https://github.com/lijichang/FLNL-FedDiv.

Refer to caption
Figure 1: (a) Local noise filtering may have limited capabilities as each client develops its own local noise filter using its own private data only. Especially on clean clients, such filters would incorrectly identify a subset of clean samples to be noisy. (b) Collaborative noise filtering proposed by us significantly improves the performance of label noise filtering on each client as a federated noise filter is learned by distilling knowledge from all clients. PDF: Probability density function.

Introduction

Compared to traditional Centralized Learning (Li et al. 2019b, 2021, a; Wu et al. 2019b, a; Huang et al. 2023), Federated Learning (FL) is a novel paradigm facilitating collaborative learning across multiple clients without requiring centralized local data (McMahan et al. 2017). Recently, FL has shown significant real-world success in areas like healthcare (Nguyen et al. 2022), recommender systems (Yang et al. 2020), and smart cities (Zheng et al. 2022). However, these FL methods presume clean labels for all client’s private data, which is often not the case in reality due to data complexity and uncontrolled label annotation quality (Tanno et al. 2019; Kuznetsova et al. 2020). Especially with the blessing of privacy protection, it is impossible to ensure absolute label accuracy. Therefore, this work centers on Federated Learning with Noisy Labels (F-LNL). In F-LNL, a global neural network model is fine-tuned via distributed learning across multiple local clients with noisy samples. Like (Xu et al. 2022), we here also assume some local clients have noisy labels (namely noisy clients), while others have only clean labels (namely clean clients).

Besides the private data on local clients, F-LNL faces two primary challenges: data heterogeneity and noise heterogeneity (Kim et al. 2022; Yang et al. 2022b). Data heterogeneity refers to the statistically heterogeneous data distributions across different clients, while noise heterogeneity represents the varying noise distributions among clients. It has been demonstrated by (Xu et al. 2022; Kim et al. 2022) that these two challenges in F-LNL may lead to instability during local training sessions. Previous studies in F-LNL (Xu et al. 2022; Kim et al. 2022) have demonstrated that many FL approaches, such as (McMahan et al. 2017; Li et al. 2020), are now in use to adequately address the first challenge. These approaches primarily focus on achieving training stability with convergence guarantees by aligning the optimization objectives of local updates and global aggregation. However, they do not address label noise on individual clients. Therefore, to tackle noise heterogeneity, such F-LNL algorithms propose separating noisy data into clean and noisy samples, occasionally complemented by relabeling the noisy samples. This aims to mitigate the negative effects of noisy labels and prevent local model overfitting to such label noise, avoiding severe destabilization of the local training process.

Some F-LNL methods (Kim et al. 2022; Xu et al. 2022) thus emphasize proposing local noise filtering, where each client develops its own noise filter to identify noisy labels. However, these noise filtering strategies omit the potential of learning prosperous knowledge from other clients to strengthen their capacities. Instead, they rely heavily on each client’s own private data for training, thus leading to sub-optimal and inferior performance. For example, as shown in Figure 1(a), limited training samples available on each client impede the accurate modeling of their local noise distributions, significantly restricting noise filtering capabilities. In addition, if noise filtering and relabeling are not handled properly, overfitting of noisy labels can inevitably occur, leading to noise memorization and thus degrading global performance upon model aggregation. Developing strategies to prevent noise memorization (Yang et al. 2022a) while enhancing training stability is critical, yet existing F-LNL algorithms have not succeeded in achieving this.

In this paper, we present a novel framework, FedDiv, to address the challenges of F-LNL. To perform label noise filtering per client, FedDiv consists of a global noise filter, called Federated Noise Filter (FNF), constructed by modeling the global distribution of noisy samples across all clients. Specifically, by fitting the loss function values of private data, the parameters of a local Gaussian Mixture Model (GMM) can be iteratively learned on each client to model its local noise distributions. These parameters are then aggregated on the server to construct a global GMM model that serves as a global noise filter, effectively classifying samples on each local client into clean or noisy. As depicted in Figure 1(b), by leveraging collaboratively learned knowledge across all clients, FedDiv demonstrates a robust capability to fit the local label noise distributions within individual clean or noisy clients. This ability enhances noise filtering performance per client, and thus reduces training instability during local training sessions, while preserving data privacy.

Refer to caption
Figure 2: An overview of the training procedure proposed by FedDiv. In this work, the parameters of a local neural model and a local noise filter are simultaneously learned on each client during the local training sessions, while both types of parameters are aggregated on the server.

After label noise filtering, we remove noisy labels from the identified noisy samples on each client and relabel those samples exhibiting high prediction confidence using the pseudo-labels predicted by the global model. To further prevent local models from memorizing label noise and improve training stability, we introduce a Predictive Consistency based Sampler (PCS) for identifying credible local data for local model training. Specifically, we enforce the consistency of class labels predicted by both global and local models, and apply counterfactual reasoning (Holland 1986; Wang et al. 2022) to generate more reliable predictions for local samples.

In summary, the contributions of this paper are as follows.

  • We propose a novel one-stage framework, FedDiv, for addressing the task of Federated Learning with Noisy Labels (F-LNL). To enable stable training, FedDiv learns a global noise filter by distilling the complementary knowledge from all clients while performing label noise filtering locally on every client.

  • We introduce a Predictive Consistency based Sampler to perform labeled sample re-selection on every client, thereby preventing local models from memorizing label noise and further improving training stability.

  • Through extensive experiments conducted on CIFAR-10 (Krizhevsky 2009), CIFAR-100 (Krizhevsky 2009), and Clothing1M (Xiao et al. 2015) datasets, we demonstrate that FedDiv significantly outperforms state-of-the-art F-LNL methods under various label noise settings for both IID and non-IID data partitions.

Related Work

Centralized Learning with Noisy Labels (C-LNL). Diverging from conventional paradigms for centralized learning, e.g. (Li, Li, and Yu 2023a, b), which operates on training samples only with clean labels, several studies have demonstrated the effect of methods to address C-LNL in reducing model overfitting to noisy labels. For instance, JointOpt (Tanaka et al. 2018a) proposed a joint optimization framework to correct labels of noisy samples during training by alternating between updating model parameters and labels. As well, DivideMix (Li, Socher, and Hoi 2019) dynamically segregated training examples with label noise into clean and noisy subsets, incorporating auxiliary semi-supervised learning algorithms for further model training. Other strategies for handling C-LNL tasks include estimating the noise transition matrix (Cheng et al. 2022), reweighing the training data (Ren et al. 2018), designing robust loss functions (Englesson and Azizpour 2021), ensembling existing techniques (Li et al. 2022), and so on.

Given privacy constraints in decentralized applications, the server cannot directly access local samples of all clients to construct centralized noise filtering algorithms. Besides, a limited number of private data on local clients may also restrict the noise filtering capability. Hence, despite the success of existing C-LNL algorithms, they may no longer be feasible in federated settings (Xu et al. 2022).

Federated Learning with Noisy Labels. Numerous methods address challenges in federated scenarios with label noise. For instance, FedRN (Kim et al. 2022) detects clean samples in local clients using ensembled Gaussian Mixture Models (GMMs) trained to fit loss function values of local data assessed by multiple reliable neighboring client models. RoFL (Yang et al. 2022b) directly optimizes using small-loss instances of clients during local training to mitigate label noise effects. Meanwhile, FedCorr(Xu et al. 2022) first introduces a dimensionality-based noise filter to segregate clients into clean and noisy groups using local intrinsic dimensionalities (Ma et al. 2018), and trains local noise filters to separate clean examples from identified noisy clients based on per-sample training losses.

However, existing F-LNL algorithms concentrate on local noise filtering, utilizing each client’s private data but failing to exploit collective knowledge across clients. This limitation might compromise noise filtering efficacy, resulting in incomplete label noise removal and impacting the stability of local training sessions. Conversely, FedDiv proposes distilling knowledge from all clients for federated noise filtering, enhancing label noise identification in each client’s sample and improving FL model training amidst label noise.

Methodology

In this section, we introduce the proposed one-stage framework named FedDiv for federated learning with noisy labels. In detail, we first adopt the classic FL paradigm, namely FedAvg (McMahan et al. 2017), to train a neural network model. On the basis of this FL framework, we propose a global filter model called Federated Noise Filter (FNF) to perform label noise filtering and noisy sample relabeling on every client. Then, to improve the stability of local training, a Predictive Consistency based Sampler (PCS) is presented to conduct labeled sample re-selection, keeping client models from memorizing label noise.

Let us consider an FL scenario with one server and K local clients denoted by . Each client k has its own private data consisting of nk sample-label pairs 𝒟k={(xki,yki)}i=1nk, where xki is a training sample, and yki is a label index over C classes. Here, we divide local clients into two groups: clean clients (with noise level δk=0 where k), which only have samples with clean labels, and noisy clients (with δk>0), whose private data might have label noise at various levels. Also, in this work, both IID and non-IID heterogeneous data partitions are considered.

Method Best Test Accuracy ± Standard Deviation
ρ=0.4 ρ=0.6 ρ=0.8
τ=0.0 τ=0.5 τ=0.0 τ=0.5 τ=0.0 τ=0.5
FedAvg 89.46±0.39 88.31±0.80 86.09±0.50 81.22±1.72 82.91±1.35 72.00±2.76
RoFL 88.25±0.33 87.20±0.26 87.77±0.83 83.40±1.20 87.08±0.65 74.13±3.90
ARFL 85.87±1.85 83.14±3.45 76.77±1.90 64.31±3.73 73.22±1.48 53.23±1.67
JointOpt 84.42±0.70 83.01±0.88 80.82±1.19 74.09±1.43 76.13±1.15 66.16±1.71
DivideMix 77.35±0.20 74.40±2.69 72.67±3.39 72.83±0.30 68.66±0.51 68.04±1.38
FedCorr 94.01±0.22 94.15±0.18 92.93±0.25 92.50±0.28 91.52±0.50 90.59±0.70
FedDiv (Ours) 94.42±0.29 94.30±0.19 93.67±0.22 93.41±0.21 92.98±0.60 91.44±0.25
Table 1: Best test accuracy (%) of FedDiv and existing SOTA methods on CIFAR-10 with IID setting at diverse noise levels.

As shown in Figure 2, the training procedure of the t-th communication round performs the following steps:

Step 1: The server broadcasts the parameters of the global neural network model θ(t) and the federated noise filtering model 𝒲(t) to every client k𝒮, where 𝒮 is a subset of clients randomly selected with a fixed fraction ω=|𝒮|/K in this round.

Step 2: On every k𝒮, 𝒲(t) is used to separate 𝒟k into noisy and clean samples, and those noisy samples with high prediction confidence are assigned pseudo-labels predicted by θ(t).

Step 3(Local model training): Every client k𝒮 trains its local neural network using a subset of the clean and relabeled noisy samples selected using PCS to obtain its updated local parameters θk(t). Here, we use θ^k(t) to denote the parameters of the local model being optimized during this training session.

Step 4(Local filter training): Every client k𝒮 trains a local noise filter model with updated parameters 𝒲k(t) by fitting the per-sample loss function values of its private data 𝒟k. Such loss function values are evaluated using the logits of training samples in 𝒟k predicted by θk(t).

Step 5: The server aggregates {θk(t)|k𝒮} and then updates the global model as follows,

θ(t+1)k𝒮nkk𝒮nkθk(t). (1)

Step 6(Federated filter aggregation): The server collects {𝒲k(t)|k𝒮} to update existing server-cached local filter parameters {𝒲k|k𝒮}, and then aggregates all local filters {𝒲k|k} to obtain an updated federated noise filtering model 𝒲(t+1).

This training procedure is repeated until the global model converges steadily or the pre-defined number of communication rounds 𝒯 is reached. Each communication round involves local training sessions (Step 1- 4) on several randomly selected clients and the model aggregation phase (Step 5- 6) on the server. The details of Step 2, Step 4, and Step 6 are provided in “Federated Noise Filter”, while the detailed description of Step 3 is given in “Predictive Consistency Based Sampler” and “Objectives for Local Model Training”.

Federated Noise Filter

Aiming at identifying label noise for the F-LNL task, we propose a Federated Noise Filter (FNF), which models the global distribution of clean and noisy samples across all clients. Motivated by (Zhu et al. 2022), this FNF model can be constructed via the federated EM algorithm. Specifically, we first conduct local filter training to obtain locally estimated GMM parameters. This goal is reached by iteratively executing the standard EM algorithm (Dempster, Laird, and Rubin 1977) per client to fit its local noise distribution. Then, we perform federated filter aggregation to aggregate local GMM parameters received from all clients to construct a federated noise filter.

Local filter training. In general, samples with label noise tend to possess higher loss function values during model training, making it feasible to use mixture models to separate noisy samples from clean ones using per-sample loss values of the training samples (Arazo et al. 2019a; Li, Socher, and Hoi 2019). Therefore, for the k-th client in the t-th communication round, a local GMM can be built to model the local distribution of clean and noisy samples by fitting the per-sample loss distribution,

{(x,y;θk(t))|(x,y)𝒟k}, (2)

where (x,y;θk(t)) is the cross-entropy loss of a sample-label pair (x,y)𝒟k when the local model θk(t) is used for prediction. Then, we denote the two-component GMM model by 𝒲k(t)=(𝝁k(t),𝝈k(t),𝝅k(t)), where 𝝁k(t) and 𝝈k(t) are vectors with entries μkg(t) and σkg(t) denoting the mean and variance of the g-th Gaussian component, respectively. Here, we set g=1 to represent the “clean” Gaussian component, i.e., the Gaussian component with a smaller mean (smaller loss), while g=2 denotes the “noisy” one.

We further define a discrete variable z to represent whether a sample is clean or noisy. 𝝅k(t) denotes the prior distribution of z, i.e., πkg(t)=P(z=g), where πkg(t) should satisfy g=12πkg(t)=1 and 0πkg(t)1 for g=1,2. Thus, P((x,y;θk(t))|z=g) is modeled as a Gaussian distribution 𝒩((x,y;θk(t));μkg(t),σkg(t)). Then, the posterior γkg(x,y;θk(t)), which represents the probability of a sample x being clean (g=1) or noisy (g=2) given its loss value, can be computed as

γkg(x,y;θk(t))=P(z=g|x,y;θk(t))=P((x,y;θk(t))|z=g)P(z=g)g=12P((x,y;θk(t))|z=g)P(z=g). (3)

Afterwards, for each client k, leveraging its private data 𝒟k, updated local parameters θk(t), and the federated filter parameters 𝒲(t) received from the server, its optimal local filter parameters 𝒲k(t)=(𝝁k(t),𝝈k(t),𝝅k(t)) at current round t are derived through the training of the local GMM models utilizing a standard EM algorithm (Dempster, Laird, and Rubin 1977). Noted that, 𝒲(t) originated from the server here is used to initialize 𝒲k(t) for expediting convergence.

In the t-th communication round, once we have performed local filter training on the clients in 𝒮, we upload the local filter parameters {𝒲k(t)|k𝒮} to the server. Then, the server updates its cached local filter parameters corresponding to each client in 𝒮 as follows,

{𝒲k𝒲k(t)|k𝒮}, (4)

where 𝒲k is the server-cached version of the local noise filter on the k-th client. Note that FedDiv only sends three numerical matrices (i.e., 𝝁k(t), 𝝈k(t), and 𝝅k(t)) from each client to the server, and they merely reflect each client’s local noise distributions instead of the raw input data, avoiding any risk of data privacy leakage.

Method Best Test Accuracy ± Standard Deviation
p=0.7 p=0.7 p=0.3
αDir=10 αDir=1 αDir=10
FedAvg 78.88±2.34 75.98±2.92 67.75±4.38
RoFL 79.56±1.39 72.75±2.21 60.72±3.23
ARFL 60.19±3.33 55.86±3.30 45.78±2.84
JointOpt 72.19±1.59 66.92±1.89 58.08±2.18
DivideMix 65.70±0.35 61.68±0.56 56.67±1.73
FedCorr 90.52±0.89 88.03±1.08 81.57±3.68
FedDiv (Ours) 93.18±0.42 91.95±0.26 85.31±2.28
Table 2: Best test accuracy (%) of FedDiv and existing SOTA methods on CIFAR-10 with non-IID setting at the noise level (ρ,τ)=(6.0,0.5).

Federated filter aggregation. After parameter uploading, the federated filter model can be constructed by aggregating the local filter parameters corresponding to all the clients {𝒲k=(𝝁k,𝝈k,𝝅k)|k} as follows,

μg(t+1)=knkknkμkg,σg(t+1)=knkknkσkg,πg(t+1)=knkknkπkg, (5)

where 𝒲(t+1)=(𝝁(t+1),𝝈(t+1),𝝅(t+1)) will be used to perform label noise filtering on the selected clients at the beginning of the (t+1)-th communication round.

Label noise filtering. In the t-th communication round, once the k-th client has received the parameters of the global model θ(t) and the federated filter model 𝒲(t) from the server, the probability of a sample x from 𝒟k being clean can be estimated through its posterior probability for the “clean” component as follows,

𝐩(“clean”|x,y;θ(t))=P(z=1|x,y;θ(t)). (6)

Afterwards, we can divide the samples of 𝒟k into a clean subset 𝒟kclean and a noisy subset 𝒟knoisy by thresholding their probabilities of being clean with the threshold 0.5 as follows,

𝒟kclean{(x,y)|𝐩(“clean”|x,y;θk(t))0.5,(x,y)𝒟k},𝒟knoisy{(x,)|𝐩(“clean”|x,y;θk(t))<0.5,(x,y)𝒟k}. (7)

Noisy sample relabeling. We compute the noise level of the k-th client as δ^k=|𝒟knoisy|/|𝒟k|, while a client is considered a noisy one if δ^k>0.1; and otherwise, a clean one. For an identified noisy client, we simply discard the given labels of noisy samples from 𝒟knoisy to prevent the model from memorizing label noise in further local training. In an effort to leverage these unlabeled (noisy) samples, we relabel those samples with high prediction confidence (by setting a confidence threshold ζ) by assigning predicted labels from the global model as follows,

𝒟krelab{(x,y^)|max(𝐩(x;θ(t)))ζ,x𝒟knoisy}, (8)

where y^=y^(x)=argmax𝐩(x;θ(t)) is the pseudo-label for the sample x predicted by the global model θ(t).

Method Best Test Accuracy ± Standard Deviation
ρ=0.4 ρ=0.6 ρ=0.8
τ=0.5 τ=0.5 τ=0.5
FedAvg 64.41±1.79 53.51±2.85 44.45±2.86
RoFL 59.42±2.69 46.24±3.59 36.65±3.36
ARFL 51.53±4.38 33.03±1.81 27.47±1.08
JointOpt 58.43±1.88 44.54±2.87 35.25±3.02
DivideMix 43.25±1.01 40.72±1.41 38.91±1.25
FedCorr 74.43±0.72 66.78±4.65 59.10±5.12
FedDiv (Ours) 74.86±0.91 72.37±1.12 65.49±2.20
Table 3: Best test accuracy (%) of FedDiv and existing SOTA methods on CIFAR-100 with IID setting at diverse noise levels.

Predictive Consistency Based Sampler

During the t-th round on client k, upon obtaining the clean subset 𝒟kclean and the relabeled subset 𝒟krelab, we integrate them into supervised local model training across T local epochs. However, the complete elimination of label noise among clients during noise filtering and relabeling is unattainable. On the other hand, relabeling inevitably introduces new label noise, causing instability in local model training, which further negatively affects the performance of the global model during aggregation. To tackle this, we propose a Predictive Consistency based Sampler (PCS) to reselect labeled samples for local training. Specifically, we observe enforcing the consistency of class labels respectively predicted by global and local models is a good strategy to achieve this goal. As training proceeds, the robustness of the model against label noise would be significantly increased (See below.), thus easily improving predictions’ reliability of the samples having new label noise.

In addition, due to data heterogeneity in federated settings, especially for non-IID data partitions, local training samples owned by individual clients often belong to a smaller set of dominant classes. Thus, samples of dominant classes with newly introduced label noise would be better self-corrected during local model training, gradually leading to inconsistent predictions w.r.t those of the global model. However, such class-unbalanced local data would also contribute to the cause of the local model bias towards the dominant classes (Wei et al. 2021), which makes it more difficult for the local model to produce correct pseudo-labels for the samples that belong to minority classes. The proposed PCS strategy mitigates model bias to improve the reliability of class labels produced by local models. Here, we can de-bias the model predictions by improving causality via counterfactual reasoning (Holland 1986; Pearl 2009; Wang et al. 2022), and therefore, the de-biased logit of a sample x from 𝒟kclean or 𝒟krelab is induced as follows,

F(x)f(x;θ^k(t))ξlog(p^k), (9)

where F(x) is the de-biased logit later used for generating the de-biased pseudo-label, i.e., y~(x)=argmaxF(x), and ξ=0.5 is a de-bias factor. f(x;θ^k(t)) is the original logit for the sample x produced by the local model θ^k(t), currently being optimized. p^k represents the overall bias of the local model w.r.t all classes, which was previously updated according to Eq. (12) and cached on the k-th client during the last local training session.

Dataset CIFAR-100 Clothing1M
Noise level (ρ, τ) (0.4, 0.0) -
Method\(p, αDir) (0.7, 10) -
FedAvg 64.75±1.75 70.49
RoFL 59.31±4.14 70.39
ARFL 48.03±4.39 70.91
JointOpt 59.84±1.99 71.78
DivideMix 39.76±1.18 68.83
FedCorr 72.73±1.02 72.55
FedDiv (Ours) 74.47±0.34 72.96±0.43
Table 4: Best test accuracy (%) of FedDiv and existing SOTA methods on CIFAR-100 and Clothing1M under the non-IID data partitions.

Afterwards, PCS is used to re-select higher-quality and more reliable labeled training samples to perform local training as follows,

𝒟kresel{(x,y)|y^(x)=y~(x),(x,y)𝒟kclean𝒟krelab}. (10)

Similar to (Xu et al. 2022), we update the training dataset for further optimizing the local model as follows,

𝒟^k={𝒟kresel,ifδ^k0.1,𝒟k,ifδ^k<0.1. (11)

Once having the optimized θk(t) from a local training session, we use it to update p^k with momentum as follows,

p^k(t)mp^k+(1m)1nkx𝒟k𝐩(x;θk(t)), (12)

where m=0.2 is a momentum coefficient. We save p^k(t) on the k-th client to update existing client-cached p^k.

Objectives for Local Model Training

To enhance the model’s robustness against label noise, we here use MixUp regularization (Zhang et al. 2018) for local model training, further undermining the instability of training. Specifically, two sample-label pairs (xi,yi) and (xj,yj) from 𝒟^k are augmented using linear interpolation, x¨=λxi+(1λ)xj and y¨=λpy(yi)+(1λ)py(yj), where λBeta(α) is a mixup ratio, α=1 is a scalar to control its distribution, and py() is a function to generate a one-hot vector for a given label. Hence, on the k-th client in the t-th communication round, the local model θ^k(t) is trained with the cross-entropy loss applied to B augmented samples in one mini-batch as follows,

mix=b=1By¨blog𝐩(x¨b;θ^k(t)). (13)

With the high heterogeneity of the non-IID data partitions, there could be only a limited number of categories on each client, and extensive experiments have shown that such a data partition forces a local model to predict the same class label to minimize the training loss. As in (Tanaka et al. 2018b; Arazo et al. 2019b), regularizing the average prediction of a local model over every mini-batch using a uniform prior distribution is a viable solution to overcome the above problem, i.e.,

reg=c=1C𝐪^clog(𝐪^c𝐪c), where 𝐪=1Bb=1B𝐩(x¨b;θ^k(t)), (14)

where 𝐪^c=1/C denotes the prior probability of a class c. 𝐪c is the c-th element of the vector q, which refers to the predicted probability of the class c averaged over B augmented training samples in a mini-batch.

Finally, on the k-th client in the t-th communication round, the overall loss function for optimizing the local model is defined as follows,

final=mix+ηreg, (15)

where η is a weighting factor balancing mix and reg. In the experiments, we set η=1 when the data partition is non-IID; and otherwise, η=0.

Experiments

Experimental Setups

To be fair, we here adopt the consistent experimental setups with FedCorr (Xu et al. 2022) to assess the efficacy of our proposed approach FedDiv. Further details, e.g., data partitions and additional implementations and analysis, are provided in the supplementary document (abbr. Supp111https://github.com/lijichang/FLNL-FedDiv/blob/main/supp.pdf).

Datasets and data partitions. We validate FedDiv’s superiority on three classic benchmark datasets, including two synthetic datasets namely CIFAR-10 (Krizhevsky 2009) and CIFAR-100 (Krizhevsky 2009), and one real-world noisy dataset, i.e., Clothing1M (Xiao et al. 2015). Like (Xu et al. 2022), we take both IID and non-IID data partitions into account on CIFAR-10 and CIFAR-100, but only consider non-IID data partitions on Clothing1M. Under the IID data partitions, each client is randomly assigned the same number of samples with respect to each class. For non-IID data partitions, it is constructed using a Dirichlet distribution (Lin et al. 2020) with two pre-defined parameters, namely the fixed probability p and the concentration parameter αDir.

Label noise settings. Similar to (Xu et al. 2022), the noise level for the k-th client can be defined as follows:

δk={uU(τ,1),probability ofρ,0,probability of1ρ. (16)

Here, ρ signifies the probability of a client being noisy. For a noisy client with δk0, the noise level is initially sampled at random from the uniform distribution uU(τ,1), with τ being its lower bound. Subsequently, δk100% of local examples are randomly selected as noisy samples, with their ground-truth labels replaced by all possible class labels.

Refer to caption
Figure 3: The accuracy of noisy label identification across different clients, with the experiment conducted on CIFAR-100 with the non-IID data partition under the noise setting (ρ,τ)=(0.4,0.0). (Best viewed zoomed in.)

Baselines. We compare FedDiv with existing state-of-the-art (SOTA) F-LNL methods, including FedAvg (McMahan et al. 2017), RoFL (Yang et al. 2022b), ARFL (Yang et al. 2022b), JointOpt (Tanaka et al. 2018a), DivideMix (Li, Socher, and Hoi 2019), and FedCorr (Xu et al. 2022). Their experimental results reported in this paper are borrowed from (Xu et al. 2022).

Implementations. We set ω and 𝒯 to 950, 900 and 100, and 0.1, 0.1 and 0.02 on CIFAR-10, CIFAR-100 and Clothing1M, respectively, while we also set the confidence threshold ζ=0.75 for relabeling on all datasets. Note that, to enable faster convergence, we warm up local neural network models of each client for 𝒯wu iterations (not training rounds; see (Xu et al. 2022)) using MixUp regularization (Zhang et al. 2018). Additionally, to be fair, most of our implementation details involving both local training and model aggregation are consistent with FedCorr (Xu et al. 2022) for each dataset under all federated settings and all label noise settings.

Model variants. We build the variants of FedDiv to evaluate the effect of the proposed noise filter as follows.

  • FedDiv(Degraded): Following (Zhu et al. 2022), we here degrade the proposed federated noise filter by constructing the global noise filter using only the local filter parameters received in the current round instead of those from all clients.

  • FedDiv(Local filter): A local noise filter is trained for each client using its own private data to identify noisy labels within individual clients.

Comparisons with State-of-the-Arts

Tables 1-4 summarize classification performance of FedDiv against state-of-the-art (SOTA) F-LNL methods on CIFAR-10, CIFAR-100, and Clothing1M across various noise settings for both IID and non-IID data partitions. Comparison results, based on mean accuracy and standard deviation over five trials, demonstrate FedDiv’s significant superiority over existing F-LNL algorithms, especially in challenging cases. For instance, in IID data partitions, Table 3 illustrates FedDiv outperforming FedCorr on CIFAR-100 by 6.39% in the toughest noise setting with (ρ,τ)=(0.8,0.5). Similarly, for non-IID partitions in Table 2, FedDiv consistently surpasses FedCorr by 3.74% in the most challenging setting (p,αDir)=(0.3,10) on CIFAR-10. Additionally, in Table 4, FedDiv exhibits a 0.41% improvement over FedCorr on Clothing1M, indicating its efficacy in real-world label noise distributions.

Dataset CIFAR-10 CIFAR-100
Noise level (ρ, τ) (0.6, 0.5) (0.4,0.0)
Method\(p, αDir) (0.3, 10) (0.7, 10)
FedDiv (Ours) 85.31±2.28 74.47±0.34
FedDiv (Degraded) 83.22±2.61 73.06±0.93
FedDiv (Local filter) 81.34±3.65 71.37±0.76
FedDiv w/o Relab. & w/o PCS 82.17±3.06 73.09±1.89
FedDiv w/o PCS 82.83±2.59 73.66±0.96
FedDiv w/o reg 83.60±3.65 72.43±1.29
Table 5: Ablation study results for CIFAR-10 and CIFAR-100, with varying noise levels under non-IID data partitions.

Ablation Analysis

To underscore the efficacy of FedDiv, we perform an ablation study to demonstrate the effect of each component.

Evaluation of federated noise filtering. To affirm the superiority of the proposed scheme for label noise filtering, we first compare FedDiv with our model variants FedDiv(Local filter) and FedDiv(Degraded). As per Figure 3 and Table 5, the proposed noise filter exhibits a superior capacity of identifying label noise on both clean and noisy clients, leading to considerably improved classification performance in comparison to its two variants.

Evaluation of relabeling and re-selection. To assess the efficacy of the proposed strategies for noisy sample relabeling and labeled sample re-selection, we systematically remove their respective components from the FedDiv framework. The results depicted in Table 5 demonstrate a substantial decrease in accuracy across various noise settings for both types of data partitions. This indicates the importance of each individual component.

Conclusions

In this paper, we have presented FedDiv to handle the task of Federated Learning with Noisy Labels (F-LNL). It can effectively respond to the challenges in F-LNL tasks involving both data heterogeneity and noise heterogeneity while taking privacy concerns into account. On the basis of an FL framework, we first propose Federated Noise Filtering to separate clean samples from noisy ones on each client, thereby diminishing the instability during training. Then we perform relabeling to assign pseudo-labels to noisy samples with high predicted confidence. In addition, we introduce a Predictive Consistency based Sampler to identify credible local data for local model training, thus avoiding label noise memorization and further improving training stability. Experiments as well as comprehensive ablation analysis have revealed FedDiv’s superiority in handling F-LNL tasks.

Acknowledgements

This work was supported in part by the National Natural Science Foundation of China (NO. 62322608), in part by the Shenzhen Science and Technology Program (NO. JCYJ20220530141211024), in part by the Open Project Program of the Key Laboratory of Artificial Intelligence for Perception and Understanding, Liaoning Province (AIPU, No. 20230003), in part by Hong Kong Research Grants Council under Collaborative Research Fund (Project No. HKU C7004-22G).

References

  • Arazo et al. (2019a) Arazo, E.; Ortego, D.; Albert, P.; O’Connor, N.; and McGuinness, K. 2019a. Unsupervised label noise modeling and loss correction. In International conference on machine learning, 312–321. PMLR.
  • Arazo et al. (2019b) Arazo, E.; Ortego, D.; Albert, P.; O’Connor, N.; and McGuinness, K. 2019b. Unsupervised label noise modeling and loss correction. In International conference on machine learning, 312–321. PMLR.
  • Cheng et al. (2022) Cheng, D.; Liu, T.; Ning, Y.; Wang, N.; Han, B.; Niu, G.; Gao, X.; and Sugiyama, M. 2022. Instance-Dependent Label-Noise Learning with Manifold-Regularized Transition Matrix Estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 16630–16639.
  • Dempster, Laird, and Rubin (1977) Dempster, A. P.; Laird, N. M.; and Rubin, D. B. 1977. Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society: Series B (Methodological), 39(1): 1–22.
  • Englesson and Azizpour (2021) Englesson, E.; and Azizpour, H. 2021. Generalized jensen-shannon divergence loss for learning with noisy labels. Advances in Neural Information Processing Systems, 34: 30284–30297.
  • He et al. (2016) He, K.; Zhang, X.; Ren, S.; and Sun, J. 2016. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, 770–778.
  • Holland (1986) Holland, P. W. 1986. Statistics and causal inference. Journal of the American statistical Association, 81(396): 945–960.
  • Huang et al. (2023) Huang, D.; Li, J.; Chen, W.; Huang, J.; Chai, Z.; and Li, G. 2023. Divide and Adapt: Active Domain Adaptation via Customized Learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 7651–7660.
  • Kim et al. (2022) Kim, S.; Shin, W.; Jang, S.; Song, H.; and Yun, S.-Y. 2022. FedRN: Exploiting k-Reliable Neighbors Towards Robust Federated Learning. arXiv preprint arXiv:2205.01310.
  • Krizhevsky (2009) Krizhevsky, A. 2009. Learning Multiple Layers of Features from Tiny Images. Master’s thesis, University of Tront.
  • Kuznetsova et al. (2020) Kuznetsova, A.; Rom, H.; Alldrin, N.; Uijlings, J.; Krasin, I.; Pont-Tuset, J.; Kamali, S.; Popov, S.; Malloci, M.; Kolesnikov, A.; et al. 2020. The open images dataset v4. International Journal of Computer Vision, 128(7): 1956–1981.
  • Li et al. (2022) Li, J.; Li, G.; Liu, F.; and Yu, Y. 2022. Neighborhood Collective Estimation for Noisy Label Identification and Correction. In European Conference on Computer Vision. Springer.
  • Li et al. (2021) Li, J.; Li, G.; Shi, Y.; and Yu, Y. 2021. Cross-Domain Adaptive Clustering for Semi-Supervised Domain Adaptation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2505–2514.
  • Li, Li, and Yu (2023a) Li, J.; Li, G.; and Yu, Y. 2023a. Adaptive Betweenness Clustering for Semi-Supervised Domain Adaptation. IEEE Transactions on Image Processing.
  • Li, Li, and Yu (2023b) Li, J.; Li, G.; and Yu, Y. 2023b. Inter-Domain Mixup for Semi-Supervised Domain Adaptation. Pattern Recognition.
  • Li, Socher, and Hoi (2019) Li, J.; Socher, R.; and Hoi, S. C. 2019. DivideMix: Learning with Noisy Labels as Semi-supervised Learning. In International Conference on Learning Representations.
  • Li et al. (2019a) Li, J.; Wu, S.; Liu, C.; Yu, Z.; and Wong, H.-S. 2019a. Semi-supervised deep coupled ensemble learning with classification landmark exploration. IEEE Transactions on Image Processing, 29: 538–550.
  • Li et al. (2019b) Li, L.; Wang, J.; Li, J.; Ma, Q.; and Wei, J. 2019b. Relation classification via keyword-attentive sentence mechanism and synthetic stimulation loss. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 27(9): 1392–1404.
  • Li et al. (2020) Li, T.; Sahu, A. K.; Zaheer, M.; Sanjabi, M.; Talwalkar, A.; and Smith, V. 2020. Federated optimization in heterogeneous networks. Proceedings of Machine Learning and Systems, 2: 429–450.
  • Lin et al. (2020) Lin, T.; Kong, L.; Stich, S. U.; and Jaggi, M. 2020. Ensemble distillation for robust model fusion in federated learning. Advances in Neural Information Processing Systems, 33: 2351–2363.
  • Ma et al. (2018) Ma, X.; Wang, Y.; Houle, M. E.; Zhou, S.; Erfani, S.; Xia, S.; Wijewickrema, S.; and Bailey, J. 2018. Dimensionality-driven learning with noisy labels. In International Conference on Machine Learning, 3355–3364. PMLR.
  • McMahan et al. (2017) McMahan, B.; Moore, E.; Ramage, D.; Hampson, S.; and y Arcas, B. A. 2017. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, 1273–1282. PMLR.
  • Nguyen et al. (2022) Nguyen, D. C.; Pham, Q.-V.; Pathirana, P. N.; Ding, M.; Seneviratne, A.; Lin, Z.; Dobre, O.; and Hwang, W.-J. 2022. Federated learning for smart healthcare: A survey. ACM Computing Surveys (CSUR), 55(3): 1–37.
  • Pearl (2009) Pearl, J. 2009. Causal inference in statistics: An overview. Statistics surveys, 3: 96–146.
  • Ren et al. (2018) Ren, M.; Zeng, W.; Yang, B.; and Urtasun, R. 2018. Learning to reweight examples for robust deep learning. In International conference on machine learning, 4334–4343. PMLR.
  • Tanaka et al. (2018a) Tanaka, D.; Ikami, D.; Yamasaki, T.; and Aizawa, K. 2018a. Joint optimization framework for learning with noisy labels. In Proceedings of the IEEE conference on computer vision and pattern recognition, 5552–5560.
  • Tanaka et al. (2018b) Tanaka, D.; Ikami, D.; Yamasaki, T.; and Aizawa, K. 2018b. Joint optimization framework for learning with noisy labels. In Proceedings of the IEEE conference on computer vision and pattern recognition, 5552–5560.
  • Tanno et al. (2019) Tanno, R.; Saeedi, A.; Sankaranarayanan, S.; Alexander, D. C.; and Silberman, N. 2019. Learning from noisy labels by regularized estimation of annotator confusion. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 11244–11253.
  • Wang et al. (2022) Wang, X.; Wu, Z.; Lian, L.; and Yu, S. X. 2022. Debiased Learning from Naturally Imbalanced Pseudo-Labels. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 14647–14657.
  • Wei et al. (2021) Wei, C.; Sohn, K.; Mellina, C.; Yuille, A.; and Yang, F. 2021. Crest: A class-rebalancing self-training framework for imbalanced semi-supervised learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 10857–10866.
  • Wu et al. (2019a) Wu, S.; Deng, G.; Li, J.; Li, R.; Yu, Z.; and Wong, H.-S. 2019a. Enhancing TripleGAN for semi-supervised conditional instance synthesis and classification. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 10091–10100.
  • Wu et al. (2019b) Wu, S.; Li, J.; Liu, C.; Yu, Z.; and Wong, H.-S. 2019b. Mutual learning of complementary networks via residual correction for improving semi-supervised classification. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 6500–6509.
  • Xiao et al. (2015) Xiao, T.; Xia, T.; Yang, Y.; Huang, C.; and Wang, X. 2015. Learning from massive noisy labeled data for image classification. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2691–2699.
  • Xu et al. (2022) Xu, J.; Chen, Z.; Quek, T. Q.; and Chong, K. F. E. 2022. FedCorr: Multi-Stage Federated Learning for Label Noise Correction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 10184–10193.
  • Yang et al. (2022a) Yang, E.; Yao, D.; Liu, T.; and Deng, C. 2022a. Mutual Quantization for Cross-Modal Search With Noisy Labels. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 7551–7560.
  • Yang et al. (2020) Yang, L.; Tan, B.; Zheng, V. W.; Chen, K.; and Yang, Q. 2020. Federated recommendation systems. In Federated Learning, 225–239. Springer.
  • Yang et al. (2022b) Yang, S.; Park, H.; Byun, J.; and Kim, C. 2022b. Robust federated learning with noisy labels. IEEE Intelligent Systems, 37(2): 35–43.
  • Zhang et al. (2018) Zhang, H.; Cisse, M.; Dauphin, Y. N.; and Lopez-Paz, D. 2018. mixup: Beyond Empirical Risk Minimization. In International Conference on Learning Representations.
  • Zheng et al. (2022) Zheng, Z.; Zhou, Y.; Sun, Y.; Wang, Z.; Liu, B.; and Li, K. 2022. Applications of federated learning in smart cities: recent advances, taxonomy, and open challenges. Connection Science, 34(1): 1–28.
  • Zhu et al. (2022) Zhu, C.; Xu, Z.; Chen, M.; Konečný, J.; Hard, A.; and Goldstein, T. 2022. Diurnal or Nocturnal? Federated Learning of Multi-branch Networks from Periodically Shifting Distributions. In International Conference on Learning Representations.

Supplementary Material (abbr. Supp)

In this supplementary material, we detail additional experimental setups encompassing data partitions, implementation specifics, and the baseline F-LNL methods. Furthermore, we provide further analysis of our proposed method, FedDiv. For a comprehensive understanding, we summarize the key notations of F-LNL and FedDiv in Table 6. Additionally, detailed training procedures of FedDiv and the specifics of local filter training are outlined in Algorithm 1 and Algorithm 2, respectively. To further enhance clarity, we present hyper-parameter summaries for each dataset in Table 7. Consistency in hyper-parameter settings is maintained across different label noise settings for both IID and non-IID data partitions on each dataset. It’s worth noting that all experiments are conducted on the widely-used PyTorch platform222https://pytorch.org/ and executed on an NVIDIA GeForce GTX 2080Ti GPU with 12GB memory.

Symbol Definition
t

Current communication round

Collection of all clients

𝒮

Collection of clients randomly selected at current round

k

Current index for the client selected from or 𝒮

𝒟k

Given local samples for client k

𝒟kclean

Clean samples separated from 𝒟k

𝒟knoisy

Noisy samples separated from 𝒟k

𝒟krelab

Relabeled samples produced from 𝒟knoisy

𝒟kresel

More reliable labeled samples re-selected by PCS

𝒟^k

Training data for further optimization of the local model

δk

Actual noise level for client k

δ^k

Estimated noise level for client k

θ(t)

Global network model at round t

θ^k(t)

Local network model being optimized during local training for client k at round t

θk(t)

Local network model for client k at round t

𝒲(t)

Global filter parameters for client k at round t

𝒲k

Server-cached local filter parameters for client k

𝒲k(t)

Local filter parameters for client k obtained at round t

p^k

Overall bias of the local model for client k w.r.t all classes

Table 6: Key notations of F-LNL and FedDiv.
Hyper-parameter CIFAR-10 CIFAR-100 Clothing1M
# of clients (K) 100 50 500
# of classes (C) 10 100 14
# of samples 50,000 50,000 1,000,000
Architecture ResNet-18 ResNet-34 Pre-trained ResNet-50
Mini-batch size 10 10 16
Learning rate 0.03 0.01 0.001
𝒯wu 5 10 2
𝒯ft 500 450 50
𝒯ut 450 450 50
𝒯 950 900 100
T 5 5 5
ω 0.1 0.1 0.02
Table 7: Hyper-parameters on different datasets.

Input: ; {𝒟k|k}; 𝒯; T; ω; Initialized θ(0); Initialized 𝒲(0); Initialized {𝒲k|k}; Initialized {p^k|k}
Output: Global network model θ(𝒯)

1: for k do
2: [k](𝒟k,p^k) Packaging
3: end for
3: // Model warming-up step
4: for t=1 to 𝒯wu do
5: Warm up θ(t) for each client k
6: end for
6: // Model training step
7: for t = 1 to 𝒯 do
8: 𝒮 Randomly select ω×100% clients from
9: for k𝒮 do
10: (𝒟k,p^k)[k] Unpackaging
11: Obtain 𝒟kclean and 𝒟knoisy via the federated noise filter model 𝒲(t) using Eq. (7)
12: Estimate δ^k=|𝒟knoisy|/|𝒟k|
13: Obtain 𝒟krelab using Eq. (8)
14: θ^k(t)θ(t)
15: for t=1 to T do
16: Obtain 𝒟kopt using Eqs. (9), (10), (11)
17: Optimize θ^k(t) using Eq. (15)
18: end for
19: θk(t)θ^k(t)
20: Update p^k(t) using Eq. (12)
21: Update [k](𝒟k,p^k(t)) Repackaging
22: Obtain the local filter 𝒲k(t) using Algorithm 2
23: Upload θk(t) and 𝒲k(t) to the server
24: end for
25: Update the network θ(t+1) using Eq. (1)
26: for k𝒮 do
27: 𝒲k𝒲k(t)
28: end for
29: Update the global filter 𝒲(t+1) using Eq. (5)
30: end for
Algorithm 1 The training procedure of FedDiv

Input: 𝒟k; θk(t); 𝒲(t)
Output: Optimal local filter parameters 𝒲k(t)

1: Initialize 𝒲k(t)=(𝝁k(t),𝝈k(t),𝝅k(t)) using 𝒲(t)
2: while 𝒲k(t) is not converged do
2: // E step:
3: γkg(x,y;θk(t))=πkg(t)𝒩((x,y;θk(t));μkg(t),σkg(t))g=12πkg(t)𝒩((x,y;θk(t));μkg(t),σkg(t))
3: // M step:
4: μkg(t)=(x,y)𝒟kγkg(x,y;θk(t))(x,y;θk(t))(x,y)𝒟kγkg(x,y;θk(t))
5: σkg(t)=(x,y)𝒟kγkg(x,y;θk(t))[(x,y;θk(t))μkg(t)]2(x,y)𝒟kγkg(x,y;θk(t))
6: πkg(t)=(x,y)𝒟kγkg(x,y;θk(t))nk
7: end while
Algorithm 2 Local filter training

Additional Experimental Setups

Non-IID data partitions. We employ Dirichlet distribution (Lin et al. 2020) with the fixed probability p and the concentration parameter αDir to construct non-IID data partitions. Specifically, we begin by introducing an indicator matrix ΦC×K, and each entry Φck determines whether the k-th client has samples from the c-th class. For every entry, we assign a 1 or 0 sampled from the Bernoulli distribution with a fixed probability p. For the row of the matrix Φ that corresponds to the c-th class, we sample a probability vector qcQc from the Dirichlet distribution with a concentration parameter αDir>0, where Qc=kΦck. Then, we assign the k-th client a qck proportion of the samples that belong to the c-th category, where k denotes the client index with Φck=1,k=1,,K, and k=1|qc|qck=1.

Additional Implementation Details. Similar to FedCorr (Xu et al. 2022), we select ResNet-18 (He et al. 2016), ResNet-34 (He et al. 2016) and Pre-trained ResNet-50 (He et al. 2016) as the network backbones for CIFAR-10, CIFAR-100 and Clothing1M, respectively. During the local model training sessions, we train each local client model over T=5 local training epochs per communication round, using an SGD optimizer with a momentum of 0.5 and a mini-batch size of 10, 10, and 16 for CIFAR-10, CIFAR-100, and Clothing1M, respectively. For each optimizer, we set the learning rate as 0.03, 0.01, and 0.001 on CIFAR-10, CIFAR-100, and Clothing1M, respectively. In addition, during data pre-processing, the training samples are first normalized and then augmented by hiring random horizontal flipping and random cropping with padding of 4. For most thresholds conducted on the experiments, we set them to default as in FedCorr (Xu et al. 2022), e.g. δ^k=0.1 in Eq. (11), the probability of a sample being clean/noisy =0.50 in Eq. (7), ξ=0.5 in Eq. (9), etc. Additionally, we determine ζ in Eq. (8) using a small validation set, where ζ=0.70 meets the peak of validation accuracies.

How to set ω, 𝒯 and 𝒯wu. In this work, we streamlined the multi-stage F-LNL process proposed in FedCorr (Xu et al. 2022) into a one-stage process, avoiding the complexity of executing multiple intricate steps across different stages as in FedCorr. However, for fair comparisons, we maintained an equivalent number of communication rounds as in FedCorr. This totals 𝒯wu, encompassing federated pre-processing from FedCorr’s training iterations, and 𝒯, covering both federated fine-tuning and usual training stages involving FedCorr. Notably, within 𝒯wu, we solely utilize MixUp regularization (Zhang et al. 2018) to warm up the local neural network models for faster convergence.

Below, we will begin by introducing the multi-stage F-LNL pipeline proposed by FedCorr, followed by an analysis of fraction scheduling and the construction of the training rounds of FedDiv.

  • FedCorr. FedCorr comprises three FL stages: federated pre-processing, federated fine-tuning, and federated usual training. During the pre-processing stage, the FL model is initially pre-trained on all clients for 𝒯wu iterations (not training round) to guarantee initial convergence of model training. At the same time, FedCorr evaluates the quality of each client’s dataset and identifies and relabels noisy samples. After this stage, a dimensionality-based filter (Ma et al. 2018) is proposed to classify clients into clean and noisy ones. In the federated fine-tuning stage, FedCorr only fine-tunes the global model on relatively clean clients for 𝒯ft rounds. At the end of this stage, FedCorr re-evaluates and relabels the remaining noisy clients. Finally, in the federated usual training stage, the global model is trained over 𝒯ut rounds using FedAvg (McMahan et al. 2017) on all the clients, incorporating the labels corrected in the previous two training stages.

  • Fraction scheduling and communication rounds of FedDiv. During FL training, a fixed fraction of clients will be selected at random to participate in local model training at the beginning of each round. Here, we set a fraction parameter ω to control the fraction scheduling, which is the same as the fine-tuning and usual training stages in FedCorr. However, during the pre-processing stage of FedCorr, every client must participate in local training exactly once in each iteration. Hence, any one client may be randomly sampled from all the clients with a probability of 1K100% to participate in local model training, without replacement. As three stages of FedCorr have been merged into one in FedDiv, to ensure fairness in training, we convert the training iterations of the pre-processing stage into the training rounds we used, which gives us the corresponding training rounds 𝒯wu=(𝒯wu×K)/(w×K)=𝒯wu/w. Therefore, in our work, the total number of communication rounds in the entire training process is 𝒯wu+𝒯, where 𝒯=𝒯ft+𝒯ut.


Refer to caption

Figure 4: The evolution of quantized training stability v.s. test classification performance across epochs for various F-LNL algorithms. We quantitatively assess training stability in F-LNL by computing the average proximal regularization metric (Li et al. 2020; Xu et al. 2022) between the weights of local and global neural network models in the current training round. The experiments are conducted on CIFAR-10 with (p,αDir)=(0.3,10.0) and (ρ,τ)=(6.0,0.5).

Additional Analysis

Quantized training stability. To better grasp the motivation behind this approach, we propose using “Quantized training stability” to quantify the impact of data heterogeneity and noise heterogeneity (Kim et al. 2022; Yang et al. 2022b) on the training instability experienced during local training sessions. Technically, quantized training stability can be measured by the average proximal regularization metric between local and global model weights, denoted as θk(t) and θ(t) respectively, at round t. This is calculated by 1|𝒮|k𝒮|θk(t)θ(t)|2. As depicted in Figure 4, this instability results in notable discrepancies in weight divergence between local and global models, potentially hindering the performance enhancement of the aggregated model if left unaddressed. Additionally, considering the efficacy of different noise filtering strategies, our proposed federated noise filtering demonstrates superior performance in label noise identification per client, leading to decreased training instability during local training sessions and thus achieving higher classification performance of the aggregated model.

Further evaluation of federated noise filtering. To further verify the capability of our proposed label noise filtering strategy, we again compare FedDiv with FedDiv(Local filter) and FedDiv(Degraded) in Figure 5 and Figure 6. Both experiments are conducted on CIFAR-100 with the noise setting (ρ,τ)=(0.4,0.5) for the IID data partition. Specifically, Figure 5 shows the accuracy of label noise filtering over all 50 clients at different communication rounds, while Figure 6 provides two examples to illustrate the noise filtering performance of different noise filters on clean and noisy clients.

As depicted in both Figure 5 and Figure 6, the proposed strategy consistently produces stronger label noise filtering capabilities on the vast majority of clients than the alternative solutions. Additionally, Figure 5 also shows that all these three noise filtering schemes significantly improve the label noise identification performance as model training proceeds, especially on clean clients—possibly because the network model offers greater classification performance—but ours continues to perform the best. These results once again highlight the feasibility of our proposed noise filtering strategy.

Further evaluation of filtering, relabeling and re-selection. To emphasize each FedDiv thread’s effectiveness in label noise filtering, noisy sample relabeling, and labeled sample re-selection, we compare confusion matrices before processing, after label noise filtering and noisy sample relabeling (Thread 1), and after labeled sample re-selection (Thread 2) in Figure 7. Figure 7 displays heat maps of these three confusion matrices on five representative clients. On clean or noisy clients with varying noise levels, each thread gradually eliminates label noise, confirming the performance of each FedDiv component.

Hyper-parameter sensitivity. We analyze hyper-parameter sensitivity to the confidence threshold ζ. As shown in Figure 8, the proposed approach consistently achieves higher classification performance when ζ is set to 0.75. Therefore, ζ=0.75 is an excellent choice for setting the confidence threshold for noisy sample relabeling when training the FL model on CIFAR-10 and CIFAR-100 under different label noise settings for both IID and non-IID data partitions.

Refer to caption
Refer to caption
Figure 5: The accuracy of noisy label identification vs. different clients. The lightblue dotted line represents the actual noise level of each client, while the (dotted) lines in deep bright colors indicate the noise filtering performance with respect to different noise filters. The experiment is conducted on CIFAR-100 with the IID data partition under the noise setting (ρ,τ)=(0.4,0.5). TOP: Evaluation in the 50-th communication round of the usual training stage; BOTTOM: Evaluation in the 500-th communication round of the usual training stage.
Refer to caption
Refer to caption
Figure 6: Two examples to illustrate the performance of three noise filters to identify label noise on a clean client (with the lowest accuracy of label noise filtering) and a noisy client. We show the probability distributions of samples being clean predicted by each filter, with the samples ranked according to the per-sample loss function values. In the legend, the percentages show the accuracy of noisy label identification with respect to each filter. In addition, as illustrated by the black line, a sample that is considered clean should have a predicted probability higher than κ100%. Furthermore, the green and blue bars represent, respectively, the distribution of the given clean and noisy samples. The evaluation is performed at the end of the 50-th communication round in the usual federated training stage. The experiment is conducted on CIFAR-100 with the IID data partition under the noise setting (ρ,τ)=(0.4,0.5). TOP: Evaluation on the clean client; BOTTOM: Evaluation on the noisy client with δ=0.725. (Best viewed zoomed in.)

Given Refer to caption
Thread 1
Thread 2

Figure 7: An evaluation of label noise filtering, noisy sample relabeling and labeled sample re-selection on five representative clients in the proposed FedDiv. As indicated by the heat maps, three confusion matrices for each client are associated to the actual labels v.s. the given labels before processing, the corrected labels after label noise filtering and noisy sample relabeling (named Thread 1), and the corrected labels after labeled sample re-selection (named Thread 2), respectively. Note that, in practice, noisy label relabeling and labeled sample re-selection may not necessarily be conducted on clean clients (e.g., Client 1) during local model training, in accordance with Eq. (10). The experiment is conducted on CIFAR-10 with the IID data partition under the noise setting (ρ,τ)=(0.8,0.5).

Refer to caption
(a) IID
Refer to caption
(b) Non-IID
Figure 8: Sensitivity with respect to the hyper-parameter ζ. We show the test accuracy to illustrate the classification performance of the final FL model when we set ζ to 0.00, 0.25, 0.50, 0.75, and 1.00, respectively. We conduct these experiments on CIFAR-10 with both IID and non-IID data partitions. For the non-IID data partition, the noise level is set to (ρ,τ)=(0.6,0.5).