SlideShare a Scribd company logo
1 of 47
Download to read offline
AnIntroductiontoArtificialIntelligence
1
AnIntroduction
toArtificial
Intelligence
2
Resourcesfor
thislecture
3
• This lecture covers thefollowing
chapters:
• Chapter 1 (Introduction) from
Stuart J. Russell and Peter
Norvig, "Artificial Intelligence:
A Modern Approach," Third
Edition (2010), by Pearson
Education Inc.
Outline What is Intelligence?
What is Artificial Intelligence?
• Systems that Act like Humans
• Turing Test; the Imitation Game ..
• The Chinese Room Argument
• Strong vs. Weak AI Hypotheses
• Systems that Think like Humans
• Systems that Think Rationally
• Systems that Act Rationally
• AI as the Study & Design of Intelligent
Agents
• Intelligent Agents
• Pac-Man as an Intelligent Agent
• Intelligent Agents in the World
• A small sample of solutions offered by AI
• History of the various AI areas
4
Philosop hy
• Can formal rules be used to draw valid
conclusions?
• How does the mind arise from a
physical brain?
• Where does knowledge come from?
• How does knowledge lead to action?
Mathematics
• What are the formal rules to draw valid
conclusions?
• What can be computed?
• How do we reason with uncertain
information?
Neu ros cience
• How do brains process information?
Psych ology
• How do humans and animals think and
act?
Eco nomic s
• How should we make decisions so as
to maximize payoff?
• How should we do this when others
may not go along?
• How should we do this when the
payoff may be far in the future?
Com puter Engineering
• How can we build an efficient
computer?
Control theory and cybernetics
• How can artefacts operate under their
own control?
Linguistics
• How does language relate to thought?
5
SOMEFOUNDATIONSOFARTIFICIALINTELLIGENCE
WhatisIntelligence?
Intelligence:
• Judgment, otherwise called “good sense,” “practical sense,” “initiative,” the
faculty of adapting one's self to circumstances .. auto-critique ~ Alfred Binet
(July 8, 1857 – October 18, 1911) was a French psychologist who invented the
first practical intelligence test (An intelligence quotient (IQ); a total score derived
from one of several standardized tests designed to assess human intelligence)
• “.. the resultant of the process of acquiring, storing in memory, retrieving,
combining, comparing, and using in new contexts information and
conceptual skills.” ~Lloyd G. Humphreys (December 12, 1913 – September 7,
2003) was an American psychologist
• “ .. the capacity to learn and solve problems ..” (Webster’s dictionary)
• in particular,
• the ability to solve novel problems
• the ability to act rationally
• the ability to act like humans 6
WhatisArtificialInteligence?
7
JohnMcCarthy*,StanfordUniversity
What is artificial intelligence?
It is the science and engineering of making intelligent machines, especially
intelligent computer programs. It is related to the similar task of using
computers to understand human intelligence, but AI does not have to confine
itself to methods that are biologically observable; “.. The goal of AI is to
develop machines that behave as though they were intelligent. ..”
Yes, but what is intelligence?
Intelligence is the computational part of the ability to achieve goals in the
world. Varying kinds and degrees of intelligence occur in people, many animals
and some machines.
Isn't there a solid definition of intelligence that doesn't depend on relating it
to human intelligence?
Not yet. The problem is that we cannot yet characterize in general what kinds
of computational procedures we want to call intelligent. We understand some
of the mechanisms of intelligence and not others.
More in: http://www-formal.stanford.edu/jmc/whatisai/node1.html
* John McCarthy (September 4, 1927 – October 24, 2011) was an American computer scientist & cognitive
scientist. McCarthy was one of the founders of the discipline of artificial intelligence. He coined the term
"artificial intelligence" (AI).
8
WhatisArtificialInteligence?
by En cyc lop edia Britan n ica ( 1991 )
".. AI is the ability of digital computers or computer controlled robots to solve
problems that are normally associated with the higher intellectual processing
capabilities of humans.“
by Elain e R ich .. A rt if icial In te llig en ce. M cGra w-Hill , 1983
".. Artificial Intelligence is the study of how to make computers do things at
which, at the moment, people are better."
WhatisArtificialInteligence?
Thinking
Humanly
9
Thinking
Rationally
Acting
Humanly
Acting
Rationally
10
WhatisArtificialInteligence?
Systems that act likehumans Systems that thinkrationally
“The study of how to make computers do
things at which, at the moment, people are
better” (Rich and Knight,1991)
“The art of creating machines that perform
functions that require intelligence when
performed by people.” (Kurzweil,1990)
“The study of mental faculties through the
use of computational models” (Charniack
and McDermott,1985).
“The study of the computations that make it
possible to perceive, reason, and act.”
(Winston, 1992)
Systems that think likehumans Systems that actrationally
“The automation of activities that we
associate with human thinking, such as
decision making, problem solving, learning”
(Bellman, 1978)
“The exciting new effort to make computers
think … machines with minds, in the full
and literal sense.” (Haugeland,1985)
“AI .. is concerned with intelligent behavior
in artifacts (Nilsson,1998)
“Computational Intelligence is the study of
the design of intelligent agents.” (Poole et
al., 1998)
11
WhatisArtificialInteligence?
Systems that act likehumans Systems that thinkrationally
“The study of how to make computers do
things at which, at the moment, people are
better” (Rich and Knight,1991)
“The art of creating machines that perform
functions that require intelligence when
performed by people.” (Kurzweil,1990)
“The study of mental faculties through the
use of computational models” (Charniack
and McDermott,1985).
“The study of the computations that make it
possible to perceive, reason, and act.”
(Winston, 1992)
Systems that think likehumans Systems that actrationally
“The automation of activities that we
associate with human thinking, such as
decision making, problem solving, learning”
(Bellman, 1978)
“The exciting new effort to make computers
think … machines with minds, in the full
and literal sense.” (Haugeland,1985)
“AI .. is concerned with intelligent behavior
in artifacts (Nilsson,1998)
“Computational Intelligence is the study of
the design of intelligent agents.” (Poole et
al., 1998)
Systems
thatActLike
Humans…
?!
12
SystemsthatActLikeHumans
TuringTest;theImitationGame…
InTuring’s(1950)paper“Computingmachineryandintelligence”:
♦ Canmachinesthink? ≡ (identical to) Canmachinesbehaveintelligently?
♦ Operationaltest for intelligent behavior:the Imitation Game
AI SYSTEM
HUMAN
?
HUMAN
INTERROGATOR
13
SystemsthatActLikeHumans
TuringTest;theImitationGame…
• Turing test (1950): Can a human interrogator tell whether (written)
responses to her (written) questions come from a human or a machine?
• Natural Language Processing-communication
• Knowledge Representation-to store information
• Automated Reasoning-to draw new conclusions
• Machine Learning- to adapt new circumstances and to detect patterns
• Total Turing Test (extended to include physical aspects of human
behavior): to test subjects perceptual abilities
• Computer Vision- To perceive objects
• Robotics- to manipulate objects and move about 14
•
TotalTuringTest?
Butwhydowewantanintelligentsystemtoactlikeahuman?
- Because for many tasks, humans are still the Gold Standard.
15
TotalTuringTest?
BabyX is a project (by Auckland's Bioengineering
16
Institute Laboratory for Animate Technologies) to make
a virtual animated baby that learns and reacts like a
human baby. It uses the computer's cameras for
"seeing" and microphones to "listen" as the inputs. The
computer uses AI algorithms for BabyX's "learning" and
interpretation of the inputs (voice and image) to
understand the situation. The result is a virtual toddler
that can learn to read, recognize objects and
"understand." The output is the baby's face that can
"speak" and express its mood by facial expressions
(such as smiling).
BabyX!
TotalTuringTest?
Reinforcement learning ..? It is a machine learning
training method based on rewarding desired
behaviors and/or punishing undesired ones.
17
Affective Computing ..? it describes computing that
is in some way connected to emotion ( a.k.a.
emotional artificial intelligence). It is the study and
development of systems and devices that can
recognize, interpret, process, and simulate human
affects (feelings, emotions, or mood.
BabyX!
The Chinese Room Argument
John Rogers Searle (born July 31, 1932) is an Americanphilosopher
“Searle's thought experiment begins with this hypothetical premise: suppose that
artificial intelligence research has succeeded in constructing a computer that
behaves as if it understands Chinese. It takes Chinese characters as input and, by
following the instructions of a computer program, produces other Chinese
characters, which it presents as output. Suppose, says Searle, that this computer
performs its task so convincingly that it comfortably passes the Turing test: it
convinces a human Chinese speaker that the program is itself a live Chinese speaker.
To all of the questions that the person asks, it makes appropriate responses, such
that any Chinese speaker would be convinced that they are talking to another
Chinese-speaking human being.”
The question Searle wants to answer is this: does the machine literally "understand"
Chinese? Or is it merely simulating the ability to understand Chinese? Searle calls
the first position "strong AI" and the latter "weak AI".
Systemsthat ActLike Humans
18
he concludes that "strong AI" is false.
The Chinese Room Argument
(Continued)
Searle then supposes that he is in a closed room and has a book with an English
version of the computer program, along with sufficient paper, pencils, erasers, and
filing cabinets. Searle could receive Chinese characters through a slot in the door,
process them according to the program's instructions, and produce Chinese
characters as output. If the computer had passed the Turing test this way, it follows,
says Searle, that he would do so as well, simply by running the program manually.
Searle asserts that there is no essential difference between the roles of the
computer and himself in the experiment. Each simply follows a program, step-by-
step, producing a behaviour which is then interpreted as demonstrating intelligent
conversation. However, Searle would not be able to understand the conversation.
Searle argues that without "understanding" (or "intentionality"), we cannot
describe what the machine is doing as "thinking" and since it does not think, it
does not have a "mind" in anything like the normal sense of the word. Therefore,
SystemsthatActLikeHumans
19
If person inside does a great job of answering questions, can we
say s/he understands?
Even if (s)he is only blindly following rules?
(Obviously, the ‘person inside’ is acting like an AIprogram)
20
SystemsthatActLikeHumans
The Chinese Room Argument
(Continued)
The Chinese Room Argument
(Continued)
Strong vs. Weak AI Hypotheses?
-WEAK AI Hypothesis; We can accurately simulate animal / human
intelligence in a computer.
- STRONG AI Hypothesis; We can create algorithms that are intelligent
( Consciousness ? ..
Self-Awareness ? ..
Free-will ? )
21
SystemsthatActLikeHumans
Do you remember
the robot from the
Sonny,
2004
science-fiction / action film
"I, Robot"?
SystemsthatActLikeHumans
22
Strong Vs. Weak AI .. Where are we?
Source: https://www.upwork.com/hiring/for-clients/artificial-intelligence-and-natural-language-processing-in-big-data/
23
Systems that act likehumans Systems that thinkrationally
“The study of how to make computers do
things at which, at the moment, people are
better” (Rich and Knight,1991)
“The art of creating machines that perform
functions that require intelligence when
performed by people.” (Kurzweil,1990)
“The study of mental faculties through the
use of computational models” (Charniack
and McDermott,1985).
“The study of the computations that make it
possible to perceive, reason, and act.”
(Winston, 1992)
Systems that think likehumans Systems that actrationally
“The automation of activities that we
associate with human thinking, such as
decision making, problem solving, learning”
(Bellman, 1978)
“The exciting new effort to make computers
think … machines with minds, in the full
and literal sense.” (Haugeland,1985)
“AI .. is concerned with intelligent behavior
in artifacts (Nilsson,1998)
“Computational Intelligence is the study of
the design of intelligent agents.” (Poole et
al., 1998)
WhatisArtificialInteligence?
• Need to study the brain as an information processing machine,
… in other words …
• Use Computational Models to Understand the Actual Workings of
Human Mind
• Devise/Choose a sufficiently precise theory of the mind.
• Express it as a computer program.
• Check match between program and human behavior (actions and
timing) on similar tasks.
• Tight connections with Cognitive Science & Neuroscience.
• Also known as descriptive approaches toAI.
SystemsthatThinkLikeHumans
24
25
Systems that act likehumans Systems that thinkrationally
“The study of how to make computers do
things at which, at the moment, people are
better” (Rich and Knight,1991)
“The art of creating machines that perform
functions that require intelligence when
performed by people.” (Kurzweil,1990)
“The study of mental faculties through the
use of computational models” (Charniack
and McDermott,1985).
“The study of the computations that make it
possible to perceive, reason, and act.”
(Winston, 1992)
Systems that think likehumans Systems that actrationally
“The automation of activities that we
associate with human thinking, such as
decision making, problem solving, learning”
(Bellman, 1978)
“The exciting new effort to make computers
think … machines with minds, in the full
and literal sense.” (Haugeland,1985)
“AI .. is concerned with intelligent behavior
in artifacts (Nilsson,1998)
“Computational Intelligence is the study of
the design of intelligent agents.” (Poole et
al., 1998)
WhatisArtificialInteligence?
Logic: formalize idealized or right thinking, i.e. irrefutable
processes. That is; patterns of argument that always
reasoning
yield correct
conclusions when supplied with correct premises:
“.. Socrates is a man; all men are mortal; therefore Socrates is mortal.”
• Logistic tradition in AI aims to build computational frameworks
based on logic, that is, describe a problem in formal logical notation
and apply general deduction procedures to solve it.
• Then use these frameworks to build intelligent systems.
• Some examples are (Propositional Logic) and (Logic Programming).
• More advanced logic-based representations:
• Semantic Networks. 26
SystemsthatThinkRationaly
27
Main Research Problems / Challenges:
• Describing real-world problems and knowledge in logical notation.
• Proving Soundness and Completeness of various formalisms.
• How to represent often informal and uncertain domain knowledge and
formalize it in logic notation (i.e., dealing with Uncertainty).
• Computational Complexity of finding a solution.
• A lot of “rational” behavior has nothing to do withlogic.
• Solving problem in ‘Principle’ and in "Practice”
SystemsthatThinkRationaly
28
Systems that act likehumans Systems that thinkrationally
“The study of how to make computers do
things at which, at the moment, people are
better” (Rich and Knight,1991)
“The art of creating machines that perform
functions that require intelligence when
performed by people.” (Kurzweil,1990)
“The study of mental faculties through the
use of computational models” (Charniack
and McDermott,1985).
“The study of the computations that make it
possible to perceive, reason, and act.”
(Winston, 1992)
Systems that think likehumans Systems that actrationally
“The automation of activities that we
associate with human thinking, such as
decision making, problem solving, learning”
(Bellman, 1978)
“The exciting new effort to make computers
think … machines with minds, in the full
and literal sense.” (Haugeland,1985)
“AI .. is concerned with intelligent behavior
in artifacts (Nilsson,1998)
“Computational Intelligence is the study of
the design of intelligent agents.” (Poole et
al., 1998)
WhatisArtificialInteligence?
29
Why ..?
• The “think rationally” approach focuses on correct inference.
• But more is needed for rational behavior, e.g.
• How to behave when there is no provably correct thing to do (i.e.
reasoning under uncertainty).
• Fully reactive behavior (instinct vs. reason).
SystemsthatActRationaly
30
AIastheStudy&DesignofIntelligentAgents
(Poole and Mackworth, 1999)
• An intelligent agent is such that:
• Its actions are appropriate for its goals and circumstances.
• It is flexible to changing environments and goals.
• It learns from experience.
• It makes appropriate choices given perceptual limitations and
limited resources (bounded rationality or bounded optimality).
• This definition drops the constraint of cognitive plausibility;
• Same as building flying machines by understanding general
principles of flying (aerodynamic) vs. by reproducing how birds fly.
Thus, a rational agent acts to optimally achieve its goals (does the
right thing). The right thing: that which is expected to maximize goal
achievement, given the available information.
31
• In AI, artificial agents that have a physical presence in the world are
usually known as Robots.
• Robotics is the field primarily concerned with the implementation of the
physical aspects of a robot (i.e. perception of the physical environment,
actions on the environment).
• Another class of artificial agents include interface agents, for either
stand alone or Web-based applications (e.g. intelligent desktop
assistants, recommender systems, intelligent tutoring systems).
• Interface agents don’t have to worry about interaction with the
physical environment but share all other fundamental components of
intelligent behavior with robots.
• We will focus on these agents in this course.
IntelligentAgents
Agent Sensors
?
Actuators
Environment
Percepts
32
Actions
Pac-Man..asan..IntelligentAgent
33
o Post Office
- Automatic address recognition, automatic sorting of mail
o Banks
- Automatic check readers, signature verification systems
- Automated loan application classification
o Customer Service
- Automatic voice recognition, speech recognition, & language recognition
o The Web
- Identifying your age, gender, location, from your Web surfing
o Digital Cameras
- Automated face detection and recognition
o Computer Games
- Intelligent characters/agents
o Hospitals & Medical Centers
- Automatic Cancer Detection, Automatic Prediction & Grading of Diseases,
Mass Screening Systems, etc.
IntelligentAgentsintheWorld
Samplesof InteligentSystemsinoureverydaylife
"A small sample of
solutions offered by AI."
34
- Wolfgang Ertel,
"Int rodu cti on to
A rt if icial Intelligence,"
2nd Ed it io n ( 2017)
35
"History of the various AI areas ..
The width of the bars indicates prevalence of the method's use.“
- W o l f g a n g E r t e l , " I n t r o d u c t i o n t o A r t i f i c i a l I n t e l l i g e n c e , " 2 n d E d i t i o n ( 2 0 1 7 )
Birth of AI (1943-56)
• Warren McCulloch & Walter Pitts (1943):
ANN with on-off neurons
• Neurons triggered by sufficient #neighbors
• Showed that any computable function computable with
some network like this
• Logical connectives implementable this way
• Donald Hebb’s 1949 learning rule
• Turing & Shannon chess programs, 1950s
• SNARC, first ANN computer, Minsky &
Edmonds, 1951
Birth of AI...
• Dartmouth 1956 workshop for 2 months
• Term “artificial intelligence”
• Fathers of the field introduced
• Logic Theorist: program for proving theorems by Alan Newell &
Herbert Simon
Early enthusiasm (1952-69)
• Claims: computers can do X
• General Problem Solver, Newell & Simon
• Intentionally solved puzzles in a similar way as humans do (order of
subgoals, etc)
• Geometry Theorem Prover, Herbert Gelernter, 1959
• Arthur Samuel’s learning checkers program 1952
• LISP, time sharing, Advice taker: McCarthy 1958
• Integration, IQ geometry problems, algebra stories
• Blocks world: vision, learning, NLP, planning
• Adalines [Widrow & Hoff 1960], perceptron
convergence theorem [Rosenblatt 1962]
A dose of reality (1966-74)
• Simple syntactic manipulation did not
scale
• ELIZA (example rule: if sentence contains “mother”,
then say: “tell me more about your family”)
• However, sometimes such bots (e.g. Julia) can fool humans
• “the spirit is willing but the flesh is weak” -> “the vodka
is good but the meat is rotten”
• Intractability
• Machine evolution did not scale
• Perceptrons book with negative result on
representation capability of 1-layer ANNs
[Minsky & Papert]
Knowledge-based systems (1969-79)
• DENDRAL: molecule structure identification
[Feigenbaum et al.]
• Knowledge intensive
• Mycin: medical diagnosis [Feigenbaum, Buchanan,
Shortliffe]
• 450 rules; knowledge from experts; no domain theory
• Better than junior doctors
• Certainty factors
• PROSPECTOR: drilling site choice [Duda et al]
• Domain knowledge in NLP
• Knowledge representation: logic, frames...
AI becomes an industry (1980-88)
• R1: first successful commercial expert system,
configured computer systems at DEC; saved
40M$/year
• 1988: DEC had 40 expert systems, DuPont 100...
• 1981: Japan’s 5th generation project
• Software tools for expert systems: Carnegie
Group, Inference, Intellicorp, Teknowledge
• LISP-specific hardware: LISP Machines Inc, TI,
Symbolics, Xerox
• Industry: few M$ in 1980 -> 2B$ in 1988
Return of ANNs (1986-)
• Mid-1980s, different research groups reinvented backpropagation
(originally from 1969)
• Disillusionment on expert systems
• Fear of AI winter
Recent events (1987-)
• Rigorous theorems and experimental work rather than
intuition
• Real-world applications rather than toy domains
• Building on existing work
• E.g. speech recognition
• Ad hoc, fragile methods in 1970s
• Hidden Markov models now
• E.g. planning (unified framework helped progress)
• Normative system design
• Belief networks & probabilistic reasoning
• Reinforcement learning
• Multiagent systems
• Resource-bounded reasoning
APPLICATIONS OF AI
• Robotic vehicles: A driverless robotic car named STANLEY sped through the rough
terrain of the Mojave dessert at 22 mph, finishing the 132-mile course first to win the 2005
DARPA Grand Challenge. STANLEY is a Volkswagen Touareg outfitted with cameras,
radar,and laser rangefinders to sense the environment and onboard software to command the
steering, braking, and acceleration (Thrun, 2006). The following year CMU’s BOSS won the
Urban Challenge, safely driving in traffic through the streets of a closed Air Force base,
obeying traffic rules and avoiding pedestrians and other vehicles.
• Speech recognition: A traveler calling United Airlines to book a flight can have the
entire conversation guided by an automated speech recognition and dialog
management system.
• Autonomous planning and scheduling: A hundred million miles from Earth, NASA’s
Remote Agent program became the first on-board autonomous planning program to
control the scheduling of operations for a spacecraft (Jonsson et al., 2000). REMOTE
AGENT generated plans from high-level goals specified from the ground and monitored the
execution of those plans—detecting, diagnosing, and recovering from problems as they
occurred. Successor program MAPGEN (Al-Chang et al., 2004) plans the daily operations
for NASA’s Mars Exploration Rovers, and MEXAR2 (Cesta et al., 2007) did mission
planning—both logistics and science planning—for the European Space Agency’s Mars
Express mission in 2008.
APPLICATIONS OF AI
• Game playing: IBM’s DEEP BLUE became the first computer program to defeat the
world champion in a chess match when it bested Garry Kasparov by a score of 3.5 to 2.5 in
an exhibition match (Goodman and Keene, 1997). Kasparov said that he felt a “new kind of
intelligence” across the board from him. Newsweek magazine described the match as “The
brain’s last stand.” The value of IBM’s stock increased by $18 billion. Human champions
studied Kasparov’s loss and were able to draw a few matches in subsequent years, but the
most recent human-computer matches have been won convincingly by the computer.
• Spam fighting: Each day, learning algorithms classify over a billion messages as spam,
saving the recipient from having to waste time deleting what, for many users, could comprise
80% or 90% of all messages, if not classified away by algorithms. Because the spammers are
continually updating their tactics, it is difficult for a static programmed approach to keep up,
and learning algorithms work best (Sahami et al., 1998; Goodman and Heckerman, 2004).
• Robotics: The iRobot Corporation has sold over two million Roomba robotic vacuum
cleaners for home use. The company also deploys the more rugged PackBot to Iraq and
Afghanistan, where it is used to handle hazardous materials, clear explosives, and identify
the location of snipers.
APPLICATIONS OF AI
• Logistics planning: During the Persian Gulf crisis of 1991, U.S. forces deployed a
Dynamic Analysis and Replanning Tool, DART (Cross and Walker, 1994), to do automated
logistics planning and scheduling for transportation. This involved up to 50,000 vehicles,
cargo, and people at a time, and had to account for starting points, destinations, routes,
and conflict resolution among all parameters. The AI planning techniques generated in
hours a plan that would have taken weeks with older methods. The Defense Advanced
Research Project Agency (DARPA) stated that this single application more than paid back
DARPA’s 30-year investment in AI.
• Machine Translation: A computer program automatically translates from Arabic to
English, allowing an English speaker to see the headline “Ardogan Confirms That Turkey
Would Not Accept Any Pressure, Urging Them to Recognize Cyprus.” The program uses a
statistical model built from examples of Arabic-to-English translations and from examples of
English text totaling two trillion words (Brants et al., 2007). None of the computer scientists
on the team speak Arabic, but they do understand statistics and machine learning algorithms.
Thanks! …Questions?
36

More Related Content

Similar to 1.INTRODUCTION AI.pdf

Similar to 1.INTRODUCTION AI.pdf (20)

Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Lec1 introduction
Lec1 introductionLec1 introduction
Lec1 introduction
 
1 Introduction to AI.pptx
1 Introduction to AI.pptx1 Introduction to AI.pptx
1 Introduction to AI.pptx
 
AI3391 ARTIFICIAL INTELLIGENCE Session 1 Introduction to AI.pptx
AI3391 ARTIFICIAL INTELLIGENCE Session 1 Introduction to AI.pptxAI3391 ARTIFICIAL INTELLIGENCE Session 1 Introduction to AI.pptx
AI3391 ARTIFICIAL INTELLIGENCE Session 1 Introduction to AI.pptx
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial_Intelligence.ppt
Artificial_Intelligence.pptArtificial_Intelligence.ppt
Artificial_Intelligence.ppt
 
Cognitive Science Unit 2
Cognitive Science Unit 2Cognitive Science Unit 2
Cognitive Science Unit 2
 
AI CHAPTER 1.pdf
AI CHAPTER 1.pdfAI CHAPTER 1.pdf
AI CHAPTER 1.pdf
 
PPT ON INTRODUCTION TO AI- UNIT-1-PART-1.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-1.pptxPPT ON INTRODUCTION TO AI- UNIT-1-PART-1.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-1.pptx
 
Intro artificial intelligence
Intro artificial intelligenceIntro artificial intelligence
Intro artificial intelligence
 
1.Introduction.ppt
1.Introduction.ppt1.Introduction.ppt
1.Introduction.ppt
 
LEC_2_AI_INTRODUCTION - Copy.pptx
LEC_2_AI_INTRODUCTION - Copy.pptxLEC_2_AI_INTRODUCTION - Copy.pptx
LEC_2_AI_INTRODUCTION - Copy.pptx
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Introduction to artificial intelligence
Introduction to artificial intelligenceIntroduction to artificial intelligence
Introduction to artificial intelligence
 
Introduction to AI
Introduction to AIIntroduction to AI
Introduction to AI
 
AI Unit1.ppt
AI Unit1.pptAI Unit1.ppt
AI Unit1.ppt
 
AI Unit1b.ppt
AI Unit1b.pptAI Unit1b.ppt
AI Unit1b.ppt
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Artificialintelligence 131226011156-phpapp02
Artificialintelligence 131226011156-phpapp02Artificialintelligence 131226011156-phpapp02
Artificialintelligence 131226011156-phpapp02
 

Recently uploaded

Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 

Recently uploaded (20)

Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 

1.INTRODUCTION AI.pdf

  • 3. Resourcesfor thislecture 3 • This lecture covers thefollowing chapters: • Chapter 1 (Introduction) from Stuart J. Russell and Peter Norvig, "Artificial Intelligence: A Modern Approach," Third Edition (2010), by Pearson Education Inc.
  • 4. Outline What is Intelligence? What is Artificial Intelligence? • Systems that Act like Humans • Turing Test; the Imitation Game .. • The Chinese Room Argument • Strong vs. Weak AI Hypotheses • Systems that Think like Humans • Systems that Think Rationally • Systems that Act Rationally • AI as the Study & Design of Intelligent Agents • Intelligent Agents • Pac-Man as an Intelligent Agent • Intelligent Agents in the World • A small sample of solutions offered by AI • History of the various AI areas 4
  • 5. Philosop hy • Can formal rules be used to draw valid conclusions? • How does the mind arise from a physical brain? • Where does knowledge come from? • How does knowledge lead to action? Mathematics • What are the formal rules to draw valid conclusions? • What can be computed? • How do we reason with uncertain information? Neu ros cience • How do brains process information? Psych ology • How do humans and animals think and act? Eco nomic s • How should we make decisions so as to maximize payoff? • How should we do this when others may not go along? • How should we do this when the payoff may be far in the future? Com puter Engineering • How can we build an efficient computer? Control theory and cybernetics • How can artefacts operate under their own control? Linguistics • How does language relate to thought? 5 SOMEFOUNDATIONSOFARTIFICIALINTELLIGENCE
  • 6. WhatisIntelligence? Intelligence: • Judgment, otherwise called “good sense,” “practical sense,” “initiative,” the faculty of adapting one's self to circumstances .. auto-critique ~ Alfred Binet (July 8, 1857 – October 18, 1911) was a French psychologist who invented the first practical intelligence test (An intelligence quotient (IQ); a total score derived from one of several standardized tests designed to assess human intelligence) • “.. the resultant of the process of acquiring, storing in memory, retrieving, combining, comparing, and using in new contexts information and conceptual skills.” ~Lloyd G. Humphreys (December 12, 1913 – September 7, 2003) was an American psychologist • “ .. the capacity to learn and solve problems ..” (Webster’s dictionary) • in particular, • the ability to solve novel problems • the ability to act rationally • the ability to act like humans 6
  • 7. WhatisArtificialInteligence? 7 JohnMcCarthy*,StanfordUniversity What is artificial intelligence? It is the science and engineering of making intelligent machines, especially intelligent computer programs. It is related to the similar task of using computers to understand human intelligence, but AI does not have to confine itself to methods that are biologically observable; “.. The goal of AI is to develop machines that behave as though they were intelligent. ..” Yes, but what is intelligence? Intelligence is the computational part of the ability to achieve goals in the world. Varying kinds and degrees of intelligence occur in people, many animals and some machines. Isn't there a solid definition of intelligence that doesn't depend on relating it to human intelligence? Not yet. The problem is that we cannot yet characterize in general what kinds of computational procedures we want to call intelligent. We understand some of the mechanisms of intelligence and not others. More in: http://www-formal.stanford.edu/jmc/whatisai/node1.html * John McCarthy (September 4, 1927 – October 24, 2011) was an American computer scientist & cognitive scientist. McCarthy was one of the founders of the discipline of artificial intelligence. He coined the term "artificial intelligence" (AI).
  • 8. 8 WhatisArtificialInteligence? by En cyc lop edia Britan n ica ( 1991 ) ".. AI is the ability of digital computers or computer controlled robots to solve problems that are normally associated with the higher intellectual processing capabilities of humans.“ by Elain e R ich .. A rt if icial In te llig en ce. M cGra w-Hill , 1983 ".. Artificial Intelligence is the study of how to make computers do things at which, at the moment, people are better."
  • 10. 10 WhatisArtificialInteligence? Systems that act likehumans Systems that thinkrationally “The study of how to make computers do things at which, at the moment, people are better” (Rich and Knight,1991) “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil,1990) “The study of mental faculties through the use of computational models” (Charniack and McDermott,1985). “The study of the computations that make it possible to perceive, reason, and act.” (Winston, 1992) Systems that think likehumans Systems that actrationally “The automation of activities that we associate with human thinking, such as decision making, problem solving, learning” (Bellman, 1978) “The exciting new effort to make computers think … machines with minds, in the full and literal sense.” (Haugeland,1985) “AI .. is concerned with intelligent behavior in artifacts (Nilsson,1998) “Computational Intelligence is the study of the design of intelligent agents.” (Poole et al., 1998)
  • 11. 11 WhatisArtificialInteligence? Systems that act likehumans Systems that thinkrationally “The study of how to make computers do things at which, at the moment, people are better” (Rich and Knight,1991) “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil,1990) “The study of mental faculties through the use of computational models” (Charniack and McDermott,1985). “The study of the computations that make it possible to perceive, reason, and act.” (Winston, 1992) Systems that think likehumans Systems that actrationally “The automation of activities that we associate with human thinking, such as decision making, problem solving, learning” (Bellman, 1978) “The exciting new effort to make computers think … machines with minds, in the full and literal sense.” (Haugeland,1985) “AI .. is concerned with intelligent behavior in artifacts (Nilsson,1998) “Computational Intelligence is the study of the design of intelligent agents.” (Poole et al., 1998)
  • 13. SystemsthatActLikeHumans TuringTest;theImitationGame… InTuring’s(1950)paper“Computingmachineryandintelligence”: ♦ Canmachinesthink? ≡ (identical to) Canmachinesbehaveintelligently? ♦ Operationaltest for intelligent behavior:the Imitation Game AI SYSTEM HUMAN ? HUMAN INTERROGATOR 13
  • 14. SystemsthatActLikeHumans TuringTest;theImitationGame… • Turing test (1950): Can a human interrogator tell whether (written) responses to her (written) questions come from a human or a machine? • Natural Language Processing-communication • Knowledge Representation-to store information • Automated Reasoning-to draw new conclusions • Machine Learning- to adapt new circumstances and to detect patterns • Total Turing Test (extended to include physical aspects of human behavior): to test subjects perceptual abilities • Computer Vision- To perceive objects • Robotics- to manipulate objects and move about 14 •
  • 15. TotalTuringTest? Butwhydowewantanintelligentsystemtoactlikeahuman? - Because for many tasks, humans are still the Gold Standard. 15
  • 16. TotalTuringTest? BabyX is a project (by Auckland's Bioengineering 16 Institute Laboratory for Animate Technologies) to make a virtual animated baby that learns and reacts like a human baby. It uses the computer's cameras for "seeing" and microphones to "listen" as the inputs. The computer uses AI algorithms for BabyX's "learning" and interpretation of the inputs (voice and image) to understand the situation. The result is a virtual toddler that can learn to read, recognize objects and "understand." The output is the baby's face that can "speak" and express its mood by facial expressions (such as smiling). BabyX!
  • 17. TotalTuringTest? Reinforcement learning ..? It is a machine learning training method based on rewarding desired behaviors and/or punishing undesired ones. 17 Affective Computing ..? it describes computing that is in some way connected to emotion ( a.k.a. emotional artificial intelligence). It is the study and development of systems and devices that can recognize, interpret, process, and simulate human affects (feelings, emotions, or mood. BabyX!
  • 18. The Chinese Room Argument John Rogers Searle (born July 31, 1932) is an Americanphilosopher “Searle's thought experiment begins with this hypothetical premise: suppose that artificial intelligence research has succeeded in constructing a computer that behaves as if it understands Chinese. It takes Chinese characters as input and, by following the instructions of a computer program, produces other Chinese characters, which it presents as output. Suppose, says Searle, that this computer performs its task so convincingly that it comfortably passes the Turing test: it convinces a human Chinese speaker that the program is itself a live Chinese speaker. To all of the questions that the person asks, it makes appropriate responses, such that any Chinese speaker would be convinced that they are talking to another Chinese-speaking human being.” The question Searle wants to answer is this: does the machine literally "understand" Chinese? Or is it merely simulating the ability to understand Chinese? Searle calls the first position "strong AI" and the latter "weak AI". Systemsthat ActLike Humans 18
  • 19. he concludes that "strong AI" is false. The Chinese Room Argument (Continued) Searle then supposes that he is in a closed room and has a book with an English version of the computer program, along with sufficient paper, pencils, erasers, and filing cabinets. Searle could receive Chinese characters through a slot in the door, process them according to the program's instructions, and produce Chinese characters as output. If the computer had passed the Turing test this way, it follows, says Searle, that he would do so as well, simply by running the program manually. Searle asserts that there is no essential difference between the roles of the computer and himself in the experiment. Each simply follows a program, step-by- step, producing a behaviour which is then interpreted as demonstrating intelligent conversation. However, Searle would not be able to understand the conversation. Searle argues that without "understanding" (or "intentionality"), we cannot describe what the machine is doing as "thinking" and since it does not think, it does not have a "mind" in anything like the normal sense of the word. Therefore, SystemsthatActLikeHumans 19
  • 20. If person inside does a great job of answering questions, can we say s/he understands? Even if (s)he is only blindly following rules? (Obviously, the ‘person inside’ is acting like an AIprogram) 20 SystemsthatActLikeHumans The Chinese Room Argument (Continued)
  • 21. The Chinese Room Argument (Continued) Strong vs. Weak AI Hypotheses? -WEAK AI Hypothesis; We can accurately simulate animal / human intelligence in a computer. - STRONG AI Hypothesis; We can create algorithms that are intelligent ( Consciousness ? .. Self-Awareness ? .. Free-will ? ) 21 SystemsthatActLikeHumans Do you remember the robot from the Sonny, 2004 science-fiction / action film "I, Robot"?
  • 22. SystemsthatActLikeHumans 22 Strong Vs. Weak AI .. Where are we? Source: https://www.upwork.com/hiring/for-clients/artificial-intelligence-and-natural-language-processing-in-big-data/
  • 23. 23 Systems that act likehumans Systems that thinkrationally “The study of how to make computers do things at which, at the moment, people are better” (Rich and Knight,1991) “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil,1990) “The study of mental faculties through the use of computational models” (Charniack and McDermott,1985). “The study of the computations that make it possible to perceive, reason, and act.” (Winston, 1992) Systems that think likehumans Systems that actrationally “The automation of activities that we associate with human thinking, such as decision making, problem solving, learning” (Bellman, 1978) “The exciting new effort to make computers think … machines with minds, in the full and literal sense.” (Haugeland,1985) “AI .. is concerned with intelligent behavior in artifacts (Nilsson,1998) “Computational Intelligence is the study of the design of intelligent agents.” (Poole et al., 1998) WhatisArtificialInteligence?
  • 24. • Need to study the brain as an information processing machine, … in other words … • Use Computational Models to Understand the Actual Workings of Human Mind • Devise/Choose a sufficiently precise theory of the mind. • Express it as a computer program. • Check match between program and human behavior (actions and timing) on similar tasks. • Tight connections with Cognitive Science & Neuroscience. • Also known as descriptive approaches toAI. SystemsthatThinkLikeHumans 24
  • 25. 25 Systems that act likehumans Systems that thinkrationally “The study of how to make computers do things at which, at the moment, people are better” (Rich and Knight,1991) “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil,1990) “The study of mental faculties through the use of computational models” (Charniack and McDermott,1985). “The study of the computations that make it possible to perceive, reason, and act.” (Winston, 1992) Systems that think likehumans Systems that actrationally “The automation of activities that we associate with human thinking, such as decision making, problem solving, learning” (Bellman, 1978) “The exciting new effort to make computers think … machines with minds, in the full and literal sense.” (Haugeland,1985) “AI .. is concerned with intelligent behavior in artifacts (Nilsson,1998) “Computational Intelligence is the study of the design of intelligent agents.” (Poole et al., 1998) WhatisArtificialInteligence?
  • 26. Logic: formalize idealized or right thinking, i.e. irrefutable processes. That is; patterns of argument that always reasoning yield correct conclusions when supplied with correct premises: “.. Socrates is a man; all men are mortal; therefore Socrates is mortal.” • Logistic tradition in AI aims to build computational frameworks based on logic, that is, describe a problem in formal logical notation and apply general deduction procedures to solve it. • Then use these frameworks to build intelligent systems. • Some examples are (Propositional Logic) and (Logic Programming). • More advanced logic-based representations: • Semantic Networks. 26 SystemsthatThinkRationaly
  • 27. 27 Main Research Problems / Challenges: • Describing real-world problems and knowledge in logical notation. • Proving Soundness and Completeness of various formalisms. • How to represent often informal and uncertain domain knowledge and formalize it in logic notation (i.e., dealing with Uncertainty). • Computational Complexity of finding a solution. • A lot of “rational” behavior has nothing to do withlogic. • Solving problem in ‘Principle’ and in "Practice” SystemsthatThinkRationaly
  • 28. 28 Systems that act likehumans Systems that thinkrationally “The study of how to make computers do things at which, at the moment, people are better” (Rich and Knight,1991) “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil,1990) “The study of mental faculties through the use of computational models” (Charniack and McDermott,1985). “The study of the computations that make it possible to perceive, reason, and act.” (Winston, 1992) Systems that think likehumans Systems that actrationally “The automation of activities that we associate with human thinking, such as decision making, problem solving, learning” (Bellman, 1978) “The exciting new effort to make computers think … machines with minds, in the full and literal sense.” (Haugeland,1985) “AI .. is concerned with intelligent behavior in artifacts (Nilsson,1998) “Computational Intelligence is the study of the design of intelligent agents.” (Poole et al., 1998) WhatisArtificialInteligence?
  • 29. 29 Why ..? • The “think rationally” approach focuses on correct inference. • But more is needed for rational behavior, e.g. • How to behave when there is no provably correct thing to do (i.e. reasoning under uncertainty). • Fully reactive behavior (instinct vs. reason). SystemsthatActRationaly
  • 30. 30 AIastheStudy&DesignofIntelligentAgents (Poole and Mackworth, 1999) • An intelligent agent is such that: • Its actions are appropriate for its goals and circumstances. • It is flexible to changing environments and goals. • It learns from experience. • It makes appropriate choices given perceptual limitations and limited resources (bounded rationality or bounded optimality). • This definition drops the constraint of cognitive plausibility; • Same as building flying machines by understanding general principles of flying (aerodynamic) vs. by reproducing how birds fly. Thus, a rational agent acts to optimally achieve its goals (does the right thing). The right thing: that which is expected to maximize goal achievement, given the available information.
  • 31. 31 • In AI, artificial agents that have a physical presence in the world are usually known as Robots. • Robotics is the field primarily concerned with the implementation of the physical aspects of a robot (i.e. perception of the physical environment, actions on the environment). • Another class of artificial agents include interface agents, for either stand alone or Web-based applications (e.g. intelligent desktop assistants, recommender systems, intelligent tutoring systems). • Interface agents don’t have to worry about interaction with the physical environment but share all other fundamental components of intelligent behavior with robots. • We will focus on these agents in this course. IntelligentAgents
  • 33. 33 o Post Office - Automatic address recognition, automatic sorting of mail o Banks - Automatic check readers, signature verification systems - Automated loan application classification o Customer Service - Automatic voice recognition, speech recognition, & language recognition o The Web - Identifying your age, gender, location, from your Web surfing o Digital Cameras - Automated face detection and recognition o Computer Games - Intelligent characters/agents o Hospitals & Medical Centers - Automatic Cancer Detection, Automatic Prediction & Grading of Diseases, Mass Screening Systems, etc. IntelligentAgentsintheWorld Samplesof InteligentSystemsinoureverydaylife
  • 34. "A small sample of solutions offered by AI." 34 - Wolfgang Ertel, "Int rodu cti on to A rt if icial Intelligence," 2nd Ed it io n ( 2017)
  • 35. 35 "History of the various AI areas .. The width of the bars indicates prevalence of the method's use.“ - W o l f g a n g E r t e l , " I n t r o d u c t i o n t o A r t i f i c i a l I n t e l l i g e n c e , " 2 n d E d i t i o n ( 2 0 1 7 )
  • 36. Birth of AI (1943-56) • Warren McCulloch & Walter Pitts (1943): ANN with on-off neurons • Neurons triggered by sufficient #neighbors • Showed that any computable function computable with some network like this • Logical connectives implementable this way • Donald Hebb’s 1949 learning rule • Turing & Shannon chess programs, 1950s • SNARC, first ANN computer, Minsky & Edmonds, 1951
  • 37. Birth of AI... • Dartmouth 1956 workshop for 2 months • Term “artificial intelligence” • Fathers of the field introduced • Logic Theorist: program for proving theorems by Alan Newell & Herbert Simon
  • 38. Early enthusiasm (1952-69) • Claims: computers can do X • General Problem Solver, Newell & Simon • Intentionally solved puzzles in a similar way as humans do (order of subgoals, etc) • Geometry Theorem Prover, Herbert Gelernter, 1959 • Arthur Samuel’s learning checkers program 1952 • LISP, time sharing, Advice taker: McCarthy 1958 • Integration, IQ geometry problems, algebra stories • Blocks world: vision, learning, NLP, planning • Adalines [Widrow & Hoff 1960], perceptron convergence theorem [Rosenblatt 1962]
  • 39. A dose of reality (1966-74) • Simple syntactic manipulation did not scale • ELIZA (example rule: if sentence contains “mother”, then say: “tell me more about your family”) • However, sometimes such bots (e.g. Julia) can fool humans • “the spirit is willing but the flesh is weak” -> “the vodka is good but the meat is rotten” • Intractability • Machine evolution did not scale • Perceptrons book with negative result on representation capability of 1-layer ANNs [Minsky & Papert]
  • 40. Knowledge-based systems (1969-79) • DENDRAL: molecule structure identification [Feigenbaum et al.] • Knowledge intensive • Mycin: medical diagnosis [Feigenbaum, Buchanan, Shortliffe] • 450 rules; knowledge from experts; no domain theory • Better than junior doctors • Certainty factors • PROSPECTOR: drilling site choice [Duda et al] • Domain knowledge in NLP • Knowledge representation: logic, frames...
  • 41. AI becomes an industry (1980-88) • R1: first successful commercial expert system, configured computer systems at DEC; saved 40M$/year • 1988: DEC had 40 expert systems, DuPont 100... • 1981: Japan’s 5th generation project • Software tools for expert systems: Carnegie Group, Inference, Intellicorp, Teknowledge • LISP-specific hardware: LISP Machines Inc, TI, Symbolics, Xerox • Industry: few M$ in 1980 -> 2B$ in 1988
  • 42. Return of ANNs (1986-) • Mid-1980s, different research groups reinvented backpropagation (originally from 1969) • Disillusionment on expert systems • Fear of AI winter
  • 43. Recent events (1987-) • Rigorous theorems and experimental work rather than intuition • Real-world applications rather than toy domains • Building on existing work • E.g. speech recognition • Ad hoc, fragile methods in 1970s • Hidden Markov models now • E.g. planning (unified framework helped progress) • Normative system design • Belief networks & probabilistic reasoning • Reinforcement learning • Multiagent systems • Resource-bounded reasoning
  • 44. APPLICATIONS OF AI • Robotic vehicles: A driverless robotic car named STANLEY sped through the rough terrain of the Mojave dessert at 22 mph, finishing the 132-mile course first to win the 2005 DARPA Grand Challenge. STANLEY is a Volkswagen Touareg outfitted with cameras, radar,and laser rangefinders to sense the environment and onboard software to command the steering, braking, and acceleration (Thrun, 2006). The following year CMU’s BOSS won the Urban Challenge, safely driving in traffic through the streets of a closed Air Force base, obeying traffic rules and avoiding pedestrians and other vehicles. • Speech recognition: A traveler calling United Airlines to book a flight can have the entire conversation guided by an automated speech recognition and dialog management system. • Autonomous planning and scheduling: A hundred million miles from Earth, NASA’s Remote Agent program became the first on-board autonomous planning program to control the scheduling of operations for a spacecraft (Jonsson et al., 2000). REMOTE AGENT generated plans from high-level goals specified from the ground and monitored the execution of those plans—detecting, diagnosing, and recovering from problems as they occurred. Successor program MAPGEN (Al-Chang et al., 2004) plans the daily operations for NASA’s Mars Exploration Rovers, and MEXAR2 (Cesta et al., 2007) did mission planning—both logistics and science planning—for the European Space Agency’s Mars Express mission in 2008.
  • 45. APPLICATIONS OF AI • Game playing: IBM’s DEEP BLUE became the first computer program to defeat the world champion in a chess match when it bested Garry Kasparov by a score of 3.5 to 2.5 in an exhibition match (Goodman and Keene, 1997). Kasparov said that he felt a “new kind of intelligence” across the board from him. Newsweek magazine described the match as “The brain’s last stand.” The value of IBM’s stock increased by $18 billion. Human champions studied Kasparov’s loss and were able to draw a few matches in subsequent years, but the most recent human-computer matches have been won convincingly by the computer. • Spam fighting: Each day, learning algorithms classify over a billion messages as spam, saving the recipient from having to waste time deleting what, for many users, could comprise 80% or 90% of all messages, if not classified away by algorithms. Because the spammers are continually updating their tactics, it is difficult for a static programmed approach to keep up, and learning algorithms work best (Sahami et al., 1998; Goodman and Heckerman, 2004). • Robotics: The iRobot Corporation has sold over two million Roomba robotic vacuum cleaners for home use. The company also deploys the more rugged PackBot to Iraq and Afghanistan, where it is used to handle hazardous materials, clear explosives, and identify the location of snipers.
  • 46. APPLICATIONS OF AI • Logistics planning: During the Persian Gulf crisis of 1991, U.S. forces deployed a Dynamic Analysis and Replanning Tool, DART (Cross and Walker, 1994), to do automated logistics planning and scheduling for transportation. This involved up to 50,000 vehicles, cargo, and people at a time, and had to account for starting points, destinations, routes, and conflict resolution among all parameters. The AI planning techniques generated in hours a plan that would have taken weeks with older methods. The Defense Advanced Research Project Agency (DARPA) stated that this single application more than paid back DARPA’s 30-year investment in AI. • Machine Translation: A computer program automatically translates from Arabic to English, allowing an English speaker to see the headline “Ardogan Confirms That Turkey Would Not Accept Any Pressure, Urging Them to Recognize Cyprus.” The program uses a statistical model built from examples of Arabic-to-English translations and from examples of English text totaling two trillion words (Brants et al., 2007). None of the computer scientists on the team speak Arabic, but they do understand statistics and machine learning algorithms.