Introduction To Artificial Intelligence: By: Getaneh T
Introduction To Artificial Intelligence: By: Getaneh T
By: Getaneh T.
What is Intelligence?
Intelligence:
the capacity to learn and solve problems
(Websters dictionary)
in particular,
the ability to solve novel problems
the ability to act rationally
the ability to act like humans
Artificial Intelligence
build and understand intelligent entities or agents
2 main approaches: engineering versus
cognitive modeling
Philosophy
Mathematics
Formal representation and proof, algorithms,
computation, (un)decidability, (in)tractability
Probability/Statistics
Economics
Neuroscience
Psychology/
Cognitive Science
Computer
engineering
Linguistics
History of AI
1943: early beginnings
1950: Turing
1956: birth of AI
History of AI
196673: Reality dawns
1995-- AI as Science
HAL
part of the story centers around an intelligent
computer called HAL
HAL is the brains of an intelligent spaceship
in the movie, HAL can
speak easily with the crew
see and understand the emotions of the crew
navigate the ship automatically
diagnose on-board problems
make life-and-death decisions
display emotions
Hal and AI
HALs Legacy: 2001s Computer as Dream and Reality
MIT Press, 1997, David Stork (ed.)
discusses
HAL as an intelligent computer
are the predictions for HAL realizable with AI today?
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 behave like a brain!
3000
2800
Points Ratings
2600
Deep Blue
2400
Deep Thought
2200
2000
1800
Ratings
1600
1400
1200
1966 1971
Conclusion:
1976
1981
1986
1991
1997
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
Conclusion:
NO, for complete sentences
YES, for individual words
(ctd.)
Conclusion:
NO, normal speech is too complex to accurately recognize
YES, for restricted problems (small vocabulary, single speaker)
Conclusion:
mostly NO: computers can only see certain types of objects under
limited circumstances
YES for certain constrained problems (e.g., face recognition)
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
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
Overall:
many components of intelligent systems are doable
there are many interesting research problems remaining
Intelligent Agent
sensors
?
percepts
environment
agent
actuators
actions
e.g., Humans
Sensors:
Eyes (vision), ears (hearing), skin (touch), tongue
(gustation), nose (olfaction), neuromuscular system
(proprioception)
Percepts:
At the lowest level electrical signals
After preprocessing objects in the visual field
(location, textures, colors, ), auditory streams
(pitch, loudness, direction),
Notion of an Artificial
Agent
sensors
?
environment
agent
actuators
laser range
finder
sonars
touch sensors
Notion of an Artificial
Agent
sensors
?
environment
agent
actuators
Percept Sequence
[A, Clean]
[A, Dirty]
[B, Clean]
[B, Dirty]
[A, Clean], [A,
Clean]
[A, Clean], [A, Dirty]
Action
Right
Suck
Left
Suck
Right
Suck
28
Rational Agent
Properties of Environments
Fully Observable/Partially Observable
If an agents sensors give it access to the complete state
of the environment needed to choose an action, the
environment is fully observable.
Such environments are convenient, since the agent is
freed from the task of keeping track of the changes in
the environment.
Deterministic
An environment is deterministic if the next state of the
environment is completely determined by the current
state of the environment and the action of the agent.
In a fully observable and deterministic environment, the
agent need not deal with uncertainty.
Properties of Environments
Static/Dynamic.
A static environment does not change while
the agent is thinking.
The passage of time as an agent deliberates is
irrelevant.
The agent doesnt need to observe the world
during deliberation.
Discrete/Continuous.
If the number of distinct percepts and actions
is limited, the environment is discrete,
otherwise it is continuous.
(2)Model-based agent
architecture
Example: Tracking a
Target
robot
target
Summary: Agents
An agent perceives and acts in an environment, has an
architecture, and is implemented by an agent program.
Task environment PEAS (Performance, Environment,
Actuators, Sensors)
An ideal agent always chooses the action which maximizes its
expected performance, given its percept sequence so far.
An autonomous learning agent uses its own experience rather
than built-in knowledge of the environment by the designer.
An agent program maps from percept to action and updates
internal state.
Reflex agents respond immediately to percepts.
Goal-based agents act in order to achieve their goal(s).
Utility-based agents maximize their own utility function.
Post Office
automatic address recognition and sorting of mail
Banks
automatic check readers, signature verification systems
automated loan application classification
Customer Service
automatic voice recognition
The Web
Identifying your age, gender, location, from your Web surfing
Automated fraud detection
Digital Cameras
Automated face detection and focusing
Computer Games
Intelligent characters/agents
Nonetheless....
commercial systems can do a lot of the work very well (e.g.,restricted
vocabularies in software documentation)
algorithms which combine dictionaries, grammar models, etc.
Recent progress using black-box machine learning techniques
Thinking humanly
Cognitive/Rational/Reasoning Science approach
Try to get inside our minds
E.g., conduct experiments with people to try to reverse-engineer
how we reason, learning, remember, predict
Problems
Machines dont behave rationally
e.g., insurance
The reverse engineering is very hard to do
The brains hardware is very different to a computer program
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
Decision theory/Economics
Set of future states of the world
Set 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
AI Applications
improvements in hardware and algorithms => AI applications in industry,
finance, medicine, and science.