# Optimizing Answer Set Computation via Heuristic-Based Decomposition

**Authors:** Francesco Calimeri, Simona Perri, Jessica Zangari

arXiv: 1812.09718 · 2020-02-19

## TL;DR

This paper introduces a heuristic-based decomposition approach to automatically transform logic programs in Answer Set Programming, significantly improving the efficiency of answer set computation, especially during grounding, by integrating into the DLV system.

## Contribution

It presents a novel heuristic-guided rewriting method for logic programs that enhances ASP system performance, particularly in grounding, and is adaptable to various systems and policies.

## Key findings

- Improved ASP grounding efficiency with new heuristics.
- Effective integration into DLV system's grounding process.
- Significant performance gains demonstrated through experiments.

## Abstract

Answer Set Programming (ASP) is a purely declarative formalism developed in the field of logic programming and nonmonotonic reasoning: computational problems are encoded by logic programs whose answer sets, corresponding to solutions, are computed by an ASP system. Different, semantically equivalent, programs can be defined for the same problem; however, performance of systems evaluating them might significantly vary. We propose an approach for automatically transforming an input logic program into an equivalent one that can be evaluated more efficiently. One can make use of existing tree-decomposition techniques for rewriting selected rules into a set of multiple ones; the idea is to guide and adaptively apply them on the basis of proper new heuristics, to obtain a smart rewriting algorithm to be integrated into an ASP system. The method is rather general: it can be adapted to any system and implement different preference policies. Furthermore, we define a set of new heuristics tailored at optimizing grounding, one of the main phases of the ASP computation; we use them in order to implement the approach into the ASP system DLV, in particular into its grounding subsystem I-DLV, and carry out an extensive experimental activity for assessing the impact of the proposal. Under consideration in Theory and Practice of Logic Programming (TPLP).

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1812.09718/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/1812.09718/full.md

## References

49 references — full list in the complete paper: https://tomesphere.com/paper/1812.09718/full.md

---
Source: https://tomesphere.com/paper/1812.09718