SlideShare a Scribd company logo
CPS 170: Artificial Intelligence
http://www.cs.duke.edu/courses/spring09/cps170/
Introduction
Instructor: Vincent Conitzer
Basic information about course
• TuTh 4:25-5:40pm, LSRC D106
• Text: Artificial Intelligence: A Modern Approach
• Instructor: Vincent Conitzer
– OH immediately after class (Tu or Th) or by appointment
– Ph.D. CMU 2006; third year at Duke
– Research on computational aspects of (micro)economics, game theory, systems
with multiple intelligent agents
• TA: Dmytro (Dima) Korzhyk
– OH We 4-5pm, North Building 05, or by appointment
– 1st
-year Ph.D. student at Duke
– Research on game theory and security
Prerequisites
• Comfortable programming in language such as C (or C++)
or Java
• Some knowledge of algorithmic concepts such as running
times of algorithms
• Ideally, some familiarity with probability (we will go over this
from the beginning but we will cover the basics only briefly)
• Not scared of mathematics; ideally, some background in
discrete mathematics, able to do simple mathematical
proofs
• If you have a nonstandard computer science background,
talk to me first
Grading
• Assignments: 35%
– May discuss with another person (should
acknowledge); writeup and code must be your own
• Midterm exams: 30%
• Final exam: 30%
• Participation: 5%
What is artificial intelligence?
• Popular conception driven by science ficition
– Robots good at everything except emotions, empathy, appreciation of art,
culture, …
• … until later in the movie.
– Perhaps more representative of human autism than of (current?) real
robotics/AI
• “It is my belief that the existence of autism has contributed to [the
theme of the intelligent but soulless automaton] in no small way.” [Uta
Frith, “Autism”]
• Current AI is also bad at lots of simpler stuff!
• There is a lot of AI work on thinking about what others are thinking
Real AI
• A serious science.
• General-purpose AI like the robots of science fiction is
incredibly hard
– Human brain appears to have lots of special and general functions,
integrated in some amazing way that we really do not understand at
all (yet)
• Special-purpose AI is more doable (nontrivial)
– E.g., chess/poker playing programs, logistics planning, automated
translation, voice recognition, web search, data mining, medical
diagnosis, keeping a car on the road, … … … …
Definitions of AI
Systems that think
like humans
Systems that think
rationally
Systems that act like
humans
Systems that act
rationally
focus on action avoids
philosophical issues
such as “is the system
conscious” etc.
if our system can be
more rational than
humans in some
cases, why not?
• We will follow “act rationally” approach
– Distinction may not be that important
• acting rationally/like a human presumably requires (some
sort of) thinking rationally/like a human,
• humans much more rational anyway in complex domains
“Chinese room”
argument [Searle 1980]
• Person who knows English but not Chinese sits in room
• Receives notes in Chinese
• Has systematic English rule book for how to write new Chinese characters based on input Chinese characters, returns his
notes
– Person=CPU, rule book=AI program, really also need lots of paper (storage)
– Has no understanding of what they mean
– But from the outside, the room gives perfectly reasonable answers in Chinese!
• Searle’s argument: the room has no intelligence in it!
image from http://www.unc.edu/~prinz/pictures/c-room.gif
Turing Test
• (Human) judge communicates with a human and a machine
over text-only channel,
• Both human and machine try to act like a human,
• Judge tries to tell which is which.
• Numerous variants
• Loebner prize
• Current programs nowhere close to passing this
– http://www.jabberwacky.com/
– http://turingtrade.org/
image from http://en.wikipedia.org/wiki/Turing_test
Turing Test on unsuspecting judges
• It is possible to (temporarily) fool humans who do
not realize they may be talking to a bot
• ELIZA program [Weizenbaum 66] rephrases
partner’s statements and questions
(~psychotherapist)
Modern variant: AOLiza
[fragment from http://archives.cnn.com/2000/TECH/computing/08/29/aoliza.idg/]
five: just asking if richard can tell me about some good lobster diving spots thats it if this is a
problem then forget iot i dont know whats going on here
AOLiza: that is interesting. please continue.
five: continue what just ask richard when he gets home about some lobster diving up hat way
thats all if you got a problem with it then forget it,this isnt worht it i dont know whats been going
on or what bev has told you but i havent done anything to anybody iam the one that got used
and dumped
AOLiza: tell me more about that.
five: about what
AOLiza: what do you think?
five: therers nothing to tell she us3ed me then got tired of me said i wasnt her type anymore i
was possesive and controlling
AOLiza: perhaps i already know you were possesive and controlling.
five: i was huh you nuts i gave her all the room she wanted never told nhewre what to do or
where to go
Is Turing Test the right goal?
• “Aeronautical engineering texts do not define
the goal of their field as making ‘machines that
fly so exactly like pigeons that they can fool
even other pigeons.’” [Russell and Norvig]
Lessons from AI research
• Clearly-defined tasks that we think require intelligence and education from humans tend to be
doable for AI techniques
– Playing chess, drawing logical inferences from clearly-stated facts, performing probability calculations in well-
defined environments, …
– Although, scalability can be a significant issue
• Complex, messy, ambiguous tasks that are natural for humans (in some cases other animals) are
much harder
– Recognizing your grandmother in a crowd, drawing the right conclusion from an ungrammatical or ambiguous
sentence, driving around the city, …
• Humans better at coming up with reasonably good solutions in complex
environments
• Humans better at adapting/self-evaluation/creativity (“My usual strategy for chess
is getting me into trouble against this person… Why? What else can I do?”)
Early history of AI
• 50s/60s: Early successes! AI can draw logical conclusions,
prove some theorems, create simple plans… Some initial
work on neural networks…
• Led to overhyping: researchers promised funding agencies
spectacular progress, but started running into difficulties:
– Ambiguity: highly funded translation programs (Russian to English)
were good at syntactic manipulation but bad at disambiguation
• “The spirit is willing but the flesh is weak” becomes “The vodka is good but the
meat is rotten”
– Scalability/complexity: early examples were very small, programs could
not scale to bigger instances
– Limitations of representations used
History of AI…
• 70s, 80s: Creation of expert systems (systems
specialized for one particular task based on
experts’ knowledge), wide industry adoption
• Again, overpromising…
• … led to AI winter(s)
– Funding cutbacks, bad reputation
Modern AI
• More rigorous, scientific, formal/mathematical
• Fewer grandiose promises
• Divided into many subareas interested in particular
aspects
• More directly connected to “neighboring” disciplines
– Theoretical computer science, statistics, economics,
operations research, biology, psychology/neuroscience,
…
– Often leads to question “Is this really AI”?
• Some senior AI researchers are calling for re-
integration of all these topics, return to more
grandiose goals of AI
Some AI videos
• Note: there is a lot of AI that is not quite this “sexy” but still
very valuable!
– E.g. logistics planning – DARPA claims that savings from a single
AI planning application during 1991 Persian Gulf crisis more than
paid back for all of DARPA’s investment in AI, ever. [Russell and
Norvig]
• http://www.youtube.com/watch?v=1JJsBFiXGl0&feature=related
• http://www.youtube.com/watch?v=ICgL1OWsn58&feature=related
• http://www.cs.utexas.edu/~kdresner/aim/video/fcfs-insanity.mov
• http://www.youtube.com/watch?v=HacG_FWWPOw&feature=related
• http://videolectures.net/aaai07_littman_ai/
• http://www.ai.sri.com/~nysmith/videos/SRI_AR-PA_AAAI08.avi
• http://www.youtube.com/watch?v=ScXX2bndGJc
This course
• Focus on general AI techniques that have
been useful in many applications
• Will try to avoid application-specific techniques
(still interesting and worthwhile!)
Topics (and examples)
• Search
– Solving a Rubik’s cube
• Constraint satisfaction/optimization problems
– Scheduling a given set of meetings (optimally)
• Game playing
– Playing chess
• Logic, knowledge representation
– Solving logic puzzles, proving theorems
• Planning
– Finding a schedule that will allow you to graduate (reasoning backwards from
the goal)
• Probability, decision theory, reasoning under uncertainty
– Given some symptoms, what is the probability that a patient has a particular
condition? How should we treat the patient?
• (Time permitting) machine learning, reinforcement learning
– Recognizing handwritten digits
note overlap
among topics…
AI at Duke
• Ron Parr
– Reasoning under uncertainty, reinforcement learning, robotics
• Vince Conitzer
– Systems with multiple, self-interested agents, game theory, economics
• Carlo Tomasi
– Computer vision, medical imaging
• Alex Hartemink
– Computational biology, machine learning, reasoning under uncertainty
• Bruce Donald
– Computational biology & chemistry
• Sayan Mukherjee
– Statistics
• Duke Robotics, Intelligence, and Vision (DRIV) seminar (=AI
seminar)

More Related Content

PPT
cps270_intro artificial intelligence.ppt
PPT
intro (1).ppt
PPT
PPT
Unit I Introduction to AI K.Sundar,AP/CSE,VEC
PPT
Artificial Intelligence
PPTX
introduction.pptx
PPTX
introductioartificial intelligencen.pptx
PPTX
introduction technology technology tec.pptx
cps270_intro artificial intelligence.ppt
intro (1).ppt
Unit I Introduction to AI K.Sundar,AP/CSE,VEC
Artificial Intelligence
introduction.pptx
introductioartificial intelligencen.pptx
introduction technology technology tec.pptx

Similar to AI Introduction. http://www.cs.duke.edu/courses/spring09/cps170/ (20)

PPT
n01.ppt
PPTX
Artificial intelligence introduction
PPTX
Artificial Intelligence and its application
PPTX
Lecture 1
PDF
Introduction to Artificial Intelligence - Cybernetics Robo Academy
PPTX
1 Introduction to AI.pptx
PPTX
Artificial intelligence
PPT
ArtificialIntelligence.ppt
PPTX
Intro artificial intelligence
PDF
Artificial intelligence
PPT
Introduction to Artificial intelligence and ML
PDF
Introduction to Artificial Intelligence: Concepts and Applications
PDF
AI Lecture-01 (Introduction) NN and Fuzzy
PPTX
Introduction to AI.pptx
PPTX
lec01 of artificils intrlligncve for.pptx
PPT
AI.ppt
PDF
AI Applications in different areas in real life.pdf
PPT
Lecture 1
PDF
AI UNIT-1.pdf23107055-004-Artificial-Intelligence-3rd-Ed-by-Elaine-Rich
PPT
"AI Unfiltered: A Curated Look at Innovations, Biases, and Breakthroughs in M...
n01.ppt
Artificial intelligence introduction
Artificial Intelligence and its application
Lecture 1
Introduction to Artificial Intelligence - Cybernetics Robo Academy
1 Introduction to AI.pptx
Artificial intelligence
ArtificialIntelligence.ppt
Intro artificial intelligence
Artificial intelligence
Introduction to Artificial intelligence and ML
Introduction to Artificial Intelligence: Concepts and Applications
AI Lecture-01 (Introduction) NN and Fuzzy
Introduction to AI.pptx
lec01 of artificils intrlligncve for.pptx
AI.ppt
AI Applications in different areas in real life.pdf
Lecture 1
AI UNIT-1.pdf23107055-004-Artificial-Intelligence-3rd-Ed-by-Elaine-Rich
"AI Unfiltered: A Curated Look at Innovations, Biases, and Breakthroughs in M...
Ad

More from Perumalraja Rengaraju (8)

PDF
it2042-unit1.pd AIM To study the critical need for ensuring Information Secu...
PPT
cps170_search.ppt. This ppt talk about search algorithm
PPT
cps170_intro AI Introduction. This lecturer slides briefs the AI the basic
PPT
cps170_search CPS 170: Artificial Intelligence http://www.cs.duke.edu/courses...
PDF
Analysis on Mobile WiMAX Security.pdf
PDF
Communication Networks and Non-Technical Energy Loss Control System for Smart...
PDF
Adaptive Admission Control and Packet Scheduling Schemes for QoS Provisioning...
PDF
A reservation-based call admission control scheme and system modeling in 4G v...
it2042-unit1.pd AIM To study the critical need for ensuring Information Secu...
cps170_search.ppt. This ppt talk about search algorithm
cps170_intro AI Introduction. This lecturer slides briefs the AI the basic
cps170_search CPS 170: Artificial Intelligence http://www.cs.duke.edu/courses...
Analysis on Mobile WiMAX Security.pdf
Communication Networks and Non-Technical Energy Loss Control System for Smart...
Adaptive Admission Control and Packet Scheduling Schemes for QoS Provisioning...
A reservation-based call admission control scheme and system modeling in 4G v...
Ad

Recently uploaded (20)

PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
PPT on Performance Review to get promotions
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Visual Aids for Exploratory Data Analysis.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
PPT
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPT
introduction to datamining and warehousing
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Abrasive, erosive and cavitation wear.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Exploratory_Data_Analysis_Fundamentals.pdf
PPT on Performance Review to get promotions
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Visual Aids for Exploratory Data Analysis.pdf
UNIT 4 Total Quality Management .pptx
Information Storage and Retrieval Techniques Unit III
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Nature of X-rays, X- Ray Equipment, Fluoroscopy
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
introduction to datamining and warehousing

AI Introduction. http://www.cs.duke.edu/courses/spring09/cps170/

  • 1. CPS 170: Artificial Intelligence http://www.cs.duke.edu/courses/spring09/cps170/ Introduction Instructor: Vincent Conitzer
  • 2. Basic information about course • TuTh 4:25-5:40pm, LSRC D106 • Text: Artificial Intelligence: A Modern Approach • Instructor: Vincent Conitzer – OH immediately after class (Tu or Th) or by appointment – Ph.D. CMU 2006; third year at Duke – Research on computational aspects of (micro)economics, game theory, systems with multiple intelligent agents • TA: Dmytro (Dima) Korzhyk – OH We 4-5pm, North Building 05, or by appointment – 1st -year Ph.D. student at Duke – Research on game theory and security
  • 3. Prerequisites • Comfortable programming in language such as C (or C++) or Java • Some knowledge of algorithmic concepts such as running times of algorithms • Ideally, some familiarity with probability (we will go over this from the beginning but we will cover the basics only briefly) • Not scared of mathematics; ideally, some background in discrete mathematics, able to do simple mathematical proofs • If you have a nonstandard computer science background, talk to me first
  • 4. Grading • Assignments: 35% – May discuss with another person (should acknowledge); writeup and code must be your own • Midterm exams: 30% • Final exam: 30% • Participation: 5%
  • 5. What is artificial intelligence? • Popular conception driven by science ficition – Robots good at everything except emotions, empathy, appreciation of art, culture, … • … until later in the movie. – Perhaps more representative of human autism than of (current?) real robotics/AI • “It is my belief that the existence of autism has contributed to [the theme of the intelligent but soulless automaton] in no small way.” [Uta Frith, “Autism”] • Current AI is also bad at lots of simpler stuff! • There is a lot of AI work on thinking about what others are thinking
  • 6. Real AI • A serious science. • General-purpose AI like the robots of science fiction is incredibly hard – Human brain appears to have lots of special and general functions, integrated in some amazing way that we really do not understand at all (yet) • Special-purpose AI is more doable (nontrivial) – E.g., chess/poker playing programs, logistics planning, automated translation, voice recognition, web search, data mining, medical diagnosis, keeping a car on the road, … … … …
  • 7. Definitions of AI Systems that think like humans Systems that think rationally Systems that act like humans Systems that act rationally focus on action avoids philosophical issues such as “is the system conscious” etc. if our system can be more rational than humans in some cases, why not? • We will follow “act rationally” approach – Distinction may not be that important • acting rationally/like a human presumably requires (some sort of) thinking rationally/like a human, • humans much more rational anyway in complex domains
  • 8. “Chinese room” argument [Searle 1980] • Person who knows English but not Chinese sits in room • Receives notes in Chinese • Has systematic English rule book for how to write new Chinese characters based on input Chinese characters, returns his notes – Person=CPU, rule book=AI program, really also need lots of paper (storage) – Has no understanding of what they mean – But from the outside, the room gives perfectly reasonable answers in Chinese! • Searle’s argument: the room has no intelligence in it! image from http://www.unc.edu/~prinz/pictures/c-room.gif
  • 9. Turing Test • (Human) judge communicates with a human and a machine over text-only channel, • Both human and machine try to act like a human, • Judge tries to tell which is which. • Numerous variants • Loebner prize • Current programs nowhere close to passing this – http://www.jabberwacky.com/ – http://turingtrade.org/ image from http://en.wikipedia.org/wiki/Turing_test
  • 10. Turing Test on unsuspecting judges • It is possible to (temporarily) fool humans who do not realize they may be talking to a bot • ELIZA program [Weizenbaum 66] rephrases partner’s statements and questions (~psychotherapist)
  • 11. Modern variant: AOLiza [fragment from http://archives.cnn.com/2000/TECH/computing/08/29/aoliza.idg/] five: just asking if richard can tell me about some good lobster diving spots thats it if this is a problem then forget iot i dont know whats going on here AOLiza: that is interesting. please continue. five: continue what just ask richard when he gets home about some lobster diving up hat way thats all if you got a problem with it then forget it,this isnt worht it i dont know whats been going on or what bev has told you but i havent done anything to anybody iam the one that got used and dumped AOLiza: tell me more about that. five: about what AOLiza: what do you think? five: therers nothing to tell she us3ed me then got tired of me said i wasnt her type anymore i was possesive and controlling AOLiza: perhaps i already know you were possesive and controlling. five: i was huh you nuts i gave her all the room she wanted never told nhewre what to do or where to go
  • 12. Is Turing Test the right goal? • “Aeronautical engineering texts do not define the goal of their field as making ‘machines that fly so exactly like pigeons that they can fool even other pigeons.’” [Russell and Norvig]
  • 13. Lessons from AI research • Clearly-defined tasks that we think require intelligence and education from humans tend to be doable for AI techniques – Playing chess, drawing logical inferences from clearly-stated facts, performing probability calculations in well- defined environments, … – Although, scalability can be a significant issue • Complex, messy, ambiguous tasks that are natural for humans (in some cases other animals) are much harder – Recognizing your grandmother in a crowd, drawing the right conclusion from an ungrammatical or ambiguous sentence, driving around the city, … • Humans better at coming up with reasonably good solutions in complex environments • Humans better at adapting/self-evaluation/creativity (“My usual strategy for chess is getting me into trouble against this person… Why? What else can I do?”)
  • 14. Early history of AI • 50s/60s: Early successes! AI can draw logical conclusions, prove some theorems, create simple plans… Some initial work on neural networks… • Led to overhyping: researchers promised funding agencies spectacular progress, but started running into difficulties: – Ambiguity: highly funded translation programs (Russian to English) were good at syntactic manipulation but bad at disambiguation • “The spirit is willing but the flesh is weak” becomes “The vodka is good but the meat is rotten” – Scalability/complexity: early examples were very small, programs could not scale to bigger instances – Limitations of representations used
  • 15. History of AI… • 70s, 80s: Creation of expert systems (systems specialized for one particular task based on experts’ knowledge), wide industry adoption • Again, overpromising… • … led to AI winter(s) – Funding cutbacks, bad reputation
  • 16. Modern AI • More rigorous, scientific, formal/mathematical • Fewer grandiose promises • Divided into many subareas interested in particular aspects • More directly connected to “neighboring” disciplines – Theoretical computer science, statistics, economics, operations research, biology, psychology/neuroscience, … – Often leads to question “Is this really AI”? • Some senior AI researchers are calling for re- integration of all these topics, return to more grandiose goals of AI
  • 17. Some AI videos • Note: there is a lot of AI that is not quite this “sexy” but still very valuable! – E.g. logistics planning – DARPA claims that savings from a single AI planning application during 1991 Persian Gulf crisis more than paid back for all of DARPA’s investment in AI, ever. [Russell and Norvig] • http://www.youtube.com/watch?v=1JJsBFiXGl0&feature=related • http://www.youtube.com/watch?v=ICgL1OWsn58&feature=related • http://www.cs.utexas.edu/~kdresner/aim/video/fcfs-insanity.mov • http://www.youtube.com/watch?v=HacG_FWWPOw&feature=related • http://videolectures.net/aaai07_littman_ai/ • http://www.ai.sri.com/~nysmith/videos/SRI_AR-PA_AAAI08.avi • http://www.youtube.com/watch?v=ScXX2bndGJc
  • 18. This course • Focus on general AI techniques that have been useful in many applications • Will try to avoid application-specific techniques (still interesting and worthwhile!)
  • 19. Topics (and examples) • Search – Solving a Rubik’s cube • Constraint satisfaction/optimization problems – Scheduling a given set of meetings (optimally) • Game playing – Playing chess • Logic, knowledge representation – Solving logic puzzles, proving theorems • Planning – Finding a schedule that will allow you to graduate (reasoning backwards from the goal) • Probability, decision theory, reasoning under uncertainty – Given some symptoms, what is the probability that a patient has a particular condition? How should we treat the patient? • (Time permitting) machine learning, reinforcement learning – Recognizing handwritten digits note overlap among topics…
  • 20. AI at Duke • Ron Parr – Reasoning under uncertainty, reinforcement learning, robotics • Vince Conitzer – Systems with multiple, self-interested agents, game theory, economics • Carlo Tomasi – Computer vision, medical imaging • Alex Hartemink – Computational biology, machine learning, reasoning under uncertainty • Bruce Donald – Computational biology & chemistry • Sayan Mukherjee – Statistics • Duke Robotics, Intelligence, and Vision (DRIV) seminar (=AI seminar)