Lune

NeurIPS2021顶会

STEM: A Stochastic Two-Sided Momentum Algorithm Achieving Near-Optimal Sample and Communication Complexities for Federated Learning

Prashant Khanduri, Pranay Sharma, Haibo Yang, Mingyi Hong, Jia Liu, Ketan Rajawat, Pramod K. Varshney

摘要

Federated Learning (FL) refers to the paradigm where multiple worker nodes (WNs) build a joint model by using local data. Despite extensive research, for a generic non-convex FL problem, it is not clear, how to choose the WNs' and the server's update directions, the minibatch sizes, and the local update frequency, so that the WNs use the minimum number of samples and communication rounds to achieve the desired solution. This work addresses the above question and considers a class of stochastic algorithms where the WNs perform a few local updates before communication. We show that when both the WN's and the server's directions are chosen based on a stochastic momentum estimator, the algorithm requires O~(ϵ−3/2)\tilde{\mathcal{O}}(\epsilon^{-3/2}) samples and O~(ϵ−1)\tilde{\mathcal{O}}(\epsilon^{-1}) communication rounds to compute an ϵ\epsilon-stationary solution. To the best of our knowledge, this is the first FL algorithm that achieves such near-optimal sample and communication complexities simultaneously. Further, we show that there is a trade-off curve between local update frequencies and local minibatch sizes, on which the above sample and communication complexities can be maintained. Finally, we show that for the classical FedAvg (a.k.a. Local SGD, which is a momentum-less special case of the STEM), a similar trade-off curve exists, albeit with worse sample and communication complexities. Our insights on this trade-off provides guidelines for choosing the four important design elements for FL algorithms, the update frequency, directions, and minibatch sizes to achieve the best performance.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 29 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Achieving Linear Speedup with Partial Worker Participation in Non-IID Federated Learning 引用了 Don't Use Large Mini-batches, Use Local SGD
  • Generalized Federated Learning via Sharpness Aware Minimization 引用了 SCAFFOLD: Stochastic Controlled Averaging for Federated Learning
  • On Convergence of FedProx: Local Dissimilarity Invariant Bounds, Non-smoothness and Beyond 引用了 SCAFFOLD: Stochastic Controlled Averaging for Federated Learning
  • A Unified Theory of Decentralized SGD with Changing Topology and Local Updates 引用了 Don't Use Large Mini-batches, Use Local SGD
  • Is Local SGD Better than Minibatch SGD? 引用了 Don't Use Large Mini-batches, Use Local SGD
  • Faster Adaptive Federated Learning 引用了 Achieving Linear Speedup with Partial Worker Participation in Non-IID Federated Learning
  • Faster Adaptive Federated Learning 引用了 SCAFFOLD: Stochastic Controlled Averaging for Federated Learning
  • Faster Adaptive Federated Learning 引用了 Is Local SGD Better than Minibatch SGD?
  • Stochastic Controlled Averaging for Federated Learning with Communication Compression 引用了 Achieving Linear Speedup with Partial Worker Participation in Non-IID Federated Learning
  • Stochastic Controlled Averaging for Federated Learning with Communication Compression 引用了 On Convergence of FedProx: Local Dissimilarity Invariant Bounds, Non-smoothness and Beyond
  • Stochastic Controlled Averaging for Federated Learning with Communication Compression 引用了 SCAFFOLD: Stochastic Controlled Averaging for Federated Learning
  • Stochastic Controlled Averaging for Federated Learning with Communication Compression 引用了 Don't Use Large Mini-batches, Use Local SGD
  • Accelerated Federated Learning with Decoupled Adaptive Optimization 引用了 SCAFFOLD: Stochastic Controlled Averaging for Federated Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper29

  1. Stochastic Controlled Averaging for Federated Learning with Communication CompressionXinmeng Huang, Ping Li, Xiaoyun LiICLR 2024 · 288 次引用
  2. Generalized Federated Learning via Sharpness Aware MinimizationZhe Qu, Xingyu Li, Rui Duan, Yao Liu 等ICML 2022 · 219 次引用
  3. On Convergence of FedProx: Local Dissimilarity Invariant Bounds, Non-smoothness and BeyondXiaotong Yuan, Ping LiNeurIPS 2022 · 141 次引用
  4. Faster Adaptive Federated LearningXidong Wu, Feihu Huang, Zhengmian Hu, Heng HuangAAAI 2023 · 99 次引用
  5. Accelerated Federated Learning with Decoupled Adaptive OptimizationJiayin Jin, Jiaxiang Ren, Yang Zhou, Lingjuan Lyu 等ICML 2022 · 62 次引用

它引用的 Paper8

  1. SCAFFOLD: Stochastic Controlled Averaging for Federated LearningSai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank J. Reddi 等ICML 2020 · 3,875 次引用
  2. A Unified Theory of Decentralized SGD with Changing Topology and Local UpdatesAnastasia Koloskova, Nicolas Loizou, Sadra Boreiri, Martin Jaggi 等ICML 2020 · 623 次引用
  3. Don't Use Large Mini-batches, Use Local SGDTao Lin, Sebastian U. Stich, Kumar Kshitij Patel, Martin JaggiICLR 2020 · 462 次引用
  4. Achieving Linear Speedup with Partial Worker Participation in Non-IID Federated LearningHaibo Yang, Minghong Fang, Jia LiuICLR 2021 · 310 次引用
  5. Is Local SGD Better than Minibatch SGD?Blake E. Woodworth, Kumar Kshitij Patel, Sebastian U. Stich, Zhen Dai 等ICML 2020 · 277 次引用

相关 Paper

  1. Federated Minimax Optimization: Improved Convergence Analyses and AlgorithmsPranay Sharma, Rohan Panda, Gauri Joshi, Pramod K. VarshneyICML 2022 · 63 次引用
  2. On the Convergence of Communication-Efficient Local SGD for Federated LearningHongchang Gao, An Xu, Heng HuangAAAI 2021 · 66 次引用
  3. On the Convergence of Local Stochastic Compositional Gradient Descent with MomentumHongchang Gao, Junyi Li, Heng HuangICML 2022 · 18 次引用
  4. Momentum Benefits Non-iid Federated Learning Simply and ProvablyZiheng Cheng, Xinmeng Huang, Pengfei Wu, Kun YuanICLR 2024 · 40 次引用
  5. FedChain: Chained Algorithms for Near-optimal Communication Cost in Federated LearningCharlie Hou, Kiran Koshy Thekumparampil, Giulia Fanti, Sewoong OhICLR 2022 · 16 次引用
黄昏的海面,两侧是细线勾勒的悬崖