Skip to main content
QUICK REVIEW

[Paper Review] Federated learning with class imbalance reduction

Miao Yang, Akitanoshou Wong|arXiv (Cornell University)|Nov 23, 2020
Privacy-Preserving Technologies in DataComputer Science17 references9 citations
TL;DR

This paper proposes a client selection algorithm for federated learning that reduces class imbalance without accessing raw client data. By estimating class distributions from model gradients and using a contextual multi-armed bandit framework, the method improves global model convergence and accuracy, outperforming greedy and random selection strategies in non-IID settings.

ABSTRACT

Federated learning (FL) is a promising technique that enables a large amount of edge computing devices to collaboratively train a global learning model. Due to privacy concerns, the raw data on devices could not be available for centralized server. Constrained by the spectrum limitation and computation capacity, only a subset of devices can be engaged to train and transmit the trained model to centralized server for aggregation. Since the local data distribution varies among all devices, class imbalance problem arises along with the unfavorable client selection, resulting in a slow converge rate of the global model. In this paper, an estimation scheme is designed to reveal the class distribution without the awareness of raw data. Based on the scheme, a device selection algorithm towards minimal class imbalance is proposed, thus can improve the convergence performance of the global model. Simulation results demonstrate the effectiveness of the proposed algorithm.

Motivation & Objective

  • Address the challenge of class imbalance in federated learning due to non-i.i.d. client data distributions.
  • Develop a client selection strategy that minimizes class imbalance without requiring access to raw client data.
  • Improve the convergence speed and accuracy of the global model in FL under privacy and resource constraints.
  • Design a learning-based client selection mechanism that balances exploration and exploitation in client selection.

Proposed method

  • Estimate local class distributions at each client using only updated model gradients, avoiding exposure of raw data.
  • Formulate the client selection problem as a contextual multi-armed bandit (CMAB) problem to balance exploration and exploitation.
  • Use a reinforcement learning-based algorithm with an exploration factor α and forgetting factor ρ to dynamically select clients with balanced class compositions.
  • Apply a normalization factor β to stabilize the learning process and ensure robustness in client selection.
  • Integrate the client selection into the FedAvg framework, where selected clients train locally and transmit only model weights for global aggregation.
  • Leverage cross-entropy loss and stochastic gradient descent (SGD) for local training, with fixed hyperparameters for consistency across experiments.

Experimental results

Research questions

  • RQ1Can class imbalance in federated learning be effectively reduced without accessing raw client data?
  • RQ2How does a gradient-based class distribution estimation scheme compare to direct data access in terms of accuracy and privacy?
  • RQ3To what extent does a CMAB-based client selection strategy improve convergence speed and final model accuracy compared to greedy or random selection?
  • RQ4What is the optimal trade-off between exploration and exploitation in client selection under non-i.i.d. data conditions?
  • RQ5How does the number of selected clients affect convergence performance and communication efficiency?

Key findings

  • The proposed algorithm achieves faster convergence and higher global test accuracy compared to both greedy and random client selection schemes.
  • The performance gap between the proposed method and random selection is primarily due to effective mitigation of class imbalance through better client set selection.
  • Compared to the greedy scheme, the proposed method achieves better balance between exploration and exploitation, leading to discovery of more optimal client combinations.
  • Increasing the number of selected clients improves performance, but the gains diminish beyond a certain point, indicating diminishing returns from larger client sets.
  • An optimal exploration factor α (set to 0.2 in simulations) is critical—too low leads to insufficient exploration, while too high causes performance degradation due to suboptimal exploration choices.
  • The algorithm significantly outperforms baseline schemes in non-IID settings, while maintaining comparable performance in IID settings, confirming its effectiveness in imbalanced scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.