English

Slice Sampling for Probabilistic Programming

Artificial Intelligence 2015-01-21 v1 Programming Languages

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.

Keywords

Cite

@article{arxiv.1501.04684,
  title  = {Slice Sampling for Probabilistic Programming},
  author = {Razvan Ranca and Zoubin Ghahramani},
  journal= {arXiv preprint arXiv:1501.04684},
  year   = {2015}
}

Comments

11 pages

R2 v1 2026-06-22T08:06:28.436Z