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

Bit Blasting 概率程序

Bit Blasting Probabilistic Programs

Poorva Garg, Steven Holtzen, Guy Van den Broeck, Todd Millstein

AI总结:

针对现有概率编程语言对混合概率程序支持不足的问题,提出基于bit blasting的离散化近似推理算法,构建HyBit系统,在精度无损的前提下实现高效推理,性能优于现有采样与符号推理方法。

摘要:

概率编程语言(PPL)是用于构建和推理概率模型的表达性工具。遗憾的是,当前的概率编程语言对同时包含连续结构和离散结构的混合概率程序支持不佳。本文提出了一种适用于混合概率程序的新型近似推理算法:该算法首先对连续分布进行离散化,随后对得到的程序执行离散推理。其核心创新点是一种被称为bit blasting(位爆破)的离散化方式,它采用数字的二进制表示,使得包含$2^b$个离散化点的域可以被简洁地表示为基于poly($b$)个布尔随机变量的离散概率程序。令人意外的是,我们证明了许多常见的连续分布都可以进行bit blasting处理,且相较于显式离散化不会产生精度损失,同时还支持高效的概率推理。我们构建了一个面向混合程序的概率编程系统HyBit,该系统采用bit blasting后接离散概率推理的流程。我们通过实验验证了所提方法相较于现有基于采样的推理方法和符号推理方法的优势。

英文摘要:

Probabilistic programming languages (PPLs) are expressive means for creating and reasoning about probabilistic models. Unfortunately hybrid probabilistic programs, involving both continuous and discrete structures, are not well supported by today's PPLs. In this paper we develop a new approximate inference algorithm for hybrid probabilistic programs that first discretizes the continuous distributions and then performs discrete inference on the resulting program. The key novelty is a form of discretization that we call bit blasting, which uses a binary representation of numbers such that a domain of $2^b$ discretized points can be succinctly represented as a discrete probabilistic program over poly($b$) Boolean random variables. Surprisingly, we prove that many common continuous distributions can be bit blasted in a manner that incurs no loss of accuracy over an explicit discretization and supports efficient probabilistic inference. We have built a probabilistic programming system for hybrid programs called HyBit, which employs bit blasting followed by discrete probabilistic inference. We empirically demonstrate the benefits of our approach over existing sampling-based and symbolic inference approaches.

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

↑