Introduction
Markov Chain Monte Carlo (MCMC) is the gold standard for Bayesian inference, but its inherently serial nature makes it prohibitively slow for massive datasets. To address this, researchers previously developed Consensus Monte Carlo (CMC). CMC partitions data into $K$ shards, runs MCMC on each shard in parallel, and averages the results. However, standard CMC relies on fixed, simple averaging rules (often assuming Gaussian distributions). In high-dimensional spaces or complex models like mixture models, this naive averaging fails, leading to poor approximations of the true posterior.
Variational Consensus Monte Carlo (VCMC) transforms this aggregation step into a Variational Bayes optimization problem. By adaptively learning the optimal way to merge samples from different data shards, VCMC significantly reduces approximation errors while preserving the massive speedups of distributed computing.
Methodology
Instead of using a fixed weighted average, VCMC defines a family of aggregation functions and optimizes them to minimize the Kullback-Leibler (KL) divergence to the true posterior.
Key technical innovations include:
- Entropy Relaxation: The standard variational objective (ELBO) includes an intractable entropy term for the aggregated distribution. The authors utilize the entropy power inequality to derive a concave lower bound, making the optimization computationally efficient and "blockwise concave."
- Structured Aggregation Families: VCMC moves beyond simple vector averaging to handle complex parameter geometries:
- Spectral Aggregation: Used for covariance matrices to ensure the aggregated result remains positive semi-definite.
- Combinatorial Aggregation: Applied to mixture models, utilizing the Hungarian algorithm to resolve "label switching" (aligning clusters across different parallel workers) prior to merging.
- Optimization: Projected stochastic gradient descent (SGD) is employed to find the optimal combination weights for the parallel samples.
Experimental Setup
The authors evaluated VCMC against serial MCMC and standard CMC baselines across several tasks:
- High-dimensional Probit Regression: $N = 100,000$ data points in $d = 300$ dimensions.
- Normal-inverse Wishart Model: $N = 100,000$ data points in $d = 100$ dimensions (testing spectral aggregation).
- Gaussian Mixture Model (GMM): $N = 50,000$ data points, 8 components in 8 dimensions (testing combinatorial aggregation).
Key Results and Insights
The core philosophy of VCMC is that the merging rule should be learned from the data rather than relying on heuristics. This approach yields substantial performance improvements:
- Massive Error Reduction: In the 300-dimensional probit regression task, VCMC reduced relative error by 39% compared to standard CMC. In the GMM task, it achieved a remarkable 92% error reduction in estimating cluster membership.
- Robustness at Scale: Standard CMC degrades rapidly as the number of partitions ($K$) increases. VCMC remains significantly more stable because its optimization step actively compensates for the noisier subposteriors generated by smaller data shards.
- Scalability: VCMC scales exceptionally well. For the GMM, using 25 partitions yielded a near-ideal 25x speedup. Even at 100 partitions, where communication overhead is higher, it maintained a ~50x speedup over serial MCMC. The optimization overhead is negligible compared to the time saved during sampling.
Limitations and Future Work
While highly effective, VCMC relies on a lower bound of the entropy rather than the exact value, introducing a slight approximation. Additionally, users must select an appropriate "family" of aggregation functions (e.g., linear, spectral) for their specific model. Future work may explore more complex aggregation functions capable of handling multimodal posteriors or incorporating data minibatching to further accelerate the optimization step.
Summary updated