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

基于矩匹配高斯混合的概率程序推断

Inference of Probabilistic Programs with Moment-Matching Gaussian Mixtures

Francesca Randone, Luca Bortolussi, Emilio Incerto, Mirco Tribastone

AI总结:

本文提出高斯语义,通过矩匹配高斯混合近似概率程序的后验分布,并给出通用逼近定理及解析二阶矩匹配方法SOGA,在多个案例中优于现有技术。

摘要:

计算概率程序的后验分布是一项困难的任务,目前不存在一种放之四海而皆准的解决方案。我们提出了高斯语义(Gaussian Semantics),它通过高斯混合来近似有界程序的精确概率语义。该语义由一个映射参数化,该映射将每个程序位置与近似中要匹配的矩阶数相关联。我们提供了两个主要贡献。第一个是通用逼近定理,该定理指出,在温和条件下,高斯语义可以任意接近地近似精确语义。第二个是一种近似方法,它能在面对通常困难的任意矩阶高斯混合矩匹配问题时,解析地匹配至二阶矩。我们在文献中的多个案例研究上测试了我们的二阶高斯近似(SOGA)。我们表明,在其它近似方法不支持的模型中,或当精确符号技术因复杂表达式或未简化积分而失败时,SOGA能提供准确的估计。在两类显著的问题上,即协同过滤和涉及连续与离散分布混合的程序,我们展示了SOGA在准确性和计算时间方面显著优于替代技术。

英文摘要:

Computing the posterior distribution of a probabilistic program is a hard task for which no one-fit-for-all solution exists. We propose Gaussian Semantics, which approximates the exact probabilistic semantics of a bounded program by means of Gaussian mixtures. It is parametrized by a map that associates each program location with the moment order to be matched in the approximation. We provide two main contributions. The first is a universal approximation theorem stating that, under mild conditions, Gaussian Semantics can approximate the exact semantics arbitrarily closely. The second is an approximation that matches up to second-order moments analytically in face of the generally difficult problem of matching moments of Gaussian mixtures with arbitrary moment order. We test our second-order Gaussian approximation (SOGA) on a number of case studies from the literature. We show that it can provide accurate estimates in models not supported by other approximation methods or when exact symbolic techniques fail because of complex expressions or non-simplified integrals. On two notable classes of problems, namely collaborative filtering and programs involving mixtures of continuous and discrete distributions, we show that SOGA significantly outperforms alternative techniques in terms of accuracy and computational time.

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

↑