ML Unit-5
ML Unit-5
ML Unit-5
ANALYTICAL LEARNING
20
Different Perspectives on Explanation-
Based-Learning (EBL)
EBL as theory-guided generalization of examples: EBL
generalizes rationally from examples.
EBL as example-guided reformulation of theories: EBL can
be viewed as a method for reformulating the domain
theory into a more operational form.
EBL as “just” restating what the learner already knows:
EBL proceeds by reformulating knowledge and this can
sometimes be seen as an important kind of learning (the
difference between knowing how to play chess and
knowing how to play chess well, for example!)
21
EBL of Search Control Knowledge
Given EBL’s restriction to domains with a correct and complete
domain theory, an important class of application is in speeding
up complex search problems by learning how to control search.
Two well-known systems employ EBL in such a way: PRODIGY
and SOAR.
In PRODIGY, the questions that need to be answered during the
search problem are: “Which subgoals should be solved next?”
and “Which operator should be considered for solving this
subgoal?”. PRODIGY learns concepts such as “the set of states in
which subgoal A should be solved before subgoal B”.
22
EBL of Search Control Knowledge
SOAR learns by explaining situations in which its
current strategy leads to inefficiencies. More
generally, SOAR uses a variant of EBL called chunking
to extract the general conditions under which the
same explanation applies.
SOAR has been applied in a great number of problem
domain and has also been proposed as a
psychologically plausible model of human learning
processes.
23
Problems associated with applying EBL to
Learning Search Control
In many cases, the number of control rules that must be
learned is very large. As the system learns more and more
control rules to improve its search, it must pay a larger
and larger cost at each step to match this set of rules
against the current search state.
In many cases, it is intractable to construct the
explanations for the desired target concept.
24
Standard Approach to EBL
29
The EBL Process
31
An Example
Domain theory:
Fixes(u,u)➔ Robust(u) // An individual that can fix itself is robust
Sees(x,y) Habile(x) ➔Fixes(x,y) // A habil individual that can see another entity can
// fix that entity
Robot(w) ➔Sees(w,w) // All robots can see themselves
R2D2(x) ➔ Habile(x) // R2D2-class in individuals are habil
………
Facts:
Robot(Num5)
R2D2(Num5)
Age(Num5,5)
………
Goal:
Robust(Num5)
32
An Example (continued…)
Generalization
Explain
34
Conclusions
35
Chapter 2
Analytical Learning-2: Using prior knowledge to alter the search objective,
using prior knowledge to augment search operators.
Using prior knowledge to alter the search objective
Using prior knowledge to alter the search objective
The EBNN Algorithm
Domain theory
Each rectangular Hock represents a
distinct neural network in the
domine theory
•There is one network for each Horn clause in the domain theory.
•EBNN uses the top network to calculate the partial derivative of the
prediction with respect to each feature of the instance. (i.e., how much
does the output change as I tweak BottomIsFlat?).
•These derivatives are given to the bottom network which is trained with
a variation of TangentProp.
The TANGENTPROP
Summery TANGENTPROP
Algorithm
Remarks
Remarks
Using prior knowledge to augment search operators
Using prior knowledge to augment search operators
Dashed edges in the search
tree denotes an additional
l candidate specialization that
is considered by FOCL and
based on the domain theory