跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2304.13504 (cs)
[提交于 2023年4月26日]

标题:Deterministic stream-sampling for probabilistic programming: semantics and verification

作者:Fredrik Dahlqvist, Alexandra Silva, William Smith
查看论文《Deterministic stream-sampling for probabilistic programming: semantics and verification》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Probabilistic programming languages rely fundamentally on some notion of sampling, and this is doubly true for probabilistic programming languages which perform Bayesian inference using Monte Carlo techniques. Verifying samplers - proving that they generate samples from the correct distribution - is crucial to the use of probabilistic programming languages for statistical modelling and inference. However, the typical denotational semantics of probabilistic programs is incompatible with deterministic notions of sampling. This is problematic, considering that most statistical inference is performed using pseudorandom number generators. We present a higher-order probabilistic programming language centred on the notion of samplers and sampler operations. We give this language an operational and denotational semantics in terms of continuous maps between topological spaces. Our language also supports discontinuous operations, such as comparisons between reals, by using the type system to track discontinuities. This feature might be of independent interest, for example in the context of differentiable programming. Using this language, we develop tools for the formal verification of sampler correctness. We present an equational calculus to reason about equivalence of samplers, and a sound calculus to prove semantic correctness of samplers, i.e. that a sampler correctly targets a given measure by construction.
评论: Extended version of LiCS 2023 paper
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2304.13504 [cs.PL]
  (或者 arXiv:2304.13504v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2304.13504
期刊参考: 2023 38th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)
相关 DOI: https://doi.org/10.1109/LICS56636.2023.10175773

提交历史

来自:Fredrik Dahlqvist
[v1] 2023年4月26日 星期三 12:49:08 UTC (626 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-04
切换浏览方式为:
cs
cs.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站