DSApr 28

Fixed-parameter tractable inference for discrete probabilistic programs, via string diagram algebraisation

arXiv:2604.253215.7h-index: 6
Predicted impact top 60% in DS · last 90 daysOriginality Incremental advance
AI Analysis

This work provides a polynomial-time algorithm for a previously PSPACE-hard problem, benefiting probabilistic programming and related fields like database query evaluation and cybersecurity risk assessment.

The authors show that inference for discrete probabilistic programs (DPPs) is fixed-parameter tractable when the primal graph of each function has bounded treewidth and the inverse acceptance probability is at most exponential in program size, achieving polynomial time for structurally simple programs.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes