TL;DR
This paper introduces FedLN, a novel federated learning framework designed to tackle the pervasive issue of noisy labels in decentralized datasets. By incorporating label noise correction during both model initialization and server-side aggregation, FedLN significantly improves model generalization, achieving an average of 24% higher accuracy compared to state-of-the-art methods under substantial label noise.
What Problem Does This Paper Address?
Federated Learning (FL) allows training machine learning models across decentralized datasets while preserving user privacy. A key assumption in most FL approaches is that the data on each client is accurately labeled. However, in real-world FL scenarios, labels can be noisy due to various factors like user input errors or automated labeling systems. This label noise is often non-uniformly distributed across clients (non-i.i.d.), making it challenging for standard FL algorithms to generalize well. Existing solutions for centralized learning with noisy labels are often ineffective in the FL setting, and previous FL-specific methods either require extensive data exchange or repeated server interventions, potentially compromising privacy or efficiency. This paper aims to bridge this gap by proposing a robust FL framework that can effectively handle label noise without compromising privacy or introducing significant overhead.
Methods
FedLN introduces two primary techniques to combat label noise:
- Nearest Neighbor-based Correction (NNC): This method is applied during the FL initialization phase. It leverages embeddings extracted from a self-supervised pre-trained model. By using a k-Nearest Neighbors (kNN) approach on these embeddings, NNC identifies potentially mislabeled instances as outliers within their local neighborhood. It then corrects these labels using a majority voting mechanism. The key advantage here is that embeddings from self-supervised models are often robust to label noise, and this correction happens locally on each client, preserving privacy.
- Noise-aware Federated Averaging (NA-FedAvg): This technique addresses label noise during the server-side model aggregation. Instead of simply averaging model updates, NA-FedAvg estimates a "noise level" for each client. This estimation is based on an "energy score" applied to the model's outputs (logits) on the client's data. By considering the number of samples and the estimated noisy labels, NA-FedAvg adjusts the influence of each client's update on the global model, giving less weight to clients with higher estimated noise. This approach is computationally inexpensive and requires no client-side modifications beyond the standard FL training process.
Datasets
The authors evaluated FedLN on a variety of publicly available datasets:
- Vision Datasets: CIFAR-10, FashionMNIST, and PathMNIST.
- Audio Datasets: SpeechCommands (v2).
- Real-world Noisy Datasets: CIFAR-10N and CIFAR-100N, which are human-annotated versions of CIFAR datasets with approximately 40% label noise, reflecting real-world annotation errors.
These datasets cover diverse domains and tasks, allowing for a comprehensive evaluation of FedLN's effectiveness.
Key Insights and Ideas
- Label noise is a critical challenge in real-world FL: The paper strongly emphasizes that assuming clean labels in FL is unrealistic and significantly hinders model performance.
- NNC is powerful but has limitations: While NNC shows significant improvements, it can amplify label noise in specific "class-flipping" scenarios where the majority vote incorrectly identifies the noisy label.
- NA-FedAvg offers a practical solution: This method provides a robust way to handle noise during aggregation without extra computational burden on clients, making it suitable for resource-constrained devices.
- FedLN's effectiveness extends to real-world noise: The framework demonstrates its value not just with synthetically generated noise but also on datasets with naturally occurring human annotation errors.
Key Results
- FedLN achieved an average improvement of 24.82% in accuracy across various datasets when tested with a 70% label noise level, compared to standard Federated Averaging (FedAvg).
- NNC, when used alone, provided the largest performance improvements across most noise profiles.
- NA-FedAvg showed consistent effectiveness across all noise profiles without additional computational overhead.
- On the CIFAR-10N/100N datasets (real-world noise), FedLN improved recognition rates by 8% on average compared to standard FL.
Limitations and Future Work
- NNC's vulnerability to class-flipping: The paper acknowledges that NNC can struggle when the majority vote in kNN label estimation points to the incorrect, noisy class, potentially amplifying the noise.
- Future work could explore: While not explicitly detailed, the success of FedLN suggests further research into more sophisticated noise estimation techniques for NA-FedAvg and hybrid approaches that combine the strengths of NNC and NA-FedAvg more dynamically. Investigating the impact of different self-supervised pre-training models for NNC could also be a promising direction.
Summary updated