Fixed-parameter tractable inference for discrete probabilistic programs, via string diagram algebraisation
Benedikt Peterseim, Milan Lopuha\"a-Zwakenberg

TL;DR
This paper introduces a polynomial-time inference method for certain discrete probabilistic programs with simple structure, using string diagram algebraisation and tree decompositions.
Contribution
It presents a novel algebraic approach leveraging string diagrams and treewidth bounds to achieve efficient inference in DPPs, surpassing existing algorithms.
Findings
Inference is polynomial time for programs with bounded treewidth primal graphs.
The method applies to relational database queries and cybersecurity risk assessments.
Existing algorithms do not guarantee this performance.
Abstract
Discrete probabilistic programs (DPPs) provide a highly expressive formalism for compactly defining arbitrary finite probabilistic models. This expressivity comes at a price: DPP inference is PSPACE-hard. In this work, we show that DPP inference only takes polynomial time for programs that are 'structurally simple'. More precisely, inference can be performed in polynomial time when the primal graph of each function appearing in the probabilistic program has bounded treewidth, and the inverse acceptance probability is at most exponential in the size of the probabilistic program. Existing algorithms do not achieve this performance guarantee. Our method relies on finding suitable decompositions, algebraisations, of the string diagrams underlying DPPs, employing existing algorithms for tree decompositions. This is independent of the probabilistic setting of DPPs and has direct applications…
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.
