Quantifying the Impact of Label Noise on Federated Learning

Shuqi Ke, Chao Huang, Xin LiuarXiv 2022

Abstract

Federated Learning (FL) is a distributed machine learning paradigm where clients collaboratively train a model using their local datasets. While existing studies focus on FL algorithm development to tackle data heterogeneity across clients, the important issue of data quality (e.g., label noise) in FL is overlooked. This paper aims to fill this gap by providing a quantitative study on the impact of label noise on FL. We derive an upper bound for the generalization error that is linear in the clients' label noise level. Then we conduct experiments on MNIST and CIFAR-10 datasets using various FL algorithms. Our empirical results show that the global model accuracy linearly decreases as the noise level increases, which is consistent with our theoretical analysis. We further find that label noise slows down the convergence of FL training, and the global model tends to overfit when the noise level is high.

Introduction

Federated Learning (FL) enables multiple decentralized clients, such as hospitals or mobile devices, to collaboratively train a shared global model without exchanging raw data. This architecture preserves privacy but introduces challenges related to data heterogeneity. While previous research has extensively explored performance under varying data distributions, the impact of data quality—specifically label noise—has remained under-studied.

Federated Learning Architecture

In real-world applications, labels are often imperfect due to human error or sensor inaccuracies. This paper systematically quantifies how such noise propagates through the FL architecture, affecting both model convergence and final generalization performance.

Methodology and Theoretical Framework

The study employs a dual approach combining theoretical derivation with empirical validation.

Theoretical Analysis

The researchers derived a mathematical upper bound for the generalization error, which represents the performance gap between training and real-world inference. A key component of this analysis is the path-norm metric. For a ReLU neural network, the path-norm is defined as the sum of the products of weights along all possible paths from input to output. This metric serves as a proxy for model capacity and its ability to generalize.

Path-Norm Calculation

Algorithmic Comparison

The study evaluates three prominent FL algorithms under noisy conditions:

  • FedAvg: The baseline stochastic gradient descent-based aggregation.
  • SCAFFOLD: Designed to mitigate "client drift" caused by data heterogeneity.
  • FedNova: An approach that normalizes local updates to account for varying amounts of local computation.

Experimental Setup

Experiments were conducted using benchmark computer vision datasets: MNIST (handwritten digits) and CIFAR-10 (natural images). To simulate realistic FL environments, the authors introduced synthetic label noise by flipping labels at varying percentages. They also modeled "non-IID" scenarios with label imbalances and instance-dependent noise to test the robustness of the algorithms.

Results and Analysis

The study yielded several critical insights into the behavior of FL systems under label noise:

  1. Linear Error Scaling: Both theoretical bounds and empirical results confirm that the relationship between noise level and generalization error is roughly linear. In 2-client MNIST experiments, the linear regression achieved an $R^2$ of 0.98, indicating a highly predictable degradation in accuracy as noise increases.
  2. Convergence Impediment: Label noise acts as a significant bottleneck for training speed. Models trained on noisy datasets require substantially more communication rounds to reach stability compared to clean datasets.
  3. Overfitting and Memorization: High noise levels trigger a "memorization" phase where the global model begins to fit the noise of individual clients rather than generalizable patterns. This leads to a characteristic drop in test accuracy during the later stages of training.
  4. Algorithm Robustness: While SCAFFOLD excels in low-noise environments, FedNova demonstrates superior robustness when data corruption is extensive.

Conclusion

This research provides a foundational "white-box" understanding of how label noise dictates the success of Federated Learning. By proving a linear upper bound on generalization error and identifying the mechanisms of convergence delay and overfitting, the authors move the field toward more predictable and robust distributed learning systems. Future work will focus on scaling these insights to "cross-device" FL with millions of clients and refining the tightness of the theoretical bounds.

Summary updated

BibTeX
@misc{ke2022quantifying,
  author = {Shuqi Ke and Chao Huang and Xin Liu},
  title = {{Quantifying the Impact of Label Noise on Federated Learning}},
  year = {2022},
  eprint = {2211.07816},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.07816},
}
Figure