mlsanityData to 14 Oct 2026

Scaling Law Analysis in Federated Learning: How to Select the Optimal Model Size?

arXiv 2511.12188 ↗First posted 15 Nov 2025cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

The recent success of large language models (LLMs) has sparked a growing interest in training large-scale models. As the model size continues to scale, concerns are growing about the depletion of high-quality, well-curated training data. This has led practitioners to explore training approaches like Federated Learning (FL), which can leverage the abundant data on edge devices while maintaining privacy. However, the decentralization of training datasets in FL introduces challenges to scaling large models, a topic that remains under-explored. This paper fills this gap and provides qualitative insights on generalizing the previous model scaling experience to federated learning scenarios. Specifically, we derive a PAC-Bayes (Probably Approximately Correct Bayesian) upper bound for the generalization error of models trained with stochastic algorithms in federated settings and quantify the impact of distributed training data on the optimal model size by finding the analytic solution of model size that minimizes this bound. Our theoretical results demonstrate that the optimal model size has a negative power law relationship with the number of clients if the total training compute is unchanged. Besides, we also find that switching to FL with the same training compute will inevitably reduce the upper bound of generalization performance that the model can achieve through training, and that estimating the optimal model size in federated scenarios should depend on the average training compute across clients. Furthermore, we also empirically validate the correctness of our results with extensive training runs on different models, network settings, and datasets.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 26 of its 48 references that are in the map. First posted on arXiv 15 Nov 2025.

Builds on

26 of 48 references.

References · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  6. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  7. 2020Scaling Laws for Neural Language Modelscited by 6,586
  8. 2019Advances and Open Problems in Federated Learningcited by 3,046
  9. 2016Matching Networks for One Shot Learningcited by 2,255
  10. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  11. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  12. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
14 more
  1. 2019Measuring the Effects of Non-Identical Data Distribution for Federated Visual Classificationcited by 851
  2. 2017Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descentcited by 502
  3. 2017Stochastic Gradient Descent as Approximate Bayesian Inferencecited by 300
  4. 2024Language models scale reliably with over-training and on downstream taskscited by 113
  5. 2021Scale Efficiently: Insights from Pre-training and Fine-tuning Transformerscited by 106
  6. 2017Generalization Bounds of SGLD for Non-convex Learning: Two Theoretical Viewpointscited by 82
  7. 2018Generalization Error Bounds for Noisy, Iterative Algorithmscited by 82
  8. 2021Personalized Federated Learning with Gaussian Processescited by 76
  9. 2021Scaling Federated Learning for Fine-tuning of Large Language Modelscited by 36
  10. 2017A PAC-Bayesian Analysis of Randomized Learning with Application to Stochastic Gradient Descentcited by 29
  11. 2022Scaling Language Model Size in Cross-Device Federated Learningcited by 25
  12. 2025Will LLMs Scaling Hit the Wall? Breaking Barriers via Distributed Resources on Massive Edge Devicescited by 9
  13. 2023Lessons from Generalization Error Analysis of Federated Learning: You May Communicate Less Often!cited by 8
  14. 2024Personalized Federated Learning of Probabilistic Models: A PAC-Bayesian Approachcited by 5

Built on by

Not cited yet.