[Paper Review] Rethinking Client Drift in Federated Learning: A Logit Perspective
This paper proposes FedCSD, a novel federated learning framework that mitigates client drift by aligning local and global model logits through class prototype similarity distillation. By adaptively filtering unreliable global soft labels via a dynamic mask, FedCSD reduces catastrophic forgetting and improves performance across non-IID data settings, outperforming state-of-the-art methods on CIFAR-100 and FEMNIST with up to 71.53% accuracy.
Federated Learning (FL) enables multiple clients to collaboratively learn in a distributed way, allowing for privacy protection. However, the real-world non-IID data will lead to client drift which degrades the performance of FL. Interestingly, we find that the difference in logits between the local and global models increases as the model is continuously updated, thus seriously deteriorating FL performance. This is mainly due to catastrophic forgetting caused by data heterogeneity between clients. To alleviate this problem, we propose a new algorithm, named FedCSD, a Class prototype Similarity Distillation in a federated framework to align the local and global models. FedCSD does not simply transfer global knowledge to local clients, as an undertrained global model cannot provide reliable knowledge, i.e., class similarity information, and its wrong soft labels will mislead the optimization of local models. Concretely, FedCSD introduces a class prototype similarity distillation to align the local logits with the refined global logits that are weighted by the similarity between local logits and the global prototype. To enhance the quality of global logits, FedCSD adopts an adaptive mask to filter out the terrible soft labels of the global models, thereby preventing them to mislead local optimization. Extensive experiments demonstrate the superiority of our method over the state-of-the-art federated learning approaches in various heterogeneous settings. The source code will be released.
Motivation & Objective
- To address client drift in federated learning caused by data heterogeneity and non-IID data distributions.
- To investigate the role of logit discrepancy between local and global models in performance degradation.
- To improve model generalization by aligning local logits with refined global logits using class prototype similarity.
- To prevent misguidance from low-quality global soft labels during knowledge distillation.
- To develop a communication-efficient method that maintains global knowledge while adapting to local data.
Proposed method
- FedCSD introduces a class prototype similarity distillation mechanism that aligns local logits with global logits weighted by similarity to the global class prototype.
- It employs an adaptive mask to selectively filter out unreliable global soft labels, preserving valuable but incorrect predictions during early training.
- The adaptive mask dynamically adjusts its filtering rate based on global model accuracy, reducing over-filtering as performance improves.
- The method refines global logits using a weighted average based on local logit similarity to the global prototype, enhancing knowledge transfer quality.
- The local loss function combines cross-entropy with a distillation loss that penalizes divergence from the refined global logits.
- The global model's prototype matrix is communicated once per round, adding negligible communication cost (O(|Y|²)).
Experimental results
Research questions
- RQ1How does the difference in logits between local and global models evolve during federated training under non-IID data?
- RQ2To what extent does logit shift contribute to performance degradation in federated learning?
- RQ3Can aligning local and global logits effectively reduce feature distribution shift and improve generalization?
- RQ4How does the quality of global soft labels impact knowledge distillation in FL, and how can it be improved?
- RQ5Can an adaptive mask that preserves some incorrect soft labels improve generalization compared to a strict filter?
Key findings
- FedCSD achieves 71.53% test accuracy on CIFAR-100 under label skew with β=5, outperforming FedAvg and other SOTA methods.
- The adaptive mask consistently improves performance over a forceful mask that removes all wrong soft labels, especially as global model accuracy increases.
- On FEMNIST, FedCSD significantly reduces feature distribution shift, with better class clustering and decision boundaries in feature space.
- The method shows faster convergence and more stable training curves compared to FedAvg, particularly in label skew settings.
- Visualizations confirm that FedCSD preserves global knowledge in local models, preventing overfitting to local data bias.
- Communication cost is minimal, as only the |Y|×|Y| prototype matrix is transmitted per round, making it scalable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.