potentialpaper

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

Jiajun Liang, Linxuan Wang, Guang Lin, Qifan Song

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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}/\epsilon) 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/\epsilon^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\epsilon^2 is higher than the heterogeneity level), the communication rate of AFHMC can be as good as O(log⁡(d/ϵ2))O(\log(d/\epsilon^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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper studies federated sampling using Adaptive Federated Hamiltonian Monte Carlo (AFHMC) algorithm, which modifies the federated HMC algorithm using a control variate technique. Under the assumption that each local function (negative log-density of the local distribution) is strongly convex and second-order smooth, the authors show a biased error guarantee of the algorithm in Wasserstein distance, and deduce an iteration complexity (communication cost) to reach epsilon error, which depends on a parameter H that quantifies the level of task heterogeneity. When this parameter H is of order dimension d, the authors show the communication cost to reach error eps scales as (d/eps^2)^{1/3}, which improves on prior result of (d/eps^2)^{1/2}. The authors also show that in the special case when this parameter H is small (compared to eps), the communication cost can be as good as log (d/eps^2).

** Strengths: **

This paper studies an interesting problem, and proposes a natural modification of an existing algorithm to achieve an improved complexity guarantee, under a stylized assumption of strong log-concavity and smoothness of the target distribution, and exact gradient computation. The second-order smoothness assumption is weaker than the third-order smoothness assumption typically used in HMC analyses. The analyses of the results seem rigorous.

** Weaknesses: **

The reviewers raised concerns regarding some aspects of this paper, including:

(1) The presentation of the paper can be improved. The main problem being studied (distributed posterior sampling) is only defined in Section 4; it can be presented and explained earlier to prepare the reader for the motivation and modification of the algorithm. The reviewers also note there are multiple typos in the paper. The paper can benefit from a thorough proofreading to fix typos in both writing and mathematical analyses.

(2) The assumption that only second-order smoothness is needed, not third-order smoothness (as is typical in HMC analysis) is interesting, and the authors can provide an explanation of how or why their analysis can work under such a weaker assumption.

(3) The reviewers note the heterogeneity parameter H needs a further clarification and explanation, in particular regarding the claim that it is of order dimension, and when the low-heterogeneity regime can hold.

(4) The reviewers also request clarification on the measure of complexity of the algorithm and in the experiments, in particular regarding the trade-off between communication and computational costs.

If the authors can address the concerns and questions raised by the reviewers, including the points above, it would be an important consideration as we discuss this paper.

===========

Edit after authors’ rebuttal period:

I appreciate the authors’ detailed responses and the reviewers’ discussion. The authors have substantially addressed the main concerns summarized above. In particular, they clarified the definition and scaling of the heterogeneity parameter and provided concrete Gaussian examples illustrating its possible values. They also added numerical evidence for the low-heterogeneity regime, repeated the comparison with FA-HMC under matched communication cost, clarified the two-exchange communication cost and the tradeoff between communication and local computation, and explained why the main analysis does not require Hessian smoothness.

There are some remaining limitations. The logarithmic communication rate holds only in a low-heterogeneity regime tied to the target accuracy; the heterogeneity parameter H is not directly available for practical tuning; the added experiment does not demonstrate the transition between the logarithmic and general regimes; and the empirical improvements are modest. However, these are mainly limitations regarding interpretation, practical applicability, and presentation, rather than unresolved concerns about the correctness of the main theoretical results.

During the discussion, one reviewer raised their score to 4, another reviewer raised their score from 4 to 5 and now supports acceptance, and the third reviewer maintained a score of 4. Given the above, I recommend this paper for acceptance.

For the final camera-ready version, the authors should incorporate the bound and concrete examples for H, clearly qualify the logarithmic communication claim, and distinguish the communication and computation costs. The authors should also include the comparison and experimental results from the rebuttal, clarify the writing of the assumptions and results, improve the exposition of the paper including stating the problem formulation earlier, and carefully proofread the manuscript.

Final justification

Please see above.

Area Chair RdBo · Meta-reviewOpenReview ↗
Final justification
Please see above.
Read meta-review
Meta-review

This paper studies federated sampling using Adaptive Federated Hamiltonian Monte Carlo (AFHMC) algorithm, which modifies the federated HMC algorithm using a control variate technique. Under the assumption that each local function (negative log-density of the local distribution) is strongly convex and second-order smooth, the authors show a biased error guarantee of the algorithm in Wasserstein distance, and deduce an iteration complexity (communication cost) to reach epsilon error, which depends on a parameter H that quantifies the level of task heterogeneity. When this parameter H is of order dimension d, the authors show the communication cost to reach error eps scales as (d/eps^2)^{1/3}, which improves on prior result of (d/eps^2)^{1/2}. The authors also show that in the special case when this parameter H is small (compared to eps), the communication cost can be as good as log (d/eps^2).

** Strengths: **

This paper studies an interesting problem, and proposes a natural modification of an existing algorithm to achieve an improved complexity guarantee, under a stylized assumption of strong log-concavity and smoothness of the target distribution, and exact gradient computation. The second-order smoothness assumption is weaker than the third-order smoothness assumption typically used in HMC analyses. The analyses of the results seem rigorous.

** Weaknesses: **

The reviewers raised concerns regarding some aspects of this paper, including:

(1) The presentation of the paper can be improved. The main problem being studied (distributed posterior sampling) is only defined in Section 4; it can be presented and explained earlier to prepare the reader for the motivation and modification of the algorithm. The reviewers also note there are multiple typos in the paper. The paper can benefit from a thorough proofreading to fix typos in both writing and mathematical analyses.

(2) The assumption that only second-order smoothness is needed, not third-order smoothness (as is typical in HMC analysis) is interesting, and the authors can provide an explanation of how or why their analysis can work under such a weaker assumption.

(3) The reviewers note the heterogeneity parameter H needs a further clarification and explanation, in particular regarding the claim that it is of order dimension, and when the low-heterogeneity regime can hold.

(4) The reviewers also request clarification on the measure of complexity of the algorithm and in the experiments, in particular regarding the trade-off between communication and computational costs.

If the authors can address the concerns and questions raised by the reviewers, including the points above, it would be an important consideration as we discuss this paper.

===========

Edit after authors’ rebuttal period:

I appreciate the authors’ detailed responses and the reviewers’ discussion. The authors have substantially addressed the main concerns summarized above. In particular, they clarified the definition and scaling of the heterogeneity parameter and provided concrete Gaussian examples illustrating its possible values. They also added numerical evidence for the low-heterogeneity regime, repeated the comparison with FA-HMC under matched communication cost, clarified the two-exchange communication cost and the tradeoff between communication and local computation, and explained why the main analysis does not require Hessian smoothness.

There are some remaining limitations. The logarithmic communication rate holds only in a low-heterogeneity regime tied to the target accuracy; the heterogeneity parameter H is not directly available for practical tuning; the added experiment does not demonstrate the transition between the logarithmic and general regimes; and the empirical improvements are modest. However, these are mainly limitations regarding interpretation, practical applicability, and presentation, rather than unresolved concerns about the correctness of the main theoretical results.

During the discussion, one reviewer raised their score to 4, another reviewer raised their score from 4 to 5 and now supports acceptance, and the third reviewer maintained a score of 4. Given the above, I recommend this paper for acceptance.

For the final camera-ready version, the authors should incorporate the bound and concrete examples for H, clearly qualify the logarithmic communication claim, and distinguish the communication and computation costs. The authors should also include the comparison and experimental results from the rebuttal, clarify the writing of the assumptions and results, improve the exposition of the paper including stating the problem formulation earlier, and carefully proofread the manuscript.

Reviewer qaioOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes AFHMC, a federated HMC sampler for strongly log-concave targets π∝exp⁡(−∑cwcf(c))\pi \propto \exp(-\sum_c w_c f^{(c)}). The key idea is a SCAFFOLD-style control variate inside the leapfrog integrator: at each round all clients start from the same position and momentum (which is sampled at the center), and every local gradient ∇F(⋅)\nabla F(\cdot) is replaced by ∇F(⋅)−∇F(θ0)+∇f(θ0)\nabla F(\cdot) - \nabla F(\theta_0) + \nabla f(\theta_0) with the drift ∇f(θt)\nabla f(\theta_t) aggregated at the round start; positions are averaged after KK surrogate leapfrog steps. Under MM-smoothness and mm-strong convexity (no Hessian smoothness), Theorem 4.3 gives a one-round contraction with a discretization floor η2M2d/m2\eta^2 M^2 d/m^2 and a heterogeneity floor (Kη)6M2H/m2(K\eta)^6 M^2 H/m^2, where HH measures client gradient-heterogeneity variation along the ideal HMC flow. Theorem 4.5 yields tϵ≍(HM2/(ϵ2m5))1/3log⁡(1/ϵ2)t_\epsilon \asymp (HM^2/(\epsilon^2 m^5))^{1/3}\log(1/\epsilon^2) communication rounds, i.e., O~((d/ϵ2)1/3)\tilde O((d/\epsilon^2)^{1/3}) for H=O(d)H = O(d), vs O(d/ϵ)O(\sqrt d/\epsilon) for FA-HMC, and O(log⁡(d/ϵ2))O(\log(d/\epsilon^2)) when H≪M4ϵ2/mH \ll M^4\epsilon^2/m. The authors perform experiments on Bayesian logistic regression, a dimension-scaling study on heterogeneous Gaussians, and Bayesian multinomial logistic regression on FMNIST.

Strengths and weaknesses

I checked the rate bookkeeping and the key surrogate-error lemma (B.6/B.7).


Strengths.

  • The main theoretical result is sounding. To my knowledge, putting a frozen control variate inside the leapfrog loop and showing it improves the communication complexity from (d/ϵ2)1/2(d/\epsilon^2)^{1/2} to (d/ϵ2)1/3(d/\epsilon^2)^{1/3} without Hessian smoothness is new for federated sampling.
  • Empirical validation of the predicted scaling exponent (α^=0.282\hat\alpha = 0.282 vs 1/31/3) is rigorous.
  • The paper avoids the Ω((d/ϵ2)1/2)\Omega((d/\epsilon^2)^{1/2}) lower bound of Liang et al. legitimately, by changing the algorithm class (control variates), analogous to SCAFFOLD vs FedAvg.

Weaknesses.

  • The dimension-scaling baseline is not tuned for FA-HMC. In the scaling experiment, FA-HMC is forced to use AFHMC's theory-derived η(d)\eta(d) and budget instead of its own tuned schedule, and its final error (3.3×1023.3\times 10^2 to 3.8×1043.8\times 10^4) sits at the scale of the heterogeneity bias floor (the squared mode separation is 14.4d14.4d).

  • The logarithmic-communication headline needs a caveat. The condition H≪M4ϵ2/mH \ll M^4\epsilon^2/m ties the heterogeneity to the target accuracy: for any fixed H>0H > 0, as ϵ→0\epsilon \to 0 one always lands in the (d/ϵ2)1/3(d/\epsilon^2)^{1/3} regime. The O(log⁡(d/ϵ2))O(\log(d/\epsilon^2)) rate holds only when heterogeneity is below the accuracy floor (sounds like near-homogeneous clients), where the algorithm behaves like centralized HMC. The abstract says "the first logarithmic communication complexity result for federated sampling" without this qualification; further clarification is needed.

  • AFHMC needs two exchanges per round (gradient aggregation for the drift, then parameter aggregation, plus the momentum broadcast); FA-HMC needs one. This is a constant factor, but the plots and the rate statements should say whether the unit is rounds, exchanges, or transmitted vectors.

  • Typos: "Wassertein", "theoretical propoerties", "We conduct refine analysis", Assumption 4.1 mixes mm and μ\mu, etc. A table comparing rates and assumptions across FA-LD / Plassier et al. / FA-HMC / centralized HMC / AFHMC would help.

Questions
  1. Can you test the dimension-scaling comparison with FA-HMC tuned over its own (η,K,T)(\eta, K, T) grid, under an equal vector-transmission budget? If the gap persists, this would raise my score; the present configuration cannot distinguish rate from mistuning.
  2. Is there anyway to relax the H≪M4ϵ2/mH \ll M^4\epsilon^2/m (near-homogeneity) condition for the O(log⁡(d/ϵ2))O(\log(d/\epsilon^2)) claim?
  3. Do the "communication rounds" in all plots count AFHMC's two exchanges per round? Please clarify the constant.
  4. Can you give one concrete example (for example two-component Gaussian clients) where HH is computed explicitly, so a reader can see when H≪dH \ll d and the intermediate regimes actually occur?
  5. Could you add the rates-and-assumptions comparison table (FA-LD, Plassier et al., FA-HMC, centralized HMC, AFHMC) for better position of this work?
Limitations

Partially addressed. The limitations paragraph honestly covers the log-concave scope and exact gradients. It should also cover: the near-homogeneity condition behind the logarithmic claim, the unadjusted-sampler bias, the privacy posture of transmitting exact gradients, and the two-exchange communication accounting.

Final justification

I do not find the level of this work's improvement sufficiently compelling to adjust my score, so I will maintain my current rating of 4 and do not champion this paper.

Formatting concerns

No

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1. Refined Experiment of FA-HMC baseline:

We thank the reviewer for this helpful suggestion. We agree that an exhaustive FA-HMC-specific tuning over a three-way grid of (η,K,T)(\eta, K, T) would be the most comprehensive way to separate rate behavior from hyperparameter mistuning. In practice, however, sweeping over this grid is infeasible. Therefore, we added two theory-grounded FA-HMC schedules to address the concern that the baseline was not tuned.

First, following the original dimension-scaling setting of FA-HMC in Liang et al. (2025)[1], which uses K=5,T=10,η(d)=O(d−1/4)K = 5, T = 10, \eta(d) = O(d^{-1/4}), we set K=5,T=10,η(d)=0.006×(d/100)−1/4K = 5, T = 10, \eta(d) = 0.006 \times (d / 100)^{-1/4}, so that η(d)\eta(d) maintains the same anchor value at d=100d=100 as before.

Second, Theorem-4.1 in Liang et al.(2025)[1] states that under the convexity, Hessian smoothness, and bounded stochastic-gradient variance assumptions, FA-HMC gives W2≤ϵW_2\leq \epsilon when the stepsize is chosen as

η2=Cmin⁡(1K2L,ϵK2dT,ϵ2K2dT2(1−ρ)N,ϵ2Kd∑c=1Nwc2σg2).\eta^2=C\min\Big(\frac{1}{K^2L},\frac{\epsilon}{K^2\sqrt{d}T},\frac{\epsilon^2}{K^2dT^2(1-\rho)N},\frac{\epsilon^2}{Kd\sum_{c=1}^{N}w_c^2\sigma_g^2}\Big).

For our case, the third and fourth terms are not active: all devices use shared momentum, so ρ=1\rho=1, and the Gaussian scaling experiment uses exact gradients, so σg2=0\sigma_g^2=0. We therefore use the remaining finite dimension-dependent term η2=O((K2dT)−1)\eta^2=O((K^2\sqrt{d}T)^{-1}). Keeping T=10T=10 and using the same dimension-dependent leapfrog budget as the current scaling experiment, namely

Ka(d)=round(50(d/100)1/3),KFA(d)=max⁡(1,round(Ka(d)/10)).K_a(d)=\mathrm{round}\Big(50(d/100)^{1/3}\Big),\qquad K_{\mathrm{FA}}(d)=\max\Big(1,\mathrm{round}\big(K_a(d)/10\big)\Big).

we obtain the rate for η(d)\eta(d):

η(d)∝d−1/3d−1/4=d−7/12.\eta(d) \propto d^{-1/3}d^{-1/4} = d^{-7/12}.

We anchored the constant at d=100d=100 using the same scale as the original dimension-scaling run: η(d)=0.006(d/100)−7/12\eta(d)=0.006(d/100)^{-7/12}.

For equal vector transmissions, FA-HMC was run for 2R(d)2R(d) rounds whenever AFHMC crossed W22<0.1W_2^2<0.1 at round R(d)R(d). The resulting equal-budget FA-HMC errors are:

d AFHMC R(d) FA-HMC rounds K=5, T=10, η=0.02d−1/4K=5,\ T=10,\ \eta=0.02d^{-1/4} Thm. 4.1 η=0.006(d/100)−7/12\eta=0.006(d/100)^{-7/12}
2 42 84 13.0 85.7
50 162 324 752.1 960.2
100 220 440 1682.8 2213.9
150 263 526 2694.0 2774.3
200 294 588 3911.7 6298.0
250 320 640 5236.5 5827.7
300 347 694 6444.4 9424.1
350 368 736 7867.1 7877.5
400 393 786 9014.2 11122.8
450 403 806 11000.1 15877.5
500 430 860 11872.9 19755.7

These results show that the exchange-accounting correction and the FA-HMC-specific theory-grounded schedules do not remove the observed gap.

2. Clarity of our logarithmic claim:

we acknowledge the confusion in the abstract and will clarify it. Yes, we only achieve logarithmic communication under low homegeneity. Under high homegeneity, we achieve (d/ϵ2)1/3(d/\epsilon^2)^{1/3} which also beats prior theoretical claims. Further relaxation will be our future direction.

3. Communication round vs comunication amount:

The reviewer is correct, there is a constant factor of 2 between FA-HMC and AFHMC in terms of communication amount. Our original submission only matches the communication round, not accounting for this difference. We run twice more rounds in the response to the first question, and the gap still persists. We are undergoing other requested experiments, all of them will match the communication amount (rather than the round). The updated results will be posted.

4. Concrete example of HH:

Thanks for the suggestion. Give normal clients with same covariance structure (e.g., N(1,I\mathbf{1}, I) and N(−1,I-\mathbf{1}, I), and the global is N(0,II)), then ∇f(c)(θ2)−∇f(c)(θ1)+∇f(θ1)−∇f(θ2)≡0\nabla f^{(c)}(\theta_2)-\nabla f^{(c)}(\theta_1)+\nabla f(\theta_1)-\nabla f(\theta_2)\equiv 0, meaning that H≡0H\equiv 0 always. For non-equal covariance case, e.g., N(0,3I/40, 3I/4) and N(0,3I/20, 3I/2), and the global is N(0,II), the HMC trajectory for the global has a closed form, i.e., θt=θ0cos⁡(t)+p0sin⁡(t)\theta_t = \theta_0 \cos(t)+p_0\sin(t) elementwisely. The calculation of HH eventually reduces to d×sup⁡tEθ,p∼N(0,12)∥(θ(1−cos⁡(t))−psin⁡(t))/t∥2/9=(2d/9)×sup⁡t{(1−cos⁡(t))/t2}=d/9d\times\sup_t\mathbb{E}_{\theta,p\sim N(0,1^2)}\|(\theta(1-\cos(t))-p\sin(t))/t\|^2/9=(2d/9)\times \sup_t\{(1-\cos(t))/t^2\}= d/9.

5. Summary of theroetical comparison:

Thanks for the suggestion. Here is a summary of comparison

Algorithm Theoretical Assumptions beyond M-Lip and strongly convex Rate of covergence (w.r.t. dd) to achieve ϵ\epsilon error
centralized HMC (Mangoubi & Vishnoi 2018) Hessian Lipschitz under infinity norm (Assumption 1 in their paper) (d/ϵ2)1/4(d/\epsilon^2)^{1/4} gradient evaluations
VR-FALD (Plassier et al, 2023) Hessian Lipschitz under L2 norm (Assumption HX1 in their paper) (d/ϵ2)1/2(d/\epsilon^2)^{1/2} rounds of communications
FA-HMC(Liang et al, 2025) Hessian Lipschitz under L2 norm (Assumption 3 in their paper) (d/ϵ2)1/2(d/\epsilon^2)^{1/2} rounds of communications
AFHMC none (d/ϵ2)1/3(d/\epsilon^2)^{1/3} or log⁡(d/ϵ2)\log (d/\epsilon^2) rounds of communications under high or low heterogeneity

Meta review's question of why a Hessian smoothness assumption can be relaxed:

Hessian smoothness is not absolutely needed for FL analysis. For example, in the analysis of FA-LD by Deng et al (UAI 2024), no Hessian smoothness assumption is used. As a consequence of dropping this type of condition, one usually obtains a weaker bound (e.g., Deng et al (2024) achieved weaker results than Plassier et al (2023)). On the other hand, if a Hessian smoothness assumption is used in our framework, we can potentially achieve a better result.

[1] Liang, Jiajun, et al. "Bayesian federated learning with Hamiltonian Monte Carlo: Algorithm and theory." Journal of Computational and Graphical Statistics 34.2 (2025): 509-518.

[2] Deng, W., Zhang, Q., Ma, Y.-A., Song, Z., and Lin, G. On convergence of federated averaging langevin dynamics. In Proceedings of the Fortieth Conference on Uncertainty in Artificial 366 Intelligence, UAI ’24, 2024.

Reviewer qaio · CommentOpenReview ↗

Acknowledgement and Further Questions

Thank the authors for their response. Now I have better understanding of the explicit HH forms based on the examples and the comparison table in the current literature. Please include them in the paper revision. Also, per the authors' wording about additional experiments, it seems that AFMHC will still outperform the baseline based on the communication cost adjustments.

However, I have some confusions about the table in A.1:

  • At d=100d = 100, the authors indicate that the two schedules are deliberately set to be the same configuration. Yet the reported numbers are 1682.81682.8 and 2213.92213.9. The 531 spread is then run-to-run noise, and the two columns are not independent corroboration. Why could the same configuration lead to such difference?
  • At d=2,84×10×5=4200d = 2, 84 × 10 × 5 = 4200 leapfrog steps at η≈0.016\eta \approx 0.016 is about 6767 units of integration time, yet FA-HMC still ends at W22=13.0W_2^2 = 13.0 while the global target's own total variance at d=2d = 2 is only 2×1.6=3.22 × 1.6 = 3.2. Can I interpret this as "FA-HMC has a poor performance even under d=2d=2 case"?
Authors · CommentOpenReview ↗

Thanks for the follow-up questions and we are happy to provide further clarifications.

  1. The two schedules are matched at d=100d=100 only for the learning rate η(d)\eta(d). The two schedules still differ in the number of local leapfrog steps. One chooses a fixed K=10K=10 (following the exact choice in Liang et al (2025)), the other chooses KFA(d)=max⁡(1,round(Ka(d)/10))K_{\mathrm{FA}}(d)=\max( 1,\mathrm{round}(K_a(d)/10) ), such that it matches the number of local leapfrog computations of AFHMC. Strictly speaking, there is no theoretical rate for η(d)\eta(d) for such (K,T)(K,T) configuration. Given the limited time window for rebuttal, instead of tuning η(d)\eta(d) for different polynomial degrees, we borrow insight from Theorem 4.1 in Liang et al (2025).

To sum up, the two schedules don't match exactly under d=100d=100.

  1. For the second question, we would like to argue that although the total variance for the global target is only 3.2, the heterogeneity between the two local targets is much larger (at least 2∗(20−1)22*(20-1)^2, ignoring the covariance difference). Comparing the achieved squared W2 vs 3.2 directly is not comprehensive. The challenge here is how to effectively tackle the local drift caused by such a strong heterogeneity. FA-HMC is not as good as AFHMC for all the settings we simulated.
Reviewer bKUHOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies federated posterior sampling, focusing on the number of communication rounds required by Hamiltonian Monte Carlo (HMC) methods when data are distributed across clients. The claimed goal is to improve the communication complexity of federated HMC from a d\sqrt{d}-type dependence to an approximately (d/ϵ2)1/3(d/\epsilon^2)^{1/3} dependence, with logarithmic communication under low heterogeneity.

The proposed method, AFHMC, modifies federated HMC by using a bias-corrected local gradient surrogate. In Section 3, each client replaces its local gradient with a correction of the form ∇f(c)(θ)−∇f(c)(θt)+∇f(θt)\nabla f^{(c)}(\theta)-\nabla f^{(c)}(\theta_t)+\nabla f(\theta_t). Clients then run multiple local leapfrog-like steps before the server averages their positions. This resembles a control-variate or variance-reduced simulation of local HMC dynamics.

Strengths and weaknesses

My understanding

The paper studies Bayesian posterior sampling in federated learning, where communication between clients is expensive and local objectives are heterogeneous. Existing federated HMC methods require frequent synchronization because local Hamiltonian trajectories drift away from the global posterior.

The main idea of the paper is to reduce this client drift by introducing a surrogate leapfrog integrator. Instead of evolving each client’s Hamiltonian dynamics using only its local gradient, each leapfrog step replaces the gradient with a control-variate correction ∇f(c)(θ)−∇f(c)(θt)+∇f(θt),\nabla f^{(c)}(\theta)-\nabla f^{(c)}(\theta_t)+\nabla f(\theta_t), where θt\theta_t is the synchronized global iterate. This is closely related to SCAFFOLD-style variance reduction, but embedded inside Hamiltonian dynamics rather than gradient descent. The goal is to allow longer local HMC trajectories before communication while remaining close to the centralized sampler.

The main theoretical contribution is the coupling analysis in Theorem 4.3. The resulting Wasserstein recursion separates three effects: contraction of the ideal HMC dynamics, leapfrog discretization error, and an additional heterogeneity term H that measures how the discrepancy between local and global gradients evolves along the ideal HMC trajectory. Theorem 4.5 then chooses the local trajectory length and step size to balance these error terms, obtaining an H-dependent communication complexity guarantee.

The theoretical analysis is meaningful because it explicitly isolates the effect of client heterogeneity through H. However, the advertised communication improvement ultimately relies on assumptions about how H scales with the dimension.

Strengths

  1. The paper addresses an important problem. Communication is one of the main bottlenecks in federated Bayesian inference, and reducing synchronization frequency while preserving sampling accuracy is a practically relevant objective.
  2. The surrogate leapfrog update is intuitive and well motivated. Using a control-variate correction inside Hamiltonian dynamics is a natural extension of ideas from SCAFFOLD and variance-reduced federated optimization.
  3. The theoretical analysis is clean. The recursion in Theorem 4.3 clearly separates ideal HMC contraction, leapfrog discretization error, and residual client heterogeneity, making the effect of each approximation transparent.

Weaknesses

  1. The communication complexity result ultimately depends on the scaling of the heterogeneity quantity H. The paper argues that H can scale linearly with the dimension, leading to the advertised dimension dependence, but this appears to require additional assumptions beyond smoothness and strong convexity. Since H depends on Hessian discrepancies between local and global objectives along HMC trajectories, it is not obvious that H=O(d)H=O(d) holds uniformly.

  2. The claimed communication improvement comes from performing longer local trajectories between synchronization rounds. This reduces communication but increases local computation, so the method primarily trades computation for communication rather than reducing total computational cost. Reporting both synchronization rounds and total local leapfrog work would make this trade-off clearer.

Questions
  1. Can you state an explicit theorem-level condition under which H≤CHdH\leq C_Hd? What does CHC_H depend on?
  2. How should a practitioner estimate or tune using HH, given that it is defined under θπ∼π\theta^\pi\sim\pi and ideal global HMC trajectories?
Limitations

Yes

Final justification

I maintain my rating of 4. The rebuttal resolved my main concern: the bound H≤CM2dH \leq CM^2 d under MM-Lipschitz and strong convexity, together with the explicit Gaussian examples, substantiates the claimed O(d)O(d) scaling and the advertised communication complexity. The computation vs communication tradeoff and the practical difficulty of tuning HH remain, and the empirical gains are modest, but for a theory contribution the reasons to accept outweigh those to reject.

Formatting concerns

I do not see any formatting concerns.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1. Analysis of HH:

The O(d)O(d) upper bound can be derived with only M-Lipschitz and m-strongly convex, H≤CM2dH\leq CM^2d for some absolute constant CC. Please refer to our reply to reviewer MEAK. But this bound is not sharp. Please see our reply to reviewer qaio, where we show H≡0H\equiv0 for the equal-covariance normal situation.

2. Synchronization rounds and total local leapfrog:

We agree with the reviewer's comment and will add a clearer discussion about this trade-off in the revision. On the other hand, we believe that if a strong condition is used (e.g., Hessian smoothness), we can achieve a better trade-off, in the sense that the total number of leapfrog steps is also smaller than existing works.

3. Practical tuning w.r.t. HH:

It is beyond the scope of this theoretical paper to develop an effective tuning strategy. All gradient-based algorithm requires some unknown quantities (e.g., Lipschitz constant) from theoretical aspects. Our theory additionally suggests that one can run longer local leapfrog steps for smaller HH and vice versa. HH can be upper bounded by max⁡θ∑c=1Nwc∣1η(∇f(c)(Hˉηi(θ))−∇f(c)(θ)+∇f(θ)−∇f(Hˉηi(θ)))∣2\max_{\theta}\sum_{c=1}^Nw_c\left|\frac{1}{\eta}\left(\nabla f^{(c)}\left(\bar{\mathcal{H}}_{\eta}^{i}(\theta)\right)-\nabla f^{(c)}(\theta)+\nabla f(\theta)-\nabla f\left(\bar{\mathcal{H}}_{\eta}^{i}(\theta)\right)\right)\right|^2, which can be approximated in an online fashion. But we don't have any empirical evidence about whether such an approach works or not.

Reviewer bKUH · CommentOpenReview ↗

Thank you for the direct response and for pointing me to the complementary analyses provided to Reviewers MEAK and qaio. The bound H≤CM2dH\leq C M^2d, together with the explicit Gaussian examples, substantially addresses my main question regarding the claimed O(d)O(d) scaling. As the authors note, it would aslo be useful to include a brief remark identifying stronger assumptions, such as Hessian smoothness, as a potential route toward improved total leapfrog complexity in future work.

While the rebuttal resolves my main theoretical question, I do not see sufficient grounds to increase the score. I therefore maintain my current score.

Reviewer MEAKOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The manuscript proposes AFHMC, Adaptive Federated HMC, an adaptive version of the FAHMC algorithm in which drift control variates are shared during communication steps and used to regularize local leapfrog gradients. Communication and HMC steps are thereby alternating. The paper provides an algorithm for the local leapfrog steps that incorporate the control variates and the general algorithm for AFHMC. Convergence is proven by a contraction argument and asymptotic communication cost is obtained. Numerical evidence is collected to support belief in the results.

Strengths and weaknesses

The paper is well-structured, -written and pleasant to read. The idea is principled, sound and well communicated. Math is generally clear and the theoretical results appear to be sound, but I didn't carefully check the proofs in the appendix: there might be some typos left in them. In particular the inline equations might have to be checked again. The results appear to be significant, but the numerical support is limited, especially regarding the most important result (the low-heterogeneity logarithmic communication complexity) which I was unable to spot being covered at all. This is not ultimately required in a theory-focused paper, but it may compromise trust if the boldest claim was not numerically backed while others are. I am willing to improve my rating if either this important case is numerically supported or I become convinced that no further support is needed.

I have the following additional points:

  • Indexing of \theta is a bit confusing in the document. It is not always clear if the index increases after each leapfrog step (of which there are K in an HMC step) or only after each HMC step. This is made clear with two indices in Alg. 2, but in the main text notation changes at different locations. It might be good to briefly note the change where it occurs or introduce a unified notation. The same holds for Fig. 1 which has the two different indexing variants next to each other.
  • compared to Theorem 4.5, Theorem 4.3 has only little space for its statement. Since the scalar H plays a significant role in the results, highlighting it more by giving its expression a dedicated line might be beneficial.

Minor:

  • another spell checking run would be good, e.g. "propoerties of AFHMC algorithm" -> "properties of the AFHMC algorithm"
Questions

I have no further questions beyond those implied by the review

Limitations

Yes

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1. Empirical evidence of logarithmic communication complexity:

We added a direct low-heterogeneity Gaussian experiment to numerically support the logarithmic communication-complexity claim. Each client distribution is estimated from samples drawn from N(16.21d,1.6Id)N(16.2\mathbf{1}_d,1.6I_d), and the pooled samples define the target Gaussian used for W22W_2^2. Each setting is run under 3 random seeds. With K(d)=round�0�K(d)=\mathrm{round}�0� and η(d)=0.006(d/100)−1/2\eta(d)=0.006(d/100)^{-1/2}, AFHMC reaches W22<0.1W_2^2<0.1 for every tested dimension and seed. Please see the table below for detailed experiment results.

d crossed mean first-cross round std K eta
2 3/3 154.33 6.11 7 0.0424264
50 3/3 212.33 0.58 35 0.00848528
100 3/3 220.00 0.00 50 0.006
150 3/3 229.00 0.00 61 0.00489898
200 3/3 230.67 0.58 71 0.00424264
250 3/3 237.00 0.00 79 0.00379473
300 3/3 237.67 0.58 87 0.0034641
350 3/3 240.00 0.00 94 0.00320713
400 3/3 245.00 0.00 100 0.003
450 3/3 247.33 0.58 106 0.00282843
500 3/3 248.00 0.00 112 0.00268328

The first-crossing rounds fit R(d)=104.901+16.791log⁡(d/0.1)R(d)=104.901+16.791\log(d/0.1) with R2=0.996R^2=0.996, and rise only from 212.33 to 248.00 when dd increases from 50 to 500. This provides direct numerical evidence for the claimed logarithmic communication in the low-heterogeneity regime.

2.Notation inconsistency:

We acknowledge the notation inconsistency and will reconcile the notations in the figures, algorithm blocks and theoretical statements. We intend to uniformly use double subscripts as θt,k\theta_{t,k} for parameters, where tt and kk denote index of HMC iteration and leapfrog step within the HMC iterate (e.g., left plot on Fig 1 should use notation θ1,K …,θt,K\theta_{1,K}\,\dots,\theta_{t,K}).

### 3. Representation of Theorem 4.5:

We agree that the paper benefits from additional elaboration on Theorem 4.5, particularly regarding the quantity HH. Specifically, we provide an explicit analysis of

H:=max⁡i≤K∑c=1NwcE∣1iη(∇f(c)(Hˉηi(θπ))−∇f(c)(θπ)+∇f(θπ)−∇f(Hˉηi(θπ)))∣2H:=\max_{i\leq K}\sum_{c=1}^Nw_c\mathbb{E}\left|\frac{1}{i\eta}\left(\nabla f^{(c)}\left(\bar{\mathcal{H}}_{\eta}^{i}(\theta^\pi)\right)-\nabla f^{(c)}(\theta^\pi)+\nabla f(\theta^\pi)-\nabla f\left(\bar{\mathcal{H}}_{\eta}^{i}(\theta^\pi)\right)\right)\right|^2

By the MM-Lipschitz condition,

H≤4max⁡1≤i≤K∑c=1NwcE∣Miη(Hˉηi(θπ)−θπ)∣2.H \leq 4 \max_{1\leq i\leq K} \sum_{c=1}^{N} w_c \mathbb{E} \left| \frac{M}{i\eta} \left( \bar{\mathcal{H}}_{\eta}^{i}(\theta^\pi)-\theta^\pi \right) \right|^2.

Moreover,

Hˉηi(θπ)−θπ=∫0iηp(t)dt.\bar{\mathcal{H}}_{\eta}^{i}(\theta^\pi)-\theta^\pi=\int_{0}^{i\eta} p(t)dt.

where p(t)p(t) has a stationary marginal multivariate normal distribution. Overall, we can obtain that

H≤CM2dH \leq C M^2d

for some absolute constant CC. In our response to Reviewer qaio, we also provide several concrete examples illustrating the magnitude of HH.

Reviewer MEAK · CommentOpenReview ↗

Thank you for the concise response and addressing my concerns. I acknowledge the notational cleanup and the numerical support for the logarithmic communication cost. Nonetheless, as far as I can see, in this experiment heterogeneity is not controlled and thus could be chosen arbitrarily. Seeing the transition between the logarithmic and cubic regimes would have been the important part, demonstrating your unified result. It is still valid that theorems 4.3 and 4.5 are worth publishing. Although I am not too happy with it, I will keep my word and raise my score.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

We thank the reviewers (and AC) for their careful review and constructive feedback. Below, we would like to summarize the reviewer-author discussion as a closure.

Our contributions: Our major contribution is theoretical and establishes a better rate of communication rounds for the Federated sampling problems than the existing result. For low heterogeneity cases, we achieve a logarithmic rate w.r.t. model dimension; for high heterogeneity cases, we achieve O(d/ϵ2)1/3O(d/\epsilon^2)^{1/3} rate. Although this is a theory submission, we present empirical evidence in the original submission and follow-up rebuttal discussion, which shows improved communication efficiency and better convergence (under the same communication cost) over FL-HMC and FA-LD. These experiments may be of low scale, and the demonstrated improvement may be marginal; however, per the reviewing guidelines of theory submissions, they are more than enough to formalize our theoretical insight.

Technical Details: During the rebuttal, we clarify the order of HH w.r.t. model dimension, and provide some concrete examples of how to explicitly calculate HH. Our theoretical results don't require a Hessian smoothness assumption. But this is NOT a huge theoretical breakthrough. Hessian smoothness does enable more subtle error analysis for local momentum of leapfrog steps, but the convergence analysis is still doable with only convexity and L-smoothness (see, for example, the analysis of Deng et al (UAI, 2024) ). If we add the Hessian smoothness assumption (i.e., ∣∣(∇2f(x1)−∇2f(x2))p∣∣≤LH∣∣x1−x2∣∣×∣∣p∣∣∞||(\nabla^2 f(x_1)-\nabla^2f(x_2))p|| \leq L_H||x_1-x_2|| \times ||p||_{\infty}, for some constant LHL_H ), our calculation shows that we can improve the communication round to O(d/ϵ2)1/6O(d/\epsilon^2)^{1/6} and total iterations to O(d/ϵ2)1/2O(d/\epsilon^2)^{1/2}, where the total iteration rate matches the prior FA-HMC result. This is partially related to reviewer bKUH's concern about the trade-off between local computation and communication rounds. That is, with an additional Hessian-smoothness assumption, we can improve communication efficiency without increasing the rate of total gradient computations. We are happy to include this additional theoretical result in the revision, if permitted by AC.

Paper Presentation: We thank reviewers for providing many helpful suggestions to improve the presentation quality of the paper. We will follow all these suggestions (e.g., notation changes, table of comparisons against existing theorems, more discussion of HH, when the logarithmic communication rate can be achieved, and additional experiments) to revise the submission, if accepted.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…