introduction to artificial intelligence and few examples

31
Ravi Kumar B N, Asst.Prof,CSE,BMSIT 1

Upload: ravislides99

Post on 11-Apr-2017

56 views

Category:

Engineering


1 download

TRANSCRIPT

Page 1: Introduction to Artificial Intelligence and few examples

RaviKumarBN,Asst.Prof,CSE,BMSIT 1

Page 2: Introduction to Artificial Intelligence and few examples

RaviKumarBN,Asst.Prof,CSE,BMSIT 2

Page 3: Introduction to Artificial Intelligence and few examples

What is Human intelligence? •  It’sacomposi?onofabili?eslike

RaviKumarBN,Asst.Prof,CSE,BMSIT3

Learning

Understanding of Language

Perceiving Reasoning

Feeling

Page 4: Introduction to Artificial Intelligence and few examples

What is intelligence?

•  Theabilitytolearnorunderstandfromexperience•  Theabilitytoacquireandretainknowledge•  Theabilitytorespondquicklyandsuccessfullytoanewsitua?on

•  TheabilitytousereasontosolveproblemsIf intelligence is learning, understanding, retaining,responding,andusingreasonthenwhatisAI?

RaviKumarBN,Asst.Prof,CSE,BMSIT 4

Page 5: Introduction to Artificial Intelligence and few examples

Quick Answer from Academia

q Modelinghumancogni8onusingcomputers.q StudyofmakingcomputersdothingswhichatthemomentpeoplearebeNerat..q Makingcomputersdothingswhichrequireintelligence.

RaviKumarBN,Asst.Prof,CSE,BMSIT 5

Page 6: Introduction to Artificial Intelligence and few examples

RaviKumarBN,Asst.Prof,CSE,BMSIT 6

More Formal Definition of AI q AIisabranchofcomputersciencewhichisconcernedwiththestudyandcrea?onofcomputersystemsthatexhibit

Someformofintelligence.OrThosecharacteris?cswhichweassociatewithintelligenceinhumanbehavior.q Itisthescienceandengineeringofmakingintelligentmachines,especiallyintelligentcomputerprograms.

Page 7: Introduction to Artificial Intelligence and few examples

What’s Involved in Intelligence? q Abilitytointeractwiththerealworld

Ø Toperceive,understand,andact•  e.g.,speechrecogni?onandunderstanding

q Searchingthebestsolu?on-medicalq ReasoningandPlanning

Ø Modelingtheexternalworld–deliveryrobotØ Solvingnewproblems,planning,andmakingdecisionsØ Abilitytodealwithunexpectedproblems,uncertain?es

q LearningandAdapta?onØ Wearecon?nuouslylearningandadap?ngØ ourinternalmodelsarealwaysbeing“updated”

•  e.g.,ababylearningtocategorizeandrecognizeanimals

RaviKumarBN,Asst.Prof,CSE,BMSIT 7

Page 8: Introduction to Artificial Intelligence and few examples

John McCarthy

•  (September4,1927–October24,2011)wasanAmericanComputerScien?stAndCogni?veScien?st.

• McCarthywasoneofthefoundersofthedisciplineofAr?ficialIntelligence.

• Hecoinedtheterm"Ar?ficialIntelligence"(AI)

RaviKumarBN,Asst.Prof,CSE,BMSIT 8

Page 9: Introduction to Artificial Intelligence and few examples

Twodimensions

•  Thinking/Reasoningvs.Behavior/Ac?on.

•  Successaccordingtohumanstandardsvs.successaccordingtoanidealconceptofintelligence(ra?onality):

FourCategories.

ü  Systemsthatthinklikehumans(focusonreasoningandhumanframework).

ü  Systemsthatthinkra?onally(focusonreasoningandageneralconceptofintelligence).

ü  Systemsthatactlikehumans(focusonbehaviorandhumanframework).

ü  Systemsthatactra?onally(focusonbehaviorandageneralconceptofintelligence).

Views of AI fall into four categories in Two dimensions:

RaviKumarBN,Asst.Prof,CSE,BMSIT 9

Page 10: Introduction to Artificial Intelligence and few examples

Definition of AI

RaviKumarBN,Asst.Prof,CSE,BMSIT 10

Systems that Think like Humans “The exciting new effort to make computers think…. Machine with minds,….” (Haugeland,1985) “[The automation of] activities that we associated human thinking, activities such as dec i s ion –making , p rob lem so lv ing , learning…”(Bellman,1978)

Systems that Think Rationally “The study of mental faculties through the use of computational models” (Charnaik and McDermott,1985) “The study of the computations that make it possible to perceive, reason and act” (Wintson, 1992)

Systems that Act like Humans “The art of creating machines that perform functions that require intelligence when performed by people” (Kurzwell, 1990) “The study of how to make computers do things at which, at the moment, people are better” (Rich and Knight,1991)

Systems that Act Rationally “A field of study that seeks to explain and emulate intelligent behavior in terms of computational processes” (Schalkoff,1990) “The branch of computer science that is concerned with the automation of intelligent behavior” (Luger and Stubble field)

Page 11: Introduction to Artificial Intelligence and few examples

Acting Humanly : Turing Test

RaviKumarBN,Asst.Prof,CSE,BMSIT 11

AlanTuringBorn:23JUN1912,LondonDied:17JUN1954computerscien?st,mathema?cian,logician,cryptanalystandtheore?calbiologist.

¨ “CanMachinethink?”->“CanMachinesbehaveintelligently”¨ Opera?onaltestforintelligentbehavior:theImita?onGame.¨ Thecomputerwouldneedtopossessthefollowingcapabili?es:

•  NaturalLanguageProcessing•  KnowledgeRepresenta<on•  AutomatedReasoning•  MachineLearning

Page 12: Introduction to Artificial Intelligence and few examples

Place both a human and a machine mimicking human responses outside the field of direct observation and use an unbiased interface to interrogate them. If the responses are distinguishable, the machine is not displaying intelligence.

RaviKumarBN,Asst.Prof,CSE,BMSIT 12

Page 13: Introduction to Artificial Intelligence and few examples

Thinking Humanly q Cogni?veScienceapproach-  Trytoget“inside”ourminds-Introspec?on-tryingtocatchourownthoughtsastheygobyandthroughpsychologicalexperiments.

-  E.g..Conductexperimentswithpeopletotryto“reverse-engineer”howwereason,learning,remember,predict.

q Problems-Humansdon’tbehavera?onally.-  Thereverseengineeringisveryhardtodo.-  Thebrain’shardwareisverydifferenttoacomputerprogram.

RaviKumarBN,Asst.Prof,CSE,BMSIT 13

Page 14: Introduction to Artificial Intelligence and few examples

Thinking Rationally: The “laws of thought” approach

q TheGreekphilosopherAristotlewasoneofthefirsttoaNempttocodify``rightthinking,''thatis,irrefutablereasoningprocesses.q HegaveSyllogismsthatalwaysyieldedcorrectconclusionwhencorrectpremisesaregiven.q Theselawsofthoughtweresupposedtogoverntheopera?onofthemind,andini?atedthefieldoflogic.q Thelogicisttradi?oninAIhopestocreateintelligentsystemsusinglogicprogramming.q Howevertherearetwoobstaclestothisapproach.

Ø First,Itisnoteasytotakeinformalknowledgeandstateintheformaltermsrequiredbylogicalnota?on,par?cularlywhenknowledgeisnot100%certain.Ø Second,solvingproblemprincipallyisdifferentfromdoingitinprac?ce.

RaviKumarBN,Asst.Prof,CSE,BMSIT 14

Page 15: Introduction to Artificial Intelligence and few examples

Acting Rationally: The rational agent approach

q Whatmeans“behavera<onally”foraperson/system:Ø Taketheright/bestac?ontoachievethegoals,basedonhis/itsknowledgeandbelief

q Example.AssumeIdon’tliketogetwet(mygoal),soIbringanumbrella(myac?on).DoIbehavera?onally?Ø TheanswerisdependentonmyknowledgeandbeliefØ IfI’veheardtheforecastforrainandIbelieveit,thenbringingtheumbrellaisra?onal.

Ø IfI’venotheardtheforecastforrainandIdonotbelievethatitisgoingtorain,thenbringingtheumbrellaisnotra?onal.

RaviKumarBN,Asst.Prof,CSE,BMSIT 15

Page 16: Introduction to Artificial Intelligence and few examples

The rational agent approach

q Anagentisen?tythatperceivesitsenvironmentandisabletoexecuteac?onstochangeit.

q Agentshaveinherentgoalsthattheywanttoachieve.

q ARa?onalagentactsinawaytomaximizetheachievementofitsgoals

q Truemaximiza?onsofgoalsrequiresomniscienceandunlimitedcomputa?onalabili?es

q Limitedra?onalityinvolvesmaximizinggoalswithinthecomputa?onalandotherresourcesavailable.

RaviKumarBN,Asst.Prof,CSE,BMSIT 16

Page 17: Introduction to Artificial Intelligence and few examples

History 1943 McCulloch&PiNs:Booleancircuitmodelofbrain1950 Turing’s“Compu?ngMachineryandIntelligence”1950s Early AI programs, including Samuel’s checkers program, Newell & Simon’sLogicTheorist,Gelernter’sGeometryEngine.1956Dartmouthmee?ng:“Ar?ficialIntelligence”adopted1965Robinson’scompletealgorithmforlogicalreasoning1966-73AIdiscoverscomputa?onalcomplexityNeuralnetworkresearchalmostdisappears1969-79Earlydevelopmentofknowledge-basedsystems1980 AIbecomesanindustry1986Neuralnetworksreturntopopularity1987AIbecomesascience1995Theemergenceofintelligentagents

RaviKumarBN,Asst.Prof,CSE,BMSIT 17

Page 18: Introduction to Artificial Intelligence and few examples

Applications of AI:

q NaturalLanguageUnderstandingq ExpertSystemsq PlanningandRobo?csq MachineLearningq GamePlaying

RaviKumarBN,Asst.Prof,CSE,BMSIT 18

Page 19: Introduction to Artificial Intelligence and few examples

Natural Language Processing

q Todesignandbuildsoqwarethatwillanalyzeunderstandandgeneratelanguagesthathumanusenaturally.

RaviKumarBN,Asst.Prof,CSE,BMSIT 19

Page 20: Introduction to Artificial Intelligence and few examples

Modes of communication

q Textbased.

q Dialoguebased.

RaviKumarBN,Asst.Prof,CSE,BMSIT 20

Page 21: Introduction to Artificial Intelligence and few examples

Speech Recognition

q Processofconver?ngsoundsignalcapturedbymicrophoneormobile/telephonetoasetofwords.

q 70-100words/minwithaccuracyof90%

RaviKumarBN,Asst.Prof,CSE,BMSIT 21

Page 22: Introduction to Artificial Intelligence and few examples

Computer Vision

q Abilityofamachinetoextractinforma?onfromanimagethatisnecessarytosolveatask

�  ImageAcquisi?on�  ImageProcessing�  ImageAnalysis�  Imageunderstanding

RaviKumarBN,Asst.Prof,CSE,BMSIT 22

Page 23: Introduction to Artificial Intelligence and few examples

Intelligent Robot

q Tendtomimichumansensinganddecisionmaking abili?es so that they can adoptthemselves to certain condi?ons andmodifytheirac?ons.

RaviKumarBN,Asst.Prof,CSE,BMSIT 23

Page 24: Introduction to Artificial Intelligence and few examples

Expert Systems

q TheseareSoqwaresusedfordecisionmaking.q AutomatedReasoningandTheoremProving.q Troubleshoo?ngExpertSystems.q StockMarketExpertSystem.

RaviKumarBN,Asst.Prof,CSE,BMSIT 24

Page 25: Introduction to Artificial Intelligence and few examples

Fields of AI

q Computerscience:�  GraphicalUserInterface�  Automa?cStoragemanagement

�  ObjectOrientedProgramming�  Datamiming�  computergaming

q Telecommunica?on:• AutomatedOnlineAssistants• Voicedialing•  SpeechRecogni?on

RaviKumarBN,Asst.Prof,CSE,BMSIT 25

Page 26: Introduction to Artificial Intelligence and few examples

Fields of AI Avia?on&Automa?on:• NASA'sfightresearchcenter.• Voicerecogni?oninfighterjets.• Direc?onstoA.Ipilotsthroughairtrafficcontrollers.

• Automa?cGearingSysteminCars.

RaviKumarBN,Asst.Prof,CSE,BMSIT 26

Page 27: Introduction to Artificial Intelligence and few examples

Fields of AI

Robo?cs:• AssemblingRobots• WeldingRobots• Behaviorbasedrobo?cs• DancingRobots• Robotnaviga?on

RaviKumarBN,Asst.Prof,CSE,BMSIT 27

Page 28: Introduction to Artificial Intelligence and few examples

Daily life applications

• HomeSecurity• Bank• Postoffice• Websites• Digitalcameras•  Newsandpublishing•  Financialtrades• Healthandmedicine• Gamesandtoys

RaviKumarBN,Asst.Prof,CSE,BMSIT 28

Page 29: Introduction to Artificial Intelligence and few examples

How AI is different????????

RaviKumarBN,Asst.Prof,CSE,BMSIT 29

Ar?ficialIntelligence

NonCrea?ve

Precise

Consistency

Mul?tasking

NaturalIntelligence

Crea?ve

MayContainError

NonConsistent

Can’tHandle

Page 30: Introduction to Artificial Intelligence and few examples

Drawbacks of A.I

•  LimitedAbility•  SlowRealTimeResponse• Can’tHandleEmergencySitua?on• Difficultcode• HighCost

RaviKumarBN,Asst.Prof,CSE,BMSIT 30

Page 31: Introduction to Artificial Intelligence and few examples

RaviKumarBN,Asst.Prof,CSE,BMSIT 31

ManyHollywoodmoviescomewiththefuturetechnology,thattechnologywecanseeinourfuture.Havealook

someofthem….

In this movie

people to

purchase

remote

controlled

humanoid

robots

through which

they interact

with society.

These fit, attractive, remotely controlled robots

ultimately assume their life roles, enabling

people to experience life vicariously from the

comfort and safety of their own homes.

Alex (Robocop) at first

rejects his current

condition upon seeing

that his original body

now consists of only

lungs, throat, head and

right hand when the

armor and

Cybernetic components

are fully removed, but

he is convinced by

Norton to be strong for

his wife and son.

He had loose his body parts in a car bomb blast. Alex has him outfitted with the cybernetic body and software.