Upload
dee-can
View
219
Download
0
Embed Size (px)
Citation preview
8/6/2019 cse120wi11lec17[1] AI
1/22
8/6/2019 cse120wi11lec17[1] AI
2/22
PizzapartyTuesdayinAllenHall(CSEbuilding) Labsthisweekaredevotedtopair
programming;itisaperfecttimetowork,but
ofcourse,youmayalsoneedtoworkoutsideofthosetimes
2/14/11 2011 Larry Snyder, CSE 2
8/6/2019 cse120wi11lec17[1] AI
3/22
Lasttime,weemphasizedakeyfactofalgorithmdesign
Youmustbeabletoexplainwhyanalgorithmworks
Itsdifferentforeveryalgorithm Youneedtoknow,butoftenyoumayalsohaveto
explainittosomeoneelse
Ourillustrationwasexplainingwhytwosortingalgorithmsworked
2/14/11 2011 Larry Snyder, CSE 3
8/6/2019 cse120wi11lec17[1] AI
4/22
4
TheinventorsofENIAC,1stcomputer,saiditthinkswithelectricity
Docalculatorsthink? Doesperformingarithmetic,whichisentirely
algorithmic,requirethinking?
Once,performingarithmetic,wasthoughttobedivinelyormagicallyconferredability
8/6/2019 cse120wi11lec17[1] AI
5/22
5
TheinventorsofENIAC,1stcomputer,saiditthinkswithelectricity
Docalculatorsthink? Doesperformingarithmetic,whichisentirely
algorithmic,requirethinking?
Once,performingarithmetic,wasthoughttobedivinelyormagicallyconferredability
The Problem: Many human activities look like thinking
until they are understood (to be algorithmic)
8/6/2019 cse120wi11lec17[1] AI
6/22
6
A.M.Turing,computerpioneer,worriedaboutintelligenceinhumans&machines;proposeda
test(1950) Awarethatitisintelligenceuntilitsunderstood,Turingdevised
atestwiththisexperimental
setup:
Acomputer(A)andaperson(B)areconnectedtoanexaminer,whocan
askquestionsusingtexttodetermine
whichiswhich
8/6/2019 cse120wi11lec17[1] AI
7/22
7
Formulatequestionsapersoncananswerbutacomputercant
8/6/2019 cse120wi11lec17[1] AI
8/22
InterrogatorInthefirstlineofyoursonnetwhichreads'ShallIcomparetheetoasummer'sday',wouldnot'aspringday'doas
wellorbetter?ComputerItwouldn'tscan.
InterrogatorHowabout'awinter'sday'?Thatwouldscanallright.ComputerYes,butnobodywantstobecomparedtoawinter'sday.InterrogatorWouldyousayMr.PickwickremindedyouofChristmas?
ComputerInaway.InterrogatorYetChristmasisawinter'sday,andIdonotthinkMr
Pickwickwouldmindthecomparison
ComputerIdon'tthinkyou'reserious.Byawinter'sdayonemeansatypicalwinter'sday,ratherthanaspecialonelikeChristmas.
2/14/11 2011 Larry Snyder, CSE 8
8/6/2019 cse120wi11lec17[1] AI
9/22
CompletelyAutomatedPublicTuringTestToTellComputersandHumansApart
DevelopedatCMUbyLuisVanAhnandhisteam
2/14/11 2011 Larry Snyder, CSE 9
8/6/2019 cse120wi11lec17[1] AI
10/22
10
JoelWeizenbaumsDoctor[a\k\aEliza]wasaprogramthatappearedintelligent
User:Imdepressed.
Doctor:Whyareyoudepressed?
User:Mymotherisnotspeakingtome.
Doctor:Tellmeaboutyourmother.
User:ShedoesntwantmetomajorinCS.
Doctor:No?
User:No,shewantsmetogointomedicine.
Doctor was basically scripted
8/6/2019 cse120wi11lec17[1] AI
11/22
11
Thestudyofmakingcomputersactintelligently
Theyalreadyactintelligente.g.theycancorrectyourspellingmistakes
Isthisintelligentbehavior?MostAIresearcherswouldsaynoalgorithmic
PlayinggrandmasterlevelchessinatournamentbecameanAIgoal(1952)
Minimizesrealworldknowledge
Cleargoal,formalsystem
8/6/2019 cse120wi11lec17[1] AI
12/22
12
Chessisagame,soitusesagametree Ateachnodeisaboardeasilydigitized Belowitareallboardscreatedin1move;belowthose,all
boardsneedinganothermove
Anobjectivefunction
evaluatesgoodness
oftheposition:goforhighestopponent
goesforlowest
8/6/2019 cse120wi11lec17[1] AI
13/22
13
AnIBMsystem,DeepBlue,playedworldchampionGaryKasparov
In1996Kasparovwon,butDeepBlueplayed1gamewell!!!Thiswasafirst.
InMay11,1997DeepBluewon3.52.5Deep Blue is a 32 processor parallel
computer with 256 chess processors
that can consider 200,000,000 chesspositions per second + opens + ends
8/6/2019 cse120wi11lec17[1] AI
14/22
14
DoesDeepBluesperformanceshowthatacomputercanbeintelligent?
Noitrepeatsitsdesignersintelligence(weakrebuttal)
Yesitsbetterthananyoneintheworldatsomethingpeoplefindinterestingandfun
Maybeitshowsintelligenceinchess,butcanitapplyitsintelligenceelsewhere?
What do you think?
8/6/2019 cse120wi11lec17[1] AI
15/22
2/14/11 2011 Larry Snyder, CSE 15
8/6/2019 cse120wi11lec17[1] AI
16/22
ComparedtoDeepBlue,Watsonismuchmoresophisticatedindesign,organization
runson~2,500parallelCPUs,eachcapableofupto33billionoperationsasecond;sizeofsmallRV
crawledandorganized200millionpagesofdata expertanalyzersmorethan100different
techniquesrunningconcurrentlytoanalyze
naturallanguage,appraisesources,proposehypotheses,mergeresultsandranktopguesses.
2/14/11 2011 Larry Snyder, CSE 16
8/6/2019 cse120wi11lec17[1] AI
17/22
Itmaybeanticlimacticforthepublic,buttheCScommunityisallabuzzbecausethisis
REALLYdifficulttechnically
Itstoughtogetapun!
2/14/11 2011 Larry Snyder, CSE 17
8/6/2019 cse120wi11lec17[1] AI
18/22
Chessseemsharder,butitsnot Chesshasfixedrules,littlerealworlddataneeded Jeopardy,morefreeformusingonlyrealdata
Otherdifferences Inchesstheproblemisknownbeforehand,but
inJeopardy,someoneelsesetsuptheproblem
Inchess,decisionsarebasedonaformula,butinJeopardymanyformsofevaluationareneeded(aproblemsolvedbyprobabilities)
Inchessthereisverylittlepreplanning,butinJeopardy,organizingthedataisthekey
2/14/11 2011 Larry Snyder, CSE 18
8/6/2019 cse120wi11lec17[1] AI
19/22
19
Computersdothingsdeemedcreativeinpast CreatedesignsinthestyleofPietMondrian,Jackson
PollackorJosefAlbers
Is it Art?
Is it Creative?
8/6/2019 cse120wi11lec17[1] AI
20/22
20
Creativityhastwoforms:flashoutoftheblueandincrementalrevision
Flash,i.e.inspiration,israre;isitjustluck?
Revision,i.e.hardwork,iscommonandtoalargedegreealgorithmic
Advertising agencies are famous for creativity, but in a
recent study, 89% of all award-winningads were an
application of one of six templates -- design algorithm
8/6/2019 cse120wi11lec17[1] AI
21/22
AnexperimentattheU.ofOregoncomposemusicinthestyleofBach
Threeparticipants:Bach,UofOProfessor,EPIprogram
AndthewinnerisAudienceThought:Bachs Professors EPIs
workwasworkwasworkwas ProfessorEPIprogramBach
2/14/11 2011 Larry Snyder, CSE 21
8/6/2019 cse120wi11lec17[1] AI
22/22
WatsonlookstobeamajoradvanceinAIandabigsteptowardsansweringTuringsTest
WhatisWatson?
2/14/11 2011 Larry Snyder, CSE 22