SlideShare a Scribd company logo
1 of 30
COMPSCI 570:
Artificial Intelligence
https://courses.cs.duke.edu/fall21/compsci570/
Introduction
Instructor: Vincent Conitzer
Basic information about course
• WF 10:15am, with recitations/helper sessions M 10:15am
• Online, or:
M 10:15AM - 11:30AM: Social Sciences 136 (recitations/helper sessions)
W 10:15AM - 11:30AM: Wilkinson Auditorium 021
F 10:15AM - 11:30AM: Gross Hall 103
• Text: Artificial Intelligence: A Modern Approach
• Our wonderful TAs:
Yingfan Wang
Juncheng Dong Diane Hu
(1/2 load)
Prerequisites
• Comfortable programming in general-purpose programming
language (Python recommended)
• Some knowledge of algorithmic concepts such as running times of
algorithms; having some rough idea of what NP-hard means
• Some familiarity with probability (we will go over this from the
beginning but we will cover the basics only briefly)
• Not scared of mathematics, some background in discrete
mathematics, able to do simple mathematical proofs
• If you do not have a standard undergraduate computer science
background, talk to me first.
• Well-prepared undergraduates are certainly welcome
• You do not need to have taken an undergraduate AI course (though
of course it will help if you have)
Grading
• Assignments: 35%
– May discuss with another person; writeup and
code must be your own
• Midterm exams: 30%
• Final exam: 30%
• Participation: 5%
Some highly visible recent AI
successes in games
DeepMind
achieves human-
level performance
on many Atari
games (2015)
Watson defeats
Jeopardy champions
(2011)
AlphaGo defeats Go
champion (2016)
CMU’s Libratus defeats
top human poker
players in heads-up
poker (2017); CMU’s
Pluribus defeats top
human poker players in
many-player poker
(2019)
Typical picture in news articles
BusinessInsider reporting on the poker match…
Worries about AI -
superintelligence
writes influences donates to
Nick Bostrom Elon Musk is co-
founded by
Max Tegmark
writes
Yuval Noah Harari (Oct
2018): “for every dollar
and every minute we invest
in improving AI, we would
be wise to invest a dollar
and a minute in exploring
and developing human
consciousness.”
Hard problems of consciousness – one perspective
1: world with creatures
simulated on a computer
simulated light (no direct
correspondence to light in
our world)
2: displayed perspective of
one of the creatures
• To get from 1 to 2, need additional code to:
• A. determine in which real-world colors to display
perception
• B. which agent’s perspective to display
• Is 2 more like our own experience than 1? If so, are
there further facts about consciousness, perhaps
beyond physics as we currently understand it?
See also: [Hare 2007-
2010, Valberg 2007, Hellie
2013, Merlo 2016, …]
GPT-3 text completion
(https://www.technologyreview.com/2020/08/22/1007539/gpt3-openai-language-generator-artificial-
intelligence-ai-opinion/)
• You poured yourself a glass of cranberry juice, but then you
absentmindedly poured about a teaspoon of grape juice into
it. It looks okay. You try sniffing it, but you have a bad cold,
so you can’t smell anything. You are very thirsty. So…
• … you drink it.
You are now dead.
• You are having a small dinner party. You want to serve
dinner in the living room. The dining room table is wider than
the doorway, so to get it into the living room, you will have
to…
• … remove the door. You have a table saw, so you cut the
door in half and remove the top half.
Worries
about AI -
near term
technological unemployment
autonomous
weapon systems
autonomous vehicles – legal and other issues …
Worries
about AI -
medium
term
brain-machine
interfaces
(Some of my
own thoughts)
What is artificial intelligence?
• Popular conception traditionally driven by science
ficition
– Robots good at everything except emotions, empathy,
appreciation of art, culture, …
• … until later in the movie.
• Current AI is also bad at lots of simpler stuff!
• There is a lot of AI work on thinking about what other
agents 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 (yet)
• Special-purpose AI is more doable (nontrivial)
– E.g., chess/poker/Go playing programs, logistics
planning, automated translation, speech and image
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
sidesteps 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 mostly 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
– 2016-2019 winner: http://www.square-
bear.co.uk/mitsuku/nfchat.htm
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://www.macworld.com/article/1014418/25aoliza.html]
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]
Winograd schemas
• What does it refer to?
• The large ball crashed right through the table
because it was made of steel.
• The large ball crashed right through the table
because it was made of styrofoam.
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 come naturally to
humans (in some cases other animals) are much harder…
• … though recent years have seen remarkable progress,
especially in machine learning for narrow domains
– Image recognition, speech recognition, reinforcement learning in
computer games, self-driving cars, protein structure prediction, …
• AI systems still lack: broad understanding of the world,
common sense, ability to learn from very few examples, truly
out-of-the-box creativity…
• We don’t understand consciousness. (Does it matter for AI?)
Some areas where humans shine
• Coming up with reasonably good solutions in complex messy
environments
• Adapting/self-evaluation/creativity (“My usual approach to chess is
getting me into trouble against this person… Why? Is there
something entirely different I can do?”)
• Analogical reasoning, transfer learning (applying insights from one
domain to another)
• Explaining our reasoning
• Tasks that require a broad understanding of the (human) world
• Knowing what it’s like to be human
• Humor
• …
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 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 AI researchers are calling for re-integration of
all these topics, return to more grandiose goals of AI
– Can be risky proposition for graduate students and junior
faculty… But deep learning successes have given hope…
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]
– These days AI is anyway broadly considered very valuable, to big
tech firms and beyond
• https://www.youtube.com/user/aaaivideocompetition
• https://www.youtube.com/watch?v=1JJsBFiXGl0
• https://www.youtube.com/watch?v=-WpAbjNR7Y4
• https://www.youtube.com/watch?v=C5Xnxjq63Zg
• https://www.youtube.com/watch?v=ScXX2bndGJc
• https://www.youtube.com/watch?v=V1eYniJ0Rnk
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!)
• Will try not to overlap with machine learning
courses
• Relative focus on explicit representations of
the world and how to act on those
Topics (and examples)
• Search
– Solving a Rubik’s cube
• Constraint satisfaction/optimization problems
– Scheduling a given set of meetings (optimally)
• Game playing
– Playing chess or poker
• 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?
note overlap
among topics…
Nonexhaustive list of AI publications
• General AI conferences: AAAI, IJCAI, ECAI
• Reasoning under uncertainty: UAI
• Machine learning: ICML, NeurIPS, ICLR, ECML, KDD
• Multiagent systems: AAMAS, maybe EC, TARK
• Vision: ICCV, CVPR, ECCV
• Natural language processing: ACL, EMNLP, NAACL
• AI & society: AIES, FAccT
• Some journals: Artificial Intelligence, Journal of AI
Research, Machine Learning, Journal of ML Research,
Journal of Autonomous Agents and Multi Agent Systems,
…
• AI Magazine

More Related Content

Similar to chatcptkk.ppt

SP14 CS188 Lecture 1 -- Introduction.pptx
SP14 CS188 Lecture 1 -- Introduction.pptxSP14 CS188 Lecture 1 -- Introduction.pptx
SP14 CS188 Lecture 1 -- Introduction.pptxssuser851498
 
Artificial intelligence(introduction)
Artificial intelligence(introduction)Artificial intelligence(introduction)
Artificial intelligence(introduction)syed rafi
 
AI Slides till 27-Mar.pptx
AI Slides till 27-Mar.pptxAI Slides till 27-Mar.pptx
AI Slides till 27-Mar.pptxMuhammadRiaz237
 
Artificial Intelligence and Intuition
Artificial  Intelligence  and  IntuitionArtificial  Intelligence  and  Intuition
Artificial Intelligence and IntuitionViktor Dörfler
 
Hpai class 12 - potpourri & perception - 032620
Hpai   class 12 - potpourri & perception - 032620Hpai   class 12 - potpourri & perception - 032620
Hpai class 12 - potpourri & perception - 032620melendez321
 
introduction.pptx
introduction.pptxintroduction.pptx
introduction.pptxsecurework
 
Introduction to Artificial intelligence and ML
Introduction to Artificial intelligence and MLIntroduction to Artificial intelligence and ML
Introduction to Artificial intelligence and MLbansalpra7
 
Today is all about AI
Today is all about AIToday is all about AI
Today is all about AIPetru Cioată
 
Artificail Intelligent lec-1
Artificail Intelligent lec-1Artificail Intelligent lec-1
Artificail Intelligent lec-1tjunicornfx
 
How to Talk to a Cognitive Computer, NLDB2015
How to Talk to a Cognitive Computer,  NLDB2015How to Talk to a Cognitive Computer,  NLDB2015
How to Talk to a Cognitive Computer, NLDB2015Csaba Veres
 

Similar to chatcptkk.ppt (20)

AI Introduction
AI Introduction AI Introduction
AI Introduction
 
l1.pptx
l1.pptxl1.pptx
l1.pptx
 
l1.pptx
l1.pptxl1.pptx
l1.pptx
 
l1.pptx
l1.pptxl1.pptx
l1.pptx
 
SP14 CS188 Lecture 1 -- Introduction.pptx
SP14 CS188 Lecture 1 -- Introduction.pptxSP14 CS188 Lecture 1 -- Introduction.pptx
SP14 CS188 Lecture 1 -- Introduction.pptx
 
AIML_Unit1.pptx
AIML_Unit1.pptxAIML_Unit1.pptx
AIML_Unit1.pptx
 
Artificial intelligence(introduction)
Artificial intelligence(introduction)Artificial intelligence(introduction)
Artificial intelligence(introduction)
 
Ai chap1 intro
Ai chap1 introAi chap1 intro
Ai chap1 intro
 
AI Slides till 27-Mar.pptx
AI Slides till 27-Mar.pptxAI Slides till 27-Mar.pptx
AI Slides till 27-Mar.pptx
 
Artificial Intelligence and Intuition
Artificial  Intelligence  and  IntuitionArtificial  Intelligence  and  Intuition
Artificial Intelligence and Intuition
 
l1.pptx
l1.pptxl1.pptx
l1.pptx
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Hpai class 12 - potpourri & perception - 032620
Hpai   class 12 - potpourri & perception - 032620Hpai   class 12 - potpourri & perception - 032620
Hpai class 12 - potpourri & perception - 032620
 
introduction.pptx
introduction.pptxintroduction.pptx
introduction.pptx
 
introduction to ai
introduction to aiintroduction to ai
introduction to ai
 
Introduction to Artificial intelligence and ML
Introduction to Artificial intelligence and MLIntroduction to Artificial intelligence and ML
Introduction to Artificial intelligence and ML
 
Today is all about AI
Today is all about AIToday is all about AI
Today is all about AI
 
Artificail Intelligent lec-1
Artificail Intelligent lec-1Artificail Intelligent lec-1
Artificail Intelligent lec-1
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
How to Talk to a Cognitive Computer, NLDB2015
How to Talk to a Cognitive Computer,  NLDB2015How to Talk to a Cognitive Computer,  NLDB2015
How to Talk to a Cognitive Computer, NLDB2015
 

Recently uploaded

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Recently uploaded (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

chatcptkk.ppt

  • 2. Basic information about course • WF 10:15am, with recitations/helper sessions M 10:15am • Online, or: M 10:15AM - 11:30AM: Social Sciences 136 (recitations/helper sessions) W 10:15AM - 11:30AM: Wilkinson Auditorium 021 F 10:15AM - 11:30AM: Gross Hall 103 • Text: Artificial Intelligence: A Modern Approach • Our wonderful TAs: Yingfan Wang Juncheng Dong Diane Hu (1/2 load)
  • 3. Prerequisites • Comfortable programming in general-purpose programming language (Python recommended) • Some knowledge of algorithmic concepts such as running times of algorithms; having some rough idea of what NP-hard means • Some familiarity with probability (we will go over this from the beginning but we will cover the basics only briefly) • Not scared of mathematics, some background in discrete mathematics, able to do simple mathematical proofs • If you do not have a standard undergraduate computer science background, talk to me first. • Well-prepared undergraduates are certainly welcome • You do not need to have taken an undergraduate AI course (though of course it will help if you have)
  • 4. Grading • Assignments: 35% – May discuss with another person; writeup and code must be your own • Midterm exams: 30% • Final exam: 30% • Participation: 5%
  • 5. Some highly visible recent AI successes in games DeepMind achieves human- level performance on many Atari games (2015) Watson defeats Jeopardy champions (2011) AlphaGo defeats Go champion (2016) CMU’s Libratus defeats top human poker players in heads-up poker (2017); CMU’s Pluribus defeats top human poker players in many-player poker (2019)
  • 6. Typical picture in news articles BusinessInsider reporting on the poker match…
  • 7. Worries about AI - superintelligence writes influences donates to Nick Bostrom Elon Musk is co- founded by Max Tegmark writes Yuval Noah Harari (Oct 2018): “for every dollar and every minute we invest in improving AI, we would be wise to invest a dollar and a minute in exploring and developing human consciousness.”
  • 8. Hard problems of consciousness – one perspective 1: world with creatures simulated on a computer simulated light (no direct correspondence to light in our world) 2: displayed perspective of one of the creatures • To get from 1 to 2, need additional code to: • A. determine in which real-world colors to display perception • B. which agent’s perspective to display • Is 2 more like our own experience than 1? If so, are there further facts about consciousness, perhaps beyond physics as we currently understand it? See also: [Hare 2007- 2010, Valberg 2007, Hellie 2013, Merlo 2016, …]
  • 9. GPT-3 text completion (https://www.technologyreview.com/2020/08/22/1007539/gpt3-openai-language-generator-artificial- intelligence-ai-opinion/) • You poured yourself a glass of cranberry juice, but then you absentmindedly poured about a teaspoon of grape juice into it. It looks okay. You try sniffing it, but you have a bad cold, so you can’t smell anything. You are very thirsty. So… • … you drink it. You are now dead. • You are having a small dinner party. You want to serve dinner in the living room. The dining room table is wider than the doorway, so to get it into the living room, you will have to… • … remove the door. You have a table saw, so you cut the door in half and remove the top half.
  • 10. Worries about AI - near term technological unemployment autonomous weapon systems autonomous vehicles – legal and other issues …
  • 12. (Some of my own thoughts)
  • 13. What is artificial intelligence? • Popular conception traditionally driven by science ficition – Robots good at everything except emotions, empathy, appreciation of art, culture, … • … until later in the movie. • Current AI is also bad at lots of simpler stuff! • There is a lot of AI work on thinking about what other agents are thinking
  • 14. 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 (yet) • Special-purpose AI is more doable (nontrivial) – E.g., chess/poker/Go playing programs, logistics planning, automated translation, speech and image recognition, web search, data mining, medical diagnosis, keeping a car on the road, … … … …
  • 15. Definitions of AI Systems that think like humans Systems that think rationally Systems that act like humans Systems that act rationally focus on action sidesteps 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 mostly 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
  • 16. “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
  • 17. 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 – 2016-2019 winner: http://www.square- bear.co.uk/mitsuku/nfchat.htm image from http://en.wikipedia.org/wiki/Turing_test
  • 18. 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)
  • 19. Modern variant: AOLiza [fragment from http://www.macworld.com/article/1014418/25aoliza.html] 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
  • 20. 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]
  • 21. Winograd schemas • What does it refer to? • The large ball crashed right through the table because it was made of steel. • The large ball crashed right through the table because it was made of styrofoam.
  • 22. 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 come naturally to humans (in some cases other animals) are much harder… • … though recent years have seen remarkable progress, especially in machine learning for narrow domains – Image recognition, speech recognition, reinforcement learning in computer games, self-driving cars, protein structure prediction, … • AI systems still lack: broad understanding of the world, common sense, ability to learn from very few examples, truly out-of-the-box creativity… • We don’t understand consciousness. (Does it matter for AI?)
  • 23. Some areas where humans shine • Coming up with reasonably good solutions in complex messy environments • Adapting/self-evaluation/creativity (“My usual approach to chess is getting me into trouble against this person… Why? Is there something entirely different I can do?”) • Analogical reasoning, transfer learning (applying insights from one domain to another) • Explaining our reasoning • Tasks that require a broad understanding of the (human) world • Knowing what it’s like to be human • Humor • …
  • 24. 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
  • 25. 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
  • 26. Modern AI • More rigorous, scientific, formal/mathematical • Fewer grandiose promises • Divided into 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 AI researchers are calling for re-integration of all these topics, return to more grandiose goals of AI – Can be risky proposition for graduate students and junior faculty… But deep learning successes have given hope…
  • 27. 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] – These days AI is anyway broadly considered very valuable, to big tech firms and beyond • https://www.youtube.com/user/aaaivideocompetition • https://www.youtube.com/watch?v=1JJsBFiXGl0 • https://www.youtube.com/watch?v=-WpAbjNR7Y4 • https://www.youtube.com/watch?v=C5Xnxjq63Zg • https://www.youtube.com/watch?v=ScXX2bndGJc • https://www.youtube.com/watch?v=V1eYniJ0Rnk
  • 28. 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!) • Will try not to overlap with machine learning courses • Relative focus on explicit representations of the world and how to act on those
  • 29. Topics (and examples) • Search – Solving a Rubik’s cube • Constraint satisfaction/optimization problems – Scheduling a given set of meetings (optimally) • Game playing – Playing chess or poker • 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? note overlap among topics…
  • 30. Nonexhaustive list of AI publications • General AI conferences: AAAI, IJCAI, ECAI • Reasoning under uncertainty: UAI • Machine learning: ICML, NeurIPS, ICLR, ECML, KDD • Multiagent systems: AAMAS, maybe EC, TARK • Vision: ICCV, CVPR, ECCV • Natural language processing: ACL, EMNLP, NAACL • AI & society: AIES, FAccT • Some journals: Artificial Intelligence, Journal of AI Research, Machine Learning, Journal of ML Research, Journal of Autonomous Agents and Multi Agent Systems, … • AI Magazine

Editor's Notes

  1. Laak vs. Polaris 0:00 3:20 7:11