Common Sense: Artificial Intelligence
Common Sense: Artificial Intelligence
Common Sense: Artificial Intelligence
.in
rs
de
ea
yr
Common Sense : AI Course Lecture 42, notes, slides
.m
w
w
www.myreaders.info/ , RC Chakraborty, e-mail rcchak@gmail.com , June 01, 2010
,w
ty
www.myreaders.info/html/artificial_intelligence.html
or
ab
www.myreaders.info
kr
ha
C
C
R
Return to Website
Common Sense
Artificial Intelligence
Common sense, topics : Introduction, Common sense knowledge
and reasoning, how to teach commonsense to a computer;
Formalization of common sense reasoning - initial attempts of
late 60's and early, renewed attempts in late 70's and 80's to
recent time; Physical world - modeling the qualitative world,
reasoning with qualitative information; Common Sense
Ontologies - time, space, material; Memory organization - short
term memory (STM), long term memory (LTM).
fo
.in
rs
de
ea
Common Sense
yr
.m
w
w
,w
Artificial Intelligence
ty
or
ab
kr
Topics
ha
C
C
1. Introduction 03-10
Initial attempts of late 60's and early, Renewed attempts in late 70's
and 80's to recent time.
5. Memory Organization 25
6. References 26
02
fo
.in
rs
de
ea
yr
.m
w
w
,w
ty
Common Sense
or
ab
kr
ha
C
C
R
• Common sense knowledge includes the basic facts about events and
their effects, facts about knowledge and how it is obtained, facts about
beliefs and desires. It includes the basic facts about material objects
and their properties (John McCarthy, 1990).
ea
1. Introduction
yr
.m
w
w
Commonsense is ability to analyze a situation based on its context,
,w
ty
or
Example : Everyone knows that dropping a glass of water, the glass will
break and water will spill on podium. However, this information is not obtained
by formula or equation for a falling body or equations governing fluid flow.
Why computers can not think about the world as any person can ?
Where the problem lies ?
There are two basic types of knowledge. One is the specialist's knowledge
which mathematicians, scientists and engineers possess. The other type is
the commonsense knowledge which every one has, even a small 6-year–old
child. The need is to teach the computer to reason about the world
(commonsense knowledge). The researchers have not yet reached to any
consensus on many related issues. McCarthy suggested to use logic to
represent the knowledge. Understanding common sense capability is an active
area of research in artificial intelligence.
04
fo
.in
rs
de
AI - Common Sense: Introduction
ea
1.1 Commonsense Knowledge and Reasoning
yr
.m
w
w
Common sense facts and methods are very little understood today.
,w
ty
or
‡ If you hold a knife by its blade then the blade may cut you
‡ If you drop paper into a flame then the paper will burn
‡ You start getting hungry again a few hours after eating a meal
ea
• Common Sense Reasoning
yr
.m
w What one builds as a reasoning method into his program.
w
,w
ty
Examples
or
ab
a similar problem.
C
R
ea
1.2 How to Teach Commonsense to a Computer
yr
.m
w
w
There is no clear answer for to this question.
,w
ty
or
reasoning powers of a 5 year old child. The problem was noticed long
ha
C
C
ago by John McCarthy. We do not yet have enough ideas about how
R
ea
• Building Human Commonsense Knowledge Base
yr
.m
w
w
Stated below, the two ongoing AI projects for assembling
,w
ty
or
ea
[Continued from previous slide]
yr
.m
w
w The CYC and Open Mind projects are ensuring enough commonsense
,w
ea
• Example of Commonsense System Architecture (Mueller, 2004)
yr
.m
w The system takes as input a template produced by information
w
,w
ty
Template
C
C
R
Script classifier
Template, script
Reasoning problem
builder for script
Reasoning problem
Common
Commonsense
sense
reasoner
KB
Model
ea
2. Formalization of Common Sense Reasoning
yr
.m
w
w
Commonsense reasoning is a central part of human behavior; no real
,w
ty
or
indeed a very complex task, we all perform about every day world.
Example : There are chess-playing programs that beat champions, and
there are expert systems that assist in clinical diagnosis, but there is no
program that reason about how far one must bend over to put on
one’s socks.
The reason is expert knowledge is usually explicit, but most
commonsense knowledge is implicit. Therefore, one of the prerequisites
for developing commonsense reasoning systems is making this
knowledge explicit.
ea
[Continued from previous slide]
yr
.m
w To formalize commonsense reasoning, we need to construct
w
,w
ty
Note : Just to complete this section, the issues, arguments and the
solutions offered his article (Robert C. Moore, technical note 239, april
1981, Sri International Menlo park CA Artificial intelligence center) are put
very briefly in next three slides.
12
fo
.in
rs
de
AI - Common Sense: Formalization of reasoning
ea
2.1 Initial attempts of late 60's and early 70's
yr
.m
w failures and disappointments
w
,w
ty
The failures resulted from two constraints the researchers had imposed:
(a) attempted to use only uniform, domain-independent, proof
procedures; and (b) tried to force all reasoning and problem -
solving behavior into the framework of logical deduction.
There were widespread condemnation of any use of logic or deduction
in commonsense reasoning or problem solving.
13
fo
.in
rs
de
AI - Common Sense: Formalization of reasoning
ea
2.2 Renewed attempts in late 70's and 80's to recent time
yr
.m
w
w
The revival of interest in deduction-based approaches to commonsense
,w
ty
or
ea
• Need for Specific Control Information
yr
.m
w
w
■ The difficulties with domain-independent problem solver on
,w
ty
or
15
fo
.in
rs
de
AI - Common Sense: Formalization of reasoning
ea
• Logic Programming
yr
.m
w
w
■ One factor that can greatly affect the efficiency of deductive
,w
ty
or
16
fo
.in
rs
de
AI - Common Sense: Formalization of reasoning
ea
[Continued from previous slide]
yr
.m
w
w
Note : The approaches to the representation formalism for
,w
ty
ea
3. Physical World
yr
.m
w
w
People know a great deal about how the physical world works.
,w
ty
or
- can predict that a falling ball will bounce many times before come to halt.
- can predict the projection of cricket ball and even catch it.
- know a pendulum swings back and fore finally coming to rest in the middle.
18
fo
.in
rs
de
AI - Common Sense: Physical world
ea
• Modeling the Qualitative World
yr
.m
w Qualitative physics seeks to understand physical processes by building
w
,w
ty
19
fo
.in
rs
de
AI - Common Sense: Physical world
ea
• Example : Qualitative Algebra - addition
yr
.m
w
w
Describe the volume of glass as {empty, between, full } .
,w
ty
or
20
fo
.in
rs
de
AI - Common Sense: Physical world
ea
• Reasoning with Qualitative Information
yr
.m
w
w
Reasoning with qualitative information is often called qualitative
,w
ty
or
variable.
ea
4. Common Sense Ontologies
yr
.m
w
w
Some concepts are fundamental to common sense reasoning.
,w
ty
or
A computer program that interacts with the real world must be able
ab
kr
to reason about things like time, space and materials. On each of these,
ha
C
C
here some thought is presented. [Details with examples are available in the text
R
• Time
The most basic notion of time is events. Events occur during intervals
over continuous spaces of time. An interval has a start and end point
and a duration between them.
ea
• Space
yr
.m
w The Blocks World is a simple example of what we can model and
w
,w
ty
ea
• Material
yr
.m
w Describe the properties of materials as :
w
,w
ty
The Liquids provide many interesting points, such as, the space
occupied by them. Thus we can define their properties such as:
‡ Capacity - a bound to an amount of liquid.
‡ Rigid
‡ Flexible
24
fo
.in
rs
de
AI - Common Sense: Memory
ea
5. Memory Organization
yr
.m
w
w
Memory is central to common sense behavior and also the basis for
,w
ty
or
‡ Episodic memory :
Contains information about personal experiences.
‡ Semantic memory :
General facts with no personal meaning, e.g. Birds fly;
useful in natural language understanding.
25
fo
.in
rs
de
ea
yr
.m
AI - Common Sense - References
w
w
6. References : Textbooks
,w
ty
or
1. "Artificial Intelligence", by Elaine Rich and Kevin Knight, (2006), McGraw Hill
ab
kr
2. "AI: A New Synthesis", by Nils J. Nilsson, (1998), Morgan Kaufmann Inc., Chapter
R
26