首页    期刊浏览 2024年11月26日 星期二
登录注册

文章基本信息

  • 标题:A Provably Correct Sampler for Probabilistic Programs
  • 本地全文:下载
  • 作者:Chung-Kil Hur ; Aditya V. Nori ; Sriram K. Rajamani
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2015
  • 卷号:45
  • 页码:475-488
  • DOI:10.4230/LIPIcs.FSTTCS.2015.475
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We consider the problem of inferring the implicit distribution specified by a probabilistic program. A popular inference technique for probabilistic programs called Markov Chain Monte Carlo or MCMC sampling involves running the program repeatedly and generating sample values by perturbing values produced in "previous runs". This simulates a Markov chain whose stationary distribution is the distribution specified by the probabilistic program. However, it is non-trivial to implement MCMC sampling for probabilistic programs since each variable could be updated at multiple program points. In such cases, it is unclear which values from the "previous run" should be used to generate samples for the "current run". We present an algorithm to solve this problem for the general case and formally prove that the algorithm is correct. Our algorithm handles variables that are updated multiple times along the same path, updated along different paths in a conditional statement, or repeatedly updated inside loops, We have implemented our algorithm in a tool called InferX. We empirically demonstrate that InferX produces the correct result for various benchmarks, whereas existing tools such as R2 and Stan produce incorrect results on several of these benchmarks.
  • 关键词:Probabilistic Programming; Program Correctness; Probabilistic Inference; Markov Chain Monte Carlo Sampling
国家哲学社会科学文献中心版权所有