Proceedings

FedFa: A Fully Asynchronous Training Paradigm for Federated Learning

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 5281-5288.

https://doi.org/10.24963/ijcai.2024/584

Abstract

Federated learning has been identified as an efficient decentralized training paradigm for scaling the machine learning model training on a large number of devices while guaranteeing the data privacy of the trainers. FedAvg has become a foundational parameter update strategy for federated learning, which has been promising to eliminate the effect of the heterogeneous data across clients and guarantee convergence. However, the synchronization parameter update barriers for each communication round during the training significant time on waiting, slowing down the training procedure. Therefore, recent state-of-the-art solutions propose using semi-asynchronous approaches to mitigate the waiting time cost with guaranteed convergence. Nevertheless, emerging semi-asynchronous approaches are unable to eliminate the waiting time completely.

We propose a full asynchronous training paradigm called FedFa, which can guarantee model convergence and eliminate the waiting time completely for federated learning by using a few buffered results on the server for parameter updating. Further, we provide theoretical proof of the convergence rate for our proposed FedFa. Extensive experimental results indicate our approach effectively improves the training performance of federated learning by up to 6x and 4x speedup compared to the state-of-the-art synchronous and semi-asynchronous strategies while retaining high accuracy in both IID and Non-IID scenarios.

  1. [Bhargava et al., 2021] Prajjwal Bhargava, Aleksandr Drozd, and Anna Rogers. Generalization in nli: Ways (not) to go beyond simple heuristics, 2021.
  2. [Bonawitz et al., 2016] Keith Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone, H Brendan McMa- han, Sarvar Patel, Daniel Ramage, Aaron Segal, and Karn Seth. Practical secure aggregation for federated learning on user-held data. arXiv preprint arXiv:1611.04482, 2016.
  3. [Caldas et al., 2018] Sebastian Caldas, Sai Meher Karthik Duddu, Peter Wu, Tian Li, Jakub Konečnỳ, H Bren- dan McMahan, Virginia Smith, and Ameet Talwalkar. Leaf: A benchmark for federated settings. arXiv preprint:1812.01097, 2018.
  4. [Chai et al., 2020] Zheng Chai, Yujing Chen, Liang Zhao, Yue Cheng, and Huzefa Rangwala. Fedat: A communication-efficient federated learning method with asynchronous tiers under non-iid data. ArXivorg, 2020.
  5. [Cho et al., 2022] Yae Jee Cho, Andre Manoel, Gauri Joshi, Robert Sim, and Dimitriadis. Heterogeneous ensemble knowledge transfer for training large models in federated learning. arXiv preprint arXiv:2204.12703, 2022. IJCAI
  6. [Fraboni et al., 2023] Yann Fraboni, Richard Vidal, Laetitia Kameni, and Marco Lorenzi. A general theory for fed- erated optimization with asynchronous and heterogeneous clients updates. Journal of Machine Learning Research, 24(110):1-43, 2023.
  7. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778, 2016.
  8. [Hsu et al., 2019] Tzu-Ming Harry Hsu, Hang Qi, and Matthew Brown. Measuring the effects of non-identical data distribution for federated visual classification. arXiv preprint arXiv:1909.06335, 2019.
  9. [Hu et al., 2021] Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685, 2021.
  10. [K. and Geoffrey, 2009] Alex K. and H. Geoffrey. Learning multiple layers of features from tiny images. 2009.
  11. [Kairouz et al., 2021] Peter Kairouz, H Brendan McMa- han, Brendan Avent, Aurélien Bellet, Mehdi Bennis, Ar- jun Nitin Bhagoji, Kallista Bonawitz, Zachary Charles, Graham Cormode, Rachel Cummings, et al. Advances and open problems in federated learning. Foundations and Trends® in Machine Learning, 14(1-2):1-210, 2021.
  12. [Karl et al., 2020] Ryan Karl, Jonathan Takeshita, Nirajan Koirla, and Taeho Jung. Cryptonite: A framework for flex- ible time-series secure aggregation with online fault toler- ance. Cryptology ePrint Archive, Paper 2020/1561, 2020.
  13. [Koloskova et al., 2022] Anastasiia Koloskova, Sebastian U Stich, and Martin Jaggi. Sharper convergence guarantees for asynchronous sgd for distributed and federated learn- ing. Advances in Neural Information Processing Systems, 35:17202-17215, 2022.
  14. [Li et al., 2020] Tian Li, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. Federated optimization in heterogeneous networks. Pro- ceedings of MLSys, 2:429-450, 2020.
  15. [Mania et al., 2015] Horia Mania, Xinghao Pan, Dimitris Papailiopoulos, Benjamin Recht, Kannan Ramchandran, and Michael I Jordan. Perturbed iterate analysis for asynchronous stochastic optimization. arXiv preprint arXiv:1507.06970, 2015.
  16. [McMahan et al., 2017] Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Aguera y Ar- cas. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, pages 1273-1282. PMLR, 2017.
  17. [Nguyen et al., 2022] John Nguyen, Kshitiz Malik, Hongyuan Zhan, Ashkan Yousefpour, Mike Rabbat, Mani Malek, and Dzmitry Huba. Federated learning with buffered asynchronous aggregation. In International Conference on Artificial Intelligence and Statistics, pages 3581-3607. PMLR, 2022.
  18. [So et al., 2021] Jinhyun So, Bas ¸ak Güler, and A Salman Avestimehr. Turbo-aggregate: Breaking the quadratic ag- gregation barrier in secure federated learning. IEEE Jour- nal on Selected Areas in Information Theory, 2021.
  19. [Su and Li, 2022] Ningxin Su and Baochun Li. How asyn- chronous can federated learning be? In 2022 IEEE/ACM 30th International Symposium on Quality of Service (IWQoS), pages 1-11. IEEE, 2022.
  20. [U, 2018] Sebastian U. Local sgd converges fast and com- municates little. arXiv preprint arXiv:1805.09767, 2018.
  21. [Wang et al., 2020] Jianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi, and H Vincent Poor. Tackling the objective in- consistency problem in heterogeneous federated optimiza- tion. NeurIPS, 2020.
  22. [Zhang and Wang, 2021] Zhaorui Zhang and Choli Wang. Sapus: Self-adaptive parameter update strategy for dnn training on multi-gpu clusters. IEEE Transactions on Par- allel and Distributed Systems, 33(7):1569-1580, 2021.
  23. [Zhang and Wang, 2022] Zhaorui Zhang and Choli Wang. Mipd: An adaptive gradient sparsification framework for distributed dnns training. IEEE Transactions on Parallel and Distributed Systems, 33(11):3053-3066, 2022.
  24. [Zhang et al., 2022] Zhaorui Zhang, Zhuoran Ji, and Choli Wang. Momentum-driven adaptive synchronization model for distributed dnn training on hpc clusters. Journal of Parallel and Distributed Computing, 159:65-84, 2022.
  25. [Zhao et al., 2018] Yue Zhao, Meng Li, Liangzhen Lai, Naveen Suda, Damon Civin, and Vikas Chandra. Fed- erated learning with non-iid data. arXiv preprint arXiv:1806.00582, 2018.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards