Modeladvanced
Abductive logic programming
Also called ALP.
Extends logic programs with abducible predicates and integrity constraints, so a query is answered by hypotheses that explain it.
Abductive logic programming (ALP) adds hypotheses to a logic program. Some atoms are declared abducible: no rule defines them, and the reasoner may assume them. A query is answered by a set of abducibles that, added to the program, makes the query true and keeps a set of integrity constraints satisfied. Kakas, Kowalski and Toni (1992) surveyed the framework and its semantics, and it is the logic programming form of abductive reasoning, with negation as failure in the rules.
The machine
An abductive framework is a triple (Kakas, Kowalski and Toni 1992).
- is a normal logic program, a set of rules .
- is a set of abducible atoms (or predicates, whose ground atoms are abducible). Usually no abducible is the head of a rule in , so the program says nothing about them.
- is a set of integrity constraints. Here they are denials over literals with , which a model satisfies when not all hold.
The semantics used on this page is that of generalized stable models. For , a set of atoms is a generalized stable model of for if is a stable model of , where each element of is added as a fact, and satisfies every constraint of . Other semantics replace stable models by the completion, as in the IFF procedure (Fung and Kowalski 1997), or by the well-founded model.
This is the propositional case. With variables, , and stand for their ground instances over the Herbrand universe, as for normal programs.
What it counts
An observation or query is a set of ground literals. A set is an abductive explanation of if some generalized stable model for satisfies . This is the credulous reading; the sceptical reading asks that every such model satisfies and that one exists. An explanation is minimal if no proper subset is an explanation. Abduction answers "why?" with a set of hypotheses, while deduction answers "is it true?" with a proof.
Example. Let be the four rules , , and , let , and let be the single constraint .
| Observation | Extra fact | Explanations | Minimal explanations |
|---|---|---|---|
| none | , , | , | |
| none | |||
| none | none |
For the model is , and for it is . The third row shows the effect of negation as failure: adding the observation removes the explanation , because assuming rain blocks the rule for . The second row shows the effect of a constraint: the new fact removes every explanation with .
Points to watch when using the relation:
- Non-minimal explanations. Supersets of an explanation are often explanations too, as is in the first row. Applications usually ask for minimal ones, which can be many.
- Explanations are not monotone. With negation in , a superset of an explanation need not be an explanation, and more observations can remove explanations, as in the third row.
- Abducibles with rules. If an abducible is also the head of a rule, the distinction between assuming and deriving it is lost. Frameworks rename it with a new abducible and a rule.
- Integrity constraints are not rules. A constraint never derives an atom; it only rejects models. A missing rule cannot be repaired by a constraint.
Relation to other models
- Answer set programming. Replace each abducible by a choice rule , add as constraints, and add for each atom of and for each literal of . The answer sets of the result are the generalized stable models that satisfy , and their abducible parts are the explanations, so an ASP solver computes explanations. Minimal explanations need minimization by subset.
- Proof procedures. Top-down procedures extend SLDNF resolution: a selected abducible goal is added to , and the constraints are checked against it. Examples are the IFF procedure (Fung and Kowalski 1997), which is sound for the completion semantics, and SLDNFA (Denecker and De Schreye 1998).
- Logic-based abduction. In the propositional abduction of Eiter and Gottlob (1995), the theory is a set of clauses and an explanation must be consistent with it and entail the observation. ALP replaces classical entailment by the stable model semantics, so negation as failure and defaults are available.
- Diagnosis. In consistency-based diagnosis the hypotheses are abnormal components and a diagnosis is a minimal hitting set of conflicts. With abducibles and rules that describe the normal behaviour of each component, an ALP framework expresses the same task.
- Default reasoning. Hypotheses that are assumed unless they lead to inconsistency play the role of defaults, as in default logic, and the ATMS records which sets of assumptions derive each atom.
Known results in the model
- Explanation existence is NP-complete. For finite propositional frameworks with a normal program under generalized stable models, deciding whether has an explanation is NP-complete. A certificate is a pair , checked in polynomial time by the reduct test of stable models. Hardness holds already with , and empty, since then is an explanation exactly when has a stable model. Eiter, Gottlob and Leone (1997) classify the complexity of abduction from logic programs under the stable and other semantics, for existence, relevance and necessity of hypotheses.
- Horn theories. For propositional Horn theories with constraints, deciding whether an explanation exists is NP-complete, and for definite Horn theories without constraints it is polynomial (Eiter and Gottlob 1995). In the definite case, itself is an explanation whenever any set is one, so one least model computation decides it.
- Proof procedures. Fung and Kowalski (1997) prove the soundness of the IFF procedure with respect to the completion semantics, and Denecker and De Schreye (1998) prove soundness and completeness results for SLDNFA with respect to a completion semantics. These results do not cover the generalized stable model semantics.
- Negation as failure is abduction. Kakas, Kowalski and Toni (1992) describe how can be read as an abducible with the constraints and a requirement that one of and holds. Under this reading the stable models of a normal program correspond to certain abductive solutions.
References
- Antonis C. Kakas, Robert A. Kowalski and Francesca Toni, Abductive logic programming, Journal of Logic and Computation 2(6), 719 to 770 (1992), the definition of abductive frameworks with abducibles and integrity constraints, generalized stable models, and the survey of proof procedures
- Tze Ho Fung and Robert Kowalski, The IFF proof procedure for abductive logic programming, Journal of Logic Programming 33(2), 151 to 165 (1997), the IFF proof procedure and its soundness with respect to the completion
- Marc Denecker and Danny De Schreye, SLDNFA, an abductive procedure for abductive logic programs, Journal of Logic Programming 34(2), 111 to 167 (1998), the SLDNFA procedure for programs with abducible predicates
- Thomas Eiter, Georg Gottlob and Nicola Leone, Abduction from logic programs, semantics and complexity, Theoretical Computer Science 189(1-2), 129 to 177 (1997), the complexity of abduction from logic programs under the stable and other semantics
- Thomas Eiter and Georg Gottlob, The complexity of logic-based abduction, Journal of the ACM 42(1), 3 to 42 (1995), the complexity of propositional abduction, including the Horn case
- Michael Gelfond and Vladimir Lifschitz, The stable model semantics for logic programming, in Robert A. Kowalski and Kenneth A. Bowen (eds.), Logic Programming: Proceedings of the Fifth International Conference and Symposium, MIT Press, 1070 to 1080 (1988), the definition of stable models used for generalized stable models
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag XQ9SQ0 Edit this page History Report an error Markdown