Fixed-Parameter Tractable Inference for Discrete Probabilistic Programs, via String Diagram Algebraisation
Benedikt Peterseim, Milan Lopuhaä-Zwakenberg
摘要
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 to many problems, such as evaluating queries on relational databases and cybersecurity risk assessment via attack trees.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper2
相关 Paper
- On the Structural Hardness of Answer Set Programming: Can Structure Efficiently Confine the Power of Disjunctions?Markus Hecher, Rafael KieselAAAI 2024
- Variance Computation for Weighted Model Counting with Knowledge Compilation ApproachKengo Nakamura, Masaaki Nishino, Norihito YasudaAAAI 2026
- On the Expressive Power of Tree-Structured Probabilistic CircuitsLang Yin, Han ZhaoNeurIPS 2024 · 被引用 4 次
- Belief Propagation with Local Structure and Its Applications in Program AnalysisYiqian Wu, Yifan Chen, Yingfei Xiong, Xin ZhangASE 2025 · 被引用 1 次
- Exact Bayesian Inference for Loopy Probabilistic Programs using Generating FunctionsLutz Klinkenberg, Christian Blumenthal, Mingshuai Chen, Darion Haase 等OOPSLA 2024 · 被引用 11 次
