Federated Learning as Variational Inference: A Scalable Expectation Propagation Approach
Han Guo, Philip Greengard, Hongyi Wang, Andrew Gelman, Yoon Kim, Eric P. Xing
Abstract
The canonical formulation of federated learning treats it as a distributed optimization problem where the model parameters are optimized against a global loss function that decomposes across client loss functions. A recent alternative formulation instead treats federated learning as a distributed inference problem, where the goal is to infer a global posterior from partitioned client data (Al-Shedivat et al., 2021) . This paper extends the inference view and describes a variational inference formulation of federated learning where the goal is to find a global variational posterior that well-approximates the true posterior. This naturally motivates an expectation propagation approach to federated learning (FedEP), where approximations to the global posterior are iteratively refined through probabilistic message-passing between the central server and the clients. We conduct an extensive empirical study across various algorithmic considerations and describe practical strategies for scaling up expectation propagation to the modern federated setting. We apply FedEP on standard federated learning benchmarks and find that it outperforms strong baselines in terms of both convergence speed and accuracy. 1
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- 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
- Federated ADMM from Bayesian DualityThomas Möllenhoff, Siddharth Swaroop, Finale Doshi-Velez, Mohammad Emtiyaz KhanICLR 2026 · 4 citations
- Personalized Bayesian Federated Learning with Wasserstein Barycenter AggregationTing Wei, Biao Mei, Junliang Lyu, Renquan Zhang et al.NeurIPS 2025 · 3 citations
- Connecting Federated ADMM to BayesSiddharth Swaroop, Mohammad Emtiyaz Khan, Finale Doshi-VelezICLR 2025
- FedBEns: One-Shot Federated Learning based on Bayesian EnsembleJacopo Talpini, Marco Savi, Giovanni NegliaICML 2025
Builds on8
- Practical Secure Aggregation for Privacy-Preserving Machine LearningKallista A. Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone et al.CCS 2017 · 3,936 citations
- 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
- Federated Learning with Matched AveragingHongyi Wang, Mikhail Yurochkin, Yuekai Sun, Dimitris S. Papailiopoulos et al.ICLR 2020 · 1,368 citations
Related papers
- Federated Learning via Posterior Averaging: A New Perspective and Practical AlgorithmsMaruan Al-Shedivat, Jennifer Gillenwater, Eric P. Xing, Afshin RostamizadehICLR 2021 · 38 citations
- Confidence-Aware Personalized Federated Learning via Variational Expectation MaximizationJunyi Zhu, Xingchen Ma, Matthew B. BlaschkoCVPR 2023
- Federated Learning via Meta-Variational DropoutInsu Jeon, Minui Hong, Junhyeog Yun, Gunhee KimNeurIPS 2023 · 11 citations
- Harnessing Heterogeneous Statistical Strength for Personalized Federated Learning via Hierarchical Bayesian InferenceMahendra Singh Thapa, Rui LiICML 2025
- FedNP: Towards Non-IID Federated Learning via Federated Neural PropagationXueyang Wu, Hengguan Huang, Youlong Ding, Hao Wang et al.AAAI 2023 · 20 citations
