artificial_intelligence.ppt
TRANSCRIPT
-
8/11/2019 Artificial_Intelligence.ppt
1/55
-
8/11/2019 Artificial_Intelligence.ppt
2/55
Whatis Intelligence???
Intelligence is the ability to learn
about, to learn from, to understandabout, and interact with ones
environment.
Intelligence is the faculty of
understanding
Intelligence is not to make no mistakes but
quickly to understand how to make them good
German Poet)
-
8/11/2019 Artificial_Intelligence.ppt
3/55
What Is Artificial Intelligence???
Artificial Intelligence (AI) is
usually defined as the science
of making computers do
things that require
intelligence when done by
humans.
A.I is the study of ideas that
enable computers to be
intelligent
-
8/11/2019 Artificial_Intelligence.ppt
4/55
How Does AI Works??
Artificial intelligence works
with the help of
Artificial Neurons
(Artificial NeuralNetwork)
And
Scientific theorems(If-
Then Statements, Logics)
-
8/11/2019 Artificial_Intelligence.ppt
5/55
What is NeuralNetworking??
Artificial neural networks are
composed of interconnecting
artificial neurons (programming
constructs that mimic the
properties of biological neurons).
-
8/11/2019 Artificial_Intelligence.ppt
6/55
Sec 2: ANN 6
Dendrites: Accepts Inputs
Soma: Processes the Inputs
Axon: Turns the processed inputs intooutputs
Synapses: The electrochemical contact
between neurons
-
8/11/2019 Artificial_Intelligence.ppt
7/55
Sec 2: ANN 7
An Artificial Neuron
W
1
W2W
3
Wn
W0
f
X1
X2
X3
Xn
Axons Synapses Dendrites Body
(Soma)Axon
Bias
Output (y)
-
8/11/2019 Artificial_Intelligence.ppt
8/55
Turing Test
The Turing testis a test of a machine's
ability to demonstrate intelligence
Imitation Game Test!!!!
-
8/11/2019 Artificial_Intelligence.ppt
9/55
Chinese Room TestA Counter Argument to Turing Test
-
8/11/2019 Artificial_Intelligence.ppt
10/55
Intelligent agents
10/8/2014 10
Actions
Agent
Sensors
Actuators
?
Env
ironment
Percepts
-
8/11/2019 Artificial_Intelligence.ppt
11/55
Examples Of Artificial Intelligence
Expert Systems!!
An expert system is a computer program that is designed tohold the accumulated knowledge of one or more domain
experts
It reasons with knowledge of some specialist subject with aview to solving problems or giving advice
They are tested by being placed in the same real world
problem solving situation
-
8/11/2019 Artificial_Intelligence.ppt
12/55
Applications of Expert Systems
PROSPECTOR:
Used by geologists to identify
sites for drilling or mining
PUFF:
Medical system
for diagnosis of respiratory
conditions
-
8/11/2019 Artificial_Intelligence.ppt
13/55
Applications of Expert Systems
LITHIAN: Gives advice to
archaeologists examining stone
tools
DENDRAL: Used to identify thestructure of chemical
compounds. First used in 1965
-
8/11/2019 Artificial_Intelligence.ppt
14/55
Machine Learning!
Machine learning is a scientific discipline concerned with
the design and development of algorithms that allow
machines to mimic human intelligence.
-
8/11/2019 Artificial_Intelligence.ppt
15/55
There are Three ways that A.I learns
Failure Driven Learning
Learning by being Told
Learning by Exploration
-
8/11/2019 Artificial_Intelligence.ppt
16/55
Resemblance To Human Mind....
The special ability of artificial intelligence is to reach asolution based on facts rather than on a preset series of steps
is what most closely resembles the thinking function of the
human brain
-
8/11/2019 Artificial_Intelligence.ppt
17/55
Human Intelligence VS Artificial Intelligence
-
8/11/2019 Artificial_Intelligence.ppt
18/55
Human Intelligence VS Artificial Intelligence
Human Intelligence
Intuition, Common sense,
Judgement, Creativity,
Beliefs etc The ability to demonstrate
their intelligence by
communicating effectively
Plausible Reasoning andCritical thinking
Artificial Intelligence
Ability to simulate human
behavior and cognitive
processes Capture and preserve human
expertise
Fast Response. The abilityto comprehend largeamounts of data quickly.
Pros
-
8/11/2019 Artificial_Intelligence.ppt
19/55
Humans are fallible
They have limited
knowledge bases Information processing of
serial nature proceed very
slowly in the brain as
compared to computers Humans are unable to retain
large amounts of data in
memory.
No common sense
Cannot readily deal with
mixed knowledge May have high development
costs
Raise legal and ethical
concerns
Human Intelligence VS Artificial Intelligence
Human Intelligence Artificial Intelligence
Cons
-
8/11/2019 Artificial_Intelligence.ppt
20/55
Human Intelligence VS Artificial Intelligence
We achieve more than we know. We know more than we understand.
We understand more than we can explain (Claude Bernard, 19th C
French scientific philosopher)
-
8/11/2019 Artificial_Intelligence.ppt
21/55
Artificial Intelligence
AI software uses the
techniques of search and
pattern matching Programmers design AI
software to give the
computer only the problem,
not the steps necessary to
solve it
Conventional Computing
Conventional computer
software follow a logical
series of steps to reach aconclusion
Computer programmers
originally designed software
that accomplished tasks by
completing algorithms
Artificial Intelligence VS Conventional Computing
-
8/11/2019 Artificial_Intelligence.ppt
22/55
Psychology And Artificial intelligence
The functionalist approach of AI views the mind as a representational
system and psychology as the study of the various computational
processes whereby mental representations are constructed, organized,
and interpreted.(Margaret Boden's essays written between 1982 and 1988)
-
8/11/2019 Artificial_Intelligence.ppt
23/55
Artificial intelligence & Our society
Why we need AI??
To supplement natural intelligence for e.g we are building
intelligence in an object so that it can do what we want it to do, as for
example-- robots, thus reducing human labour and reducing human
mistakes
-
8/11/2019 Artificial_Intelligence.ppt
24/55
Goals in AI
To build systems that exhibits intelligent
human behavior
To understand intelligence in order tomodel it
-
8/11/2019 Artificial_Intelligence.ppt
25/55
Academic Disciplines relevant to AI Philosophy Logic, methods of reasoning, mind as physical
system, foundations of learning, language,
rationality.
Mathematics Formal representation and proof, algorithms,
computation, (un)decidability, (in)tractability
Probability/Statistics modeling uncertainty, learning from data
Economics utility, decision theory, rational economic agents
Neuroscience neurons as information processing units.
Psychology/ how do people behave, perceive, process cognitive
Cognitive Science information, represent knowledge.
Computer building fast computers
engineering
Control theory design systems that maximize an objective
function over time
Linguistics knowledge representation, grammars
-
8/11/2019 Artificial_Intelligence.ppt
26/55
Can we build hardware as complex as the brain?
How complicated is our brain?
a neuron, or nerve cell, is the basic information processing unit estimated to be on the order of 10 12 neurons in a human brain
many more synapses (10 14) connecting these neurons
cycle time: 10 -3 seconds (1 millisecond)
How complex can we make computers?
108or more transistors per CPU
supercomputer: hundreds of CPUs, 1012bits of RAM
cycle times: order of 10 - 9 seconds
-
8/11/2019 Artificial_Intelligence.ppt
27/55
Conclusion
YES: in the near future we can have computers with as many basic
processing elements as our brain, but with:far fewer interconnections (wires or synapses) than the brain
much faster updates than the brain
but building hardware is very different from making a computer behavelike a brain!
-
8/11/2019 Artificial_Intelligence.ppt
28/55
Can Computers Talk?
This is known as speech synthesis
translate text to phonetic form
e.g., fictitious -> fik-tish-es
use pronunciation rules to map phonemes to actual sound
e.g., tish -> sequence of basic audio sounds
Difficulties sounds made by this lookup approach sound unnatural
sounds are not independent
e.g., act and action
modern systems (e.g., at AT&T) can handle this pretty well
a harder problem is emphasis, emotion, etc
humans understand what they are saying
machines dont: so they sound unnatural
-
8/11/2019 Artificial_Intelligence.ppt
29/55
Conclusion:
NO,for complete sentences
YES, for individual words
-
8/11/2019 Artificial_Intelligence.ppt
30/55
Can Computers Recognize
Speech? Speech Recognition:
mapping sounds from a microphone into a list
of wordsclassic problem in AI, very difficult
Lets talk about how to wreck a nice beach
(I really said ________________________)
-
8/11/2019 Artificial_Intelligence.ppt
31/55
Recognizing single words from a small
vocabulary
systems can do this with high accuracy (order of99%)
e.g., directory inquiries
limited vocabulary (area codes, city names)
computer tries to recognize you first, if unsuccessful handsyou over to a human operator
saves millions of dollars a year for the phone companies
Can Computers Recognize
Speech?
-
8/11/2019 Artificial_Intelligence.ppt
32/55
Recognizing human speech
Recognizing normal speech is much more
difficultspeech is continuous: where are the boundaries
between words?
e.g., Johns car has a flat tirelarge vocabularies
can be many thousands of possible words
we can use context to help figure out what someone
said e.g., hypothesize and test
try telling a waiter in a restaurant:
I would like some dream and sugar in my coffee
-
8/11/2019 Artificial_Intelligence.ppt
33/55
background noise, other speakers, accents,
colds, etc
on normal speech, modern systems are only
about 60-70% accurate
Conclusion:
NO, normal speech is too complex to accurately
recognize
YES, for restricted problems (small vocabulary,
single speaker)
-
8/11/2019 Artificial_Intelligence.ppt
34/55
Can Computers Understand
speech? Understanding is different to recognition:
Time flies like an arrow
assume the computer can recognize all the words how many different interpretations are there?
-
8/11/2019 Artificial_Intelligence.ppt
35/55
Can Computers Understand
speech? Understanding is different to recognition:
Time flies like an arrow
assume the computer can recognize all the words how many different interpretations are there?
1. time passes quickly like an arrow?
2. command: time the flies the way an arrow times the
flies 3. command: only time those flies which are like an arrow
4. time-flies are fond of arrows
-
8/11/2019 Artificial_Intelligence.ppt
36/55
Can Computers Understand Speech?
Understanding is different to recognition:
Time flies like an arrow
assume the computer can recognize all the words
how many different interpretations are there?
1. time passes quickly like an arrow? 2. command: time the flies the way an arrow times the
flies
3. command: only time those flies which are like an arrow
4. time-flies are fond of arrows
only 1. makes any sense,
but how could a computer figure this out?
clearly humans use a lot of implicit commonsense
knowledge in communication
-
8/11/2019 Artificial_Intelligence.ppt
37/55
Conclusion: NO, much of what we say is
beyond the capabilities of a computer to
understand at present
Can Computers Learn and Adapt ?
-
8/11/2019 Artificial_Intelligence.ppt
38/55
Can Computers Learn and Adapt ?
Learning and Adaptation
consider a computer learning to drive on the
freeway
we could teach it lots of rules about what to do
or we could let it drive and steer it back oncourse when it heads for the embankment
systems like this are under development (e.g.,
Daimler Benz)
e.g., RALPH at CMU
in mid 90s it drove 98% of the way from Pittsburgh to
San Diego without any human assistance
-
8/11/2019 Artificial_Intelligence.ppt
39/55
Can Computers Learn and Adapt ?
machine learning allows computers to learn to
do things without explicit programming
many successful applications: requires some set-up: does not mean your PC can
learn to forecast the stock market or become a brain
surgeon
Conclusion: YES, computers can learn and
adapt, when presented with information in
the appropriate way
-
8/11/2019 Artificial_Intelligence.ppt
40/55
Recognition v. Understanding (like Speech)
Recognition and Understanding of Objects in a
scene
look around this room
you can effortlessly recognize objects human brain can map 2d visual image to 3d map
Why is visual recognition a hard problem?
Can Computers see?
-
8/11/2019 Artificial_Intelligence.ppt
41/55
Can computers plan and make optimal decisions?
Intelligence
involves solving problems and making decisions and plans
e.g., you want to take a holiday in Brazil
you need to decide on dates, flights
you need to get to the airport, etc
involves a sequence of decisions, plans, and actions
What makes planning hard?
the world is not predictable:
your flight is canceled or theres a backup on the 405
there are a potentially huge number of details
do you consider all flights? all dates?
no: commonsense constrains your solutions
AI systems are only successful in constrained planning problems
-
8/11/2019 Artificial_Intelligence.ppt
42/55
Conclusion:
NO, real-world planning and decision-making is still
beyond the capabilities of modern computers
exception: very well-defined, constrained problems
Summary of State of AI Systems in
-
8/11/2019 Artificial_Intelligence.ppt
43/55
Summary of State of AI Systems in
Practice Speech synthesis, recognition and understanding
very useful for limited vocabulary applications
unconstrained speech understanding is still too hard
Computer vision
works for constrained problems (hand-written zip-codes)
understanding real-world, natural scenes is still too hard Learning
adaptive systems are used in many applications: have their limits
Planning and Reasoning
only works for constrained problems: e.g., chess
real-world is too complex for general systems
Overall:
many components of intelligent systems are doable
there are many interesting research problems remaining
-
8/11/2019 Artificial_Intelligence.ppt
44/55
pp cat ons: ac ne
-
8/11/2019 Artificial_Intelligence.ppt
45/55
pp cat ons: ac neTranslation
Language problems in international business
e.g., at a meeting of Japanese, Korean, Vietnamese and Swedish investors, no common language
or: you are shipping your software manuals to 127 countries
solution; hire translators to translate
would be much cheaper if a machine could do this
How hard is automated translation
very difficult! e.g., English to Russian
The spirit is willing but the flesh is weak (English) the vodka is good but the meat is rotten (Russian)
not only must the words be translated, but their meaning also!
is this problem AI-complete?
Nonetheless....
commercial systems can do a lot of the work very well (e.g.,restricted vocabularies in softwaredocumentation)
algorithms which combine dictionaries, grammar models, etc.
Recent progress using black-box machine learning techniques
-
8/11/2019 Artificial_Intelligence.ppt
46/55
AI and Web Search
Wh i l d i I lli ?
-
8/11/2019 Artificial_Intelligence.ppt
47/55
Whats involved in Intelligence?
(again) Perceiving, recognizing, understanding the
real world
Reasoning and planning about the externalworld
Learning and adaptation
So what general principles should we use to
achieve these goals?
Different Types of Artificial
-
8/11/2019 Artificial_Intelligence.ppt
48/55
Different Types of Artificial
Intelligence
1.Modeling exactly how humans actuallythink
2.Modeling exactly how humans actually act
3.Modeling how ideal agents should think4.Modeling how ideal agents should act
Modern AI focuses on the last definition
we will also focus on this engineeringapproach
success is judged by how well the agent
performs
-
8/11/2019 Artificial_Intelligence.ppt
49/55
Acting humanly: Turing test Turing (1950) "Computing machinery and intelligence
"Can machines think?""Can machines behave intelligently?
Operational test for intelligent behavior: the Imitation Game
Suggests major components required for AI:
- knowledge representation
- reasoning,
- language/image understanding,
- learning
* Question: is it important that an intelligent system act like a human?
Thi ki h l
-
8/11/2019 Artificial_Intelligence.ppt
50/55
Thinking humanly Cognitive Science approach
Try to get inside our mindsE.g., conduct experiments with people to try to
reverse-engineer how we reason, learning,
remember, predict
Problems
Humans dont behave rationally
e.g., insurance
The reverse engineering is very hard to do
The brains hardware is very different to a
computer program
-
8/11/2019 Artificial_Intelligence.ppt
51/55
Thinking rationally Represent facts about the world via logic
Use logical inference as a basis for reasoning about these
facts
Can be a very useful approach to AI
E.g., theorem-provers
Limitations
Does not account for an agents uncertainty
about the world
E.g., difficult to couple to vision or speech systems
Has no way to represent goals, costs, etc
(important aspects of real-world environments)
Acting rationally
-
8/11/2019 Artificial_Intelligence.ppt
52/55
Acting rationally
Decision theory/Economics
Set of future states of the worldSet of possible actions an agent can take
Utility = gain to an agent for each action/state
pair
An agent acts rationally if it selects the action
that maximizes its utility
Or expected utility if there is uncertainty
-
8/11/2019 Artificial_Intelligence.ppt
53/55
Emphasis is on autonomous agents that
behave rationally (make the best
predictions, take the best actions)on average over time
within computational limitations (bounded
rationality)
-
8/11/2019 Artificial_Intelligence.ppt
54/55
Areas of AI
Expert systems (machine language)
Natural Languages
(language and speech systems)
Simulation of Human Sensory (vision
systems)
Robotics
-
8/11/2019 Artificial_Intelligence.ppt
55/55
Robotics