When many machines each hold a private slice of data and want a shared Bayesian posterior, meaning a full distribution over plausible models rather than one best guess, today's decentralized methods face a hidden conflict. The standard way networked nodes agree is to repeatedly average their estimates with their neighbors. When the posterior has several separate peaks (modes), averaging does harm. A node whose data favors one mode and a node whose data favors another pull their estimates apart, and averaging then puts the shared belief in the empty valley between the peaks. We propose a way around this. Every node carries the same small set of particles, which are points that together represent the posterior. Nodes never average competing hypotheses. Instead, each node runs a gradient-tracking correction that estimates the network-wide score, the gradient of the log-posterior, at each particle. Because every node's particles are then driven by essentially the same global force, particle $m$ sits in the same mode on every node. Averaging index-matched particles only cleans up small disagreements and does not merge modes.
In two sentences: each node runs Stein variational gradient descent, a deterministic particle method whose built-in repulsion keeps particles spread across modes. Nodes exchange both particles and a gradient-tracking estimate of the global score at each particle, so that particles stay aligned across the network and the fixed points match those of centralized Stein descent, with no heterogeneity bias at a constant step size. The claim we test is that this alignment is what prevents consensus from collapsing multimodal posteriors, and that dropping it (no tracking, or unaligned particles) produces mode smearing that grows with data heterogeneity.
What exists and what is missing
The research file shows three literatures that each hold one piece. Gradient tracking gives each node an auxiliary vector that follows the network-average gradient, which yields exact convergence at constant step size under non-IID data. This comes from D2 and from the directed-graph algorithm S-AB in Distributed stochastic optimization with gradient tracking over strongly-connected networks. All of it concerns a single Euclidean parameter vector with a single minimizer. We reuse its conservation invariant, but apply it to a set of particles.
Decentralized Langevin samplers bring collaboration to Bayesian learning. D-ULA mixes one particle per agent with neighbors and needs decaying step sizes. DE-SGLD/DE-SGHMC proves Wasserstein convergence, but only for strongly log-concave (single-peaked) targets. Neither uses tracking, and both hold one particle per node. After consensus, the whole network therefore behaves like one chain, and that chain must cross energy barriers to see a second mode. These papers motivate the gap and also constrain the design: consensus on single particles alone cannot hold several modes at once.
Two works escape the single-Gaussian bottleneck in a networked setting, but without drift correction. Stein Variational Belief Propagation runs Stein descent on each robot's marginal and passes beliefs between neighbors, with no tracking of the global score. Network EM for GMMs shows that naive decentralized EM and network gradient descent fail when each client sees one cluster. Its momentum fix (MNEM) recovers centralized efficiency, but only for a parametric mixture with known component count and separation conditions. Message Passing SVGD acts as a constraint on our method: it proves that Stein repulsion fades with dimension. We therefore scope our claims to moderate dimensions, or to low-dimensional structure. Finally, the gap analysis in the file says that no work shows how gradient tracking can synchronize information without collapsing hypothesis diversity. That is exactly the question here.
Core Claim
Node $i$ holds particles $x_{i,1},\dots,x_{i,M}$ and trackers $y_{i,1},\dots,y_{i,M}$. All nodes are initialized from a shared random seed so that particle $m$ starts in the same place everywhere. At each round, a node does three things in order. It mixes index-matched particles with its neighbors using weights $W_{ij}$. It applies the Stein update, using its trackers in place of the true global score. Then it updates each tracker by mixing neighbors' trackers and adding the change in its own local score, $s_i(x)=\nabla \log p_i(x)$, at that particle:
$$x_{i,m}^{k+1}=\sum_j W_{ij}x_{j,m}^k+\frac{\alpha}{M}\sum_{l=1}^M\Big[k(x_{i,l}^k,x_{i,m}^k)\,N y_{i,l}^k+\nabla_{x_{i,l}}k(x_{i,l}^k,x_{i,m}^k)\Big],$$
$$y_{i,m}^{k+1}=\sum_j W_{ij}y_{j,m}^k+s_i(x_{i,m}^{k+1})-s_i(x_{i,m}^k).$$
Here $k(\cdot,\cdot)$ is the kernel, $\alpha$ is the step size, and $p_i$ is node $i$'s share of the posterior (its likelihood times $1/N$ of the prior). The repulsion term depends only on particle positions, so it costs no extra communication.
For each particle, the tracking invariant $\sum_i y_{i,m}^k=\sum_i s_i(x_{i,m}^k)$ holds exactly. This gives a clean result we intend to prove for smooth scores and connected graphs. Any fixed point of the scheme has all nodes' particles identical and all trackers equal to the average score. Such a fixed point is therefore a fixed point of centralized Stein descent on the full posterior, whatever the data heterogeneity and step size.
The analysis has two parts. The first bounds the consensus error, which scales with step size, score smoothness and the spectral gap of the graph, but not with gradient heterogeneity; this follows the standard tracking argument. The second is a mode-smearing lower bound for the untracked variant, which grows with heterogeneity. This separates the decentralization error from Stein descent's own approximation error, so we inherit, rather than claim to fix, whatever Stein descent does on non-log-concave targets. Directed graphs use S-AB's pair of row-stochastic and column-stochastic matrices, and mini-batches optionally use the variance-reduced tracking of GT-VR.
Research Program
We will build the algorithm (Score-Tracked SVGD, or ST-SVGD) with undirected and directed variants, then prove the fixed-point equivalence and the consensus-error bound. We will then measure two things empirically. The first is how often modes are lost, and how that depends on heterogeneity, particle count $M$, dimension and graph connectivity. The second is the communication cost, which is $2Md$ numbers per edge per round. That cost motivates an experiment in which only trackers are sent at every round and particles are re-synchronized periodically. We will test whether the shared seed plus tracking keeps particles aligned long enough for this to work.
Baselines
The naive reference is the set of $N$ isolated nodes, each running Stein descent on its local posterior only. This shows how much collaboration buys. The second reference, not attainable in practice, is centralized Stein descent with the same $M$ and kernel on pooled data. This is the target our fixed-point theorem says we should match, and success is defined relative to it rather than to an absolute sampler.
The strongest decentralized sampling competitor is D-ULA (Parayil et al.), run with its decaying schedules tuned, and also with gradient tracking added (GT-Langevin). The latter is the obvious fix and our most serious competitor. On MNIST, D-ULA reports about 98.4% test accuracy versus about 98.1% for SGD, in the same paper. We will reproduce that setting before introducing label skew. DE-SGHMC (art_b0983dc6) is included on Breast Cancer and MAGIC, where no numeric results are reported on Lacuna.
For the parametric route we run MNEM (Zhu et al.) with its momentum tuned. The paper reports that MNEM matched centralized EM "within 1,000 iterations" on one-class-per-client MNIST-PCA26 while network gradient descent failed. No final log-likelihood is reported on Lacuna.
Three ablations isolate the key ingredients. SVGD with neighbor averaging but no tracking (SVBP-like) tests the tracking term. Tracking with independently seeded, unaligned particles tests alignment. Tracking without the repulsion term amounts to $M$ tracked optimizers and tests repulsion.
All methods receive the same data shards, graphs, per-round communication budget in floats (Langevin baselines get $M$ parallel chains where that is fair), and grid-search budget. "Beating" a method means lower maximum mean discrepancy to the centralized reference and lower mode-weight error at equal communication. Where the baseline's own metric exists, we must at least match it: accuracy for D-ULA, iterations to centralized-level fit for MNEM.
Why not just…?
Why not just add gradient tracking to D-ULA? This is the real threat. It fixes the drift from non-IID data with one particle per node. However, consensus then makes all $N$ particles move as roughly one chain, so a second well-separated mode is found only by barrier crossing, and the time for that grows with barrier height. The double-well and label-switching experiments test this directly by comparing mode-weight error at matched communication. If GT-Langevin with $M$ weakly coupled chains per node matches ST-SVGD, we will report that and treat the repulsion term as unnecessary.
Why not just fit a mixture model with MNEM? MNEM works when the component count is known and components are well separated. The paper itself needs a semi-supervised variant when clusters overlap, and it does not produce posteriors over arbitrary models such as logistic regression. We compare the two methods head to head on MNEM's own benchmark and on overlapping mixtures.
Why not just run $M$ tracked optimizers from different starts, like an ensemble? This finds several modes but assigns each mode a weight according to the size of its basin of attraction, not its posterior mass. It also has no spread within a mode. The no-repulsion ablation measures exactly this gap in mode weights and calibration.
Why not just average the particles as Stein belief propagation does? Without tracking, each node's local score pulls a given particle toward the modes that node's data supports, and averaging then smears them together. This is the untracked ablation, and we predict its error grows with the heterogeneity parameter while ours does not.
Proposed Experiments
The first set of experiments uses synthetic targets with a known ground truth: 2D to 10D Gaussian mixtures and a double-well potential of the kind used in Approximate Inference with Wasserstein Gradient Flows. Data is sharded so that each node's likelihood favors one mode. We vary the heterogeneity level, $N\in\{5,10,25\}$, and ring, torus and directed-exponential graphs.
The second set is Bayesian logistic regression on a9a, MAGIC and Breast Cancer with Dirichlet label skew. We measure test log-likelihood and calibration, and SVHN-style out-of-distribution confidence on MNIST as in D-ULA.
The third set is posterior inference over mixture means on MNIST-PCA26 with one digit class per client, following MNEM's setup. Here label switching makes the posterior genuinely multimodal. We measure centroid recovery and iterations needed to reach centralized-level fit.
Across all three we record maximum mean discrepancy and energy distance to centralized Stein descent, per-mode weight error, cross-node particle disagreement, and floats communicated. On the high-dimensional cases we report where repulsion fails. Lacuna has no reported result for mode coverage by any decentralized sampler, so all such numbers will be new.
The decisive check is a single plot of mode-weight error against heterogeneity. The prediction is flat for ST-SVGD, rising for the untracked and unaligned ablations, and plateaued near "one mode found" for GT-Langevin under high barriers. If the ST-SVGD curve rises, or if GT-Langevin matches it, the core claim is false.
References
- D2: Decentralized Training over Decentralized Data
- Distributed stochastic optimization with gradient tracking over strongly-connected networks
- Decentralized Langevin Dynamics for Bayesian Learning
- Decentralized Stochastic Gradient Langevin Dynamics and Hamiltonian Monte Carlo
- Stein Variational Belief Propagation for Multi-Robot Coordination
- Network EM Algorithm for Gaussian Mixture Model in Decentralized Federated Learning
- Message Passing Stein Variational Gradient Descent
- Variance-Reduced Decentralized Stochastic Optimization With Accelerated Convergence
- Approximate Inference with Wasserstein Gradient Flows