[Paper Review] Federated Learning with Label Distribution Skew via Logits Calibration
The paper analyzes label distribution skew in federated learning and introduces FedLC, a logits-calibration-based loss to mitigate bias from skewed local data and improve global model performance.
Traditional federated optimization methods perform poorly with heterogeneous data (ie, accuracy reduction), especially for highly skewed data. In this paper, we investigate the label distribution skew in FL, where the distribution of labels varies across clients. First, we investigate the label distribution skew from a statistical view. We demonstrate both theoretically and empirically that previous methods based on softmax cross-entropy are not suitable, which can result in local models heavily overfitting to minority classes and missing classes. Additionally, we theoretically introduce a deviation bound to measure the deviation of the gradient after local update. At last, we propose FedLC ( extbf {Fed} erated learning via extbf {L} ogits extbf {C} alibration), which calibrates the logits before softmax cross-entropy according to the probability of occurrence of each class. FedLC applies a fine-grained calibrated cross-entropy loss to local update by adding a pairwise label margin. Extensive experiments on federated datasets and real-world datasets demonstrate that FedLC leads to a more accurate global model and much improved performance. Furthermore, integrating other FL methods into our approach can further enhance the performance of the global model.
Motivation & Objective
- Investigate how label distribution skew at clients biases local updates and harms the global model in FL.
- Provide a theoretical and empirical study of the limitations of softmax cross-entropy under skew.
- Propose a calibrated cross-entropy loss (FedLC) to counteract class imbalance and missing classes in FL.
- Show that FedLC improves global accuracy across diverse non-IID settings and datasets.
- Explore how integrating FedLC with other FL methods can further enhance performance.
Proposed method
- Define label distribution skew and classify classes into majority, minority, and missing.
- Introduce a deviation bound to quantify gradient deviation after local updates under skew.
- Derive a calibrated cross-entropy loss by calibrating logits with a per-class margin based on class priors.
- Provide an optimal pairwise margin formula Delta(y,i) = tau*(ny^{-1/4} - ni^{-1/4}) and a corresponding calibrated loss.
- Analyze how the calibration affects the deviation bound and reduces local bias during training.
- Experimentally validate FedLC on federated and real-world datasets under both quantity-based and distribution-based skew.
Experimental results
Research questions
- RQ1How does label distribution skew across clients affect local update bias and the global FL objective?
- RQ2Why might standard softmax cross-entropy be unsuitable under skew, and how can logits calibration help?
- RQ3Can a calibrated cross-entropy with pairwise margins improve minority and missing class performance and overall global accuracy?
- RQ4How does FedLC interact with existing FL methods when integrated, and what are the empirical gains?
- RQ5What theoretical guarantees (deviation bounds) accompany the proposed calibration approach?
Key findings
- FedLC consistently outperforms state-of-the-art FL methods under label skew across CIFAR10/100, SVHN, ImageNet-subset, and FEMNIST.
- Calibration reduces bias in local updates, improving minority and missing class accuracy and stabilizing aggregation.
- The calibrated loss introduces a per-class margin that emphasizes underrepresented classes, yielding larger margins for minority/missing classes.
- Theoretical results show a deviation bound and that calibration mitigates gradient deviation after local updates.
- Experiments demonstrate substantial accuracy gains across quantity-based and distribution-based skew as skewness increases.
- Integrating FedLC with other FL methods yields further performance improvements.
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.