flip-hoisting: Exploiting Repeated Parameters in Discrete Probabilistic Programs
원문 초록
Many of today's probabilistic programming languages (PPLs) have brittle inference performance: the performance of the underlying inference algorithm is very sensitive to the precise way in which the probabilistic program is written. A standard way of addressing this challenge in traditional programming languages is via program optimizations, which seek to unburden the programmer from writing low-level performant code, freeing them to work at a higher-level of abstraction. The arsenal of applicable program optimizations for PPLs to choose from is scarce in comparison to traditional programs; few of today's PPLs offer significant forms of automated program optimization. In this work we develop a new family of program optimizations specific to discrete-valued knowledge compilation based PPLs. We identify a particular form of program structure unique to these PPLs that tangibly affects exact inference performance in these programs: redundant random variables -- variables with repeated parameters and inconsistent path conditions. We develop a new program analysis and associated optimization called flip-hoisting that identifies these redundancies and optimizes them into a single random variable. We show that flip-hoisting yields inference speedups of up to 60% on applications of probabilistic programs such as Bayesian networks and probabilistic verification.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects Models
Markov Senior -- Learning Markov Junior Grammars to Generate User-specified Content
The future of cosmological likelihood-based inference: accelerated high-dimensional parameter estimation and model comparison
Simplifying debiased inference via automatic differentiation and probabilistic programming
BlackJAX: Composable Bayesian inference in JAX
SymbolicAI: A framework for logic-based approaches combining generative models and solvers
토론
이 논문과 연결된 포럼 글이 아직 없습니다.