[Paper Review] Fed-CBS: A Heterogeneity-Aware Client Sampling Mechanism for Federated Learning via Class-Imbalance Reduction
Fed-CBS is a heterogeneity-aware client sampling mechanism for federated learning that reduces class-imbalance in selected client data by leveraging a privacy-preserving class-imbalance metric. It achieves higher test accuracy (2–7% improvement) and faster convergence than random sampling, even outperforming full-client participation in some non-IID settings.
Due to limited communication capacities of edge devices, most existing federated learning (FL) methods randomly select only a subset of devices to participate in training for each communication round. Compared with engaging all the available clients, the random-selection mechanism can lead to significant performance degradation on non-IID (independent and identically distributed) data. In this paper, we show our key observation that the essential reason resulting in such performance degradation is the class-imbalance of the grouped data from randomly selected clients. Based on our key observation, we design an efficient heterogeneity-aware client sampling mechanism, i.e., Federated Class-balanced Sampling (Fed-CBS), which can effectively reduce class-imbalance of the group dataset from the intentionally selected clients. In particular, we propose a measure of class-imbalance and then employ homomorphic encryption to derive this measure in a privacy-preserving way. Based on this measure, we also design a computation-efficient client sampling strategy, such that the actively selected clients will generate a more class-balanced grouped dataset with theoretical guarantees. Extensive experimental results demonstrate Fed-CBS outperforms the status quo approaches. Furthermore, it achieves comparable or even better performance than the ideal setting where all the available clients participate in the FL training.
Motivation & Objective
- Address performance degradation in federated learning due to non-IID data and random client selection.
- Identify class-imbalance in grouped client data as the root cause of performance drop in random sampling.
- Develop a client sampling mechanism that maintains class-balance in the aggregated training data without compromising privacy.
- Provide theoretical convergence guarantees and NP-hardness analysis for the client selection problem under class-imbalance constraints.
- Demonstrate that Fed-CBS outperforms both random sampling and full-client participation in non-IID, class-imbalanced FL settings.
Proposed method
- Propose a privacy-preserving class-imbalance metric, QCID (Quantified Class-Imbalance Degree), derived from local client data distributions.
- Design a client sampling strategy that minimizes QCID to ensure the aggregated dataset remains class-balanced.
- Introduce a threshold-based selection mechanism where the threshold ε is set based on the number of classes and desired balance.
- Formulate the client selection as an optimization problem with theoretical convergence guarantees under non-IID data.
- Integrate Fed-CBS with existing FL algorithms as a plug-in module to enhance performance without altering core training procedures.
- Use a greedy approximation algorithm to solve the NP-hard client selection problem efficiently in practice.
Experimental results
Research questions
- RQ1Why does random client selection degrade model performance in non-IID federated learning settings?
- RQ2Can class-imbalance in the aggregated data from selected clients be quantified in a privacy-preserving manner?
- RQ3How can client sampling be optimized to minimize class-imbalance while maintaining communication efficiency?
- RQ4Does a heterogeneity-aware sampling strategy like Fed-CBS outperform random selection and full-client participation in terms of accuracy and convergence?
- RQ5Can Fed-CBS be integrated with existing FL optimization techniques to further improve performance?
Key findings
- Fed-CBS reduces class-imbalance in the aggregated training data by minimizing the QCID metric, leading to improved model generalization.
- On CIFAR-10 with α=0.2, Fed-CBS improves test accuracy by 2–7% compared to random client selection and baseline methods.
- Fed-CBS accelerates convergence, requiring only 980 ± 17 communication rounds to reach 75% test accuracy on FEMNIST, outperforming random selection (1106 ± 24 rounds).
- Even when selecting only 30 clients (less than 1% of 3550 clients), Fed-CBS achieves better performance than selecting 120 clients randomly on FEMNIST.
- The method outperforms the ideal case of full-client participation when the global dataset is class-imbalanced, demonstrating the critical role of class-balance in client selection.
- Experiments confirm that setting ε based on the number of classes improves selection quality, with optimal performance when M > 10 clients are selected.
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.