Bean Machine: A Declarative Probabilistic Programming Language For Efficient Programmable Inference
Bean Machine: A Declarative Probabilistic Programming Language For Efficient Programmable Inference
复制标题
Bean Machine:一种用于高效可编程推理的声明式概率编程语言
DOI:
--
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Eric Lippert
中科院分区:
文献类型:
--
作者:
N. Tehrani;Nimar S. Arora;David Noursi;Michael Tingley;Narjes Torabi;Eric Lippert
A number of imperative Probabilistic Programming Languages (PPLs) have been recently proposed, but the imperative style choice makes it very hard to deduce the dependence structure be-tween the latent variables, which can also change from iteration to iteration. We propose a new declarative style PPL, Bean Machine, and demonstrate that in this new language, the dynamic dependence structure is readily available. Although we are not the first to propose a declarative PPL or to observe the advantages of knowing the dependence structure, we take the idea further by showing other inference techniques that become feasible or easier in this style. We show that it is very easy for users to program inference by composition (combining different inference techniques for different parts of the model), customization (providing a custom hand-written inference method for specific variables), and blocking (specifying blocks of random variables that should be sampled together) in a declarative language. A number of empirical results are provided where we backup these claims modulo the runtime inefficiencies of unvectorized Python. As a fringe benefit, we note that it is very easy to translate statistical models written in mathematical notation into our language.
影响因子:
5.8
作者:
Carpenter, Bob;Gelman, Andrew;Riddell, Allen
通讯作者:
Riddell, Allen