Conflict Generalisation in ASP: Learning Correct and Effective Non-Ground Constraints

Richard Taupe, Antonius Weinzierl, Gerhard Friedrich
8/7/2020
cs.AI

Official code: alpha-asp/Alpha (68 stars, Java, BSD-2-Clause, last commit 2026-10-26).

Abstract

Generalising and re-using knowledge learned while solving one problem instance has been neglected by state-of-the-art answer set solvers. We suggest a new approach that generalises learned nogoods for re-use to speed-up the solving of future problem instances.

Show full abstract

Our solution combines well-known ASP solving techniques with deductive logic-based machine learning. Solving performance can be improved by adding learned non-ground constraints to the original program. We demonstrate the effects of our method by means of realistic examples, showing that our approach requires low computational cost to learn constraints that yield significant performance benefits in our test cases. These benefits can be seen with ground-and-solve systems as well as lazy-grounding systems. However, ground-and-solve systems suffer from additional grounding overheads, induced by the additional constraints in some cases. By means of conflict minimization, non-minimal learned constraints can be reduced. This can result in significant reductions of grounding and solving efforts, as our experiments show. (Under consideration for acceptance in TPLP.)

View on arXivView PDF

Code Implementations(1)

alpha-asp/AlphaOfficial100%
BSD-2-Clause

A lazy-grounding Answer-Set Programming system

6812Java, Classic ASPJul 8, 20161 months agoBSD-2-Clause
answer-set-programminglazy-groundinglogic-programmingsolver

Similar Papers

Cite this paper

@article{taupe2020conflict,
  title  = {Conflict Generalisation in ASP: Learning Correct and Effective Non-Ground Constraints},
  author = {Richard Taupe and Antonius Weinzierl and Gerhard Friedrich},
  year   = {2020},
  eprint = {2008.03100},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.03100}
}

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/2008.03100.svg)](https://codeofpaper.com/paper/2008.03100)

Discussion