Eiter, T., Hecher, M., & Kiesel, R. P. D. (2024). aspmc: New frontiers of algebraic answer set counting. Artificial Intelligence, 330, Article 104109. https://doi.org/10.1016/j.artint.2024.104109
E192-03 - Forschungsbereich Knowledge Based Systems
-
Journal:
Artificial Intelligence
-
ISSN:
0004-3702
-
Date (published):
May-2024
-
Number of Pages:
55
-
Publisher:
ELSEVIER
-
Peer reviewed:
Yes
-
Keywords:
Algebraic answer set counting; Answer set programming; Cycle breaking; Knowledge compilation; Probabilistic inference; Semirings; Treewidth
en
Abstract:
In the last decade, there has been increasing interest in extensions of answer set programming (ASP) that cater for quantitative information such as weights or probabilities. A wide range of quantitative reasoning tasks for ASP and logic programming, among them probabilistic inference and parameter learning in the neuro-symbolic setting, can be expressed as algebraic answer set counting (AASC) tasks, i.e., weighted model counting for ASP with weights calculated over some semiring, which makes efficient solvers for AASC desirable. In this article, we present aspmc, a new solver for AASC that pushes the limits of efficient solvability. Notably, aspmc provides improved performance compared to the state of the art in probabilistic inference by exploiting three insights gained from thorough theoretical investigations in our work. Namely, we consider the knowledge compilation step in the AASC pipeline, where the underlying logical theory specified by the answer set program is converted into a tractable circuit representation, on which AASC is feasible in polynomial time. First, we provide a detailed comparison of different approaches to knowledge compilation for programs, revealing that translation to propositional formulas followed by compilation to sd-DNNF seems favorable. Second, we study how the translation to propositional formulas should proceed to result in efficient compilation. This leads to the second and third insight, namely a novel way of breaking the positive cyclic dependencies in a program, called TP-Unfolding, and an improvement to the Clark Completion, the procedure used to transform programs without positive cyclic dependencies into propositional formulas. Both improvements are tailored towards efficient knowledge compilation. Our empirical evaluation reveals that while all three advancements contribute to the success of aspmc, TP-Unfolding improves performance significantly by allowing us to handle cyclic instances better.
en
Project title:
Doktoratskolleg: W 1255-N23 (FWF - Österr. Wissenschaftsfonds)
-
Project (external):
Austrian Science Fund (FWF) GFF, Gesellschaft für Forschungsförderung NÖ Vienna Science and Technology Fund (WWTF)