Automatic Structured Variational Inference

Abstract

Stochastic variational inference offers an attractive option as a default method for differentiable probabilistic programming. However, the performance of the variational approach depends on the choice of an appropriate variational family. Here, we introduce automatic structured variational inference (ASVI), a fully automated method for constructing structured variational families, inspired by the closed-form update in conjugate Bayesian models. These pseudo-conjugate families incorporate the forward pass of the input probabilistic program and can therefore capture complex statistical dependencies. Pseudo-conjugate families have the same space and time complexity of the input probabilistic program and are therefore tractable for a very large family of models including both continuous and discrete variables. We validate our automatic variational method on a wide range of both low- and high-dimensional inference problems. We find that ASVI provides a clear improvement in performance when compared with other popular approaches such as mean field family and inverse autoregressive flows. We provide a fully automatic open source implementation of ASVI in TensorFlow Probability.

Cite

Text

Ambrogioni et al. "Automatic Structured Variational Inference." Artificial Intelligence and Statistics, 2021.

Markdown

[Ambrogioni et al. "Automatic Structured Variational Inference." Artificial Intelligence and Statistics, 2021.](https://mlanthology.org/aistats/2021/ambrogioni2021aistats-automatic/)

BibTeX

@inproceedings{ambrogioni2021aistats-automatic,
  title     = {{Automatic Structured Variational Inference}},
  author    = {Ambrogioni, Luca and Lin, Kate and Fertig, Emily and Vikram, Sharad and Hinne, Max and Moore, Dave and Gerven, Marcel},
  booktitle = {Artificial Intelligence and Statistics},
  year      = {2021},
  pages     = {676-684},
  volume    = {130},
  url       = {https://mlanthology.org/aistats/2021/ambrogioni2021aistats-automatic/}
}