Probabilistic programming with stochastic variational message passing

  • Semih Akbayrak (Corresponding author)
  • , İsmail Şenöz
  • , Alp Sarı
  • , Bert de Vries

Research output: Contribution to journalArticleAcademicpeer-review

2 Citations (Scopus)
162 Downloads (Pure)

Abstract

Stochastic approximation methods for variational inference have recently gained popularity in the probabilistic programming community since these methods are amenable to automation and allow online, scalable, and universal approximate Bayesian inference. Unfortunately, common Probabilistic Programming Languages (PPLs) with stochastic approximation engines lack the efficiency of message passing-based inference algorithms with deterministic update rules such as Belief Propagation (BP) and Variational Message Passing (VMP). Still, Stochastic Variational Inference (SVI) and Conjugate-Computation Variational Inference (CVI) provide principled methods to integrate fast deterministic inference techniques with broadly applicable stochastic approximate inference. Unfortunately, implementation of SVI and CVI necessitates manually driven variational update rules, which does not yet exist in most PPLs. In this paper, we cast SVI and CVI explicitly in a message passing-based inference context. We provide an implementation for SVI and CVI in ForneyLab, which is an automated message passing-based probabilistic programming package in the open source Julia language. Through a number of experiments, we demonstrate how SVI and CVI extends the automated inference capabilities of message passing-based probabilistic programming.

Original languageEnglish
Pages (from-to)235-252
Number of pages18
JournalInternational Journal of Approximate Reasoning
Volume148
DOIs
Publication statusPublished - Sept 2022

Bibliographical note

Funding Information:
This research was financially supported by GN Hearing and a PPS grant from the Dutch Ministry of Economic Affairs .

Funding

This research was financially supported by GN Hearing and a PPS grant from the Dutch Ministry of Economic Affairs .

Keywords

  • Factor graphs
  • Message passing
  • Natural gradient descent
  • Probabilistic programming
  • Variational inference

Fingerprint

Dive into the research topics of 'Probabilistic programming with stochastic variational message passing'. Together they form a unique fingerprint.

Cite this