IASCAR: Incremental Answer Set Counting by Anytime Refinement

Johannes K. Fichte, Sarah Alice Gaggl, Markus Hecher, Dominik Rusovac
11/13/2023
cs.AIcs.LO

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fichte2023iascar,
  title  = {IASCAR: Incremental Answer Set Counting by Anytime Refinement},
  author = {Johannes K. Fichte and Sarah Alice Gaggl and Markus Hecher and Dominik Rusovac},
  year   = {2023},
  eprint = {2311.07233},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.07233v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.07233.svg)](https://codeofpaper.com/paper/2311.07233)

Discussion