Exact ASP Counting with Compact Encodings (2312.11936v1)
Abstract: Answer Set Programming (ASP) has emerged as a promising paradigm in knowledge representation and automated reasoning owing to its ability to model hard combinatorial problems from diverse domains in a natural way. Building on advances in propositional SAT solving, the past two decades have witnessed the emergence of well-engineered systems for solving the answer set satisfiability problem, i.e., finding models or answer sets for a given answer set program. In recent years, there has been growing interest in problems beyond satisfiability, such as model counting, in the context of ASP. Akin to the early days of propositional model counting, state-of-the-art exact answer set counters do not scale well beyond small instances. Exact ASP counters struggle with handling larger input formulas. The primary contribution of this paper is a new ASP counting framework, called sharpASP, which counts answer sets avoiding larger input formulas. This relies on an alternative way of defining answer sets that allows for the lifting of key techniques developed in the context of propositional model counting. Our extensive empirical analysis over 1470 benchmarks demonstrates significant performance gain over current state-of-the-art exact answer set counters. Specifically, by using sharpASP, we were able to solve 1062 benchmarks with PAR2 score of 3082 whereas using prior state-of-the-art, we could only solve 895 benchmarks with a PAR2 score of 4205, all other experimental conditions being the same.
- Stable model counting and its application in probabilistic logic programming. In AAAI.
- Quantitative verification of neural networks and its security applications. In Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, 1249–1264.
- Counting models using connected components. In AAAI/IAAI, 157–162.
- Scalable approximation of quantitative information flow in programs. In VMCAI, 71–93. Springer.
- Bomanson, J. 2017. lp2normal—A Normalization Tool for Extended Logic Programs. In LPNMR, 222–228.
- Diagnosing automatic whitelisting for dynamic remarketing ads using hybrid ASP. In LPNMR, 173–185. Springer.
- Inferring phylogenetic trees using answer set programming. Journal of Automated Reasoning, 39(4): 471.
- Clark, K. L. 1978. Negation as failure. In Logic and data bases, 293–322. Springer.
- Darwiche, A. 2002. A compiler for deterministic, decomposable negation normal form. In AAAI/IAAI, 627–634.
- Nurse scheduling via answer set programming. In LPNMR, 301–307. Springer.
- Treewidth-aware cycle breaking for algebraic answer set counting. In KR, volume 18, 269–279.
- Fages, F. 1994. Consistency of Clark’s completion and existence of stable models. Journal of Methods of logic in computer science, 1(1): 51–60.
- Treewidth and counting projected answer sets. In LPNMR, 105–119. Springer.
- Answer Set Solving with Bounded Treewidth Revisited. In LPNMR, 132–145.
- Conflict-driven Answer Set Enumeration. In LPNMR, volume 4483, 136–148.
- The stable model semantics for logic programming. In ICLP/SLP, volume 88, 1070–1080.
- Answer set programming based on propositional satisfiability. Journal of Automated reasoning, 36(4): 345–377.
- Answer-Set Programming with Bounded Treewidth. In IJCAI, volume 9, 816–822.
- Janhunen, T. 2004. Representing normal programs with clauses. In ECAI, volume 16, 358.
- Janhunen, T. 2006. Some (in) translatability results for normal logic programs and propositional theories. Journal of Applied Non-Classical Logics, 16(1-2): 35–86.
- Compact Translations of Non-disjunctive Answer Set Programs to Propositional Clauses, 111–130.
- ApproxASP–a scalable approximate answer set counter. In AAAI, volume 36, 5755–5764.
- A Fast and Accurate ASP Counting Based Network Reliability Estimator. In LPAR, volume 94, 270–287.
- Integrating tree decompositions into decision heuristics of propositional model counters. In CP.
- An Improved Decision-DNNF Compiler. In IJCAI, volume 17, 667–673.
- Loop formulas for disjunctive logic programs. In ICLP, 451–465. Springer.
- Lifschitz, V. 2010. Thirteen definitions of a stable model. Fields of logic and computation, 488–503.
- Why are there so many loop formulas? ACM Transactions on Computational Logic (TOCL), 7(2): 261–268.
- ASSAT: computing answer sets of a logic program by SAT solvers. Artificial Intelligence, 157(1): 115 – 137.
- Stable models and an alternative logic programming paradigm. In The Logic Programming Paradigm, 375–398. Springer.
- Experimental evaluation of hybrid conditional planning for service robotics. In International Symposium on Experimental Robotics, 692–702. Springer.
- Algorithms for propositional model counting. In LPAR, 484–498. Springer.
- GANAK: A Scalable Probabilistic Exact Model Counter. In IJCAI, volume 19, 1169–1176.
- Thurley, M. 2006. sharpSAT–counting models with advanced component caching and implicit BCP. In SAT, 424–429. Springer.
- A practical tool for mass-customising configurable products. In ICED.
- Valiant, L. G. 1979. The complexity of enumeration and reliability problems. SIAM Journal on Computing, 8(3): 410–421.