mlsanityData to 14 Oct 2026

Understanding and Improving Model Averaging in Federated Learning on Heterogeneous Data

arXiv 2305.07845 ↗First posted 13 May 2023cs.LG cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Model averaging is a widely adopted technique in federated learning (FL) that aggregates multiple client models to obtain a global model. Remarkably, model averaging in FL yields a superior global model, even when client models are trained with non-convex objective functions and on heterogeneous local datasets. However, the rationale behind its success remains poorly understood. To shed light on this issue, we first visualize the loss landscape of FL over client and global models to illustrate their geometric properties. The visualization shows that the client models encompass the global model within a common basin, and interestingly, the global model may deviate from the basin's center while still outperforming the client models. To gain further insights into model averaging in FL, we decompose the expected loss of the global model into five factors related to the client models. Specifically, our analysis reveals that the global model loss after early training mainly arises from textiti) the client model's loss on non-overlapping data between client datasets and the global dataset and textitii) the maximum distance between the global and client models. Based on the findings from our loss landscape visualization and loss decomposition, we propose utilizing iterative moving averaging (IMA) on the global model at the late training phase to reduce its deviation from the expected minimum, while constraining client exploration to limit the maximum distance between the global and client models. Our experiments demonstrate that incorporating IMA into existing FL methods significantly improves their accuracy and training speed on various heterogeneous data setups of benchmark datasets. Code is available at urlhttps://github.com/TailinZhou/FedIMA.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 50 of its 82 references that are in the map. First posted on arXiv 13 May 2023.

Builds on

50 of 82 references.

References · 50

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  3. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  4. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  5. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
  6. 2019Advances and Open Problems in Federated Learningcited by 3,046
  7. 2018Federated Optimization in Heterogeneous Networkscited by 2,987
  8. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  9. 2019On the Convergence of FedAvg on Non-IID Datacited by 1,229
  10. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  11. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
  12. 2018Federated Learning with Non-IID Datacited by 1,108
38 more
  1. 2020Adaptive Federated Optimizationcited by 1,046
  2. 2017Deeper, Broader and Artier Domain Generalizationcited by 986
  3. 2018Reconciling modern machine learning practice and the bias-variance trade-offcited by 927
  4. 2020Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimizationcited by 906
  5. 2013An Empirical Investigation of Catastrophic Forgetting in Gradient-Based Neural Networkscited by 722
  6. 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 588
  7. 2021FedBN: Federated Learning on Non-IID Features via Local Batch Normalizationcited by 571
  8. 2021Federated Learning on Non-IID Data Silos: An Experimental Studycited by 568
  9. 2017Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descentcited by 502
  10. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 434
  11. 2019Bayesian Nonparametric Federated Learning of Neural Networkscited by 387
  12. 2020A Unified Theory of Decentralized SGD with Changing Topology and Local Updatescited by 367
  13. 2018Essentially No Barriers in Neural Network Energy Landscapecited by 330
  14. 2021A Field Guide to Federated Optimizationcited by 315
  15. 2019The Non-IID Data Quagmire of Decentralized Machine Learningcited by 305
  16. 2018Parallel Restarted SGD with Faster Convergence and Less Communication: Demystifying Why Model Averaging Works for Deep Learningcited by 278
  17. 2019A Joint Learning and Communications Framework for Federated Learning over Wireless Networkscited by 263
  18. 2014Qualitatively characterizing neural network optimization problemscited by 188
  19. 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
  20. 2020UVeQFed: Universal Vector Quantization for Federated Learningcited by 107
  21. 2022Improving Generalization in Federated Learning by Seeking Flat Minimacited by 98
  22. 2021OoD-Bench: Quantifying and Understanding Two Dimensions of Out-of-Distribution Generalizationcited by 86
  23. 2016Stochastic Multiple Choice Learning for Training Diverse Deep Ensemblescited by 77
  24. 2020FedHome: Cloud-Edge based Personalized Federated Learning for In-Home Health Monitoringcited by 61
  25. 2023Revisiting Weighted Aggregation in Federated Learning with Neural Networkscited by 58
  26. 2020Stochastic Weight Averaging in Parallel: Large-Batch Training that Generalizes Wellcited by 57
  27. 2020The Global Landscape of Neural Networks: An Overviewcited by 57
  28. 2022FedFA: Federated Learning with Feature Anchors to Align Features and Classifiers for Heterogeneous Datacited by 50
  29. 2021SparseFed: Mitigating Model Poisoning Attacks in Federated Learning with Sparsificationcited by 46
  30. 2022On the Unreasonable Effectiveness of Federated Averaging with Heterogeneous Datacited by 38
  31. 2016Parallel SGD: When does averaging help?cited by 32
  32. 2022Federated Learning with GAN-based Data Synthesis for Non-IID Clientscited by 25
  33. 2022Gradient Masked Averaging for Federated Learningcited by 22
  34. 2022DReS-FL: Dropout-Resilient Secure Federated Learning for Non-IID Clients via Secret Data Sharingcited by 17
  35. 2020Toward Multiple Federated Learning Services Resource Sharing in Mobile Edge Networkscited by 11
  36. 2022Stochastic Coded Federated Learning with Convergence and Privacy Guaranteescited by 10
  37. 2022CFLIT: Coexisting Federated Learning and Information Transfercited by 4
  38. 2021Server Averaging for Federated Learningcited by 2

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 4; 2025: 1.

7 papers.