Combining Inductive and Analytical Learning: CS 5751 Machine Lear Ning Chapter 12 Comb. Inductive/Analyti Cal 1
Combining Inductive and Analytical Learning: CS 5751 Machine Lear Ning Chapter 12 Comb. Inductive/Analyti Cal 1
Graspable
Expensive
BottomIsFlat Stable
MadeOfCeramic
MadeOfStyrofoam
MadeOfPaper
HasHandle Graspable Liftable Cup
HandleOnTop
HandleOnSide
Light
HasConcavity OpenVessel
ConcavityPointsUp large positive weight
Fragile
large negative weight
negligible weight
CS 5751 Machine Lear Chapter 12 Comb. Inductive/Analyti 7
ning cal
Creating Network Equivalent to Domain Theory
Create one unit per horn clause rule (an AND unit)
• Connect unit inputs to corresponding clause
antecedents
• For each non-negated antecedent, corresponding
input weight w W, where W is some constant
• For each negated antecedent, weight w -W
• Threshold weight w0 -(n - .5) W, where n is
number of non-negated antecedents
Finally, add additional connections with near-zero
weights
Liftable Graspable, ¬Heavy
CS 5751 Machine Lear Chapter 12 Comb. Inductive/Analyti 8
ning cal
Result of Refining the Network
Expensive
BottomIsFlat Stable
MadeOfCeramic
MadeOfStyrofoam
MadeOfPaper
HasHandle Graspable Liftable Cup
HandleOnTop
HandleOnSide
Light
HasConcavity OpenVessel
ConcavityPointsUp large positive weight
Fragile
large negative weight
negligible weight
CS 5751 Machine Lear Chapter 12 Comb. Inductive/Analyti 9
ning cal
KBANN Results
Classifying promoter regions in DNA (leave one out
testing):
• Backpropagation: error rate 8/106
• KBANN: 4/106
Hypotheses that
fit training data
equally well
Initial hypothesis
for KBANN
Initial hypothesis
for Backpropagation
Key idea:
• Previously learned approximate domain theory
• Domain theory represented by collection of neural
networks
• Learn target function as another neural network
Hypotheses that
Hypotheses that
maximize fit to data
maximize fit to
data and prior
knowledge
Backpropagation
TangetProp Search
Search
Cup HasHandle
[2+,3-]
...
Cup BottomIsFlat,
Cup ¬HasHandle
Light,
[2+,3-]
Cup Fragile HasConcavity,
[2+,4-] ConcavityPointsUp
[4+,2-]
Cup BottomIsFlat, ...
Light, Cup BottomIsFlat, Cup BottomIsFlat,
HasConcavity, Light, Light,
ConcavityPointsUp, HasConcavity, HasConcavity,
HandleOnTop ConcavityPointsUp, ConcavityPointsUp,
[0+,2-] ¬ HandleOnTop HandleOnSide
[4+,0-] [2+,0-]
CS 5751 Machine Lear Chapter 12 Comb. Inductive/Analyti 18
ning cal
FOCL Results
Recognizing legal chess endgame positions:
• 30 positive, 30 negative examples
• FOIL: 86%
• FOCL: 94% (using domain theory with 76%
accuracy)
NYNEX telephone network diagnosis
• 500 training examples
• FOIL: 90%
• FOCL: 98% (using domain theory with 95%
accuracy)
CS 5751 Machine Lear Chapter 12 Comb. Inductive/Analyti 19
ning cal