首页> 外文会议>European Joint Conferences on Theory and Practice of Software;European Symposium on Programming >Densities of Almost Surely Terminating Probabilistic Programs are Differentiable Almost Everywhere
【24h】

Densities of Almost Surely Terminating Probabilistic Programs are Differentiable Almost Everywhere

机译:几乎肯定地终止概率计划的密度几乎无处不在

获取原文

摘要

We study the differential properties of higher-order statistical probabilistic programs with recursion and conditioning. Our starting point is an open problem posed by Hongseok Yang: what class of statistical probabilistic programs have densities that are differentiable almost everywhere? To formalise the problem, we consider Statistical PCF (SPCF), an extension of call-by-value PCF with real numbers, and constructs for sampling and conditioning. We give SPCF a sampling-style operational semantics a la Borgstrom et al., and study the associated weight (commonly referred to as the density) function and value function on the set of possible execution traces. Our main result is that almost surely terminating SPCF programs, generated from a set of primitive functions (e.g. the set of analytic functions) satisfying mild closure properties, have weight and value functions that are almost everywhere differentiable. We use a stochastic form of symbolic execution to reason about almost everywhere differentiability. A by-product of this work is that almost surely terminating deterministic (S)PCF programs with real parameters denote functions that are almost everywhere differentiable. Our result is of practical interest, as almost everywhere differentiability of the density function is required to hold for the correctness of major gradient-based inference algorithms.
机译:我们研究了使用递归和调节的高阶统计概率程序的差异性质。我们的出发点是宏郡杨提出的一个公开问题:几乎无处不在的统计概率方案的统计概率术语是什么?要进行正式的问题,我们考虑统计PCF(SPCF),延长带有实数的Qual Value PCF,以及用于采样和调节的构造。我们为SPCF提供了一个采样式操作语义A La BorgStrom等人,并研究了该组可能的执行迹线的相关权重(通常称为密度)函数和价值函数。我们的主要结果是,几乎肯定地终止了SPCF程序,这些程序由一组原始函数(例如分析函数)满足温和闭合属性,具有几乎各处的重量和价值函数。我们使用符号执行的随机形式,原因几乎无处不在的差异性。这项工作的副产品是几乎肯定地终止具有实际参数的确定性,表示几乎无处不有的函数。我们的结果是实际兴趣,因为对于主要梯度的推理算法,几乎需要对密度函数的差异性差异很大。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号