Federated Learning via Posterior Averaging: A New Perspective and Practical Algorithms
Maruan Al-Shedivat, Jennifer Gillenwater, Eric P. Xing, Afshin Rostamizadeh
Abstract
Federated learning is typically approached as an optimization problem, where the goal is to minimize a global loss function by distributing computation across client devices that possess local data and specify different parts of the global objective. We present an alternative perspective and formulate federated learning as a posterior inference problem, where the goal is to infer a global posterior distribution by having client devices each infer the posterior of their local data. While exact inference is often intractable, this perspective provides a principled way to search for global optima in federated settings. Further, starting with the analysis of federated quadratic objectives, we develop a computation- and communication-efficient approximate posterior inference algorithm -- federated posterior averaging (FedPA). Our algorithm uses MCMC for approximate inference of local posteriors on the clients and efficiently communicates their statistics to the server, where the latter uses them to refine a global estimate of the posterior mode. Finally, we show that FedPA generalizes federated averaging (FedAvg), can similarly benefit from adaptive optimizers, and yields state-of-the-art results on four realistic and challenging benchmarks, converging faster, to better optima.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
27 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- The Skellam Mechanism for Differentially Private Federated Learning cites The Distributed Discrete Gaussian Mechanism for Federated Learning with Secure Aggregation
- The Skellam Mechanism for Differentially Private Federated Learning cites Adaptive Federated Optimization
- Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization cites Adaptive Federated Optimization
- Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization cites On the Convergence of FedAvg on Non-IID Data
- Federated Learning with Label Distribution Skew via Logits Calibration cites Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization
- Federated Learning with Label Distribution Skew via Logits Calibration cites Adaptive Federated Optimization
- Federated Hyperparameter Tuning: Challenges, Baselines, and Connections to Weight-Sharing cites Adaptive Federated Optimization
- The Distributed Discrete Gaussian Mechanism for Federated Learning with Secure Aggregation cites Adaptive Federated Optimization
- Adaptive Federated Optimization cites The Non-IID Data Quagmire of Decentralized Machine Learning
- Adaptive Federated Optimization cites On the Convergence of FedAvg on Non-IID Data
- The Non-IID Data Quagmire of Decentralized Machine Learning cites On the Convergence of FedAvg on Non-IID Data
Cited by top-tier papers27
- The Distributed Discrete Gaussian Mechanism for Federated Learning with Secure AggregationPeter Kairouz, Ziyu Liu, Thomas SteinkeICML 2021 · 291 citations
- Federated Learning with Label Distribution Skew via Logits CalibrationJie Zhang, Zhiqi Li, Bo Li, Jianghe Xu et al.ICML 2022 · 221 citations
- The Skellam Mechanism for Differentially Private Federated LearningNaman Agarwal, Peter Kairouz, Ziyu LiuNeurIPS 2021 · 161 citations
- Personalized Federated Learning via Variational Bayesian InferenceXu Zhang, Yinchuan Li, Wenpeng Li, Kaiyang Guo et al.ICML 2022 · 132 citations
- Federated Hyperparameter Tuning: Challenges, Baselines, and Connections to Weight-SharingMikhail Khodak, Renbo Tu, Tian Li, Liam Li et al.NeurIPS 2021 · 111 citations
Builds on6
- On the Convergence of FedAvg on Non-IID DataXiang Li, Kaixuan Huang, Wenhao Yang, Shusen Wang et al.ICLR 2020 · 2,930 citations
- Tackling the Objective Inconsistency Problem in Heterogeneous Federated OptimizationJianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi et al.NeurIPS 2020 · 2,231 citations
- Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett et al.ICLR 2021 · 1,917 citations
- The Non-IID Data Quagmire of Decentralized Machine LearningKevin Hsieh, Amar Phanishayee, Onur Mutlu, Phillip B. GibbonsICML 2020 · 672 citations
- Minibatch vs Local SGD for Heterogeneous Distributed LearningBlake E. Woodworth, Kumar Kshitij Patel, Nati SrebroNeurIPS 2020 · 231 citations
Related papers
- Federated Learning as Variational Inference: A Scalable Expectation Propagation ApproachHan Guo, Philip Greengard, Hongyi Wang, Andrew Gelman et al.ICLR 2023 · 1 citation
- Personalized Bayesian Federated Learning with Wasserstein Barycenter AggregationTing Wei, Biao Mei, Junliang Lyu, Renquan Zhang et al.NeurIPS 2025 · 3 citations
- Improving Generalization in Federated Learning with Model-Data Mutual Information Regularization: A Posterior Inference ApproachHao Zhang, Chenglin Li, Nuowen Kan, Ziyang Zheng et al.NeurIPS 2024 · 13 citations
- Harnessing Heterogeneous Statistical Strength for Personalized Federated Learning via Hierarchical Bayesian InferenceMahendra Singh Thapa, Rui LiICML 2025
- FedLPA: One-shot Federated Learning with Layer-Wise Posterior AggregationXiang Liu, Liangxi Liu, Feiyang Ye, Yunheng Shen et al.NeurIPS 2024 · 34 citations
