Towards Communication-efficient Federated Learning via Sparse and Aligned Adaptive Optimization
Abstract: Adaptive moment estimation (Adam), as a Stochastic Gradient Descent (SGD) variant, has gained widespread popularity in federated learning (FL) due to its fast convergence. However, federated Adam (FedAdam) algorithms suffer from a threefold increase in uplink communication overhead compared to federated SGD (FedSGD) algorithms, which arises from the necessity to transmit both local model updates and first and second moment estimates from distributed devices to the centralized server for aggregation. Driven by this issue, we propose a novel sparse FedAdam algorithm called FedAdam-SSM, wherein distributed devices sparsify the updates of local model parameters and moment estimates and subsequently upload the sparse representations to the centralized server. To further reduce the communication overhead, the updates of local model parameters and moment estimates incorporate a shared sparse mask (SSM) into the sparsification process, eliminating the need for three separate sparse masks. Theoretically, we develop an upper bound on the divergence between the local model trained by FedAdam-SSM and the desired model trained by centralized Adam, which is related to sparsification error and imbalanced data distribution. By minimizing the divergence bound between the model trained by FedAdam-SSM and centralized Adam, we optimize the SSM to mitigate the learning performance degradation caused by sparsification error. Additionally, we provide convergence bounds for FedAdam-SSM in both convex and non-convex objective function settings, and investigate the impact of local epoch, learning rate and sparsification ratio on the convergence rate of FedAdam-SSM. Experimental results show that FedAdam-SSM outperforms baselines in terms of convergence rate (over 1.1$\times$ faster than the sparse FedAdam baselines) and test accuracy (over 14.5\% ahead of the quantized FedAdam baselines).
- B. A. Salau, A. Rawal, and D. B. Rawat, “Recent advances in artificial intelligence for wireless internet of things and cyber-physical systems: A comprehensive survey,” IEEE Internet Things J., vol. 9, no. 15, pp. 12 916–12 930, 2022.
- Z. Chang, S. Liu, X. Xiong, Z. Cai, and G. Tu, “A survey of recent advances in edge-computing-powered artificial intelligence of things,” IEEE Internet Things J., vol. 8, no. 18, pp. 13 849–13 875, 2021.
- S. B. Baker and W. Xiang, “Artificial intelligence of things for smarter healthcare: A survey of advancements, challenges, and opportunities,” IEEE Commun. Surv. Tutorials, vol. 25, no. 2, pp. 1261–1293, 2023.
- 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 Things Mag., vol. 5, no. 1, pp. 24–29, 2022.
- J. Li, Y. Shao, K. Wei, M. Ding, C. Ma, L. Shi, Z. Han, and H. V. Poor, “Blockchain assisted decentralized federated learning (BLADE-FL): performance analysis and resource allocation,” IEEE Trans. Parallel Distributed Syst., vol. 33, no. 10, pp. 2401–2415, 2022.
- M. Ali, F. Naeem, M. Tariq, and G. Kaddoum, “Federated learning for privacy preservation in smart healthcare systems: A comprehensive survey,” IEEE J. Biomed. Health Informatics, vol. 27, no. 2, pp. 778–789, 2023.
- X. Deng, J. Li, C. Ma, K. Wei, L. Shi, M. Ding, and W. Chen, “Low-latency federated learning with DNN partition in distributed industrial iot networks,” IEEE J. Sel. Areas Commun., vol. 41, no. 3, pp. 755–775, 2023.
- J. Bian, A. A. Arafat, H. Xiong, J. Li, L. Li, H. Chen, J. Wang, D. Dou, and Z. Guo, “Machine learning in real-time internet of things (iot) systems: A survey,” IEEE Internet Things J., vol. 9, no. 11, pp. 8364–8386, 2022.
- M. Wang, W. Fu, X. He, S. Hao, and X. Wu, “A survey on large-scale machine learning,” IEEE Trans. Knowl. Data Eng., vol. 34, no. 6, pp. 2574–2594, 2022.
- X. He, F. Xue, X. Ren, and Y. You, “Large-scale deep learning optimizations: A comprehensive survey,” CoRR, vol. abs/2111.00856, 2021.
- B. Tran, S. Rossi, D. Milios, and M. Filippone, “All you need is a good functional prior for bayesian deep learning,” J. Mach. Learn. Res., vol. 23, pp. 74:1–74:56, 2022.
- Z. Yang, W. Bao, D. Yuan, N. H. Tran, and A. Y. Zomaya, “Federated learning with nesterov accelerated gradient,” IEEE Trans. Parallel Distributed Syst., vol. 33, no. 12, pp. 4863–4873, 2022.
- Y. Zhou, Q. Ye, and J. Lv, “Communication-efficient federated learning with compensated overlap-FedAvg,” IEEE Trans. Parallel Distributed Syst., vol. 33, no. 1, pp. 192–205, 2022.
- C. T. Dinh, N. H. Tran, T. D. Nguyen, W. Bao, A. Y. Zomaya, and B. B. Zhou, “Federated learning with proximal stochastic variance reduced gradient algorithms,” in Proceedings of the 49th International Conference on Parallel Processing, Edmonton, AB, Canada, August 17-20, 2020, pp. 1–11.
- H. Zhu and Q. Ling, “Byzantine-robust aggregation with gradient difference compression and stochastic variance reduction for federated learning,” in Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Virtual and Singapore, May 23-27, 2022, pp. 4278–4282.
- T. Chen, Z. Guo, Y. Sun, and W. Yin, “CADA: communication-adaptive distributed Adam,” in Proceedings of the 24th International Conference on Artificial Intelligence and Statistics, Virtual Event, April 13-15, 2021, pp. 613–621.
- S. Li, Q. Qi, J. Wang, H. Sun, Y. Li, and F. R. Yu, “GGS: general gradient sparsification for federated learning in edge computing,” in Proceedings of the IEEE International Conference on Communications, Dublin, Ireland, June 7-11, 2020, pp. 1–7.
- W. Xian, F. Huang, and H. Huang, “Communication-efficient Adam-type algorithms for distributed data mining,” in Proceedings of the IEEE International Conference on Data Mining, Orlando, FL, USA, November 28 - December 1, 2022, pp. 1245–1250.
- Y. Cui, K. Cao, G. Cao, M. Qiu, and T. Wei, “Client scheduling and resource management for efficient training in heterogeneous IoT-edge federated learning,” IEEE Trans. Comput. Aided Des. Integr. Circuits Syst., vol. 41, no. 8, pp. 2407–2420, 2022.
- W. Gao, Z. Zhao, G. Min, Q. Ni, and Y. Jiang, “Resource allocation for latency-aware federated learning in industrial internet of things,” IEEE Trans. Ind. Informatics, vol. 17, no. 12, pp. 8505–8513, 2021.
- D. Jhunjhunwala, A. Gadhikar, G. Joshi, and Y. C. Eldar, “Adaptive quantization of model updates for communication-efficient federated learning,” in Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Toronto, ON, Canada, June 6-11, 2021, pp. 3110–3114.
- Z. Jiang, Y. Xu, H. Xu, Z. Wang, J. Liu, Q. Chen, and C. Qiao, “Computation and communication efficient federated learning with adaptive model pruning,” IEEE Trans. on Mobile Comput., pp. 1–18, 2023.
- R. Hu, Y. Gong, and Y. Guo, “Federated learning with sparsification-amplified privacy and adaptive optimization,” in Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, Virtual Event / Montreal, Canada, August 19-27, 2021, pp. 1463–1469.
- Z. Tang, S. Shi, B. Li, and X. Chu, “GossipFL: A decentralized federated learning framework with sparsified and adaptive communication,” IEEE Trans. Parallel Distributed Syst., vol. 34, no. 3, pp. 909–922, 2023.
- H. Sun, X. Ma, and R. Q. Hu, “Adaptive federated learning with gradient compression in uplink NOMA,” IEEE Trans. Veh. Technol., vol. 69, no. 12, pp. 16 325–16 329, 2020.
- C. Chen, L. Shen, H. Huang, and W. Liu, “Quantized Adam with error feedback,” ACM Trans. Intell. Syst. Technol., vol. 12, no. 5, pp. 56:1–56:26, 2021.
- C. Chen, L. Shen, W. Liu, and Z. Luo, “Efficient-Adam: Communication-efficient distributed Adam with complexity analysis,” CoRR, vol. abs/2205.14473, 2022.
- H. Tang, S. Gan, A. A. Awan, S. Rajbhandari, C. Li, X. Lian, J. Liu, C. Zhang, and Y. He, “1-bit Adam: Communication efficient large-scale training with Adam’s convergence speed,” in Proceedings of the 38th International Conference on Machine Learning, vol. 139, Virtual Event, July 18-24, 2021, pp. 10 118–10 129.
- J. Mills, J. Hu, and G. Min, “Communication-efficient federated learning for wireless edge intelligence in iot,” IEEE Internet Things J., vol. 7, no. 7, pp. 5986–5994, 2020.
- S. U. Stich, J. Cordonnier, and M. Jaggi, “Sparsified SGD with memory,” in Advances in Neural Information Processing Systems 31, Montréal, Canada, December 3-8, 2018, pp. 4452–4463.
- P. Prakash, J. Ding, R. Chen, X. Qin, M. Shu, Q. Cui, Y. Guo, and M. Pan, “Iot device friendly and communication-efficient federated learning via joint model pruning and quantization,” IEEE Internet Things J., vol. 9, no. 15, pp. 13 638–13 650, 2022.
- Y. Li, W. Li, B. Zhang, and J. Du, “Federated Adam-type algorithm for distributed optimization with lazy strategy,” IEEE Internet Things J., vol. 9, no. 20, pp. 20 519–20 531, 2022.
- S. Bock and M. G. Weiß, “Non-convergence and limit cycles in the Adam optimizer,” in Artificial Neural Networks and Machine Learning - ICANN 2019: Deep Learning, vol. 11728, Munich, Germany, September 17-19, 2019, pp. 232–243.
- Z. Liu, Z. Shen, S. Li, K. Helwegen, D. Huang, and K. Cheng, “How do Adam and training strategies help bnns optimization,” in Proceedings of the 38th International Conference on Machine Learning, vol. 139, Virtual Event, July 18-24, 2021, pp. 6936–6946.
- M. Yurochkin, M. Agarwal, S. Ghosh, K. H. Greenewald, T. N. Hoang, and Y. Khazaeni, “Bayesian nonparametric federated learning of neural networks,” in Proceedings of the 36th International Conference on Machine Learning, vol. 97, Long Beach, California, USA, June 9-15, 2019, pp. 7252–7261.
- H. Wang, M. Yurochkin, Y. Sun, D. S. Papailiopoulos, and Y. Khazaeni, “Federated learning with matched averaging,” in Proceedings of the 8th International Conference on Learning Representations, Addis Ababa, Ethiopia, April 26-30, 2020.
- E. Ozfatura, K. Ozfatura, and D. Gündüz, “Time-correlated sparsification for communication-efficient federated learning,” in Proceedings of IEEE International Symposium on Information Theory, Melbourne, Australia, July 12-20, 2021, pp. 461–466.
- X. Lin, Y. Liu, F. Chen, X. Ge, and Y. Huang, “Joint gradient sparsification and device scheduling for federated learning,” IEEE Trans. Green Commun. Netw., vol. 7, no. 3, pp. 1407–1419, 2023.
- P. Han, S. Wang, and K. K. Leung, “Adaptive gradient sparsification for efficient federated learning: An online learning approach,” in Proceedings of the 40th IEEE International Conference on Distributed Computing Systems, Singapore, November 29 - December 1, 2020, pp. 300–310.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.