ApproxASP - a Scalable Approximate Answer Set Counter
Mohimenul Kabir, Flavio O. Everardo, Ankit K. Shukla, Markus Hecher, Johannes Klaus Fichte, Kuldeep S. Meel
Abstract
Answer Set Programming (ASP) is a framework in artificial intelligence and knowledge representation for declarative modeling and problem solving. Modern ASP solvers focus on the computation or enumeration of answer sets. However, a variety of probabilistic applications in reasoning or logic programming require counting answer sets. While counting can be done by enumeration, simple enumeration becomes immediately infeasible if the number of solutions is high. On the other hand, approaches to exact counting are of high worst-case complexity. In fact, in propositional model counting, exact counting becomes impractical. In this work, we present a scalable approach to approximate counting for answer set programming. Our approach is based on systematically adding XOR constraints to ASP programs, which divide the search space. We prove that adding random XOR constraints partitions the answer sets of an ASP program. In practice, we use a Gaussian elimination-based approach by lifting ideas from SAT to ASP and integrating it into a state of the art ASP solver, which we call ApproxASP. Finally, our experimental evaluation shows the scalability of our approach over the existing ASP systems.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext dd1fec55-e228-4dc1-a1ae-983cf4d50297Cited by top-tier papers2
- Exact ASP Counting with Compact EncodingsMohimenul Kabir, Supratik Chakraborty, Kuldeep S. MeelAAAI 2024 · 10 citations
- Counting and Reasoning with PlansDavid Speck, Markus Hecher, Daniel Gnad, Johannes Klaus Fichte et al.AAAI 2025 · 2 citations
Builds on3
- Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and SamplingMate Soos, Stephan Gocht, Kuldeep S. MeelCAV 2020 · 102 citations
- Rushing and Strolling among Answer Sets - Navigation Made EasyJohannes Klaus Fichte, Sarah Alice Gaggl, Dominik RusovacAAAI 2022 · 22 citations
- Approximate Counting of Minimal Unsatisfiable SubsetsJaroslav Bendík, Kuldeep S. MeelCAV 2020 · 16 citations
Related papers
- Compilation of Aggregates in ASP SystemsGiuseppe Mazzotta, Francesco Ricca, Carmine DodaroAAAI 2022 · 16 citations
- Formally Certified Approximate Model CountingYong Kiam Tan, Jiong Yang, Mate Soos, Magnus O. Myreen et al.CAV 2024 · 1 citation
- Learning to Break Symmetries for Efficient Optimization in Answer Set ProgrammingAlice Tarzariol, Martin Gebser, Konstantin Schekotihin, Mark LawAAAI 2023 · 4 citations
- Large-Neighbourhood Search for Optimisation in Answer-Set SolvingThomas Eiter, Tobias Geibinger, Nelson Higuera Ruiz, Nysret Musliu et al.AAAI 2022 · 7 citations
- Scalable Enumeration of Trap Spaces in Boolean Networks via Answer Set ProgrammingGiang V. Trinh, Belaid Benhamou, Samuel Pastva, Sylvain SolimanAAAI 2024 · 7 citations
