【24h】

A Lambda-Calculus Foundation for Universal Probabilistic Programming

机译:通用概率编程的Lambda微积分基础

获取原文
获取原文并翻译 | 示例
       

摘要

We develop the operational semantics of an untyped probabilistic lambda-calculus with continuous distributions, and both hard and soft constraints, as a foundation for universal probabilistic programming languages such as CHURCH, ANGLICAN, and VENTURE. Our first contribution is to adapt the classic operational semantics of lambda-calculus to a continuous setting via creating a measure space on terms and defining step-indexed approximations. We prove equivalence of big-step and small-step formulations of this distribution-based semantics. To move closer to inference techniques, we also define the sampling-based semantics of a term as a function from a trace of random samples to a value. We show that the distribution induced by integration over the space of traces equals the distribution-based semantics. Our second contribution is to formalize the implementation technique of trace Markov chain Monte Carlo (MCMC) for our calculus and to show its correctness. A key step is defining sufficient conditions for the distribution induced by trace MCMC to converge to the distribution-based semantics. To the best of our knowledge, this is the first rigorous correctness proof for trace MCMC for a higher-order functional language, or for a language with soft constraints.
机译:我们开发具有连续分布以及硬约束和软约束的无类型概率Lambda演算的操作语义,作为通用概率编程语言(如CHURCH,ANGLICAN和VENTURE)的基础。我们的第一个贡献是通过在项上创建度量空间并定义逐步索引的近似值,使lambda微积分的经典运算语义适应连续设置。我们证明了这种基于分布的语义的大步和小步表达是等效的。为了更接近推理技术,我们还将术语的基于采样的语义定义为从随机样本到值的函数。我们表明,由迹线空间上的集成引起的分布等于基于分布的语义。我们的第二个贡献是为微积分形式化了跟踪马尔可夫链蒙特卡洛(MCMC)的实现技术,并证明了其正确性。关键步骤是为跟踪MCMC诱导的分布定义足够的条件,以使其收敛于基于分布的语义。就我们所知,这是针对高级功能语言或具有软约束的语言的跟踪MCMC的第一个严格的正确性证明。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号