Skip to main content

2022 | OriginalPaper | Buchkapitel

IASCAR: Incremental Answer Set Counting by Anytime Refinement

verfasst von : Johannes Klaus Fichte, Sarah Alice Gaggl, Markus Hecher, Dominik Rusovac

Erschienen in: Logic Programming and Nonmonotonic Reasoning

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Answer set programming (ASP) is a popular declarative programming paradigm with various applications. Programs can easily have so many answer sets that they cannot be enumerated in practice, but counting still allows to quantify 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. But navigating through parts of the solution space requires counting many times, which is expensive in theory. There, 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. In this paper, we introduce a technique to iteratively count answer sets under assumptions on knowledge compilations of CNFs that encode supported models. Our anytime technique uses the principle of inclusion-exclusion to systematically improve bounds by over- and undercounting. In a preliminary empirical analysis we demonstrate promising results. After compiling the input (offline phase) our approach quickly (re)counts.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
Statements marked by “\(\star \)” are proven in appendix https://​tinyurl.​com/​iascar-p.
 
2
Note that external supports are sets of literals. However, we can simulate such a set by introducing an auxiliary atom; hence one atom, as in this definition, is sufficient [7].
 
3
See https://​tinyurl.​com/​iascar-b for a Linux binary, instances, and raw data.
gringo cuts off trivial supported models when grounding, not affecting us here.
 
Literatur
1.
Zurück zum Zitat Bogaerts, B., den Broeck, G.V.: Knowledge compilation of logic programs using approximation fixpoint theory. TPLP 15(4–5), 464–480 (2015)MathSciNetMATH Bogaerts, B., den Broeck, G.V.: Knowledge compilation of logic programs using approximation fixpoint theory. TPLP 15(4–5), 464–480 (2015)MathSciNetMATH
2.
Zurück zum Zitat Darwiche, A.: Compiling knowledge into decomposable negation normal form. In: IJCAI 1999, pp. 284–289. Morgan Kaufmann (1999) Darwiche, A.: Compiling knowledge into decomposable negation normal form. In: IJCAI 1999, pp. 284–289. Morgan Kaufmann (1999)
4.
Zurück zum Zitat Eiter, T., Hecher, M., Kiesel, R.: Treewidth-aware cycle breaking for algebraic answer set counting. In: KR 2021, vol. 18, pp. 269–279 (2021) Eiter, T., Hecher, M., Kiesel, R.: Treewidth-aware cycle breaking for algebraic answer set counting. In: KR 2021, vol. 18, pp. 269–279 (2021)
5.
Zurück zum Zitat Fichte, J.K., Gaggl, S.A., Rusovac, D.: Rushing and strolling among answer sets - navigation made easy. In: AAAI 2022 (2022) Fichte, J.K., Gaggl, S.A., Rusovac, D.: Rushing and strolling among answer sets - navigation made easy. In: AAAI 2022 (2022)
6.
Zurück zum Zitat Fierens, D., et al.: Inference and learning in probabilistic logic programs using weighted Boolean formulas. TPLP 15(3), 358–401 (2015)MathSciNetMATH Fierens, D., et al.: Inference and learning in probabilistic logic programs using weighted Boolean formulas. TPLP 15(3), 358–401 (2015)MathSciNetMATH
7.
Zurück zum Zitat Gebser, M., Kaufmann, B., Schaub, T.: Conflict-driven answer set solving: From theory to practice. Artif. Intell. 187–188, 52–89 (2012)MathSciNetCrossRefMATH Gebser, M., Kaufmann, B., Schaub, T.: Conflict-driven answer set solving: From theory to practice. Artif. Intell. 187–188, 52–89 (2012)MathSciNetCrossRefMATH
8.
Zurück zum Zitat Kabir, M., Everardo, F., Shukla, A., Fichte, J.K., Hecher, M., Meel, K.: ApproxASP - a scalable approximate answer set counter. In: AAAI 2022 (2022, in Press) Kabir, M., Everardo, F., Shukla, A., Fichte, J.K., Hecher, M., Meel, K.: ApproxASP - a scalable approximate answer set counter. In: AAAI 2022 (2022, in Press)
9.
Zurück zum Zitat Lagniez, J.M., Marquis, P.: An improved decision-DDNF compiler. In: IJCAI 2017, pp. 667–673. The AAAI Press (2017) Lagniez, J.M., Marquis, P.: An improved decision-DDNF compiler. In: IJCAI 2017, pp. 667–673. The AAAI Press (2017)
12.
Zurück zum Zitat Sang, T., Beame, P., Kautz, H.: Performing Bayesian inference by weighted model counting. In: AAAI 2005. The AAAI Press (2005) Sang, T., Beame, P., Kautz, H.: Performing Bayesian inference by weighted model counting. In: AAAI 2005. The AAAI Press (2005)
13.
Zurück zum Zitat Wang, Y., Lee, J.: Handling uncertainty in answer set programming. In: AAAI 2015, pp. 4218–4219. The AAAI Press (2015) Wang, Y., Lee, J.: Handling uncertainty in answer set programming. In: AAAI 2015, pp. 4218–4219. The AAAI Press (2015)
Metadaten
Titel
IASCAR: Incremental Answer Set Counting by Anytime Refinement
verfasst von
Johannes Klaus Fichte
Sarah Alice Gaggl
Markus Hecher
Dominik Rusovac
Copyright-Jahr
2022
DOI
https://doi.org/10.1007/978-3-031-15707-3_17

Premium Partner