flip-hoisting: Exploiting Repeated Parameters in Discrete Probabilistic Programs
Ellie Y. Cheng, Todd Millstein, Guy Van den Broeck, Steven Holtzen

TL;DR
This paper introduces flip-hoisting, a novel program optimization for discrete probabilistic programming languages that reduces redundant variables, significantly improving inference speed in applications like Bayesian networks.
Contribution
The paper presents flip-hoisting, a new analysis and optimization technique that identifies and consolidates redundant variables in discrete probabilistic programs, enhancing inference performance.
Findings
Inference speedups of up to 60% achieved
Effective reduction of redundant variables in programs
Improved performance in Bayesian networks and verification
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBayesian Modeling and Causal Inference · Machine Learning and Algorithms · Formal Methods in Verification
