IASCAR: Incremental Answer Set Counting by Anytime Refinement
Fichte, Johannes K., Gaggl, Sarah Alice, Hecher, Markus, Rusovac, Dominik
–arXiv.org Artificial Intelligence
Answer set programming (ASP) is a popular declarative programming paradigm with various applications. Programs can easily have many answer sets that cannot be enumerated in practice, but counting still allows quantifying solution spaces. If one counts under assumptions on literals, one obtains a tool to comprehend parts of the solution space, so-called answer set navigation. However, navigating through parts of the solution space requires counting many times, which is expensive in theory. Knowledge compilation compiles instances into representations on which counting works in polynomial time. However, these techniques exist only for CNF formulas, and compiling ASP programs into CNF formulas can introduce an exponential overhead. This paper introduces a technique to iteratively count answer sets under assumptions on knowledge compilations of CNFs that encode supported models. Our anytime technique uses the inclusion-exclusion principle to improve bounds by over- and undercounting systematically. In a preliminary empirical analysis, we demonstrate promising results. After compiling the input (offline phase), our approach quickly (re)counts.
arXiv.org Artificial Intelligence
Nov-13-2023
- Country:
- Asia
- Europe
- Germany (0.04)
- Italy (0.04)
- Spain > Valencian Community
- Valencia Province > Valencia (0.04)
- Sweden > Östergötland County
- Linköping (0.04)
- United Kingdom
- England > Cambridgeshire
- Cambridge (0.14)
- Scotland > City of Edinburgh
- Edinburgh (0.04)
- England > Cambridgeshire
- North America
- Canada > Quebec
- Capitale-Nationale Region
- Quebec City (0.04)
- Québec (0.04)
- Capitale-Nationale Region
- United States
- Massachusetts
- Middlesex County > Cambridge (0.04)
- Suffolk County > Boston (0.04)
- Michigan > Oakland County
- Rochester (0.04)
- Nevada > Clark County
- Las Vegas (0.04)
- New York
- Bronx County > New York City (0.04)
- Kings County > New York City (0.04)
- New York County > New York City (0.14)
- Queens County > New York City (0.04)
- Richmond County > New York City (0.04)
- Pennsylvania > Allegheny County
- Pittsburgh (0.04)
- Texas > Travis County
- Austin (0.04)
- Massachusetts
- Canada > Quebec
- Oceania > Australia
- Genre:
- Research Report (1.00)
- Technology: