Efficient Knowledge Compilation Beyond Weighted Model Counting
Not on the map. Why?
Abstract (arXiv)
Quantitative extensions of logic programming often require the solution of so called second level inference tasks, i.e., problems that involve a third operation, such as maximization or normalization, on top of addition and multiplication, and thus go beyond the well-known weighted or algebraic model counting setting of probabilistic logic programming under the distribution semantics. We introduce Second Level Algebraic Model Counting (2AMC) as a generic framework for these kinds of problems. As 2AMC is to (algebraic) model counting what forall-exists-SAT is to propositional satisfiability, it is notoriously hard to solve. First level techniques based on Knowledge Compilation (KC) have been adapted for specific 2AMC instances by imposing variable order constraints on the resulting circuit. However, those constraints can severely increase the circuit size and thus decrease the efficiency of such approaches. We show that we can exploit the logical structure of a 2AMC problem to omit parts of these constraints, thus limiting the negative effect. Furthermore, we introduce and implement a strategy to generate a sufficient set of constraints statically, with a priori guarantees for the performance of KC. Our empirical evaluation on several benchmarks and tasks confirms that our theoretical results can translate into more efficient solving in practice. Under consideration for acceptance in TPLP.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 6 of its 25 references that are in the map. First posted on arXiv 16 May 2022.
Builds on
6 of 25 references.
References · 6
- 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 394
- 2014Clingo = ASP + Control: Preliminary Reportcited by 56
- 2014Stable Model Counting and Its Application in Probabilistic Logic Programmingcited by 8
- 2021SLASH: Embracing Probabilistic Circuits into Neural Answer Set Programmingcited by 8
- 2021SMProbLog: Stable Model Semantics in ProbLog and its Applications in Argumentationcited by 5
- 2020MAP Inference for Probabilistic Logic Programmingcited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 0; 2026: 1.
6 papers.
- 2024A Compositional Atlas for Algebraic Circuitscited by 10
- 2023Exploiting Uncertainty for Querying Inconsistent Description Logics Knowledge Basescited by 0
- 2024Fast Inference for Probabilistic Answer Set Programs via the Residual Programcited by 0
- 2024Symbolic Parameter Learning in Probabilistic Answer Set Programmingcited by 0
- 2024Probabilistic Answer Set Programming with Discrete and Continuous Random Variablescited by 0
- 2026Variance Computation for Weighted Model Counting with Knowledge Compilation Approachcited by 0
- 2026Variance Computation for Weighted Model Counting with Knowledge Compilation Approach7 Jan 2026
- 2024A Compositional Atlas for Algebraic Circuits7 Dec 2024
- 2024Probabilistic Answer Set Programming with Discrete and Continuous Random Variables30 Sep 2024
- 2024Symbolic Parameter Learning in Probabilistic Answer Set Programming16 Aug 2024
- 2024Fast Inference for Probabilistic Answer Set Programs via the Residual Program14 Aug 2024
- 2023Exploiting Uncertainty for Querying Inconsistent Description Logics Knowledge Bases15 Jun 2023