23.02.2015 Views

Machine Learning - DISCo

Machine Learning - DISCo

Machine Learning - DISCo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Father (Shannon, Tom)<br />

GrandChild(Bob,x) v<br />

Father(x,Tom) I<br />

GrandChild(Bob, Shannon)<br />

FIGURE 10.3<br />

A multistep inverse resolution. In each case, the boxed clause is the result of the inference step. For<br />

each step, C is the clause at the bottom, C1 the clause to the left, and C2 the boxed clause to the<br />

right. In both inference steps here, el is the empty substitution (1, and 0;' is the substitution shown<br />

below C2. Note the final conclusion (the boxed clause at the top right) is the alternative form of the<br />

Horn clause GrandChild(y, x) c Father(x, z) A Father(z, y).<br />

and select the clause C1 = Father(Shannon, Tom) from the background information.<br />

To apply the inverse resolution operator we have only one choice<br />

for the literal L1, namely Father(Shannon, Tom). Suppose we choose the inverse<br />

substitutions 9;' = {} and 9;' = {Shannon/x}. In this case, the resulting<br />

clause C2 is the union of the clause (C- (C1 - {Ll})91)9;~ = (~91)9;'<br />

= GrandChild(Bob, x), and the clause {-~~9~9,')<br />

= -.Father(x, Tom). Hence<br />

the result is the clause GrandChild(Bob, x) v -Father(x, Tom), or equivalently<br />

(GrandChild(Bob, x) t Father(x, Tom)). Note this general rule, together with<br />

C1 entails the training example GrandChild(Bob, Shannon).<br />

In similar fashion, this inferred clause may now be used as the conclusion<br />

C for a second inverse resolution step, as illustrated in Figure 10.3. At each such<br />

step, note there are several possible outcomes, depending on the choices for the<br />

substitutions. (See Exercise 10.7.) In the example of Figure 10.3, the particular set<br />

of choices produces the intuitively satisfying final clause GrandChild(y, x) t<br />

Father(x, 2) A Father(z, y).<br />

10.7.3 Summary of Inverse Resolution<br />

To summarize, inverse resolution provides a general approach to automatically<br />

generating hypotheses h that satisfy the constraint (B A h A xi) t- f (xi). This is<br />

accomplished by inverting the general resolution rule given by Equation (10.3).<br />

Beginning with the resolution rule and solving for the clause C2, the inverse<br />

resolution rule of Equation (10.4) is easily derived.<br />

Given a set of beginning clauses, multiple hypotheses may be generated by<br />

repeated application of this inverse resolution rule. Note the inverse resolution rule<br />

has the advantage that it generates only hypotheses that satisfy (B ~h AX^) t- f (xi).

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

Saved successfully!

Ooh no, something went wrong!