Research Article

Optimized federated learning based on Adagrad algorithm and algorithm optimization

Enming Chu1, Dengbo Li1, Yangfan Tong2,*
1. Xi’an University of Posts & Telecommunications
2. Xiamen University Malaysia

* Corresponding author: [email protected]

Abstract

Federated learning allows you to train machine learning models without sharing your local data. Due to the No-iid problem, this paper is based on the Moon algorithm, which can have excellent performance in datasets of images with models that use deep learning and outperforms FedAvg, FedProx, and other algorithms, with the goal to decrease communication costs while enhancing efficiency more effectively. This study optimizes its gradient descent technique based on Moon's algorithm by utilizing Adaptive Gradient (AdaGrad) optimizer and combining with knowledge distillation to improve Moon's algorithm in order to better reduce communication costs and improve efficiency. That is, it reduces the loss and improves the accuracy faster and better in local training. In this paper, we experimentally show that the optimized moon can better solve the communication cost and improve the accuracy rate.

Keywords: AdaGrad; moon; federated learning; algorithm optimization
Published: October 23, 2023
DOI: 10.54254/2755-2721/19/20231000
Volume: ACE Vol.19
pp. 9-17
Download PDF

References

  1. T. Zhang, L. Gao, C. He, M. Zhang, B. Krishnamachari, and A. S. Avestimehr, “Federated Learning for the Internet of Things: Applications, Challenges, and Opportunities,” IEEE Internet of Things Magazine, vol. 5, no. 1, pp. 24–29, Mar. 2022.
  2. T. Li, A. K. Sahu, A. Talwalkar, and V. Smith, “Federated Learning: Challenges, Methods, and Future Directions,” IEEE Signal Processing Magazine, vol. 37, no. 3, pp. 50–60, May 2020.
  3. E. by: P. Kairouz and H. B. McMahan, “Advances and Open Problems in Federated Learning,” Foundations and Trends® in Machine Learning, vol. 14, no. 1, 2021.
  4. L. Fu, H. Zhang, G. Gao, H. Wang, M. Zhang, and X. Liu, “Client Selection in Federated Learning: Principles, Challenges, and Opportunities,” arXiv:2211.01549 [cs], Nov. 2022, Accessed: May 02, 2023. [Online].
  5. X. Li, K. Huang, W. Yang, S. Wang, and Z. Zhang, “On the Convergence of FedAvg on Non-IID Data,” arXiv:1907.02189 [cs, math, stat], Jun. 2020.
  6. Q. Li, B. He, and D. Song, “Model-Contrastive Federated Learning,” Computer Vision and Pattern Recognition, Jun. 2021.
  7. T. Chen, S. Kornblith, M. Norouzi, and G. Hinton, “A Simple Framework for Contrastive Learning of Visual Representations,” arXiv:2002.05709 [cs, stat], Jun. 2020.
  8. K. Sohn, “Improved Deep Metric Learning with Multi-class N-pair Loss Objective,” Neural Information Processing Systems, 2016.
  9. G. Hinton, O. Vinyals, and J. Dean, “Distilling the Knowledge in a Neural Network,” arXiv:1503.02531 [cs, stat], Mar. 2015.
  10. DuchiJohn, HazanElad, and SingerYoram, “Adaptive Subgradient Methods for Online Learning and Stochastic Optimization,” Journal of Machine Learning Research, Jul. 2011.
  11. J. Zhang, S. Guo, X. Ma, H. Wang, W. Xu, and F. Wu, “Parameterized Knowledge Transfer for Personalized Federated Learning,” arXiv:2111.02862 [cs], Nov. 2021, Accessed: May 02, 2023. [Online].