Knowledge Representation
Chapter 6
CuuDuongThanCong.com
/>
What is KR?
R. Davis, H. Schrobe, P. Szolovits (1993): “What is a
knowledge representation?”
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
2
03 April 2010
/>
What is KR?
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
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
3
03 April 2010
/>
Representation and Mapping
• Facts: things we want to represent.
• Representations of facts: things we can manipulate.
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
4
03 April 2010
/>
Representation and Mapping
reasoning
programs
Facts
Internal
Representations
English
understanding
English
generation
English
Representations
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
5
03 April 2010
/>
Representation and Mapping
Initial
facts
desired real reasoning
forward
representation
mapping
Internal
representations
of initial facts
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
Final
facts
backward
representation
mapping
operation
of program
Internal
representations
of final facts
6
03 April 2010
/>
Representation and Mapping
• Spot is a dog
• Every dog has a tail
Spot has a tail
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
7
03 April 2010
/>
Representation and Mapping
• Spot is a dog
dog(Spot)
• Every dog has a tail
"x: dog(x) hastail(x)
hastail(Spot)
Spot has a tail
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
8
03 April 2010
/>
Representation and Mapping
• Fact-representation mapping is not one-to-one.
• Good representation can make a reasoning program
trivial.
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
9
03 April 2010
/>
Representation and Mapping
The Multilated Checkerboard Problem
“Consider a normal checker board from which two
squares, in opposite corners, have been removed.
The task is to cover all the remaining squares exactly
with donimoes, each of which covers two squares. No
overlapping, either of dominoes on top of each other or
of dominoes over the boundary of the multilated board
are allowed.
Can this task be done?”
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
10
03 April 2010
/>
Representation and Mapping
No. black squares
= 30
No. white square
= 32
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
11
03 April 2010
/>
Representation and Mapping
Good representation:
• Representational adequacy
• Inferential adequacy
• Inferential efficiency
• Acquisitional efficiency
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
12
03 April 2010
/>
Approaches to KR
Simple relational knowledge:
• Provides very weak inferential capabilities.
• May serve as the input to powerful inference engines.
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
13
03 April 2010
/>
Approaches to KR
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.
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
14
03 April 2010
/>
Approaches to KR
Inferential knowledge:
• Facts represented in a logical form, which facilitates
reasoning.
• An inference engine is required.
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
15
03 April 2010
/>
Approaches to KR
Procedural knowledge:
• Representation of “how to make it” rather than “what
it is”.
• May have inferential efficiency, but no inferential
adequacy and acquisitional efficiency.
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
16
03 April 2010
/>
Approaches to KR
Choosing the Granularity:
• High-level facts may not be adequate for inference.
• Low-level primitives may require a lot of storage.
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
17
03 April 2010
/>
Homework
Reading
R. Davis, H. Schrobe, P. Szolovits (1993): “What is a knowledge
representation?”
Cao Hoang Tru
CSE Faculty - HCMUT
CuuDuongThanCong.com
18
03 April 2010
/>