Abstract
Federated Learning (FL) is a distributed machine learning method that allows multiple clients to collaborate on model training without sharing raw data. However, FL faces challenges with data heterogeneity, leading to reduced model accuracy and slower convergence. Although existing client selection methods can alleviate the above problems, there is still room to improve FL performance. To tackle these problems, we first propose a novel client selection method based on Multi-Armed Bandit (MAB). The method uses the historical training information uploaded by each client to calculate its correlation and contribution. The calculated values are then used to select a set of clients that can bring the most benefit, i.e., maximizing both model accuracy and convergence speed. Second, we propose an adaptive global model aggregation method that utilizes the local training information of selected clients to dynamically assign weights to local model parameters. Extensive experiments on various datasets with different heterogeneous settings demonstrate that our proposed method is effectively improving FL performance compared to several benchmarks.









Similar content being viewed by others
Data availability
The data underlying this article is available from the corresponding author on reasonable request.
References
McMahan, B., Moore, E., Ramage, D., Hampson, S., Arcas, B.A.: Communication-efficient learning of deep networks from decentralized data. In: Artificial Intelligence and Statistics, pp. 1273–1282. PMLR (2017)
Li, L., Fan, Y., Tse, M., Lin, K.-Y.: A review of applications in federated learning. Comput. Ind. Eng. 149, 106854 (2020)
Li, T., Sahu, A.K., Talwalkar, A., Smith, V.: Federated learning: challenges, methods, and future directions. IEEE Signal Process. Mag. 37(3), 50–60 (2020)
Zhang, C., Xie, Y., Bai, H., Yu, B., Li, W., Gao, Y.: A survey on federated learning. Knowl. Based Syst. 216, 106775 (2021)
Kairouz, P., McMahan, H.B., Avent, B., Bellet, A., Bennis, M., Bhagoji, A.N., Bonawitz, K., Charles, Z., Cormode, G., Cummings, R.: Advances and open problems in federated learning. Found. Trend. Mach. Learn. 14(1–2), 1–210 (2021)
Zhu, H., Xu, J., Liu, S., Jin, Y.: Federated learning on non-iid data: a survey. Neurocomputing 465, 371–390 (2021)
Li, Q., Wen, Z., Wu, Z., Hu, S., Wang, N., Li, Y., Liu, X., He, B.: A survey on federated learning systems: vision, hype and reality for data privacy and protection. IEEE Trans. Knowl. Data Eng. 35(4), 3347–3366 (2023)
Soltani, B., Haghighi, V., Mahmood, A., Sheng, Q.Z., Yao, L.: A survey on participant selection for federated learning in mobile networks. In: Proceedings of the 17th ACM Workshop on Mobility in the Evolving Internet Architecture, pp. 19–24 (2022)
Soltani, B., Zhou, Y., Haghighi, V., Lui, J.C.S.: A survey of federated evaluation in federated learning. In: International Joint Conference on Artificial Intelligence (2023)
Smestad, C., Li, J.: A systematic literature review on client selection in federated learning. In: Proceedings of the 27th International Conference on Evaluation and Assessment in Software Engineering, pp. 2–11 (2023)
Nishio, T., Yonetani, R.: Client selection for federated learning with heterogeneous resources in mobile edge. In: ICC 2019-2019 IEEE International Conference on Communications (ICC), pp. 1–7 (2019). IEEE
Cho, Y.J., Wang, J., Joshi, G.: Towards understanding biased client selection in federated learning. In: International Conference on Artificial Intelligence and Statistics, pp. 10351–10375. PMLR (2022)
Fraboni, Y., Vidal, R., Kameni, L., Lorenzi, M.: Clustered sampling: Low-variance and improved representativity for clients selection in federated learning. In: International Conference on Machine Learning (ICML), pp. 3407–3416. PMLR (2021)
Rai, S., Kumari, A., Prasad, D.K.: Client selection in federated learning under imperfections in environment. AI 3(1), 124–145 (2022)
Zhao, J., Feng, Y., Chang, X., Liu, C.H.: Energy-efficient client selection in federated learning with heterogeneous data on edge. Peer-to-Peer Netw. Appl. 15(2), 1139–1151 (2022)
Li, Q., He, B., Song, D.: Model-contrastive federated learning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10713–10722 (2021)
Li, T., Meng, Z., Ni, B., Shen, J., Wang, M.: Robust geometric p-norm feature pooling for image classification and action recognition. Image Vis. Comput. 55, 64–76 (2016). (Handcrafted vs. Learned Representations for Human Action Recognition)
Yu, P., Liu, Y.: Federated object detection: Optimizing object detection model with federated learning. In: Proceedings of the 3rd International Conference on Vision, Image and Signal Processing, pp. 1–6 (2019)
Liu, Y., Huang, A., Luo, Y., Huang, H., Liu, Y., Chen, Y., Feng, L., Chen, T., Yu, H., Yang, Q.: Fedvision: an online visual object detection platform powered by federated learning. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, pp. 13172–13179 (2020)
Wicaksana, J., Yan, Z., Zhang, D., Huang, X., Wu, H., Yang, X., Cheng, K.-T.: Fedmix: mixed supervised federated learning for medical image segmentation. IEEE Trans. Med. Imaging (2022)
Li, T., Cheng, B., Ni, B., Liu, G., Yan, S.: Multitask low-rank affinity graph for image segmentation and image annotation. ACM Trans. Intell. Syst. Technol. 7(4) (2016)
Xiong, B., Yang, X., Qi, F., Xu, C.: A unified framework for multi-modal federated learning. Neurocomputing 480, 110–118 (2022)
Pfeiffer, K., Rapp, M., Khalili, R., Henkel, J.: Federated learning for computationally-constrained heterogeneous devices: a survey. ACM Comput. Surv. (2023)
Díaz, J.S.-P., García, Á.L.: Study of the performance and scalability of federated learning for medical imaging with intermittent clients. Neurocomputing 518, 142–154 (2023)
Li, T., Sahu, A.K., Zaheer, M., Sanjabi, M., Talwalkar, A., Smith, V.: Federated optimization in heterogeneous networks. Proc. Mach. Learn. Syst. 2, 429–450 (2020)
Karimireddy, S.P., Kale, S., Mohri, M., Reddi, S., Stich, S., Suresh, A.T.: Scaffold: Stochastic controlled averaging for federated learning. In: International Conference on Machine Learning (ICML), pp. 5132–5143. PMLR (2020)
Li, X., Jiang, M., Zhang, X., Kamp, M., Dou, Q.: Fedbn: Federated learning on non-iid features via local batch normalization (2021). arXiv preprint arXiv:2102.07623
Wang, J., Liu, Q., Liang, H., Joshi, G., Poor, H.V.: Tackling the objective inconsistency problem in heterogeneous federated optimization. Adv. Neural Inform. Process. Syst. 33, 7611–7623 (2020)
Qi, P., Chiaro, D., Guzzo, A., Ianni, M., Fortino, G., Piccialli, F.: Model aggregation techniques in federated learning: a comprehensive survey. Fut. Gen. Comput. Syst. 150, 272–293 (2024)
Kim, Y.J., Hong, C.S.: Blockchain-based node-aware dynamic weighting methods for improving federated learning performance. In: 2019 20th Asia-pacific Network Operations and Management Symposium (APNOMS), pp. 1–4. IEEE (2019)
Wu, H., Wang, P.: Fast-convergent federated learning with adaptive weighting. IEEE Trans. Cogn. Commun. Netw. 7(4), 1078–1088 (2021)
Wang, H., Xu, H., Li, Y., Xu, Y., Li, R., Zhang, T.: FedCDA: federated learning with cross-rounds divergence-aware aggregation. In: The Twelfth International Conference on Learning Representations (2024)
Rehman, Y.A.U., Gao, Y., Gusmao, P.P.B., Alibeigi, M., Shen, J., Lane, N.D.: L-dawa: Layer-wise divergence aware weight aggregation in federated self-supervised visual representation learning. In: Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 16464–16473 (2023)
Xin, F., Zhang, J., Luo, J., Dong, F.: Federated learning client selection mechanism under system and data heterogeneity. In: 2022 IEEE 25th International Conference on Computer Supported Cooperative Work in Design (CSCWD), pp. 1239–1244. IEEE (2022)
Rjoub, G., Wahab, O.A., Bentahar, J., Cohen, R., Bataineh, A.S.: Trust-augmented deep reinforcement learning for federated learning client selection. Inform. Syst. Front. 1–18 (2022)
Fu, L., Zhang, H., Gao, G., Zhang, M., Liu, X.: Client selection in federated learning: principles, challenges, and opportunities. IEEE Internet Things J. (2023)
Duan, M., Liu, D., Chen, X., Tan, Y., Ren, J., Qiao, L., Liang, L.: Astraea: Self-balancing federated learning for improving classification accuracy of mobile deep learning applications. In: 2019 IEEE 37th International Conference on Computer Design (ICCD), pp. 246–254. IEEE (2019)
Cheng, Z., Min, M., Liwang, M., Gao, Z., Huang, L.: Joint client selection and task assignment for multi-task federated learning in mec networks. In: 2021 IEEE Global Communications Conference (GLOBECOM), pp. 1–6. IEEE (2021)
Yoshida, N., Nishio, T., Morikura, M., Yamamoto, K.: Mab-based client selection for federated learning with uncertain resources in mobile networks. In: 2020 IEEE Globecom Workshops (GC Wkshps), pp. 1–6. IEEE (2020)
Cho, Y.J., Gupta, S., Joshi, G., Yağan, O.: Bandit-based communication-efficient client selection strategies for federated learning. In: 2020 54th Asilomar Conference on Signals, Systems, and Computers, pp. 1066–1069. IEEE (2020)
Lai, F., Zhu, X., Madhyastha, H.V., Chowdhury, M.: Oort: efficient federated learning via guided participant selection. In: 15th \(\{\)USENIX\(\}\) Symposium on Operating Systems Design and Implementation (\(\{\)OSDI\(\}\) 21), pp. 19–35 (2021)
Cao, H., Pan, Q., Zhu, Y., Liu, J.: Birds of a feather help: Context-aware client selection for federated learning. In: Proceedings of International Workshop on Trustable, Verifiable and Auditable Federated Learning in Conjunction with AAAI (2022)
Liu, J., Huang, J., Zhou, Y., Li, X., Ji, S., Xiong, H., Dou, D.: From distributed machine learning to federated learning: a survey. Knowl. Inform. Syst. 64(4), 885–917 (2022)
Mansour, A.B., Carenini, G., Duplessis, A., Naccache, D.: Federated learning aggregation: New robust algorithms with guarantees. In: 2022 21st IEEE International Conference on Machine Learning and Applications (ICMLA), pp. 721–726. IEEE (2022)
Wang, Z., Xu, H., Liu, J., Xu, Y., Huang, H., Zhao, Y.: Accelerating federated learning with cluster construction and hierarchical aggregation. IEEE Trans. Mob. Comput. (2022)
Wang, H., Yurochkin, M., Sun, Y., Papailiopoulos, D., Khazaeni, Y.: Federated learning with matched averaging (2020). arXiv preprint arXiv:2002.06440
Sannara, E., Portet, F., Lalanda, P., German, V.: A federated learning aggregation algorithm for pervasive computing: Evaluation and comparison. In: 2021 IEEE International Conference on Pervasive Computing and Communications (PerCom), pp. 1–10. IEEE (2021)
Chen, S., Shen, C., Zhang, L., Tang, Y.: Dynamic aggregation for heterogeneous quantization in federated learning. IEEE Trans. Wirel. Commun. 20(10), 6804–6819 (2021)
Deng, Y., Lyu, F., Ren, J., Chen, Y.-C., Yang, P., Zhou, Y., Zhang, Y.: Fair: Quality-aware federated learning with precise user incentive and model aggregation. In: IEEE INFOCOM 2021-IEEE Conference on Computer Communications, pp. 1–10. IEEE (2021)
Wang, Y., Kantarci, B.: Reputation-enabled federated learning model aggregation in mobile platforms. In: ICC 2021-IEEE International Conference on Communications, pp. 1–6 (2021). IEEE
Krizhevsky, A., Hinton, G., et al.: Learning multiple layers of features from tiny images (2009)
LeCun, Y., Bottou, L., Bengio, Y., Haffner, P.: Gradient-based learning applied to document recognition. Proc. IEEE 86(11), 2278–2324 (1998)
Xiao, H., Rasul, K., Vollgraf, R.: Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms (2017). arXiv preprint arXiv:1708.07747
Balakrishnan, R., Li, T., Zhou, T., Himayat, N., Smith, V., Bilmes, J.: Diverse client selection for federated learning via submodular maximization. In: International Conference on Learning Representations (ICLR) (2022)
Li, Q., Diao, Y., Chen, Q., He, B.: Federated learning on non-iid data silos: An experimental study. In: 2022 IEEE 38th International Conference on Data Engineering (ICDE), pp. 965–978 (2022). IEEE
Zeng, D., Liang, S., Hu, X., Wang, H., Xu, Z.: Fedlab: a flexible federated learning framework. J. Mach. Learn. Res. 24, 100–1 (2023)
Acknowledgements
This work was supported by the National Natural Science Foundation of China (12201185) and the Kaifeng Science and Technology R &D Project (No.2201009).
Author information
Authors and Affiliations
Contributions
R. Zhai, H. Jin, and K. Lu contributed to the study conception and design. R. Zhai and H. Jin conducted experiments and wrote the initial manuscript. R. Zhai, W. Gong, and K. Lu reviewed and edited it. K. Lu, Y. Liu, Y. Song, and J. Yu supervised the manuscript writing progress. All authors reviewed the manuscript.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no Conflict of interest.
Additional information
Communicated by Teng Li.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Zhai, R., Jin, H., Gong, W. et al. Adaptive client selection and model aggregation for heterogeneous federated learning. Multimedia Systems 30, 211 (2024). https://doi.org/10.1007/s00530-024-01386-w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00530-024-01386-w