SlideShare a Scribd company logo
PROGRAMS WITH COMMON
SENSE
1
John McCarthy
Computer Science Department
Stanford University
Presented by
Siriwardena M. P.
Wijayarathna D. G. C. D
Udara Y. B. N.
WHAT IS PROGRAM WITH COMMON
SENSE?
ARTIFICIAL INTELLIGENCE
Certain elementary verbal reasoning
processes so simple that they can be carried
out by any non-feeble minded human have
yet to be simulated by machine programs
2
WHAT IS ADVICE TAKER
The advice taker is a proposed program for
solving problems by manipulating sentences
in formal languages
3
BASIC FEATURES
1. All behaviors must be representable in the
system. Therefore, the system should either
be able to construct arbitrary automata or to
program in some general purpose
programming language.
2. Interesting changes in behavior must be
expressible in a simple way.
3. All aspects of behavior, in particular, the
improving mechanism should be improvable.
4
BASIC FEATURES
4. The machine must have or evolve concepts of
partial success because on difficult problems
decisive successes or failures come too
infrequently.
5. The system must be able to create subroutines
which can be included in procedures as units. The
learning of subroutines is complicated by the fact
that the effect of a subroutine is not usually good or
bad in itself. Therefore, the mechanism that selects
subroutines should have concepts of interesting or
powerful subroutine whose application may be good
under suitable conditions.
5
MAIN DIFFERENCE
A machine is instructed mainly in the form
of a sequence of imperative sentences
while a human is instructed mainly in
declarative sentences
6
ADVANTAGES OF IMPERATIVE
SENTENCES
1. A procedure described in imperatives is
already laid out and is carried out faster.
2. One starts with a machine in a basic
state and does not assume previous
knowledge on the part of the machine.
7
ADVANTAGES OF DECLARATIVE
SENTENCES
1. Advantage can be taken of previous
knowledge.
2. Declarative sentences have logical
consequences and it can be arranged that the
machine will have available sufficiently simple
logical consequences of what it is told and
what it previously knew.
8
ADVANTAGES OF DECLARATIVE
SENTENCES
3. The meaning of declaratives is much less
dependent on their order than is the case
with imperatives. This makes it easier to
have after-thoughts.
4. The effect of a declarative is less
dependent on the previous state of the
system so that less knowledge of this
state is required on the part of the
instructor.
9
MAIN FEATURES
There is a method of representing
expressions in the computer
10
MAIN FEATURES
Certain of these expressions may be
regarded as declarative sentences in a
certain logical system which will be
analogous to a universal Post canonical
system.
11
MAIN FEATURES
There is an immediate deduction routine
which when given a set of premises will
deduce a set of immediate conclusions
12
MAIN FEATURES
Not all expressions are interpreted by the
system as declarative sentences.
13
MAIN FEATURES
Entities other than declarative sentences
which can be represented by formulas in
the system are individuals, functions, and
programs.
14
MAIN FEATURES
The program is intended to operate
cyclically as follows. The immediate
deduction routine is applied to a list of
premises and a list of individuals. Some
of the conclusions have the form of
imperative sentences. These are obeyed.
Included in the set of imperatives which
may be obeyed is the routine which
deduces and obeys.
15
This example will explain how
the advice taker is supposed to
act
16
EXAMPLE
• Assume that I am seated at my desk at home
and I wish to go to the airport.
• My car is at my home also.
17
SOLUTION ??
Walk to the car and drive the car to the
airport.
18
“ADVICE TAKER” USE SET OF
PREMISES TO DRAW THIS
CONCLUSION.
What are the Premises it use??
19
PREDICATE “AT”.
“AT(X, Y)” MEANS “X IS AT Y”.
 At (I, desk)
 At (desk, home)
 At (car, home)
 At (home, country)
 At (airport, country)
20
Relation “at" is transitive
at(x, y), at(y, z) at(x, z)
at (I, desk), at(desk, home) at(I, home)
We can add more abstraction
transitive(at)
transitive(u) (u(x, y), u(y, z) u(x,z))
21
There are two rules concerning the feasibility of
walking and driving.
walkable(x), at(y, x), at(z, x), at(I, y)
can(go(y, z, walking))
drivable(x), at(y, x), at(z, x), at(car, y), at(I, car)
can(go(y; z; driving))
Two specific facts
walkable(home)drivable(county)
22
Property of Going
did (go (x, y, z)) at(I, y)
Problem Premise
want (at (I, airport))
All these premises are specific to
this problem.
23
PREMISES COMMON TO ALL
PROBLEMS
(x can(y)), (did(y) z) canachult(x, y, z)
canachult(x, y, z), canachult(z, u, v)
canachult(x, prog(y, u), v)
What is prog(y, v) ??
24
ARGUMENT THE ADVICE TAKER MUST PRODUCE
IN ORDER TO SOLVE THE PROBLEM
1. at(I, desk) can(go(desk, car, walking))
2. at(I, car) can(go(home, airport, driving))
3. did(go(desk, car, walking)) at(I, car)
4. did(go(home, airport, driving)) at(I, airport)
5. canachult(at(I, desk), go(desk, car,walking), at(I, car))
6. canachult(at(I, car), go(home, airport, driving), at(I,
airport))
7. canachult(at(I, desk), prog(go(desk, car, walking),
go(home, airport, driving)), at(I, airport))
8. do(go(desk, car, walking)) 25
MAJOR QUESTIONS FROM ABOVE
REASONING
How the seven premises are collected
How the deduction is proceed once they
found
26
WHERE THE 17 PREMISES COME
FROM
14th premises want(at(I, airport)) set the
goal
1 st premise at(I, desk) should come from a
routine which answer the question “where
am I”
Others can expected to be present in the
memory
27
HOW THE PREMISES ASSEMBLE
THEMSELVES TO A LIST
Initially want(at(I,airport)) is on a certain list
called main list by itself
Program begin with a observation routine
which looks at the main list and put certain
statements about content in a list called
“observations of the main list”
28
DEDUCE AND OBEY ROUTINE
Applied to the combination of the
“observations of the main list” and a list
called “standing orders list”
Program first looks at “want(at(I, airport))”
and copy the statement in its property list
Find anything were filed under “want(at(I, x))”
29
WANT(AT(I, X))
-->DO(OBSERVE(WHEREAMI))
Property list of want(x) will gives 15,16,17
premises
Check there is a rule start with premises
“at(I, y)” and “want(I, x)” and has as
conclusion a search for the property list of
“go(y, x, z)".
heuristics that would initiate a search for a y
such that “at(I, y)" and “at(airport, y)
30
higher level of abstraction many of the
statements are of the stimulus-response form.
conscious and unconscious thought occurs at
the boundary between stimulus-response
heuristics
31
Q & A
32
Thank you
33

More Related Content

Similar to Programs With Common Sense

Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base Systems
Jim Webb
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
Arlene Smith
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
sadeenedian08
 
Chapter 09 design and analysis of algorithms
Chapter 09  design and analysis of algorithmsChapter 09  design and analysis of algorithms
Chapter 09 design and analysis of algorithms
Praveen M Jigajinni
 
Value Engineering
Value EngineeringValue Engineering
Value Engineering
vinukorekar
 
Knowledge representation and reasoning
Knowledge representation and reasoningKnowledge representation and reasoning
Knowledge representation and reasoning
Maryam Maleki
 
FME UC 2014: Keynote from Boundless
FME UC 2014: Keynote from BoundlessFME UC 2014: Keynote from Boundless
FME UC 2014: Keynote from Boundless
Safe Software
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
Madan Kumawat
 
An Introduction to Ben Shneiderman's Eight Golden Rules of Interface Design
An Introduction to Ben Shneiderman's Eight Golden Rules of Interface DesignAn Introduction to Ben Shneiderman's Eight Golden Rules of Interface Design
An Introduction to Ben Shneiderman's Eight Golden Rules of Interface Design
Jochen Wolters
 
Expert system
Expert systemExpert system
Expert system
Tilakpoudel2
 
J03504073076
J03504073076J03504073076
J03504073076
theijes
 
Principles of Health Informatics: Models, information, and information systems
Principles of Health Informatics: Models, information, and information systemsPrinciples of Health Informatics: Models, information, and information systems
Principles of Health Informatics: Models, information, and information systems
Martin Chapman
 
Making Observability Actionable At Scale - DBS DevConnect 2019
Making Observability Actionable At Scale - DBS DevConnect 2019Making Observability Actionable At Scale - DBS DevConnect 2019
Making Observability Actionable At Scale - DBS DevConnect 2019
Squadcast Inc
 
Introduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdfIntroduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdf
GandhiMathy6
 
Fuzzy logic
Fuzzy logicFuzzy logic
C programming
C programmingC programming
C programming
Mallikarjuna G D
 
Introduction to computer science
Introduction to computer scienceIntroduction to computer science
Introduction to computer science
umardanjumamaiwada
 

Similar to Programs With Common Sense (20)

Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base Systems
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
Chapter 09 design and analysis of algorithms
Chapter 09  design and analysis of algorithmsChapter 09  design and analysis of algorithms
Chapter 09 design and analysis of algorithms
 
Value Engineering
Value EngineeringValue Engineering
Value Engineering
 
Knowledge representation and reasoning
Knowledge representation and reasoningKnowledge representation and reasoning
Knowledge representation and reasoning
 
FME UC 2014: Keynote from Boundless
FME UC 2014: Keynote from BoundlessFME UC 2014: Keynote from Boundless
FME UC 2014: Keynote from Boundless
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
An Introduction to Ben Shneiderman's Eight Golden Rules of Interface Design
An Introduction to Ben Shneiderman's Eight Golden Rules of Interface DesignAn Introduction to Ben Shneiderman's Eight Golden Rules of Interface Design
An Introduction to Ben Shneiderman's Eight Golden Rules of Interface Design
 
Algorithm itabq
Algorithm itabqAlgorithm itabq
Algorithm itabq
 
Expert system
Expert systemExpert system
Expert system
 
Mis 009
Mis 009Mis 009
Mis 009
 
J03504073076
J03504073076J03504073076
J03504073076
 
Principles of Health Informatics: Models, information, and information systems
Principles of Health Informatics: Models, information, and information systemsPrinciples of Health Informatics: Models, information, and information systems
Principles of Health Informatics: Models, information, and information systems
 
Itm 3
Itm 3Itm 3
Itm 3
 
Making Observability Actionable At Scale - DBS DevConnect 2019
Making Observability Actionable At Scale - DBS DevConnect 2019Making Observability Actionable At Scale - DBS DevConnect 2019
Making Observability Actionable At Scale - DBS DevConnect 2019
 
Introduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdfIntroduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdf
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
C programming
C programmingC programming
C programming
 
Introduction to computer science
Introduction to computer scienceIntroduction to computer science
Introduction to computer science
 

More from Chamila Wijayarathna

Why Johnny Can't Store Passwords Securely? A Usability Evaluation of Bouncyca...
Why Johnny Can't Store Passwords Securely? A Usability Evaluation of Bouncyca...Why Johnny Can't Store Passwords Securely? A Usability Evaluation of Bouncyca...
Why Johnny Can't Store Passwords Securely? A Usability Evaluation of Bouncyca...
Chamila Wijayarathna
 
Using Cognitive Dimensions Questionnaire to Evaluate the Usability of Securit...
Using Cognitive Dimensions Questionnaire to Evaluate the Usability of Securit...Using Cognitive Dimensions Questionnaire to Evaluate the Usability of Securit...
Using Cognitive Dimensions Questionnaire to Evaluate the Usability of Securit...
Chamila Wijayarathna
 
SinMin - Sinhala Corpus Project - Thesis
SinMin - Sinhala Corpus Project - ThesisSinMin - Sinhala Corpus Project - Thesis
SinMin - Sinhala Corpus Project - Thesis
Chamila Wijayarathna
 
GS0C - "How to Start" Guide
GS0C - "How to Start" GuideGS0C - "How to Start" Guide
GS0C - "How to Start" Guide
Chamila Wijayarathna
 
Sinmin final presentation
Sinmin final presentation Sinmin final presentation
Sinmin final presentation
Chamila Wijayarathna
 
Implementing a Corpus for Sinhala Language
Implementing a Corpus for Sinhala LanguageImplementing a Corpus for Sinhala Language
Implementing a Corpus for Sinhala Language
Chamila Wijayarathna
 
Sinmin Literature Review Presentation
Sinmin Literature Review PresentationSinmin Literature Review Presentation
Sinmin Literature Review Presentation
Chamila Wijayarathna
 
Xbotix 2014 Rules undergraduate category
Xbotix 2014 Rules   undergraduate categoryXbotix 2014 Rules   undergraduate category
Xbotix 2014 Rules undergraduate category
Chamila Wijayarathna
 
Kaggle KDD Cup Report
Kaggle KDD Cup ReportKaggle KDD Cup Report
Kaggle KDD Cup Report
Chamila Wijayarathna
 
Higgs Boson Machine Learning Challenge Report
Higgs Boson Machine Learning Challenge ReportHiggs Boson Machine Learning Challenge Report
Higgs Boson Machine Learning Challenge Report
Chamila Wijayarathna
 
Knock detecting door lock research paper
Knock detecting door lock research paperKnock detecting door lock research paper
Knock detecting door lock research paper
Chamila Wijayarathna
 
Helen Keller, The Story of My Life
Helen Keller, The Story of My LifeHelen Keller, The Story of My Life
Helen Keller, The Story of My LifeChamila Wijayarathna
 
Shirsha Yaathra - Head Movement controlled Wheelchair - Research Paper
Shirsha Yaathra - Head Movement controlled Wheelchair - Research PaperShirsha Yaathra - Head Movement controlled Wheelchair - Research Paper
Shirsha Yaathra - Head Movement controlled Wheelchair - Research Paper
Chamila Wijayarathna
 
Products, Process Development Firms in Sri Lanka and their focus on Sustaina...
Products, Process  Development Firms in Sri Lanka and their focus on Sustaina...Products, Process  Development Firms in Sri Lanka and their focus on Sustaina...
Products, Process Development Firms in Sri Lanka and their focus on Sustaina...Chamila Wijayarathna
 

More from Chamila Wijayarathna (19)

Why Johnny Can't Store Passwords Securely? A Usability Evaluation of Bouncyca...
Why Johnny Can't Store Passwords Securely? A Usability Evaluation of Bouncyca...Why Johnny Can't Store Passwords Securely? A Usability Evaluation of Bouncyca...
Why Johnny Can't Store Passwords Securely? A Usability Evaluation of Bouncyca...
 
Using Cognitive Dimensions Questionnaire to Evaluate the Usability of Securit...
Using Cognitive Dimensions Questionnaire to Evaluate the Usability of Securit...Using Cognitive Dimensions Questionnaire to Evaluate the Usability of Securit...
Using Cognitive Dimensions Questionnaire to Evaluate the Usability of Securit...
 
SinMin - Sinhala Corpus Project - Thesis
SinMin - Sinhala Corpus Project - ThesisSinMin - Sinhala Corpus Project - Thesis
SinMin - Sinhala Corpus Project - Thesis
 
GS0C - "How to Start" Guide
GS0C - "How to Start" GuideGS0C - "How to Start" Guide
GS0C - "How to Start" Guide
 
Sinmin final presentation
Sinmin final presentation Sinmin final presentation
Sinmin final presentation
 
Implementing a Corpus for Sinhala Language
Implementing a Corpus for Sinhala LanguageImplementing a Corpus for Sinhala Language
Implementing a Corpus for Sinhala Language
 
Sinmin Literature Review Presentation
Sinmin Literature Review PresentationSinmin Literature Review Presentation
Sinmin Literature Review Presentation
 
Xbotix 2014 Rules undergraduate category
Xbotix 2014 Rules   undergraduate categoryXbotix 2014 Rules   undergraduate category
Xbotix 2014 Rules undergraduate category
 
Kaggle KDD Cup Report
Kaggle KDD Cup ReportKaggle KDD Cup Report
Kaggle KDD Cup Report
 
Higgs Boson Machine Learning Challenge Report
Higgs Boson Machine Learning Challenge ReportHiggs Boson Machine Learning Challenge Report
Higgs Boson Machine Learning Challenge Report
 
Knock detecting door lock research paper
Knock detecting door lock research paperKnock detecting door lock research paper
Knock detecting door lock research paper
 
IEEE Xtreme Final results 2012
IEEE Xtreme Final results 2012IEEE Xtreme Final results 2012
IEEE Xtreme Final results 2012
 
Helen Keller, The Story of My Life
Helen Keller, The Story of My LifeHelen Keller, The Story of My Life
Helen Keller, The Story of My Life
 
Shirsha Yaathra - Head Movement controlled Wheelchair - Research Paper
Shirsha Yaathra - Head Movement controlled Wheelchair - Research PaperShirsha Yaathra - Head Movement controlled Wheelchair - Research Paper
Shirsha Yaathra - Head Movement controlled Wheelchair - Research Paper
 
Memory technologies
Memory technologiesMemory technologies
Memory technologies
 
History of Computer
History of ComputerHistory of Computer
History of Computer
 
Products, Process Development Firms in Sri Lanka and their focus on Sustaina...
Products, Process  Development Firms in Sri Lanka and their focus on Sustaina...Products, Process  Development Firms in Sri Lanka and their focus on Sustaina...
Products, Process Development Firms in Sri Lanka and their focus on Sustaina...
 
Path Following Robot
Path Following RobotPath Following Robot
Path Following Robot
 
Path following robot
Path following robotPath following robot
Path following robot
 

Recently uploaded

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 

Recently uploaded (20)

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 

Programs With Common Sense

  • 1. PROGRAMS WITH COMMON SENSE 1 John McCarthy Computer Science Department Stanford University Presented by Siriwardena M. P. Wijayarathna D. G. C. D Udara Y. B. N.
  • 2. WHAT IS PROGRAM WITH COMMON SENSE? ARTIFICIAL INTELLIGENCE Certain elementary verbal reasoning processes so simple that they can be carried out by any non-feeble minded human have yet to be simulated by machine programs 2
  • 3. WHAT IS ADVICE TAKER The advice taker is a proposed program for solving problems by manipulating sentences in formal languages 3
  • 4. BASIC FEATURES 1. All behaviors must be representable in the system. Therefore, the system should either be able to construct arbitrary automata or to program in some general purpose programming language. 2. Interesting changes in behavior must be expressible in a simple way. 3. All aspects of behavior, in particular, the improving mechanism should be improvable. 4
  • 5. BASIC FEATURES 4. The machine must have or evolve concepts of partial success because on difficult problems decisive successes or failures come too infrequently. 5. The system must be able to create subroutines which can be included in procedures as units. The learning of subroutines is complicated by the fact that the effect of a subroutine is not usually good or bad in itself. Therefore, the mechanism that selects subroutines should have concepts of interesting or powerful subroutine whose application may be good under suitable conditions. 5
  • 6. MAIN DIFFERENCE A machine is instructed mainly in the form of a sequence of imperative sentences while a human is instructed mainly in declarative sentences 6
  • 7. ADVANTAGES OF IMPERATIVE SENTENCES 1. A procedure described in imperatives is already laid out and is carried out faster. 2. One starts with a machine in a basic state and does not assume previous knowledge on the part of the machine. 7
  • 8. ADVANTAGES OF DECLARATIVE SENTENCES 1. Advantage can be taken of previous knowledge. 2. Declarative sentences have logical consequences and it can be arranged that the machine will have available sufficiently simple logical consequences of what it is told and what it previously knew. 8
  • 9. ADVANTAGES OF DECLARATIVE SENTENCES 3. The meaning of declaratives is much less dependent on their order than is the case with imperatives. This makes it easier to have after-thoughts. 4. The effect of a declarative is less dependent on the previous state of the system so that less knowledge of this state is required on the part of the instructor. 9
  • 10. MAIN FEATURES There is a method of representing expressions in the computer 10
  • 11. MAIN FEATURES Certain of these expressions may be regarded as declarative sentences in a certain logical system which will be analogous to a universal Post canonical system. 11
  • 12. MAIN FEATURES There is an immediate deduction routine which when given a set of premises will deduce a set of immediate conclusions 12
  • 13. MAIN FEATURES Not all expressions are interpreted by the system as declarative sentences. 13
  • 14. MAIN FEATURES Entities other than declarative sentences which can be represented by formulas in the system are individuals, functions, and programs. 14
  • 15. MAIN FEATURES The program is intended to operate cyclically as follows. The immediate deduction routine is applied to a list of premises and a list of individuals. Some of the conclusions have the form of imperative sentences. These are obeyed. Included in the set of imperatives which may be obeyed is the routine which deduces and obeys. 15
  • 16. This example will explain how the advice taker is supposed to act 16
  • 17. EXAMPLE • Assume that I am seated at my desk at home and I wish to go to the airport. • My car is at my home also. 17
  • 18. SOLUTION ?? Walk to the car and drive the car to the airport. 18
  • 19. “ADVICE TAKER” USE SET OF PREMISES TO DRAW THIS CONCLUSION. What are the Premises it use?? 19
  • 20. PREDICATE “AT”. “AT(X, Y)” MEANS “X IS AT Y”.  At (I, desk)  At (desk, home)  At (car, home)  At (home, country)  At (airport, country) 20
  • 21. Relation “at" is transitive at(x, y), at(y, z) at(x, z) at (I, desk), at(desk, home) at(I, home) We can add more abstraction transitive(at) transitive(u) (u(x, y), u(y, z) u(x,z)) 21
  • 22. There are two rules concerning the feasibility of walking and driving. walkable(x), at(y, x), at(z, x), at(I, y) can(go(y, z, walking)) drivable(x), at(y, x), at(z, x), at(car, y), at(I, car) can(go(y; z; driving)) Two specific facts walkable(home)drivable(county) 22
  • 23. Property of Going did (go (x, y, z)) at(I, y) Problem Premise want (at (I, airport)) All these premises are specific to this problem. 23
  • 24. PREMISES COMMON TO ALL PROBLEMS (x can(y)), (did(y) z) canachult(x, y, z) canachult(x, y, z), canachult(z, u, v) canachult(x, prog(y, u), v) What is prog(y, v) ?? 24
  • 25. ARGUMENT THE ADVICE TAKER MUST PRODUCE IN ORDER TO SOLVE THE PROBLEM 1. at(I, desk) can(go(desk, car, walking)) 2. at(I, car) can(go(home, airport, driving)) 3. did(go(desk, car, walking)) at(I, car) 4. did(go(home, airport, driving)) at(I, airport) 5. canachult(at(I, desk), go(desk, car,walking), at(I, car)) 6. canachult(at(I, car), go(home, airport, driving), at(I, airport)) 7. canachult(at(I, desk), prog(go(desk, car, walking), go(home, airport, driving)), at(I, airport)) 8. do(go(desk, car, walking)) 25
  • 26. MAJOR QUESTIONS FROM ABOVE REASONING How the seven premises are collected How the deduction is proceed once they found 26
  • 27. WHERE THE 17 PREMISES COME FROM 14th premises want(at(I, airport)) set the goal 1 st premise at(I, desk) should come from a routine which answer the question “where am I” Others can expected to be present in the memory 27
  • 28. HOW THE PREMISES ASSEMBLE THEMSELVES TO A LIST Initially want(at(I,airport)) is on a certain list called main list by itself Program begin with a observation routine which looks at the main list and put certain statements about content in a list called “observations of the main list” 28
  • 29. DEDUCE AND OBEY ROUTINE Applied to the combination of the “observations of the main list” and a list called “standing orders list” Program first looks at “want(at(I, airport))” and copy the statement in its property list Find anything were filed under “want(at(I, x))” 29
  • 30. WANT(AT(I, X)) -->DO(OBSERVE(WHEREAMI)) Property list of want(x) will gives 15,16,17 premises Check there is a rule start with premises “at(I, y)” and “want(I, x)” and has as conclusion a search for the property list of “go(y, x, z)". heuristics that would initiate a search for a y such that “at(I, y)" and “at(airport, y) 30
  • 31. higher level of abstraction many of the statements are of the stimulus-response form. conscious and unconscious thought occurs at the boundary between stimulus-response heuristics 31

Editor's Notes

  1. This research paper consider on a special aspect of the artificial intelligence.
  2. The main different in this and other programs manipulating the formal languages is that the heuristic values were embodied in the program. Inthis program the procedures will be described as much as possible in the language itself and, in particular, the heuristics are also described. The main advantages we expect the advice taker to have is that its behavior will be improvable merely by making statements to it, telling it about its symbolic environment and what is wanted from it.Ultimate objective is to make programs that learn from their experience as effectively as humans do.
  3. Of the 5 points mentioned above, our work concentrates mainly on the second. We base ourselves on the idea that: In order for a program to be capable of learning something it must first be capable of being told it
  4. The main distinction between the way one programs a computer and modifies the program and the way one instructs a human or will instruct the advice taker is this
  5. These are the main features of the advice takerThese expressions are defined recursively as follows: A class of entities called terms is defined and a term is an expression. A sequence of expressions is an expression. These expressions are represented in the machine by list structures
  6. A Post canonical system, is a string-manipulation system that starts with finitely-many strings and repeatedly transforms them by applying a finite set of specified rules of a certain form, thus generating a formal languageThe particular system chosen will probably have a single rule of inference which will combine substitution for variables with modus ponens. The purpose of the combination is to avoid choking the machine with special cases of general propositions already deduced.
  7. Initially, the immediate deduction routine will simply write down all one-step consequences of the premises. Later, the routine will produce some other conclusions which may be of interest. However, this routine will not use semantic heuristics; i.e., heuristics which depend on the subject matter under discussion.The intelligence, if any, of the advice taker will not be embodied in the immediate deduction routine. This intelligence will be embodied in the procedures which choose the lists of premises to which the immediate deduction routine is to be applied
  8. Some are the names of entities of various kinds. Certain formulas represent objects. For our purposes, an entity is an object if we have something to say about it other than the things which may be deduced from the form of its name. For example, to most people, the number 3812 is not an object: they have nothing to say about it except what can be deduced from its structure. On the other hand, to most Americans the number 1776 is an object because they have filed somewhere the fact that it represents the year when the American Revolution started. In the advice taker each object has a property list in which are listed the special things we have to say about it. Some things which can be deduced from the name of the object may be included in the property list anyhow if the deduction was actually carried out and was difficult enough so that the system does not want to carry it out again.
  9. 1st set the goal , and second get from a routine which answer the question where am I, all the other premises can expected to be present in the memory of the machine if it has ability of human ordering in finding its way around. That’s non of them are so specific to the problem assuming there presence in memory. We must impose this requirement if we want to say advice taker shows common sense.
  10. We shall not specify what all the possible outputs of this observation routine. But here it will observe that the only statement in L has the form ‘want(u(x))’
  11. This list is smaller and never changed or only change in major changes of advice taker. The contents of the standing order list is not been worked out . But what needs to deduce is the extraction of the certain statements of the property list. Program first looks at “want(at(I,airport))“ and attempt to copy the statements in the property list. If it do not have the status of a object hence no property list.
  12. Then premise (10) would be found which has as one of its premises at(I,car). A repetition of the above would find premise (9)