Ch4: Knowledge Representation Issues: Q Q Q Q Q
Ch4: Knowledge Representation Issues: Q Q Q Q Q
Q What is KR?
Q Representation and
mapping
Q Approaches to KR
Q Issues in KR
Q The Frame problem
Slide 1
What is KR?
Q R. Davis, H. Schrobe, P. Szolovits (1993):
1. A surrogate
2. A set of ontological commitments
3. A fragmentary theory of intelligent reasoning
4. A medium for efficient computation
5. A medium of human expressions
Slide 2
Internal
Representations
English
understanding
Reasoning
programs
English
generation
English
Representations
Slide 6
(b)
(c)
(a)
Slide 8
facts
forward
representation
mapping
Internal
representations
of initial facts
Final
facts
backward
representation
mapping
operation
of program
Internal
representations
of final facts
Slide 9
Approaches to KR
Q Four properties of a good presentation of knowledge in
a particular domain:
1. Representational adequacy the ability to
represent all of the kinds of knowledge that are
needed in the domain.
2. Inferential adequacy the ability to manipulate the
representational structures in such a way as to
derive new structures corresponding to new
knowledge inferred from old.
3. Inferential efficiency the ability to incorporate into
the knowledge structure additional information that
can be used to focus the attention of the inference
mechanisms in the most promising directions. Slide 11
Approaches to KR
4 . Acquisitional efficiency the ability to acquire new
information easily.the program itself would be able to
control knowledge acquisition.
Q No single system that optimizes all of the capabilities
for all kinds of knowledge.
=> Multiple techniques for KR exist.
Slide 12
Approaches to KR
Q Simple relational knowledge
Represent declarative facts as a set of relations used
in database systems
Provides very weak inferential capabilities
May serve as the input to powerful inference engines
Slide 13
Approaches to KR
Q Inheritable knowledge
Objects are organized into classes and classes
are organized in a generalization hierarchy
Inheritance is a powerful form of inference, but not
adequate
Mammal
isa
Person
Red
uniform
color
has-part
Nose
instance
Owen
team
Liverpool
Slide 14
Approaches to KR
Q Inferential knowledge
Facts represented in a logical form (e.g. First-Order
Logic: FOL), which facilitates reasoning.
An inference engine is required.
Slide 15
Approaches to KR
Q Procedural knowledge
Representation of how to make it rather than what it
is
Procedural knowledge can be represented in
programs in many ways:
Code in some programming language,
such as Lisp
May have inferential efficiency, no inferential
adequacy (difficult to write a program that can
reason about another programs behaviour),
acquisitional efficiency (b/c of the process of
updating and debugging large pieces of code)
Slide 16
Approaches to KR
Procedural knowledge as production rules
Distinction between declarative and procedural
knowledge is difficult
If:
white pawn at square(file e, rank 2) AND
square(file e, rank 3) is empty AND
square(file e, rank 4) is empty
Then:
move pawn from square(file e, rank 2) to
square(file e, rank 4).
Slide 17
Issues in KR
Q Choosing the Granularity
High-level facts may not be adequate for inference.
Substantial work must be done to reduce the
knowledge into primitive form.
Low-level primitives may require a lot of
storage.
Slide 18
Homework
Q Reading
R. Davis, H. Schrobe, P. Szolovits (1993): What is a
knowledge representation?
Slide 19