Federated Noisy Client Learning

Kahou Tam, Li Li, Bo Han, Cheng-Zhong Xu, Huazhu Fu

TL;DR

This paper introduces Fed-NCL, a novel framework for federated learning that robustly handles noisy clients. By identifying and mitigating the negative impact of clients with corrupted data labels, Fed-NCL significantly improves the performance and convergence of global models, even in challenging heterogeneous settings.

What Problem Does This Paper Address?

Federated Learning (FL) is a powerful paradigm for training machine learning models collaboratively across decentralized devices while preserving data privacy. However, a critical challenge in real-world FL deployments is the presence of "noisy clients" – clients whose local data contains corrupted labels. Standard FL methods, like FedAvg, naively aggregate models from all clients, leading to a degradation in the global model's performance, slower convergence, and biased representations, especially in deeper network layers. This paper addresses the need for an FL framework that can effectively identify and mitigate the negative effects of these noisy clients without requiring access to private data or relying on external benchmark datasets.

Methods

The proposed Fed-NCL framework tackles noisy clients through a three-stage process:

  1. Noisy Client Detection: Fed-NCL identifies noisy clients without relying on benchmark data. It assigns a "reliability score" to each client, which combines two metrics:
  2. Model Divergence: Measures how much a client's local model parameters deviate from the global model's parameters (using L2 distance). Noisy clients tend to diverge more.
  3. Data Quality (Empirical Risk): Assesses the client's cross-entropy loss on its local data using the global model. Clients with clean data are expected to have lower empirical risk. An anomaly detection approach, using a normal distribution heuristic, then flags clients with low reliability scores as noisy.

  4. Robust Layer-wise Aggregation: Instead of a simple global aggregation, Fed-NCL employs a layer-wise approach. It dynamically penalizes noisy clients based on their reliability scores and the layer's divergence from the global model. This ensures that the aggregation process is guided more by clean clients, especially in deeper layers where noisy clients have a more pronounced negative impact.

  5. Label Correction: For identified noisy clients, Fed-NCL performs label correction. It uses the current global model to generate pseudo-labels for the client's local data and relabels instances where the model's prediction confidence exceeds a certain threshold. This helps to improve the generalization of the global model by leveraging the potentially valuable data from noisy clients.

Datasets

The paper evaluates Fed-NCL on three standard datasets:

  • MNIST
  • Fashion MNIST
  • CIFAR-10

These datasets were used with two widely-used deep learning models: LeNet5 and VGG16. The authors also simulate noisy label scenarios using Bernoulli and truncated Gaussian distributions, and explore both IID and Non-IID data partitions.

Key Insights and Ideas

  • Noisy clients disproportionately harm deeper layers: The paper's empirical study reveals that noisy clients introduce greater bias in the deeper layers of a neural network compared to earlier layers. This is a crucial insight for designing targeted aggregation strategies.
  • Benchmark-free noisy client detection is feasible: Fed-NCL demonstrates that it's possible to identify noisy clients effectively by combining local model divergence and empirical risk, without needing pre-existing clean data.
  • Layer-wise aggregation is key: A simple global aggregation is insufficient. By adapting aggregation weights layer by layer, Fed-NCL can better manage the varying impact of noisy clients across different network depths.
  • Leveraging noisy data is possible: Label correction allows Fed-NCL to utilize the data from noisy clients, turning a potential weakness into a strength for improving global model generalization.

Key Results

  • Fed-NCL consistently outperforms baseline methods (FedAvg, Trimmed Mean, FedProx) across various noisy client scenarios (Bernoulli and truncated Gaussian distributions) and datasets (MNIST, Fashion MNIST, CIFAR-10).
  • In scenarios with a high ratio of noisy clients (e.g., 60%), Fed-NCL shows significant robustness, with accuracy drops of only around 2.34% compared to much larger drops for baselines.
  • Fed-NCL achieves substantial accuracy improvements, outperforming baselines by up to 11.23% on MNIST, 19.87% on Fashion MNIST, and 29.37% on CIFAR-10 in challenging settings.
  • The ablation study confirms the importance of each component: removing the penalty for noisy clients or the reliability score criteria significantly degrades performance.

Limitations and Future Work

  • Computational Overhead: While Fed-NCL aims to be efficient, the layer-wise aggregation and reliability score calculation might introduce some computational overhead compared to simpler FL methods.
  • Hyperparameter Tuning: The effectiveness of Fed-NCL relies on tuning parameters like $\beta$ for anomaly detection and $\eta$ for label correction, which might require careful selection for different applications.
  • Future Work: The authors suggest that future work could explore more sophisticated methods for modeling heterogeneous noise distributions and further investigate the impact of feature noise in addition to label noise. They also highlight the need for robust FL frameworks in various real-world applications.

Summary updated

BibTeX
@article{tam2021federated,
  author = {Kahou Tam and Li Li and Bo Han and Cheng-Zhong Xu and Huazhu Fu},
  title = {{Federated Noisy Client Learning}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2021},
  doi = {10.1109/tnnls.2023.3336050},
}
Figure