Proceedings

Bypassing the ASP Bottleneck: Hybrid Grounding by Splitting and Rewriting

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 3250-3258.

https://doi.org/10.24963/ijcai.2024/360

Abstract

Answer Set Programming (ASP) is a key paradigm for problems in artificial intelligence and industrial contexts. In ASP, problems are modeled via a set of rules. Over the time this paradigm grew into a rich language, enabling complex rule types like aggregate expressions. Most practical ASP systems follow a ground-and-solve pattern, where rule schemes are grounded and resulting rules are solved. There, the so-called grounding bottleneck may prevent from solving, due to sheer grounding sizes. Recently body-decoupled grounding (BDG) demonstrated how to reduce grounding sizes by delegating effort to solving. However, BDG provides limited interoperability with traditional grounders and only covers simple rule types.

In this work, we establish hybrid grounding — based on a novel splitting theorem that allows us to freely combine BDG with traditional grounders. To mitigate huge groundings in practice, we define rewriting procedures for efficiently deferring grounding effort of aggregates to solving. Our experimental results indicate that this approach is competitive, especially for instances, where traditional grounding fails.

  1. [Alviano and Faber, 2018] Mario Alviano and Wolfgang Faber. Aggregates in answer set programming. KI - Künstliche Intelligenz, 32(2-3):119-124, 2018.
  2. [Alviano et al., 2019] Mario Alviano, Giovanni Amendola, Carmine Dodaro, Nicola Leone, Marco Maratea, and Francesco Ricca. Evaluation of Disjunctive Programs in WASP. In LPNMR'19, volume 11481 of LNCS, pages 241-255. Springer, 2019.
  3. [Banbara et al., 2017] Mutsunori Banbara, Benjamin Kauf- mann, Max Ostrowski, and Torsten Schaub. Clingcon: The next generation. Theory Pract. Log. Program., 17(4):408- 461, 2017.
  4. [Bartholomew et al., 2011] Michael Bartholomew, Joohyung Lee, and Yunsong Meng. First-order se- mantics of aggregates in answer set programming via modified circumscription. In Papers from the 2011 AAAI Spring Symposium, 2011.
  5. [Ben-Eliyahu and Dechter, 1994] Rachel Ben-Eliyahu and Rina Dechter. Propositional Semantics for Disjunctive Logic Programs. Annals of Mathematics and Artificial In- telligence, 12(1):53-87, 1994.
  6. [Besin et al., 2022] Viktor Besin, Markus Hecher, and Ste- fan Woltran. Body-Decoupled Grounding via Solving: A Novel Approach on the ASP Bottleneck. In IJCAI'22, pages 2546-2552. ijcai.org, 2022. IJCAI
  7. [Besin et al., 2023] Viktor Besin, Markus Hecher, and Ste- fan Woltran. On the Structural Complexity of Ground- ing -Tackling the ASP Grounding Bottleneck via Epis- temic Programs and Treewidth. In 26th European Confer- ence on Artificial Intelligence (ECAI 2023), volume 372 of Frontiers in Artificial Intelligence and Applications, pages 247-254. IOS Press, 2023.
  8. [Bichler et al., 2020] Manuel Bichler, Michael Morak, and Stefan Woltran. lpopt: A Rule Optimization Tool for An- swer Set Programming. Fundamenta Informaticae, 177(3- 4):275-296, 2020.
  9. [Bomanson et al., 2014] Jori Bomanson, Martin Gebser, and Tomi Janhunen. Improving the normalization of weight rules in answer set programs. In Eduardo Fermé and João Leite, editors, JELIA'14, pages 166-180. Springer-Verlag, 2014.
  10. [Brass and Dix, 1999] Stefan Brass and Jürgen Dix. Seman- tics of (disjunctive) logic programs based on partial evalu- ation. J. Log. Program., 40(1):1-46, 1999.
  11. [Brewka et al., 2011] G. Brewka, T. Eiter, and M. Truszczyński. Answer set programming at a glance. Comm. of the ACM, 54(12):92-103, 2011.
  12. [Calimeri et al., 2019] Francesco Calimeri, Simona Perri, and Jessica Zangari. Optimizing answer set computation via heuristic-based decomposition. Theory Pract. Log. Program., 19(4):603-628, 2019.
  13. [Calimeri et al., 2020] Francesco Calimeri, Wolfgang Faber, Martin Gebser, Giovambattista Ianni, Roland Kaminski, Thomas Krennwallner, Nicola Leone, Marco Maratea, Francesco Ricca, and Schaub Torsten. ASP-Core-2 in- put language format. Theory Pract. Log. Program., 20(2):294-309, 2020.
  14. [Corrêa et al., 2023] Augusto B. Corrêa, Markus Hecher, Malte Helmert, Davide Mario Longo, Florian Pommeren- ing, and Stefan Woltran. Grounding Planning Tasks Using Tree Decompositions and Iterated Solving. In ICAPS'23, pages 100-108. AAAI Press, 2023.
  15. [Cuteri et al., 2017] Bernardo Cuteri, Carmine Dodaro, Francesco Ricca, and Peter Schüller. Constraints, lazy constraints, or propagators in ASP solving: An empirical analysis. Theory Pract. Log. Program., 17(5-6):780-799, 2017.
  16. [Cuteri et al., 2020] Bernardo Cuteri, Carmine Dodaro, Francesco Ricca, and Peter Schüller. Overcoming the grounding bottleneck due to constraints in ASP solving: Constraints become propagators. In IJCAI'20, pages 1688-1694. ijcai.org, 2020. IJCAI
  17. [Dantsin et al., 2001] Evgeny Dantsin, Thomas Eiter, Georg Gottlob, and Andrei Voronkov. Complexity and expres- sive power of logic programming. ACM Comput. Surv., 33(3):374-425, 2001.
  18. [Dodaro et al., 2023] Carmine Dodaro, Giuseppe Mazzotta, and Francesco Ricca. Answer Set Programming as SAT modulo Acyclicity. In ECAI'23. IOS Press, 2023. In Press.
  19. [Eiter and Gottlob, 1995] Thomas Eiter and Georg Gottlob. On the computational cost of disjunctive logic program- ming: Propositional case. Annals of Mathematics and Ar- tificial Intelligence, 15(3-4):289-323, 1995.
  20. [Eiter et al., 2007] Thomas Eiter, Wolfgang Faber, Michael Fink, and Stefan Woltran. Complexity results for answer set programming with bounded predicate arities and impli- cations. Annals of Mathematics and Artificial Intelligence, 51(2-4):123-165, 2007.
  21. [Faber et al., 2011] Wolfgang Faber, Gerald Pfeifer, and Nicola Leone. Semantics and complexity of recursive aggregates in answer set programming. Artificial Intelli- gence, 175(1):278-298, 2011.
  22. [Falkner et al., 2018] Andreas A. Falkner, Gerhard Friedrich, Konstantin Schekotihin, Richard Taupe, and Erich Christian Teppan. Industrial applications of answer set programming. Künstliche Intell., 32(2-3):165-176, 2018.
  23. [Ferraris, 2011] Paolo Ferraris. Logic programs with propo- sitional connectives and aggregates. ACM Transactions on Computational Logic, 12(4):Article 25 (40 pages), 2011.
  24. [Gebser et al., 2018] Martin Gebser, Nicola Leone, Marco Maratea, Simona Perri, Francesco Ricca, and Torsten Schaub. Evaluation techniques and systems for answer set programming: A survey. In Jérôme Lang, editor, IJ- CAI'18, pages 5450-5456. ijcai.org, 2018. IJCAI
  25. [Gebser et al., 2019] Martin Gebser, Roland Kaminski, Ben- jamin Kaufmann, and Torsten Schaub. Multi-shot ASP solving with clingo. Theory Pract. Log. Program., 19(1):27-82, 2019.
  26. [Gelfond and Zhang, 2019] Michael Gelfond and Yuanlin Zhang. Vicious circle principle, aggregates, and forma- tion of sets in ASP based languages. Artificial Intelligence, 275:28-77, 2019.
  27. [Hecher and Kiesel, 2023] Markus Hecher and Rafael Kiesel. The impact of structure in answer set counting: Fighting cycles and its limits. In KR'23, 2023. In Press.
  28. [Hecher, 2022] Markus Hecher. Treewidth-aware reductions of normal ASP to SAT -Is normal ASP harder than SAT after all? Artif. Intell., 304:103651, 2022.
  29. [Hippen and Lierler, 2021] Nicholas Hippen and Yuliya Lierler. Estimating grounding sizes of logic programs un- der answer set semantics. In JELIA'21, volume 12678 of LNCS, pages 346-361. Springer, 2021.
  30. [Janhunen, 2006] Tomi Janhunen. Some (in)translatability results for normal logic programs and propositional the- ories. Journal of Applied Non-Classical Logics, 16(1- 2):35-86, 2006.
  31. [Kaminski and Schaub, 2022] Roland Kaminski and Torsten Schaub. On the foundations of grounding in answer set programming. Theory Pract. Log. Program., pages 1-60, 2022.
  32. [Lifschitz and Turner, 1994] Vladimir Lifschitz and Hudson Turner. Splitting a Logic Program. In ICLP'94, pages 23- 37. MIT Press, 1994.
  33. [Lin and Zhao, 2003] Fangzhen Lin and Jicheng Zhao. On tight logic programs and yet another translation from nor- mal logic programs to propositional logic. In IJCAI'03, pages 853-858. IJCAI
  34. Morgan Kaufmann, 2003. [Marek and Truszczyński, 1991]
  35. Wiktor Marek and Mirosław Truszczyński. Autoepistemic logic. Jour- nal of the ACM, 38(3):588-619, 1991.
  36. [Mitchell, 2019] David Mitchell. Guarded constraint models define treewidth preserving reductions. In CP'19, volume 11802 of LNCS, pages 350-365. Springer, 2019.
  37. [Pelov et al., 2003] Nikolay Pelov, Marc Denecker, and Maurice Bruynooghe. Translation of aggregate programs to normal logic programs. In Marina De Vos and Alessan- dro Provetti, editors, International Workshop on Answer Set Programming (ASP'03), pages 29-42, 2003.
  38. [Tsamoura et al., 2020] Efthymia Tsamoura, Víctor Gutiérrez-Basulto, and Angelika Kimmig. Beyond the grounding bottleneck: Datalog techniques for infer- ence in probabilistic logic programs. In AAAI'20, pages 10284-10291. AAAI Press, 2020.
  39. [Weinzierl et al., 2020] Antonius Weinzierl, Richard Taupe, and Gerhard Friedrich. Advancing lazy-grounding ASP solving techniques -restarts, phase saving, heuristics, and more. Theory Pract. Log. Program., 20(5):609-624, 2020.
  40. [Zaniolo et al., 2017] Carlo Zaniolo, Mohan Yang, Ariyam Das, Alexander Shkapsky, Tyson Condie, and Matteo In- terlandi. Fixpoint semantics and optimization of recur- sive datalog programs with aggregates. Theory Pract. Log. Program., 17(5-6):1048-1065, 2017.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards