stat.MLNov 9, 2026

Breaking the d\sqrt{d} Communication Barrier in Federated Sampling with Adaptive Hamiltonian Monte Carlo

Authors: Jiajun Liang, Linxuan Wang, Guang Lin, Qifan Song

Organizations: Independent Researcher · Purdue University

Abstract

This work proposes the Adaptive Federated Hamiltonian Monte Carlo (AFHMC) for Bayesian federated learning (FL) tasks. The prior work on HMC applications for FL achieves O(d/ε)O(\sqrt{d}/ε) communication cost under log-convex distributions, already demonstrating its advantage over the Langevin dynamic-based counterpart. Based on a refined analysis, this paper further reveals the benefit of HMC for the FL regime by incorporating a control mechanism for local node shifts. We prove that AFHMC at most requires O({d/ε2}1/3)O(\{d/ε^2\}^{1/3}) communication cost up to a logarithmic term, which is significantly better than the existing results. Moreover, the proposed method adapts to client heterogeneity. Under low-heterogeneity settings (i.e., the target sampling precision ε2ε^2 is higher than the heterogeneity level), the communication rate of AFHMC can be as good as O(log⁡(d/ε2))O(\log(d/ε^2)), resembling the communication costs for FL optimization tools. To the best of our knowledge, this provides the first logarithmic communication complexity result for federated sampling, even though it requires low heterogeneity. Numerically, we also justify AFHMC's advantage under the low-heterogeneity regime. Our code is available at https://github.com/laaaarrywang/Adaptive-Federated-HMC

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Heterogeneity-Aware Client Sampling for Optimal and Efficient Federated Learning

    May 16, 2025Shudi Weng, Chao Ren, Ming Xiao +1Federated LearningHeterogeneous Federated Learning

  2. Federated Martingale Posterior Samping

    May 18, 2026Boning Zhang, Matteo Zecchin, Mingzhao Guo +2Bayesian Neural NetworksPosterior Sampling

  3. A Hierarchical Sampling Framework for bounding the Generalization Error of Federated Learning

    May 5, 2026Dario Filatrella, Ragnar Thobaben, Mikael SkoglundHierarchical Federated LearningFederated Learning