23.02.2015 Views

Machine Learning - DISCo

Machine Learning - DISCo

Machine Learning - DISCo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 10 LEARNING SETS OF RULES 2!)7<br />

1. Find a literal L1 from clause C1, literal Lz from clause Cz, and substitution 0 such that LIB =<br />

-L28.<br />

2. Form the resolvent C by including all literals from CIB and C28, except for L1 B and -L2B. More<br />

precisely, the set of literals occurring in the conclusion C is<br />

c = (Cl- (L11)O lJ (C2- ILzI)@<br />

TABLE 10.7<br />

Resolution operator (first-order form).<br />

10.7.2 Inverting Resolution: First-Order Case<br />

We can derive the inverse resolution operator analytically, by algebraic manipulation<br />

of Equation (10.3) which defines the resolution rule. First, note the unifying<br />

substitution 8 in Equation (10.3) can be uniquely factored into 81 and 82, where<br />

0 = Ole2, where contains all substitutions involving variables from clause C1,<br />

and where O2 contains all substitutions involving variables from C2. This factorization<br />

is possible because C1 and C2 will always begin with distinct variable<br />

names (because they are distinct universally quantified statements). Using this<br />

factorization of 8, we can restate Equation (10.3) as<br />

Keep in mind that "-" here stands for set difference. Now if we restrict inverse<br />

resolution to infer only clauses C2 that contain no literals in common with C1<br />

(corresponding to a preference for shortest C2 clauses), then we can re-express<br />

the above as<br />

c - (Cl - {LlHel = (C2 - IL2W2<br />

Finally we use the fact that by definition of the resolution rule L2 = -~1818;',<br />

and solve for C2 to obtain<br />

Inverse resolution:<br />

cz = (c - (CI - { ~~~)e~)e,-l u { -~,e~e;'~ (10.4)<br />

Equation (10.4) gives the inverse resolution rule for first-order logic. As in the<br />

propositional case, this inverse entailment operator is nondeterministic. In particular,<br />

in applying it we may in general find multiple choices for the clause Cr to<br />

be resolved and for the unifying substitutions and 82. Each set of choices may<br />

yield a different solution for C2.<br />

Figure 10.3 illustrates a multistep application of this inverse resolution rule<br />

for a simple example. In this figure, we wish to learn rules for the target predicate<br />

GrandChild(y, x), given the training data D = GrandChild(Bob, Shannon) and<br />

the background information B = {Father(Shannon, Tom), Father (Tom, Bob)).<br />

Consider the bottommost step in the inverse resolution tree of Figure 10.3. Here,<br />

we set the conclusion C to the training example GrandChild(Bob, Shannon)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!