Chapter 2
Chapter 2
Artificial Intelligence
Knowledge Representation
What is Knowledge Representation?
Knowledge representation (KR) is concerned with
intelligent agents thinking, and how thinking contributes
to intelligent behaviour of agents.
It is responsible for representing information in a way a
computer can understand, and utilize the knowledge to
solve problems.
It also defines how knowledge is represented in AI.
What is Knowledge Representation?
Syntax
It decides how we can construct legal sentences in
logic (like the grammar of a language).
It determines which symbol we can use in
knowledge representation and how to write those
symbols.
Semantics
The rules by which we can interpret the sentence
in the logic.
It assigns a meaning to each sentence.
Knowledge Representation Techniques
1. Logical representation
Advantages
Helps to perform logical reasoning.
It is the basis for the programming languages.
Disadvantages
It has some restrictions and are challenging to work with.
It may not be very natural, and inference may not be very
efficient.
Knowledge Representation Techniques
2. Production rules
Advantages
Production rules are expressed in natural language.
Production rules are highly modular and can be easily
removed or modified.
Disadvantages
It does not exhibit any learning capabilities and does not
store the result of the problem for future uses.
During the execution of the program, many rules may be
active. Thus, rule-based production systems are inefficient.
Knowledge Representation Techniques
3. Semantic network representation
Work as an alternative of predicate logic.
It represents knowledge, in the form of
graphical networks.
This network consists of nodes,
representing objects and arcs, which
describe the relationship between those
objects.
It can categorize the object in different
forms and can also link those objects.
This representation consist of two types
of relations:
IS-A relation (inheritance)
Kind-of-relation
Knowledge Representation Techniques
3. Semantic network representation
Advantages
A natural representation of knowledge.
It conveys meaning in a transparent manner.
These networks are simple and easy to understand.
Disadvantages
Take more computational time at runtime.
These are inadequate as they do not have any equivalent quantifiers.
These networks are not intelligent and depend on the creator of the
system.
Knowledge Representation Techniques
4. Frame representation
Slots Filter
Name Peter
Profession Doctor
Age 25
Weight 78
Knowledge Representation Techniques
4. Frame representation
Advantages
It makes programming easier by grouping related data.
Easy to understand and visualize.
Very easy to add slots for new attributes and relations.
Easy to include default data and search for missing values.
Disadvantages
In frame system inference, the mechanism cannot be easily processed.
The inference mechanism cannot be smoothly proceeded by frame
representation.
It has a very generalized approach.
Representation Requirements
Representational Accuracy
It should represent all kinds of required knowledge.
Inferential Adequacy
It should be able to manipulate the representational
structures, to produce new knowledge, corresponding to the
existing structure.
Representation Requirements
Inferential Efficiency
The ability to direct the inferential knowledge mechanism,
into the most productive directions, by storing appropriate
guides.
Acquisitional Efficiency
The ability to acquire new knowledge easily, using automatic
methods.