SlideShare a Scribd company logo
1 of 33
AI: Some (Biased) Highlights
CSE 15
Sources:
– Russell’s slides (http://www.cs.berkeley.edu/~russell/ai.html)
– Hoffman/Sammut slides (http://www.cse.unsw.edu.au/~cs3411/)
– Few things of my own
– Introductory article about AI (McCarthy):
http://www-formal.stanford.edu/jmc/whatisai/whatisai.html
What is AI?
Systems that think like
humans
Systems that think rationally
Systems that act like
humans
Systems that act rationally
Categories for definitions of AI
Modern approach
Classic View
The Turing Test: Preliminaries
•Designed by Alan Turing (1950)
•The Turing test provides a satisfactory operational definition
of AI
•It’s a behavioral test (i.e., test if a system acts like a human)
•Problem: it is difficult to make a mathematical analysis of it
The Turing Test
The Turing Test: a computer is programmed well enough to
have a conversation with an interrogator (for example through a
computer terminal) and passes the test if the interrogator cannot
discern if there is a computer or a human at the other end
machine
? ?
The Turing Test vs. AI Fields
For a program to pass the Turing Test, it needs to pass the
exhibit the following capabilities:
•Natural language processing
•Knowledge representation
•Automated reasoning
•Machine learning
Topics of AI course
(CSE 324)
Communication & perception
Loebner Prize
•Each year (since 1994) a competition is made to see if a
computer passes the Turing Test
•The first program to pass it will receive 100k
•Controversial: Minsky offer $100 if anyone finish it
•Still, it is interesting to observe capabilities
•Machines seems to have come close to fulfill Turing’s
prediction (5 minutes)
Other Predictions from Turing
•Predicted that by the year 2000 a computer will have 30%
chances to fool a person for 5 minutes
•Anticipated the major argument against AI:
•The mathematical objection to AI
The Mathematical Objection to AI:
The Halting Problem
•Can we write a program in a C++, that recognizes if any
program written in that language ends with a given input?
•Answer: No (Turing, 1940’s!)
•Mathematical Proof (CSE 318: Automata Theory): valid for
any program running on yesterday’s, today's and tomorrow’s
(foreseeable future) computers
i = 2
While ( i ≠ c)
i++
Does this program
terminates for:
• c = 1?
• c = 10?
No
Yes
Parenthesis: Halting Problem
• Proof by contradiction: assume that there is a
program H that can determine if programs halt
with a given input
• What would happen if we give H itself as input for
H?
• We will obtain a paradox, similar to the one in the set:
“Pedro shaves only the people who doesn’t shaves
themselves”
Does Pedro shaves himself?
The Mathematical Objection to AI
•Argument against AI: a human can determine if a program
ends or not
•Thus, computers are inferior as humans
• Argument against this argument:
Are you sure that a human will be able to determine if a
very complicated program will terminate with a certain
input?
AI: Genesis
•Logical reasoning calculus was conceived (Leibniz, 17 century)
•Leibiz’ motivation: solve intellectual arguments by calculation
•Boolean logic (Boole, 1847)
•Predicate Logic (Frege, 1879): Begriffsschrift
•Incompleteness Theorem (Goedel, 1940’s)
AI: Some Historical Highlights
•Turing’s article about what machines can do
•Term AI is coined at the Dartmouth conference (1956)
•General Problem Solver (Newell & Simon; 1958)
•Period of great expectations
Early Stages, Great Expectations
(what they thought they could achieve)
Jenna: What were you just thinking?
Data: In that particular moment, I was
reconfiguring the warp field parameters,
analyzing the collected works of Charles
Dickens, calculating the maximum pressure I
could safely apply to your lips, considering a
new food supplement for Spot...
Jenna: I'm glad I was in there somewhere.
(from the episode “In Theory” )
AI: Some Historical Highlights (cont’d)
•Perceptrons: limits to neural networks (Minksy and Papert; 1969)
•Knowledge-based systems (1970’s)
•AI becomes an industry. Early successes of Expert systems
AI: Some Historical Highlights (cont’d)
•It becomes clear that expert systems are hard to create
(problem known as the Knowledge Acquisition bottle-neck)
•1990’s: more consolidated approaches to AI, more realistic
expectations, fielded applications:
Program beats chess world champion
Applications of machine learning to data-mining (CSE
???: Data Mining)
Applications of Case-Based Reasoning to help-desk
systems (CSE 395/495: Intelligent Decision Support
Systems)
Case-Based Reasoning: Definition
A problem-solving methodology where solutions to similar,
previous problems are reused to solve new problems.
Notes:
• Intuitive
• AI focus (knowledge representation, reasoning, learning)
• Case = <problem, solution>
Problem-Solving with CBR
Problem Space
Solution Space
p2
p1
s1
s2
p3
CBR(problem) = solution
s4
p?
p?
s?
s3
CBR: First Example
Example: Slide Creation
Repository of Presentations:
- 5/9/01: ONR review
- 8/20/02: EWCBR talk
- 4/25/03: DARPA review
Specification
Revised
talk
3. Revise
Slides of
Talks w/
Similar
Content
1. Retrieve
5. Retain
New Case
4. Review
New Slides
- 12/1/03: talk@ cse15
First draft
2. Reuse
Talk@
cse15
Other Applications of CBR
• Help-Desk
Systems
• Help users when
problem occurs
• Reduce overhead
by lowering
number of required
support personnel.
"Help you I can,
yes, hmm?"
What is Going on the Other Side
Windows 95? Yes
DirectX? No
…
Update DirectX
drivers!
Space of known problems for Tie Fighter
Search is performed for a similar case
What Attributes to consider for
Similarity: ICM-Principle
Independence: Attributes should represent independent
features whenever possible
Completeness: the attributes should be sufficient to
determine if the case can be reused in a new situation
Minimalist: The only attributes that should be included
in a case are those used in to compute similarity
(example: price paid for game is not
relevant to identify problem running it)
AI Planning
• Planning problem: Obtain a sequence of actions (plan) to
achieve some goals in a particular situation
C
A B
situation
A
B
C
goals
move-C-from-A-to-Table
move-B-from-Table-to-C
move-A-from-Table-to-B
plan
Search Space
A
C
B
A B C
A C
B
C
B
A
B
A
C
B
A
C
B C
A
C
A
B
A
C
B
B
C
A
A B
C
A
B
C
A
B
C
Hierarchical Task Network (HTN)
Planning
Principle: complex tasks are decomposed into simpler tasks. The goal is to
decompose compound tasks into primitive tasks, which define actions
changing the world.
Fly(National, L.V. International)
Travel(L.V. Int’nal,Lehigh)
Travel(UMD,National)
alternatives
Travel from UMD to Lehigh University
Travel by car
Enough money
for gasoline
Roads are passable
Seats available
Travel by plane
Enough money for air
fare available
Taxi(UMD,UMD-Metro)
Metro(UMD-Metro,National)
Taxi(L.V. Int’nal,Lehigh)
Travel(UMD,National)
Current Research: Controlling
Unreal Tournament Bots
BOTS
• Bot: software robot
Receives information from the environment (game
server)
Represents knowledge about environment, beliefs,
goals
Acts according to knowledge (reason)
Can learn from previous experiences
Using HTNs to Represent Strategies
A
B
C
D
E
Capture the flag:
•Must bring the
enemy’s flag to our
camp
•Must not allow the
enemy to take the flag
1 2
CTF
Move(1,2,B) defend(1,B)
capture(2,E)
Use HTN Planning to Reason and Act
A
B
C
D
E
1 2
CTF
1,2
Move(1,2,B) defend(1,B)
2
capture(2,E)
How Can We Determine an Adequate
Strategy?
•Use CBR!: View strategies and their situations (ICM-
principle) as cases •Map
•Own team
•Enemy
•…
•Define a similarity metric for comparing situations
•Encode algorithms to compute this similarity very fast (real
time!)
What Can the Bot Learn?
• New strategies: after every game store the strategy
and make it available for future games
• Learn the similarity metric: some attributes are
more important than others (for example, point B
in the previous map seems crucial)
• Mistakes: some strategies maybe better than others
But hasn’t Half-Life Done This?
• Half life: the best (?) first-person shooter with an amazing
computer opponent (or “AI” as the game industry calls it)
• A military squad will act coordinately to attack you
• The behavior of the AI is hard-coded for the particular
situation, you are always approaching from the same direction!
• What the computer industry calls “AI” is just a synonym for
computer opponent. This can be hard-coded, or cheat, or use
true AI techniques (Close Combat, Black and White)
Current Status
• We developed an object-oriented architecture and
connected it to the Unreal Tournament server
(Todd Fisher)
• We are developing an HTN-based language for
representing strategies (almost done)
• We are developing similarity assessments and
algorithms for computing these quickly
Conclusions
• AI is moving away from the idea of simulating humans
and it is rather concentrating on developing programs that
behave rationally
• But many of the techniques in use now are derived from
the initial goal of simulating humans
• There is a broad range of deployed systems, companies
using AI
• Key issues of AI: knowledge representation, reasoning,
and machine learning
• Mathematical foundations are very important to understand
the limitations of computing (CSE 318, CSE 340)

More Related Content

Similar to AI.ppt

Sp14 cs188 lecture 1 - introduction
Sp14 cs188 lecture 1  - introductionSp14 cs188 lecture 1  - introduction
Sp14 cs188 lecture 1 - introductionAmer Noureddin
 
Artificial Intelligence in Gaming
Artificial Intelligence in GamingArtificial Intelligence in Gaming
Artificial Intelligence in GamingSatvik J
 
Deep Water - Bringing Tensorflow, Caffe, Mxnet to H2O
Deep Water - Bringing Tensorflow, Caffe, Mxnet to H2ODeep Water - Bringing Tensorflow, Caffe, Mxnet to H2O
Deep Water - Bringing Tensorflow, Caffe, Mxnet to H2OSri Ambati
 
Artificial Intelligence: Expert Systems Components
Artificial Intelligence: Expert Systems ComponentsArtificial Intelligence: Expert Systems Components
Artificial Intelligence: Expert Systems ComponentsThe Integral Worm
 
Basics of Intelligent Computing.pdf
Basics of Intelligent Computing.pdfBasics of Intelligent Computing.pdf
Basics of Intelligent Computing.pdfktosri
 
Chatbots in 2017 -- Ithaca Talk Dec 6
Chatbots in 2017 -- Ithaca Talk Dec 6Chatbots in 2017 -- Ithaca Talk Dec 6
Chatbots in 2017 -- Ithaca Talk Dec 6Paul Houle
 
An Introduction to Machine Learning
An Introduction to Machine LearningAn Introduction to Machine Learning
An Introduction to Machine LearningAngelo Simone Scotto
 
Evolving as a professional software developer
Evolving as a professional software developerEvolving as a professional software developer
Evolving as a professional software developerAnton Kirillov
 
Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016
Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016
Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016Sri Ambati
 
课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)butest
 
Artificial Intelligence AI Topics History and Overview
Artificial Intelligence AI Topics History and OverviewArtificial Intelligence AI Topics History and Overview
Artificial Intelligence AI Topics History and Overviewbutest
 
Artificial Intelligence AI Topics History and Overview
Artificial Intelligence AI Topics History and OverviewArtificial Intelligence AI Topics History and Overview
Artificial Intelligence AI Topics History and Overviewbutest
 
AI - To get an overview
AI   - To get an overviewAI   - To get an overview
AI - To get an overviewKranti Asapu
 
PPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORYPPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORYbutest
 
Assessing computational thinking
Assessing computational thinkingAssessing computational thinking
Assessing computational thinkingDaniel Duckworth
 
Антон Кириллов, ZeptoLab
Антон Кириллов, ZeptoLabАнтон Кириллов, ZeptoLab
Антон Кириллов, ZeptoLabDiana Dymolazova
 
Ai4 space 20180617 v6
Ai4 space 20180617 v6Ai4 space 20180617 v6
Ai4 space 20180617 v6ISSIP
 
Deep Learning and the state of AI / 2016
Deep Learning and the state of AI / 2016Deep Learning and the state of AI / 2016
Deep Learning and the state of AI / 2016Grigory Sapunov
 

Similar to AI.ppt (20)

Sp14 cs188 lecture 1 - introduction
Sp14 cs188 lecture 1  - introductionSp14 cs188 lecture 1  - introduction
Sp14 cs188 lecture 1 - introduction
 
Artificial Intelligence in Gaming
Artificial Intelligence in GamingArtificial Intelligence in Gaming
Artificial Intelligence in Gaming
 
Deep Water - Bringing Tensorflow, Caffe, Mxnet to H2O
Deep Water - Bringing Tensorflow, Caffe, Mxnet to H2ODeep Water - Bringing Tensorflow, Caffe, Mxnet to H2O
Deep Water - Bringing Tensorflow, Caffe, Mxnet to H2O
 
Artificial Intelligence: Expert Systems Components
Artificial Intelligence: Expert Systems ComponentsArtificial Intelligence: Expert Systems Components
Artificial Intelligence: Expert Systems Components
 
Basics of Intelligent Computing.pdf
Basics of Intelligent Computing.pdfBasics of Intelligent Computing.pdf
Basics of Intelligent Computing.pdf
 
Chatbots in 2017 -- Ithaca Talk Dec 6
Chatbots in 2017 -- Ithaca Talk Dec 6Chatbots in 2017 -- Ithaca Talk Dec 6
Chatbots in 2017 -- Ithaca Talk Dec 6
 
An Introduction to Machine Learning
An Introduction to Machine LearningAn Introduction to Machine Learning
An Introduction to Machine Learning
 
Evolving as a professional software developer
Evolving as a professional software developerEvolving as a professional software developer
Evolving as a professional software developer
 
Unit no_1.pptx
Unit no_1.pptxUnit no_1.pptx
Unit no_1.pptx
 
Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016
Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016
Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016
 
H20: A platform for big math
H20: A platform for big math H20: A platform for big math
H20: A platform for big math
 
课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)
 
Artificial Intelligence AI Topics History and Overview
Artificial Intelligence AI Topics History and OverviewArtificial Intelligence AI Topics History and Overview
Artificial Intelligence AI Topics History and Overview
 
Artificial Intelligence AI Topics History and Overview
Artificial Intelligence AI Topics History and OverviewArtificial Intelligence AI Topics History and Overview
Artificial Intelligence AI Topics History and Overview
 
AI - To get an overview
AI   - To get an overviewAI   - To get an overview
AI - To get an overview
 
PPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORYPPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORY
 
Assessing computational thinking
Assessing computational thinkingAssessing computational thinking
Assessing computational thinking
 
Антон Кириллов, ZeptoLab
Антон Кириллов, ZeptoLabАнтон Кириллов, ZeptoLab
Антон Кириллов, ZeptoLab
 
Ai4 space 20180617 v6
Ai4 space 20180617 v6Ai4 space 20180617 v6
Ai4 space 20180617 v6
 
Deep Learning and the state of AI / 2016
Deep Learning and the state of AI / 2016Deep Learning and the state of AI / 2016
Deep Learning and the state of AI / 2016
 

Recently uploaded

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 

AI.ppt

  • 1. AI: Some (Biased) Highlights CSE 15 Sources: – Russell’s slides (http://www.cs.berkeley.edu/~russell/ai.html) – Hoffman/Sammut slides (http://www.cse.unsw.edu.au/~cs3411/) – Few things of my own – Introductory article about AI (McCarthy): http://www-formal.stanford.edu/jmc/whatisai/whatisai.html
  • 2. What is AI? Systems that think like humans Systems that think rationally Systems that act like humans Systems that act rationally Categories for definitions of AI Modern approach Classic View
  • 3. The Turing Test: Preliminaries •Designed by Alan Turing (1950) •The Turing test provides a satisfactory operational definition of AI •It’s a behavioral test (i.e., test if a system acts like a human) •Problem: it is difficult to make a mathematical analysis of it
  • 4. The Turing Test The Turing Test: a computer is programmed well enough to have a conversation with an interrogator (for example through a computer terminal) and passes the test if the interrogator cannot discern if there is a computer or a human at the other end machine ? ?
  • 5. The Turing Test vs. AI Fields For a program to pass the Turing Test, it needs to pass the exhibit the following capabilities: •Natural language processing •Knowledge representation •Automated reasoning •Machine learning Topics of AI course (CSE 324) Communication & perception
  • 6. Loebner Prize •Each year (since 1994) a competition is made to see if a computer passes the Turing Test •The first program to pass it will receive 100k •Controversial: Minsky offer $100 if anyone finish it •Still, it is interesting to observe capabilities •Machines seems to have come close to fulfill Turing’s prediction (5 minutes)
  • 7. Other Predictions from Turing •Predicted that by the year 2000 a computer will have 30% chances to fool a person for 5 minutes •Anticipated the major argument against AI: •The mathematical objection to AI
  • 8. The Mathematical Objection to AI: The Halting Problem •Can we write a program in a C++, that recognizes if any program written in that language ends with a given input? •Answer: No (Turing, 1940’s!) •Mathematical Proof (CSE 318: Automata Theory): valid for any program running on yesterday’s, today's and tomorrow’s (foreseeable future) computers i = 2 While ( i ≠ c) i++ Does this program terminates for: • c = 1? • c = 10? No Yes
  • 9. Parenthesis: Halting Problem • Proof by contradiction: assume that there is a program H that can determine if programs halt with a given input • What would happen if we give H itself as input for H? • We will obtain a paradox, similar to the one in the set: “Pedro shaves only the people who doesn’t shaves themselves” Does Pedro shaves himself?
  • 10. The Mathematical Objection to AI •Argument against AI: a human can determine if a program ends or not •Thus, computers are inferior as humans • Argument against this argument: Are you sure that a human will be able to determine if a very complicated program will terminate with a certain input?
  • 11. AI: Genesis •Logical reasoning calculus was conceived (Leibniz, 17 century) •Leibiz’ motivation: solve intellectual arguments by calculation •Boolean logic (Boole, 1847) •Predicate Logic (Frege, 1879): Begriffsschrift •Incompleteness Theorem (Goedel, 1940’s)
  • 12. AI: Some Historical Highlights •Turing’s article about what machines can do •Term AI is coined at the Dartmouth conference (1956) •General Problem Solver (Newell & Simon; 1958) •Period of great expectations
  • 13. Early Stages, Great Expectations (what they thought they could achieve) Jenna: What were you just thinking? Data: In that particular moment, I was reconfiguring the warp field parameters, analyzing the collected works of Charles Dickens, calculating the maximum pressure I could safely apply to your lips, considering a new food supplement for Spot... Jenna: I'm glad I was in there somewhere. (from the episode “In Theory” )
  • 14. AI: Some Historical Highlights (cont’d) •Perceptrons: limits to neural networks (Minksy and Papert; 1969) •Knowledge-based systems (1970’s) •AI becomes an industry. Early successes of Expert systems
  • 15. AI: Some Historical Highlights (cont’d) •It becomes clear that expert systems are hard to create (problem known as the Knowledge Acquisition bottle-neck) •1990’s: more consolidated approaches to AI, more realistic expectations, fielded applications: Program beats chess world champion Applications of machine learning to data-mining (CSE ???: Data Mining) Applications of Case-Based Reasoning to help-desk systems (CSE 395/495: Intelligent Decision Support Systems)
  • 16. Case-Based Reasoning: Definition A problem-solving methodology where solutions to similar, previous problems are reused to solve new problems. Notes: • Intuitive • AI focus (knowledge representation, reasoning, learning) • Case = <problem, solution>
  • 17. Problem-Solving with CBR Problem Space Solution Space p2 p1 s1 s2 p3 CBR(problem) = solution s4 p? p? s? s3
  • 18. CBR: First Example Example: Slide Creation Repository of Presentations: - 5/9/01: ONR review - 8/20/02: EWCBR talk - 4/25/03: DARPA review Specification Revised talk 3. Revise Slides of Talks w/ Similar Content 1. Retrieve 5. Retain New Case 4. Review New Slides - 12/1/03: talk@ cse15 First draft 2. Reuse Talk@ cse15
  • 19. Other Applications of CBR • Help-Desk Systems • Help users when problem occurs • Reduce overhead by lowering number of required support personnel. "Help you I can, yes, hmm?"
  • 20. What is Going on the Other Side Windows 95? Yes DirectX? No … Update DirectX drivers! Space of known problems for Tie Fighter Search is performed for a similar case
  • 21. What Attributes to consider for Similarity: ICM-Principle Independence: Attributes should represent independent features whenever possible Completeness: the attributes should be sufficient to determine if the case can be reused in a new situation Minimalist: The only attributes that should be included in a case are those used in to compute similarity (example: price paid for game is not relevant to identify problem running it)
  • 22. AI Planning • Planning problem: Obtain a sequence of actions (plan) to achieve some goals in a particular situation C A B situation A B C goals move-C-from-A-to-Table move-B-from-Table-to-C move-A-from-Table-to-B plan
  • 23. Search Space A C B A B C A C B C B A B A C B A C B C A C A B A C B B C A A B C A B C A B C
  • 24. Hierarchical Task Network (HTN) Planning Principle: complex tasks are decomposed into simpler tasks. The goal is to decompose compound tasks into primitive tasks, which define actions changing the world. Fly(National, L.V. International) Travel(L.V. Int’nal,Lehigh) Travel(UMD,National) alternatives Travel from UMD to Lehigh University Travel by car Enough money for gasoline Roads are passable Seats available Travel by plane Enough money for air fare available Taxi(UMD,UMD-Metro) Metro(UMD-Metro,National) Taxi(L.V. Int’nal,Lehigh) Travel(UMD,National)
  • 26. BOTS • Bot: software robot Receives information from the environment (game server) Represents knowledge about environment, beliefs, goals Acts according to knowledge (reason) Can learn from previous experiences
  • 27. Using HTNs to Represent Strategies A B C D E Capture the flag: •Must bring the enemy’s flag to our camp •Must not allow the enemy to take the flag 1 2 CTF Move(1,2,B) defend(1,B) capture(2,E)
  • 28. Use HTN Planning to Reason and Act A B C D E 1 2 CTF 1,2 Move(1,2,B) defend(1,B) 2 capture(2,E)
  • 29. How Can We Determine an Adequate Strategy? •Use CBR!: View strategies and their situations (ICM- principle) as cases •Map •Own team •Enemy •… •Define a similarity metric for comparing situations •Encode algorithms to compute this similarity very fast (real time!)
  • 30. What Can the Bot Learn? • New strategies: after every game store the strategy and make it available for future games • Learn the similarity metric: some attributes are more important than others (for example, point B in the previous map seems crucial) • Mistakes: some strategies maybe better than others
  • 31. But hasn’t Half-Life Done This? • Half life: the best (?) first-person shooter with an amazing computer opponent (or “AI” as the game industry calls it) • A military squad will act coordinately to attack you • The behavior of the AI is hard-coded for the particular situation, you are always approaching from the same direction! • What the computer industry calls “AI” is just a synonym for computer opponent. This can be hard-coded, or cheat, or use true AI techniques (Close Combat, Black and White)
  • 32. Current Status • We developed an object-oriented architecture and connected it to the Unreal Tournament server (Todd Fisher) • We are developing an HTN-based language for representing strategies (almost done) • We are developing similarity assessments and algorithms for computing these quickly
  • 33. Conclusions • AI is moving away from the idea of simulating humans and it is rather concentrating on developing programs that behave rationally • But many of the techniques in use now are derived from the initial goal of simulating humans • There is a broad range of deployed systems, companies using AI • Key issues of AI: knowledge representation, reasoning, and machine learning • Mathematical foundations are very important to understand the limitations of computing (CSE 318, CSE 340)