arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.07250cs.PL
收藏

仿射单子与贝叶斯规划的惰性结构

Affine Monads and Lazy Structures for Bayesian Programming

Swaraj Dash, Younesse Kaddar, Hugo Paquet, Sam Staton

摘要:

我们表明,流和懒惰的数据结构是一个自然的成语编程与无限维贝叶斯方法,如泊松过程,高斯过程,跳跃过程,狄利克雷过程,贝塔过程。受合成概率论发展的启发,关键的语义思想是处理两个独立的单子:一个支持懒惰的仿射概率单子,和一个不支持懒惰的可交换的非仿射测度单子。(仿射意味着$T(1)\cong 1$。)我们表明,分离是重要的,从可判定性的角度来看,最近的准Borel空间模型支持这两个单子。为了用这些例子进行贝叶斯推理,我们引入了新的推理方法,这些方法专门适用于懒惰,它们被证明是正确的参考大都会黑斯廷斯绿色方法。我们的理论开发是作为一个Haskell库,LazyPPL实现的。

英文摘要:

We show that streams and lazy data structures are a natural idiom for programming with infinite-dimensional Bayesian methods such as Poisson processes, Gaussian processes, jump processes, Dirichlet processes, and Beta processes. The crucial semantic idea, inspired by developments in synthetic probability theory, is to work with two separate monads: an affine monad of probability, which supports laziness, and a commutative, non-affine monad of measures, which does not. (Affine means that $T(1)\cong 1$.) We show that the separation is important from a decidability perspective, and that the recent model of quasi-Borel spaces supports these two monads. To perform Bayesian inference with these examples, we introduce new inference methods that are specially adapted to laziness; they are proven correct by reference to the Metropolis-Hastings-Green method. Our theoretical development is implemented as a Haskell library, LazyPPL.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑