一句话:提出准博雷尔空间,为高阶概率程序提供兼具连续分布与高阶函数的范畴语义。
高阶概率编程语言可简洁地表达机器学习与统计模型,但常超出标准测度论概率形式化:程序可同时使用高阶函数与连续分布,甚至定义函数上的分布;而可测空间范畴并非笛卡尔闭,难以处理高阶函数。本文引入准博雷尔空间(quasi-Borel spaces),作为可测空间的替代概率论形式化;证明其构成笛卡尔闭范畴以支持高阶函数,构成良点范畴以支持等式推理证明原则,并支持连续概率分布。作者还展示该框架使涉及随机函数的经典构造表达更清晰,并将概率论中关键的 de Finetti 定理推广到准博雷尔空间。
Higher-order probabilistic programming languages allow programmers to write sophisticated models in machine learning and statistics in a succinct and structured way, but step outside the standard measure-theoretic formalization of probability theory. Programs may use both higher-order functions and continuous distributions, or even define a probability distribution on functions. But standard probability theory does not handle higher-order functions well: the category of measurable spaces is not cartesian closed. Here we introduce quasi-Borel spaces. We show that these spaces: form a new formalization of probability theory replacing measurable spaces; form a cartesian closed category and so support higher-order functions; form a well-pointed category and so support good proof principles for equational reasoning; and support continuous probability distributions. We demonstrate the use of quasi-Borel spaces for higher-order functions and probability by: showing that a well-known construction of probability theory involving random functions gains a cleaner expression; and generalizing de Finetti's theorem, that is a crucial theorem in probability theory, to quasi-Borel spaces.