AI ch.4
AI ch.4
4 IssuesS
Syllabus
a l Agents: Knowledge-based agents, The Wumpus world, Logic,
onsitional theorem proving. Efective propositional model checking,Propositional
Agents basedlogic,
on
Pro
propositional logic.
et Order Logic: Representation Revisited, Syntax and Semantics of First Order logic, Using First
Orderlogic
Contents
Representation and Mappings... .. Winter- 14, 18, 19,
Summer- 16,18,20
.
Marks 7
computer
since the early 1970s has been based on #h
aradigm
for Choosi ng
the
Granularit
13 within.
encountered is
knowledge
that
bandJohn Zom,Naked City) solve a complex problems manipulating
AI used to means
of
DE well as some
as
TECHNICAL O Knowledge thrust for knowledge
PUBLICATIONS An up thrust for knowledge TECHNICAL
PUBLICATIONS
An up
A r t i h c i a li n t e l l g e n c e 4 5
Artificial Intelligence 4-4 Knowledge Representetion lssue
sues Knowledge Representation Issues
nsider example of the dtilated
required so as to create solutions for new problems. In the representation there
here are two board from which h two
squares, in
Checkerbo Problem. onsider a normal
different entities that must be considered checker
exactiy with
donimoes, each of which covers
task
No overlapping either of dominoes on
Representation of facts in some chosen formalism. These are things that
squares
the boundary
actually be manipulated.
be done in two levels
over
7"
Structuring of these entities can
explained below. Using the deductiverepresentation of the fact: all dogs have talls a
Partial covernng
Cover fieds on the board
new
representation object. Usingg an mechanisms of the logic, we may generaecould he
then generate the appropriate backward mapping Flg. 4.1.3 Observation
4-7
which enforces
the number of black squarres to coincide Knowledge Represental Issues
ror the number of white fields, 2) Inherltable knowledge
the inter play befween covered sa
with the white squares, when
investigated uares on the edge is
Relational knowledge made up of
object
in the partial covering associativity like
board and dominoes contained values attribute.
co-relation associated
Representation
to Knowledge All data shoule be organised into
42 Approaches GTU: Summer-15 17, 18, 20, Winter
a
hierarchy of classes.
18 Inherit values from being all members of class.
of knowledge in a particularparticular domai
domain shoulad
A good system for the representation Class must be arranged in a generalization.
possess the following Pproperties individual frame can represent the
the ability to represent all of #h Cuery
collection
Representational adequacy It is kinds of associated with a individual node.
of attribute and its
value
that domain.
knowledge that are needed in
I t is the to manipulate the representational
Inferential adequacy ability ct
Player
in such a way as to derive new structures corresponding to new knowl.
inferred from old.
ledge Sa
TECHNICA
TECHNICAL PUBLICATIONS. n tn thou
4-8
Knowledge kepresentation A r t f i c i e lI n t e l l i g e n c e 4- 9
Artificial Intelligence ISsues Knowled Representation
tail, otherwise go
not then
arams rely
Many programs rely on more than one technique
Otherwise look value of instance,
if
found, report it. Otherwise.
node and srstem - They are used
used in
attribute, if one
is
Database system representing Simple
find a value for the
ISA, found for
the attribute. there which declarative facts and can be said as a set of
Relation Knowledge
is no value search using relations of the
Aatabase systems. Fig. 4.2.2 shows an same sort
example of such systems.
4.2.1 Inferential Knowledge
Player Height Weight
is very useful form of inference, represent the kno..
Bats-Thrown
property
When inheritance
as a formal logic.
ledge Ram 6-0 180
Right-Right
tail (n) Shyam 5-10 170
All cat have tails tx: dog (x)> has a
Right-Right
Veer 6-2 215 Left-Left
Set of rules 6-3
Tarun 205
1) Define require fact.
www.ww..a niivnwe nwnmnt
Left-Right
Semantic nets Semantic nets are useful for
2) Additional statement is varified, true or false. representing inheritable knowledge.
Tnheritable knowledge is the most useful for property inheritance, in which elements
3) Logic provides a powerful structure in relationships.
of specific classes inherits attributes and values from more general classes in which
4.2.2 Procedural Knowledge they are included. Frames also do play a big role in representing this knowledge.
In order to support property inheritance, objects must be organized into classes
Procedural different-different way in program.
knowledge can
explain and classes must be arranged in a generalization hierarchy. Fig. 4.2.2 below shows
Procedural knowiedge clearly differs from propositional knowledge. some additional baseball knowledge inserted into a structure that is so arranged.
:
height of Three-Finger
height of Three-Finger
178
Brown is cm. 1he structure
semantic network
shown in the
or
deduction
Fig 422
19a
Musician
be also called
collection
a
1S a slot-and-filler
structure. It may Isa
frames.
values.
It can be combined with some other powerful description language with Miles Davis John Zom
hierarchy. bands bands
Production rules
Production rules are useful in representing procedural knowledge. Miles Davis Group Naked City
Miles Davis Quintet Massada
Procedural knowledge is form of operational knowledge which specifies what to
do when. 4.2.3 Property inheritance hierarchy
Flg.
such LISP.
Previously it was done using programming language as
fail.
Otherwise look for a value of instance if none
However it was hard to reasoning with this method hence in AA progra 3.
then report it.
find a value for the attribute and
is represented using production rules. 4. Otherwise go to that node and
procedural knowledge for the attribute.
isa until a value is found
5. Otherwise search through using
Inheritable knowiedge is an important issue
in computer science in
Relational knowledge is made up of objects consisting of Knowledge Representation (KR) for building intelligent
"The dominant paradigm
general and in AI in particular. on the premise
that inteligence
Attributes 1970s has been based
systems since the early in the system's
Corresponding associated values. knowledge is represented
presupposes knowledge. Generally, In addition, the
structures and programs.
We extend the base more by allowing inference mechanisms consists of data
knowledge base, which called an inference engine
that
is expected to have
a program
current Al
Property inheritance ntegent system
necessary
for the task at hand.
Thus
Elements inherit values from being members of a class. piements the reasoning patterns based, consistent
systems be knowledge
Data must be organised into a hierarchy of classes (Fig. 4.2.3). and practice dictate that intelligent This emphasis
EOry architecture.
base plus inference engine
i s simple knowledge
Boxed nodes called applied
objects and values of attributes of objects. has led to suggestions
that AI can be arguably
Values can be objects with attributes and so on. Knowledge
Arrows - point from object to its value.
epistemology be termed the
symbol-manipulation approacn.
neural
eapproach described above may of work in
which another approach,
h i s structure is known slot and filler structure, semantic out non-symbolic
as a newo ically, however, AI grew distributed processing
or
PUBLICATIONS-
An up
thrust for knowledge
TECHNICAL
The basic
idea may
based orn of
repetitions of similar
sim stimulia knowled base with its Kramer and Mylopoulos, 1992, p. 746).
empiricism. learning
stimuli-processes,
why or view the most imDor
result of point
association.
From our
co issye b) Semantlc networks
Symbol representation declarative and the procedural extremes, while "others have argued that semantic
to knowledge representation
in AL which
networks offer a fundamentally different representational paradigm that object
can : is
There are several approaches be
dOe-up-of a-player-in
Market
mortal" using mathematical logic. "A major advantage of many logics adopted for
knowledge representation is that they are sound and complete, which means that
derivability and provability lead to the same set of consequences, given a carries
Retailer
knowledge base. It has however turned out to be difficult to find logics that is em
both expressively adequate for knowledge representation and also computationally
the attributes
s
knowledge base. The second approach redefines the provability relation or na
first-order logic to make it
computational tractable. S Size
Relational databases.. . widely used to
represent "simple" facts, such
peop as
is-a Category
information, for
kindstoofuse
instance,
definitional and descriptive informatio and in this
how the frame. Frames are supposed to capture the essence af.concep
view, involves large, complex structures of symbols, defined and assembled by
or
for dinner, by clustering all
for example going out hand. This approach to Al essentially derives from a line of philosophical thought
stereotypical situations, This means, in particular, that
vant
information for these situations together. running from Descartes through Leibniz, Frege, and Russel. In the late 1980s and
(whatever that may be) of organised knowledge structures. What I will do is place examination, that the knowledge quotation:
"More
uncovered by the following
may be
doubts on the explanatory value of concepts as frames, conventions, scripts and so perspective that are missing level has relativistic properties.
that the knowledge observer's
there are structures like frames and scripts, recently, Clancey (1991) argues n v i r o n m e n t . It is
an
on...
Even if are they relatively easy description is of an agent in its
e
studied" (Clancey,
1992,
for people to override. People can still use arbitrary knowledge of the world to A knowledge-level the agent being
possessed by level (or
representations
system's knowledge
understand sentences and scenes: you cannot exclude
any part of the knowledge theory, not
description of an agent's or a
has relative properties
and implies
base in advance, using some general prestructuring of that knowledge. 743). Yes! The
Thereroe generalized: a description of its knowledge)
perspectives.
This is a basic point
the content of such structures as frames and
scripts must themnselves be Dos t or system
from specific
but it has yet
to be fully
analyzable and subject to reasoning by their users, which puts us back a i o the theory of the agent
understanding
of knowledge
where we started. What we have gained is a summary of the agere in pragmatic
the representation. much
theories of knowledge there has not been
implemented in
regularities frequently or typically, exhibited. The structures themselves te epistemology theories and
recognition
of AI as applied hand
epistemological
nothing about people's cognitive capacities, only about what are probably n spite of the between on
the one
This is odd,
because
ephemeral habits of thought which people can change. In terms of Bilg (1987) systematically
investigation
of knowledge
representation.
theory
of knowledge
theories and any
frames and other hand
scrips lack any kind of 'witcraft. Frames, scripts and relatea Onthe
theory ofknowledge
summarize some of the patterms that emerge when people don't bother to ** is the knowledge.
PIstemology a theory of
be based
on
must
(Vliet, 1992) epresentation
knowtedge
thrust for
A n up
PUBLICATIONS
TECHNICAL
4- 19
Knowledge Representation Issues
A r t i c i e lI n t e l l i g e n c e
4-18
owledge Representatio Issues
Artificia! Intelligence nresent. In large corpora of texts
voice present.
(such as Davis, 2001
and Kramer many voices are present (what kind
representation
in Al
has been es varies accordin8 to how the text corpus is of
n overviews of knowledge and
rationalism
cted as
voice
or scholarly papers).
selected, e.g. if it consists of
Mylopoulos,
1992) only
empiricism
to expand
such overviews b newspapers
and need
There is an
obvious Large corpora of texts onsist of documents each of
which is itself a
approaches.
different
epistemological
positions.
arguments and
knowledge claims. We are now in the realm of Library system of
cOverage of feld of A, first and fore
oremost by and
Hermeneutics has been regarded in the
contributions nclude Mallery, Hu
include
ormation Science (LIS) rather than in computer science in a narrow
sense. What
Winograd &Flores
(1987).
Additional
and Martin (2005). There seems
Tepresented
are
in LIS are
representations of documents
representing
knowledge
and Fonseca
Chalmers (1999) (thus meta-representations). If, tor example, the text
corpus is an academic corpus
Duffy (1992);
bee a need for a
more direct application
ot
eutical/pragmati
historicist/hermeneutical/prao