Skip to main content
QUICK REVIEW

[Paper Review] Embarrassingly Parallel Variational Inference in Nonconjugate Models

Willie Neiswanger, Chong Wang|arXiv (Cornell University)|Oct 14, 2015
Machine Learning and AlgorithmsComputer Science22 references9 citations
TL;DR

This paper proposes an embarrassingly parallel variational inference (EPVI) method for nonconjugate Bayesian models that enables independent, communication-free inference on distributed data subsets. By leveraging a product of subposterior densities and nonparametric variational inference, it achieves significant speedups—up to tenfold—while maintaining accurate posterior approximations across nonconjugate models like logistic regression and nonlinear matrix factorization.

ABSTRACT

We develop a parallel variational inference (VI) procedure for use in data-distributed settings, where each machine only has access to a subset of data and runs VI independently, without communicating with other machines. This type of "embarrassingly parallel" procedure has recently been developed for MCMC inference algorithms; however, in many cases it is not possible to directly extend this procedure to VI methods without requiring certain restrictive exponential family conditions on the form of the model. Furthermore, most existing (nonparallel) VI methods are restricted to use on conditionally conjugate models, which limits their applicability. To combat these issues, we make use of the recently proposed nonparametric VI to facilitate an embarrassingly parallel VI procedure that can be applied to a wider scope of models, including to nonconjugate models. We derive our embarrassingly parallel VI algorithm, analyze our method theoretically, and demonstrate our method empirically on a few nonconjugate models.

Motivation & Objective

  • Address the lack of scalable, low-communication variational inference methods for nonconjugate models in distributed data settings.
  • Overcome the limitations of existing parallel VI methods that require conditional conjugacy or exponential family assumptions.
  • Enable secure, decentralized inference by eliminating inter-machine communication during computation.
  • Extend the applicability of embarrassingly parallel inference beyond exponential family models to general Bayesian models.
  • Develop a method that maintains posterior approximation accuracy while drastically reducing convergence time in large-scale, distributed settings.

Proposed method

  • Adopt a posterior decomposition strategy based on the product of subposterior densities, inspired by recent parallel MCMC work.
  • Apply this decomposition to nonparametric variational inference (NVI), which does not require conditional conjugacy or exponential family assumptions.
  • Perform independent variational inference on each data partition without communication, using weak differentiability conditions on the joint log probability.
  • Combine local variational approximations via a product mixture of subposterior densities to approximate the full-data posterior.
  • Introduce two sampling-based procedures—EPVI_sample and EPVI_subset—for efficiently approximating the product mixture when exact computation is infeasible.
  • Use sequential sampling in the final aggregation step to reduce computational cost while preserving approximation quality.

Experimental results

Research questions

  • RQ1Can embarrassingly parallel variational inference be extended to nonconjugate models without requiring exponential family or conditional conjugacy assumptions?
  • RQ2How well can a product of subposterior densities approximate the full-data posterior in nonconjugate models when combined via nonparametric VI?
  • RQ3What is the trade-off between computational efficiency and posterior approximation accuracy in distributed, communication-free VI settings?
  • RQ4How do different sampling strategies for the product mixture (EPVI_sample vs. EPVI_subset) compare in terms of speed and accuracy?
  • RQ5To what extent can the proposed method scale in terms of data partition count (M) and mixture component count (K) while maintaining performance?

Key findings

  • EPVI_sample reduces convergence time by nearly tenfold compared to standard NVI across multiple nonconjugate models, including logistic regression and nonlinear matrix factorization.
  • The method maintains virtually identical held-out negative log-likelihood values to the baseline NVI, indicating strong posterior approximation quality despite reduced communication.
  • For M > 6 and K > 4, the computation time for exact product mixture evaluation increases substantially, while EPVI_sample and EPVI_subset remain efficient and accurate.
  • EPVI_sample outperforms EPVI_subset in both test log-likelihood and computation time, suggesting better sampling efficiency in the product mixture approximation.
  • The method scales effectively with increasing numbers of data splits (M) and mixture components (K), showing consistent speedups without degradation in predictive performance.
  • Empirical results on both synthetic and real-world data demonstrate that the approach achieves high-speed inference with minimal communication, making it suitable for privacy-sensitive, distributed environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.