Chapter 15 Students
Chapter 15 Students
R 15
Artificial
Intelligence
WHERE DO WE GO
FROM HERE?
Sign up for presentation
Reading Quiz 15 Due 11/24
Thanksgiving – Week 15
Presentations Week 16
Final Exam
70 questions
120 minutes
100 points
LEARNING OBJECTIVES
Descri Describe the two types of artificial
be intelligence
Example:
Recognition tasks recognizing an
individual’s face
Example: planning
Reasoning tasks your major in college
Computational tasks
Typically have algorithmic
solutions
Computers perform faster
than humans
A Computers perform more
DIVISIO accurately than humans
N OF Recognition tasks
Process massive amounts of
LABOR sensory information
Access massive amounts of
past experience
Require approximation
Humans perform much better
than computers
Reasoning tasks
Formal reasoning can be
automated to some extent
Problems become intractable
quickly
Common-sense reasoning
A Requires great experience and
DIVISIO knowledge
N OF
LABOR
KNOWLEDGE
REPRESENTATION
How can we represent
knowledge for the computer?
Natural language
Use requires understanding of the meanings of
words and combinations of words
“Spot is a brown dog” or “Every dog has four
legs”
Formal language: the language of
formal logic
“Spot is a brown dog” becomes dog(Spot) AND
brown(Spot)
“Every dog has four legs” becomes “For every
x, if x is a dog then x has four legs” (∀x) dog(x)
-> four-legged(x)
Requirements of
a representation
Adequacy: must
KNOWLED capture all relevant
GE information
Efficiency: avoid
REPRESEN redundant information
Extendability: easy
TATION to add new knowledge
Appropriate: easy
to use for particular
purpose
Some AI work attempts to mimic the brain
Humans have 86 billion (1012) neurons
A neuron receives electrical stimuli from
other neurons through dendrites
A neuron sends electrical stimuli through
its axon
Ant colonies
Individuals exhibit simple behaviors
Colonies accomplish great things
Finding the shortest path to food
Constructing nests
Current examples
Personalized web search (push technology)
E-commerce site that tailors suggestions to your
interests (recommendation software)
Future applications
Personal travel planner: buys tickets for user
Office manager: screens calls, arranges meetings
Expert system: mimics reasoning in some specific
domain
Knowledge base: knowledge about a domain
Inference engine: rules for reasoning with knowledge
Often use formal language to represent knowledge and
rules for inference
Employ deductive reasoning, e.g., modus ponens
REASONING
TASKS EXPERT
SYSTEMS
Expert system reasoning
Forward chaining
Start with assertions ► look for rules to deduce new assertions
Given assertion A and rule “if A then B” ► deduce B
Backward chaining
Start with a query ► look for rules that could deduce query
Given question “Is B true?” and rule “if A then B” ► try to
determine “Is A true?”
REASONING
TASKS EXPERT
SYSTEMS
Explanation facility
Users can see explanation based on the reasoning
chain
Knowledge engineering
Human system builders must spend time with
experts
Listing and codifying the expert knowledge
REASONING
TASKS EXPERT
SYSTEMS
REASONING
TASKS THE
GAMES WE PLAY
Board games
Many programs use forms
of state-space search
Tic-tac-toe
Small state space
Brute force works to play perfectly
Checkers
Chinook project built and searched
the complete state space
Results can be embedded in a
computer player
Chinook can never be beaten
Quiz games:
Jeopardy!
Watson defeated
Jeopardy!
Champions (2011)
Given a quiz
“answer” and
category:
Applies multiple kinds
of AI agents to search
database (of
information from the
web)
Produces 300-500
candidate answers
Narrows to one answer
REASONING
and evaluates its
certainty in real time
Scoring and
GAMES WE PLAY
WHAT DO YOU THINK?
A robot is a physical device
that takes in sensory data
and makes autonomous
responses
Current robot tasks
ROBOTS
Repetitive or dangerous for
humans
AND
Manufacturing, bomb disposal,
search-and-rescue
Japan is a leader in
humanoid robots
Aging population needs
support
Asimo, by Honda
Designed to walk and
move fluidly and robustly
Can open/close a door to
go through, serve
refreshments, etc.
ASIMO
SOPHIA THE ROBOT
AMICA
Deliberative strategy for robot
control programs
Maintain detailed internal model of the
world
ROBOT
Reason about sensory inputs and
choose best response S AND
Reactive strategy DRONE
Limit/eliminate internal model
React immediately to sensory inputs S
Rapid cycle from inputs to responses to
more inputs
WHAT DO YOU THINK?
Drone
Unmanned Aerial Vehicle (UAV)
Controlled by a human at a remote site
Primarily used by military and law
enforcement
Potential uses
Deliver medical supplies
Monitor dangerous situations, e.g., fires,
floods, etc.
Document wildlife
Document urban traffic
ROBOTS AND
DRONES
SUMMARY
Artificial intelligence programs solve problems in
“intelligent” ways
SUMMARY