Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-06T19:12:01.351Z Has data issue: false hasContentIssue false

On the Configuration of More and Less Expressive Logic Programs

Published online by Cambridge University Press:  21 March 2022

CARMINE DODARO
Affiliation:
University of Calabria, Rende, Italy (e-mail: dodaro@mat.unical.it)
MARCO MARATEA
Affiliation:
University of Genoa, Genoa, Italy (e-mail: marco.maratea@unige.it)
MAURO VALLATI
Affiliation:
University of Huddersfield, Huddersfield HD1 3DH, UK (e-mail: m.vallati@hud.ac.uk)
Rights & Permissions [Opens in a new window]

Abstract

The decoupling between the representation of a certain problem, that is, its knowledge model, and the reasoning side is one of main strong points of model-based artificial intelligence (AI). This allows, for example, to focus on improving the reasoning side by having advantages on the whole solving process. Further, it is also well known that many solvers are very sensitive to even syntactic changes in the input. In this paper, we focus on improving the reasoning side by taking advantages of such sensitivity. We consider two well-known model-based AI methodologies, SAT and ASP, define a number of syntactic features that may characterise their inputs, and use automated configuration tools to reformulate the input formula or program. Results of a wide experimental analysis involving SAT and ASP domains, taken from respective competitions, show the different advantages that can be obtained by using input reformulation and configuration.

Information

Type
Original Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. SAT formula $\varphi_{run}$ encoded in the DIMACS format.

Figure 1

Figure 2. ASP program $\Pi_{run}$ encoded in the lparse format.

Figure 2

Figure 3. The example CNF formula non configured ($\varphi_{run}$), and the configured version ($\varphi_{\mathit{conf}}$). Configuration has been done by listing clauses according to their length and the number of negative literals. Literals are listed following the number of clauses they are involved.

Figure 3

Figure 4. The example ASP program non configured ($\Pi_{run}$), and the configured version ($\Pi_{\mathit{conf}}$). Configuration has been done by preferring aggregates and rules with literals occurring in many negative bodies.

Figure 4

Table 1. Number of solved instances of the selected solvers on the considered benchmark set when running on the default and on the configured CNFs. Bold indicates the best result

Figure 5

Table 2. Results of the selected solvers on the considered benchmark sets. For each solver and benchmark, we show the IPC score achieved when running on the default and on the configured CNFs. Bold indicates the best result. Results of different solvers cannot be directly compared

Figure 6

Table 3. Results of the selected solvers on the considered benchmark sets. For each solver and benchmark, we show the PAR10 score achieved when running on the default and on the configured CNFs. Bold indicates the best result

Figure 7

Table 4. Results achieved by the selected solvers on the general testing set. For each solver, we show the number of solved instances and IPC score achieved when running on the default and on the CNFs configured using the general configuration. Bold indicates the best result

Figure 8

Table 5. List of ASP constructs available for each considered benchmark

Figure 9

Table 6. Results of the selected solvers on the considered benchmark set. For each solver and benchmark, we show the number of solved instances when running on the default and on the configured ASP programs. Bold indicates the best result

Figure 10

Table 7. Results of the selected solvers on the considered benchmark sets. For each solver and benchmark, we show the IPC score achieved when running on the default and on the configured ASP programs. Bold indicates the best result

Figure 11

Table 8. Results of the selected solvers on the considered benchmark sets. For each solver and benchmark, we show the PAR10 score achieved when running on the default and on the configured ASP programs. Bold indicates the best result