AI-KRR-Introduction
AI-KRR-Introduction
AI-KRR-Introduction
Introduction
Deepak Khemani
Department of Computer Science & Engineering
IIT Madras
We know….
"You will not apply my precept," he said, shaking his head. "How often have
I said to you that when you have eliminated the impossible, whatever
remains, however improbable, must be the truth?
We know that he did not come through the door, the window, or the
chimney. We also know that he could not have been concealed in the
room, as there is no concealment possible. When, then, did he come?”
- Sherlock Holmes in The Sign of the Four (by, Arthur Conan Doyle, ch. 6,
(1890)
https://opentext.wsu.edu/carriecuttler/chapter/methods-of-knowing/
"On which the dead man very considerately got up and locked the door on
the inside," said Holmes.”
• 2, 4, 6, 8, … 10?
• 1, 1, 2, 3, 5, … 8?
• 1, 4, 9, 16, … 25?
• 0, 3, 8, 15, … 24?
• 0, 0, 0, 0, … 0?
But what if we are generating
the values from (N-1)(N-2)(N-3)(N-4)?
GC
11
GC
12
GC
13
GC
14
GC
15
GC
16
An autonomous agent
in some world
has a goal to achieve
and
a set of actions to choose from
to strive for the goal
17
GC
18
GC
19
GC
20
GC
21
GC
22
GC
23
You should be able to imagine that “if you kick the ball to where your
teammate should be running to, then he would have a better shot at the
goal”.
In the The Myth of Artificial Intelligence author Erik Larson says that most of
the inferences we make as humans are abductive in nature.
Abduction is like guesswork, based on what we know about the world. Only,
some people make more informed guesses than others.
On a football field
- what is the goalkeeper expected to do
- what about your teammate
- what are the opposing team players likely to do
John meets Fred on the road. Fred has a knife. John is angry because
his wife Mary has yelled at him…
Fred : Hi
John : What are you doing with the knife?
Fred : Thought I'd teach the kids to play mumbly-peg.
John : I could use a knife right now.
Fred : What's the matter?
John : Damn Mary, always on my back. She'll be sorry.
Fred : I don't think a knife will help you.
John : You're just on her side. I think I ought to . . .
Act Perceive
Goals
32
First Knowledge
Principles
Ontology + Experience
Domain Semantics
computer vision
speech recognition Symbolic reasoning
graphics
deep neural networks
Symbols
tree
grass
sky
Neuro fuzzy
computer vision reasoning
“Everything ML does now, speech recognition
deep neural networks
graphics
- Judea Pearl
• Cats have superior navigation abilities
• Dogs recognize and react to human speech
• African grey parrots can mimic human speech
Human Machine
or?
Human Judge Human Judge
• John took the water bottle out of the backpack so that it would be
handy.
1. The backpack
2. The bottle
1. The trophy
2. The suitcase
1. The lawyer
2. The witness
ontology
Our thoughts are true to the extent they are accurate copies of God’s ideas
Earth Earth
Earth Earth
Nicolaus Copernicus
Portrait, 1580, Toruń Old Town City Hall
Born19 February 1473
Toruń (Thorn), Royal Prussia,
Kingdom of Poland
Source: http://en.wikipedia.org/wiki/Nicolaus_Copernicus
Deepak Khemani Artificial Intelligence: Knowledge Representation and Reasoning
Reality
What is really out there?
What is the objective reality?
One thing is clear
Everything in the physical world is made up of a small
number of fundamental particles
(even though we don’t quite know yet what they are)
unless there is no matter at all (idealism)
But we the thinking creatures create our own worlds in our minds.
And it is only our own creation that is meaningful to us.
Everything else is built upon that, and everything can be explained by that.
But how does a lay user see the machine? A music player, a web browser, a video
player, a word processor, a keeper of facts, an accounting spreadsheet.
Abstraction: is-A
rl d
w o
e d
g i n d
a o rl
e im l w
Th rea
e
Th Aggregation: is-part-of
Human Bridge-Pair
Player1 (Blue_Team
Player2 (Belladonna-Avarelli)
Bridge-Player (Garozzo-Forquet)
(Pabis-Ticci-D'Alelio))
Sportperson
Computer-Bridge-Player
(Pair1-Blue-Team
(Belladonna-Avarelli))
Human-Bridge-Player
(Pair2-Blue-Team
(Garozzo-Forquet ))
Giorgio Belladonna
(Pair3-Blue-Team
Walter Avarelli (Pabis-Ticci-D'Alelio))
Benito Garozzo
Pietro Forquet
Camillo Pabis-Ticci
Massimo D'Alelio
Deepak Khemani Artificial Intelligence: Knowledge Representation and Reasoning
Beyond categories and concepts
The language of logic is concerned with sentences.
• In some sense we collect and organize individual bits of facts about the
typical knowledge about these entities
• Aggregated representations
• Roger Schank called such structures Scripts
• Marvin Minsky called them Frames
• And gave rise to the idea of Object Oriented Programming Systems
If Tweety is a bird then one can conclude that Tweety can fly,
Jogesh made a cup of tea and left it on the table. Meanwhile Smita
saw the cup of tea and drank it. When Jogesh came back he saw that
the cup was empty.