SlicStan中密度概率规划:高效、灵活和确定性
Probabilistic Programming with Densities in SlicStan: Efficient, Flexible and Deterministic
摘要:
Stan是一种概率程序设计语言,越来越多地用于现实世界的可扩展项目。然而,为了使实际推理成为可能,该语言通过采用块语法牺牲了一些可用性,这缺乏组合性和灵活的用户定义函数。此外,该语言的语义主要是根据实现的直觉给出的,并且还没有正式化。本文提供了一个正式的处理斯坦语言,并介绍了概率程序设计语言SlicStan -组成,自我优化版本的斯坦。我们的主要贡献是:(1)通过基于操作密度的语义来形式化Stan的核心子集;(2)Stan类语言SlicStan的设计和语义,通过其组合语法,更灵活的功能和信息流类型系统来实现更好的代码重用和抽象;(3)将SlicStan转换为Stan的形式化,语义保持过程。
英文摘要:
Stan is a probabilistic programming language that has been increasingly used for real-world scalable projects. However, to make practical inference possible, the language sacrifices some of its usability by adopting a block syntax, which lacks compositionality and flexible user-defined functions. Moreover, the semantics of the language has been mainly given in terms of intuition about implementation, and has not been formalised. This paper provides a formal treatment of the Stan language, and introduces the probabilistic programming language SlicStan --- a compositional, self-optimising version of Stan. Our main contributions are: (1) the formalisation of a core subset of Stan through an operational density-based semantics; (2) the design and semantics of the Stan-like language SlicStan, which facilities better code reuse and abstraction through its compositional syntax, more flexible functions, and information-flow type system; and (3) a formal, semantic-preserving procedure for translating SlicStan to Stan.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。