flip-hoisting: Exploiting Repeated Parameters in Discrete Probabilistic Programs

10/19/2021
by   Yu-Hsi Cheng, et al.
0

Probabilistic programming is emerging as a popular and effective means of probabilistic modeling and an alternative to probabilistic graphical models. Probabilistic programs provide greater expressivity and flexibility in modeling probabilistic systems than graphical models, but this flexibility comes at a cost: there remains a significant disparity in performance between specialized Bayesian network solvers and probabilistic program inference algorithms. In this work we present a program analysis and associated optimization, flip-hoisting, that collapses repetitious parameters in discrete probabilistic programs to improve inference performance. flip-hoisting generalizes parameter sharing - a well-known important optimization from discrete graphical models - to probabilistic programs. We implement flip-hoisting in an existing probabilistic programming language and show empirically that it significantly improves inference performance, narrowing the gap between the performances of probabilistic programs and probabilistic graphical models.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/11/2015

Lazy Factored Inference for Functional Probabilistic Programming

Probabilistic programming provides the means to represent and reason abo...
research
01/24/2020

Discrete graphical models – an optimization perspective

This monograph is about discrete energy minimization for discrete graphi...
research
06/29/2021

Probabilistic Graphical Models and Tensor Networks: A Hybrid Framework

We investigate a correspondence between two formalisms for discrete prob...
research
06/14/2007

Getting started in probabilistic graphical models

Probabilistic graphical models (PGMs) have become a popular tool for com...
research
08/12/2022

Multi-Model Probabilistic Programming

Probabilistic programming makes it easy to represent a probabilistic mod...
research
07/21/2022

Language Model Cascades

Prompted models have demonstrated impressive few-shot learning abilities...
research
09/04/2017

Exact Inference for Relational Graphical Models with Interpreted Functions: Lifted Probabilistic Inference Modulo Theories

Probabilistic Inference Modulo Theories (PIMT) is a recent framework tha...

Please sign up or login with your details

Forgot password? Click here to reset