Modeladvanced
Defeasible logic programming
Also called DeLP.
Logic programs with strict and defeasible rules, where a query is warranted by a dialectical tree of arguments and defeaters.
Defeasible logic programming (DeLP) joins logic programming and argumentation. A program has strict rules, which always hold, and defeasible rules, which hold unless there is a reason against them. To answer a query, DeLP builds an argument for it from the defeasible rules, finds the arguments that defeat it, then the arguments that defeat those, and so on. The result is a dialectical tree, and the query is warranted when the root of the tree survives. Alejandro García and Guillermo Simari gave the full system in 2004, building on the argument structures of Simari and Loui (1992). An interpreter answers each query with YES, NO, UNDECIDED or UNKNOWN.
The machine
The definitions follow García and Simari (2004). Literals are atoms or their strong negations . The complement of is and the other way round.
Program (Definition 2.4). A program has:
- a set of facts (ground literals) and strict rules
h <- b1, ..., bn; - a set of defeasible rules
h -< b1, ..., bn, read as "reasons to believe are reasons to believe ".
Rules with variables stand for all their ground instances. must be non-contradictory: it must not derive a literal and its complement.
Derivation (Definitions 2.5 to 2.7). A defeasible derivation of from is a finite sequence of ground literals that ends in , where each literal is a fact or the head of a rule whose body appears earlier. It is strict if it uses no defeasible rule. A set of rules is contradictory if it derives some literal and its complement.
Argument structure (Definition 3.1). is an argument for if and:
- has a defeasible derivation from ;
- is non-contradictory;
- is minimal with these two properties.
A sub-argument is an argument with . If has a strict derivation, then is its only argument.
Conflict (Definitions 3.3 and 3.4). Two literals and disagree if is contradictory. counter-argues at if some sub-argument of has a conclusion that disagrees with .
Comparison (Definition 3.5). The default order is generalized specificity. Let be the strict rules without the facts, and call a set of literals an activation set of when derives and alone does not. Then is strictly more specific than if every activation set of the first activates the second, and some activation set of the second does not activate the first. In words, the more specific argument uses more information or uses it more directly. Other orders, such as priorities on rules, can replace specificity.
Defeat (Definitions 4.1 to 4.3). Let counter-argue at the sub-argument . It is a proper defeater if it is strictly better than , and a blocking defeater if the two are not comparable. A defeater is proper or blocking.
Argumentation lines (Definitions 4.4 to 4.7). A line is a sequence in which each argument defeats the one before. The arguments at even positions support the root and those at odd positions interfere with it. A line is acceptable if:
- it is finite;
- the supporting arguments together with are non-contradictory, and so are the interfering arguments;
- no argument is a sub-argument of an argument that appears earlier in the line;
- a blocking defeater is followed only by a proper defeater.
Dialectical tree and warrant (Definitions 5.1 and 5.2, Procedure 5.1). The tree for has this argument at the root. The children of a node are all its defeaters that keep the line from the root acceptable. Mark the tree from the leaves:
- every leaf is U (undefeated);
- an inner node is U if all its children are D, and D (defeated) if some child is U.
The literal is warranted if some argument for has a tree with a root marked U.
Answers (Definition 5.3). For a query the answer is YES if is warranted, NO if the complement of is warranted, UNDECIDED if neither is, and UNKNOWN if is not in the language of the program.
What it counts
DeLP counts arguments, defeaters and the nodes of dialectical trees. The costs come from three levels:
- Checking an argument. Deciding whether a given is an argument for is P-complete (Cecchi, Fillottrani and Simari 2006, Theorem 3). Derivation and the test for contradiction are both forward chaining over ground Horn rules.
- Finding arguments. Deciding whether some argument for exists is in NP: guess and check it (Corollary 1). Building all arguments takes at most such checks (Lemma 3).
- Marking the tree. The marking is an AND-OR evaluation: a node is U only if all its children are D, so one child marked U is enough to make it D. As soon as one child is U, the parent is D and the other children need not be built. García and Simari (Section 5.1) use this pruning and compare it with alpha-beta pruning of a minimax tree.
A worked example. This is Example 2.1 of García and Simari:
bird(X) <- chicken(X) |
flies(X) -< bird(X) |
bird(X) <- penguin(X) |
~flies(X) -< chicken(X) |
~flies(X) <- penguin(X) |
flies(X) -< chicken(X), scared(X) |
chicken(tina), scared(tina), penguin(tweety) |
nests_in_trees(X) -< flies(X) |
For Tina there are these arguments:
flies(tina) -< bird(tina);flies(tina) -< chicken(tina), scared(tina);~flies(tina) -< chicken(tina);nests_in_trees(tina) -< flies(tina),flies(tina) -< bird(tina).
Specificity orders them as follows. Every activation set of contains chicken(tina), which also activates through the strict rule, but bird(tina) activates and not . So is strictly more specific than . In the same way, needs both chicken(tina) and scared(tina), so it is strictly more specific than . Hence is a proper defeater of and of (at its sub-argument ), is a proper defeater of , and nothing defeats .
| query | dialectical tree | marking | answer |
|---|---|---|---|
| root , no defeaters | : U | YES | |
| , child | : U, : D | NO | |
| , child , grandchild | : U, : D, : U | YES | |
| no argument | NO |
The line is acceptable: the supporting arguments and agree with , and is not a sub-argument of or . For Tweety, has a strict derivation, so it is warranted by , and flies(tweety) -< bird(tweety) gives no argument because it contradicts . These answers match those stated in the paper.
Blocking defeaters. In the Nixon diamond, pacifist(nixon) -< quaker(nixon) and ~pacifist(nixon) -< republican(nixon) give two arguments of equal specificity, each a blocking defeater of the other. In the tree of the first, the second is a child. The first cannot follow again, because it is a sub-argument of the root, and condition 4 also forbids a blocking defeater after a blocking defeater. So the child is a leaf marked U, the root is D, and by symmetry the answer to both queries is UNDECIDED.
Relation to other models
- Logic programming. Without defeasible rules, DeLP is an extended logic program with strong negation, and a literal is warranted when it has a strict derivation (Proposition 5.1). An extended version also allows default negation, as negation as failure, in the bodies of defeasible rules.
- Abstract argumentation. DeLP builds arguments and a defeat relation as in an abstract framework, but it does not take a Dung semantics. Warrant is defined by the tree and by the conditions on acceptable lines. García and Simari note that a change in these conditions changes the behaviour of the system. So warrant need not match the grounded extension of the framework of all arguments and defeats.
- ASPIC+. ASPIC+ has the same split into strict and defeasible rules. It adds undercutters and attacks on premises, it uses restricted rebut, and it evaluates the result with extension semantics.
- ABA. Assumption-based argumentation uses only strict rules and puts the defeasibility into assumptions. Its dispute derivations are also trees of proponent and opponent moves.
- Defeasible logic. Nute's defeasible logic also has strict rules, defeasible rules and defeaters, but it resolves conflicts with priorities on single rules, not by comparing whole arguments.
- Values and preferences. Specificity is a syntactic order. Value-based argumentation and other preference-based frameworks take the order from outside the program.
Known results in the model
- Strict facts are warranted (Proposition 5.1). A literal with a strict derivation has the empty argument, which nothing can counter-argue.
- No self-conflict. Because of condition 2 in Definition 3.1, no argument derives a literal and its complement together with .
- No defeat between equivalent arguments (Proposition 4.1). A defeater, proper or blocking, is never equi-specific with the sub-argument it attacks.
- Concordance. Condition 2 on lines stops one side of a dispute from using two arguments that contradict each other. Without it, a supporting argument could be defended by an argument for the opposite claim.
- Complexity (Cecchi, Fillottrani and Simari 2006). Checking that a set of rules is an argument is P-complete. Deciding that some argument for a literal exists is in NP. The authors also study the data complexity of queries, with the rules fixed and the facts as input.
- Pruning. The answer does not change if the search stops at the first undefeated child of a node, so the warrant procedure of Section 5.1 never builds the whole tree when it can avoid it.
References
- Alejandro J. García and Guillermo R. Simari, Defeasible logic programming, an argumentative approach, Theory and Practice of Logic Programming 4(1-2), 95 to 138 (2004), Definitions 2.4 to 5.3 (programs, derivations, argument structures, disagreement, counter-arguments, generalized specificity, proper and blocking defeaters, acceptable argumentation lines, dialectical trees, warrant, answers), Procedure 5.1 (marking), Example 2.1 and Section 5.1 (pruning)
- Laura A. Cecchi, Pablo R. Fillottrani and Guillermo R. Simari, in Proceedings of the 11th International Workshop on Non-Monotonic Reasoning (NMR 2006), Clausthal University of Technology, Technical Report IfI-06-04, 386 to 394 (2006), Theorem 3 (checking an argument is P-complete), Lemma 3 (bound on building all arguments) and Corollary 1 (argument existence is in NP)
- Phan Minh Dung, On the acceptability of arguments and its fundamental role in nonmonotonic reasoning, logic programming and n-person games, Artificial Intelligence 77(2), 321 to 357 (1995), the abstract frameworks with which DeLP is compared
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 HSQPF9 Edit this page History Report an error Markdown