NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Parallel MCMC Without Embarrassing Failures

Daniel Augusto de Souza, Diego Mesquita, Samuel Kaski, Luigi Acerbi

Introduction: The Challenge of Scaling Bayesian Inference

Bayesian inference via Markov Chain Monte Carlo (MCMC) is a cornerstone of modern statistics, yet its computational cost on large datasets remains a significant bottleneck. A common strategy to scale these methods is "embarrassingly parallel" MCMC, where data is partitioned into $K$ subsets. MCMC is run independently on each subset to produce "subposteriors," which are then combined to approximate the full posterior.

However, this approach often suffers from catastrophic failures. Standard combination methods assume that local samples are representative of the global distribution. In practice, if a subposterior misses a mode (mode collapse) or fails to accurately model the tails, the final product becomes wildly inaccurate.

Three common failure modes in parallel MCMC: mode collapse, model mismatch, and underrepresented tails.

Parallel Active Inference (PAI)

To address these robustness issues, this paper introduces Parallel Active Inference (PAI). PAI departs from simple sample averaging by constructing surrogate models of the subposteriors and introducing a controlled communication step.

The PAI framework consists of four primary stages:

  1. GP Surrogate Modeling: Each node fits a Gaussian Process (GP) to its local log-subposterior. To maintain efficiency, nodes use active subsampling (MAXIQR) to select only the most informative points for modeling.
  2. Sample Sharing: Nodes exchange a small subset of informative samples. This "cross-pollination" ensures that if one node discovers a mode, others are alerted to its existence.
  3. Active Refinement: Nodes evaluate the shared samples and perform targeted "active" evaluations of their local subposterior density. This resolves uncertainty in low-density regions or newly discovered modes.
  4. Combination: The final posterior is computed as the product of these refined GP surrogates, which remains mathematically tractable.
Active refinement in PAI: nodes evaluate shared samples and perform additional density evaluations to resolve uncertainty.

Evaluation and Key Insights

The authors evaluated PAI against state-of-the-art methods using synthetic benchmarks (multi-modal, heavy-tailed, and rare-event models) and real-world behavioral data from computational neuroscience.

A central insight of the work is that communication is necessary for robustness. Strictly parallel MCMC is prone to failure in complex landscapes; PAI demonstrates that sharing a minimal amount of "surprising" information is a small price for significant gains in reliability. Furthermore, the paper highlights that tail modeling is critical, as small errors in subposterior tails are amplified exponentially during combination.

Results

  • Robustness: PAI was the only method to successfully recover all four modes in a challenging multi-modal benchmark.
  • Accuracy: Across metrics like Mean Marginal Total Variation (MMTV) and 2-Wasserstein distance (W2), PAI consistently outperformed both non-parametric and other GP-based parallel MCMC methods.
  • Scalability: On a dataset of 1 million points, PAI achieved a 6x speedup over full-data MCMC while maintaining high accuracy, where other parallel methods failed.

Limitations and Future Directions

While effective, PAI is currently constrained by the dimensionality limits of Gaussian Processes, typically performing best in spaces with fewer than 10 dimensions. Future work may involve replacing GPs with more flexible surrogates, such as Bayesian Neural Networks, to scale the active learning benefits of PAI to higher-dimensional problems.

Summary updated

BibTeX
@inproceedings{souza2022parallel,
  author = {Daniel Augusto de Souza and Diego Mesquita and Samuel Kaski and Luigi Acerbi},
  title = {{Parallel MCMC Without Embarrassing Failures}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=ONQX3wQM5O},
}
Figure