vix.ing · top · new · best · stats · spec

Slice Sampling for Probabilistic Programming

2015/01/20 by Razvan Ranca, Zoubin Ghahramani, Ranca, Razvan +1
Computer Science · #Artificial Intelligence (cs.AI) #FOS: Computer and information sciences #Programming Languages (cs.PL) #cs.AI #cs.PL

paper · pdf · doi:10.48550/arxiv.1501.04684

11 pages

arxiv created 2015/01/20 · arxiv updated 2015/01/21

Abstract

We introduce the first, general purpose, slice sampling inference engine for probabilistic programs. This engine is released as part of StocPy, a new Turing-Complete probabilistic programming language, available as a Python library. We present a transdimensional generalisation of slice sampling which is necessary for the inference engine to work on traces with different numbers of random variables. We show that StocPy compares favourably to other PPLs in terms of flexibility and usability, and that slice sampling can outperform previously introduced inference methods. Our experiments include a logistic regression, HMM, and Bayesian Neural Net.

Related