You are on page 1of 68

Lecture overview

What is artificial intelligence?


Agents acting in an environment
Learning objectives: at the end of the class, you should be able to
describe what an intelligent agent is
identify the goals of Artificial Intelligence
classify the inputs and the outputs of various agents

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 1 1 / 15
What is artificial intelligence?

Artificial intelligence is the synthesis and analysis of


computational agents that act intelligently.

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 2 2 / 15
What is artificial intelligence?

Artificial intelligence is the synthesis and analysis of


computational agents that act intelligently.
An agent is something that acts in an environment.

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 3 2 / 15
What is artificial intelligence?

Artificial intelligence is the synthesis and analysis of


computational agents that act intelligently.
An agent is something that acts in an environment.
An agent acts intelligently if:
I its actions are appropriate for its goals and circumstances

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 4 2 / 15
What is artificial intelligence?

Artificial intelligence is the synthesis and analysis of


computational agents that act intelligently.
An agent is something that acts in an environment.
An agent acts intelligently if:
I its actions are appropriate for its goals and circumstances
I it is flexible to changing environments and goals

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 5 2 / 15
What is artificial intelligence?

Artificial intelligence is the synthesis and analysis of


computational agents that act intelligently.
An agent is something that acts in an environment.
An agent acts intelligently if:
I its actions are appropriate for its goals and circumstances
I it is flexible to changing environments and goals
I it learns from experience

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 6 2 / 15
What is artificial intelligence?

Artificial intelligence is the synthesis and analysis of


computational agents that act intelligently.
An agent is something that acts in an environment.
An agent acts intelligently if:
I its actions are appropriate for its goals and circumstances
I it is flexible to changing environments and goals
I it learns from experience
I it makes appropriate choices given perceptual and
computational limitations

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 7 2 / 15
Examples of agents

Organisations Microsoft, Al Qaeda, Government of Canada,


UBC, CS Dept,...

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 8 3 / 15
Examples of agents

Organisations Microsoft, Al Qaeda, Government of Canada,


UBC, CS Dept,...
People teacher, physician, stock trader, engineer, researcher,
travel agent, farmer, waiter...

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 9 3 / 15
Examples of agents

Organisations Microsoft, Al Qaeda, Government of Canada,


UBC, CS Dept,...
People teacher, physician, stock trader, engineer, researcher,
travel agent, farmer, waiter...
Computers/devices thermostat, user interface, airplane
controller, network controller, game, advising system, tutoring
system, diagnostic assistant, robot, Google car, Mars rover...

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 10 3 / 15
Examples of agents

Organisations Microsoft, Al Qaeda, Government of Canada,


UBC, CS Dept,...
People teacher, physician, stock trader, engineer, researcher,
travel agent, farmer, waiter...
Computers/devices thermostat, user interface, airplane
controller, network controller, game, advising system, tutoring
system, diagnostic assistant, robot, Google car, Mars rover...
Animals dog, mouse, bird, insect, worm, bacterium, bacteria...

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 11 3 / 15
Examples of agents

Organisations Microsoft, Al Qaeda, Government of Canada,


UBC, CS Dept,...
People teacher, physician, stock trader, engineer, researcher,
travel agent, farmer, waiter...
Computers/devices thermostat, user interface, airplane
controller, network controller, game, advising system, tutoring
system, diagnostic assistant, robot, Google car, Mars rover...
Animals dog, mouse, bird, insect, worm, bacterium, bacteria...
book(?), sentence(?), word(?), letter(?)

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 12 3 / 15
Examples of agents

Organisations Microsoft, Al Qaeda, Government of Canada,


UBC, CS Dept,...
People teacher, physician, stock trader, engineer, researcher,
travel agent, farmer, waiter...
Computers/devices thermostat, user interface, airplane
controller, network controller, game, advising system, tutoring
system, diagnostic assistant, robot, Google car, Mars rover...
Animals dog, mouse, bird, insect, worm, bacterium, bacteria...
book(?), sentence(?), word(?), letter(?)
Can a book or article do things?

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 13 3 / 15
Examples of agents

Organisations Microsoft, Al Qaeda, Government of Canada,


UBC, CS Dept,...
People teacher, physician, stock trader, engineer, researcher,
travel agent, farmer, waiter...
Computers/devices thermostat, user interface, airplane
controller, network controller, game, advising system, tutoring
system, diagnostic assistant, robot, Google car, Mars rover...
Animals dog, mouse, bird, insect, worm, bacterium, bacteria...
book(?), sentence(?), word(?), letter(?)
Can a book or article do things?
Convince? Argue? Inspire? Cause people to act differently?

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 14 3 / 15
Goals of artificial intelligence

Scientific goal: to understand the principles that make


intelligent behavior possible in natural or artificial systems.

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 15 4 / 15
Goals of artificial intelligence

Scientific goal: to understand the principles that make


intelligent behavior possible in natural or artificial systems.
I analyze natural and artificial agents

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 16 4 / 15
Goals of artificial intelligence

Scientific goal: to understand the principles that make


intelligent behavior possible in natural or artificial systems.
I analyze natural and artificial agents
I formulate and test hypotheses about what it takes to construct
intelligent agents

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 17 4 / 15
Goals of artificial intelligence

Scientific goal: to understand the principles that make


intelligent behavior possible in natural or artificial systems.
I analyze natural and artificial agents
I formulate and test hypotheses about what it takes to construct
intelligent agents
I design, build, and experiment with computational systems that
perform tasks that require intelligence

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 18 4 / 15
Goals of artificial intelligence

Scientific goal: to understand the principles that make


intelligent behavior possible in natural or artificial systems.
I analyze natural and artificial agents
I formulate and test hypotheses about what it takes to construct
intelligent agents
I design, build, and experiment with computational systems that
perform tasks that require intelligence
Engineering goal: design useful, intelligent artifacts.

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 19 4 / 15
Goals of artificial intelligence

Scientific goal: to understand the principles that make


intelligent behavior possible in natural or artificial systems.
I analyze natural and artificial agents
I formulate and test hypotheses about what it takes to construct
intelligent agents
I design, build, and experiment with computational systems that
perform tasks that require intelligence
Engineering goal: design useful, intelligent artifacts.
Analogy between studying flying machines and thinking
machines.

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 20 4 / 15
Agents acting in an environment: inputs and output

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 21 5 / 15
Agents acting in an environment: inputs and output

Abilities

Goals/Preferences

Prior Knowledge Agent

Stimuli
Actions
Past Experiences

Environment

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 22 5 / 15
Inputs to an agent

Abilities — the set of possible actions it can perform


Goals/Preferences — what it wants, its desires, its values,...
Prior Knowledge — what it comes into being knowing, what
it doesn’t get from experience,...
History of stimuli
I (current) stimuli — what it receives from environment now
(observations, percepts)
I past experiences — what it has received in the past

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 23 6 / 15
Example agent: autonomous car

abilities:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 24 7 / 15
Example agent: autonomous car

abilities: steer, accelerate, brake

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 25 7 / 15
Example agent: autonomous car

abilities: steer, accelerate, brake


goals:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 26 7 / 15
Example agent: autonomous car

abilities: steer, accelerate, brake


goals: safety, get to destination, timeliness . . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 27 7 / 15
Example agent: autonomous car

abilities: steer, accelerate, brake


goals: safety, get to destination, timeliness . . .
prior knowledge:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 28 7 / 15
Example agent: autonomous car

abilities: steer, accelerate, brake


goals: safety, get to destination, timeliness . . .
prior knowledge: street maps, what signs mean, what to stop
for . . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 29 7 / 15
Example agent: autonomous car

abilities: steer, accelerate, brake


goals: safety, get to destination, timeliness . . .
prior knowledge: street maps, what signs mean, what to stop
for . . .
stimuli:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 30 7 / 15
Example agent: autonomous car

abilities: steer, accelerate, brake


goals: safety, get to destination, timeliness . . .
prior knowledge: street maps, what signs mean, what to stop
for . . .
stimuli: vision, laser, GPS, voice commands . . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 31 7 / 15
Example agent: autonomous car

abilities: steer, accelerate, brake


goals: safety, get to destination, timeliness . . .
prior knowledge: street maps, what signs mean, what to stop
for . . .
stimuli: vision, laser, GPS, voice commands . . .
past experiences:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 32 7 / 15
Example agent: autonomous car

abilities: steer, accelerate, brake


goals: safety, get to destination, timeliness . . .
prior knowledge: street maps, what signs mean, what to stop
for . . .
stimuli: vision, laser, GPS, voice commands . . .
past experiences: how breaking and steering affects direction
and speed. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 33 7 / 15
Example agent: robot

abilities:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 34 8 / 15
Example agent: robot

abilities: movement, grippers, speech, facial expressions,. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 35 8 / 15
Example agent: robot

abilities: movement, grippers, speech, facial expressions,. . .


goals:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 36 8 / 15
Example agent: robot

abilities: movement, grippers, speech, facial expressions,. . .


goals: deliver food, rescue people, score goals, explore,. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 37 8 / 15
Example agent: robot

abilities: movement, grippers, speech, facial expressions,. . .


goals: deliver food, rescue people, score goals, explore,. . .
prior knowledge:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 38 8 / 15
Example agent: robot

abilities: movement, grippers, speech, facial expressions,. . .


goals: deliver food, rescue people, score goals, explore,. . .
prior knowledge: what is important feature, categories of
objects, what a sensor tell us,. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 39 8 / 15
Example agent: robot

abilities: movement, grippers, speech, facial expressions,. . .


goals: deliver food, rescue people, score goals, explore,. . .
prior knowledge: what is important feature, categories of
objects, what a sensor tell us,. . .
stimuli:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 40 8 / 15
Example agent: robot

abilities: movement, grippers, speech, facial expressions,. . .


goals: deliver food, rescue people, score goals, explore,. . .
prior knowledge: what is important feature, categories of
objects, what a sensor tell us,. . .
stimuli: vision, sonar, sound, speech recognition, gesture
recognition,. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 41 8 / 15
Example agent: robot

abilities: movement, grippers, speech, facial expressions,. . .


goals: deliver food, rescue people, score goals, explore,. . .
prior knowledge: what is important feature, categories of
objects, what a sensor tell us,. . .
stimuli: vision, sonar, sound, speech recognition, gesture
recognition,. . .
past experiences:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 42 8 / 15
Example agent: robot

abilities: movement, grippers, speech, facial expressions,. . .


goals: deliver food, rescue people, score goals, explore,. . .
prior knowledge: what is important feature, categories of
objects, what a sensor tell us,. . .
stimuli: vision, sonar, sound, speech recognition, gesture
recognition,. . .
past experiences: effect of steering, slipperiness, how people
move,. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 43 8 / 15
Example agent: teacher

abilities:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 44 9 / 15
Example agent: teacher

abilities: present new concept, drill, give test, explain


concept,. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 45 9 / 15
Example agent: teacher

abilities: present new concept, drill, give test, explain


concept,. . .
goals:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 46 9 / 15
Example agent: teacher

abilities: present new concept, drill, give test, explain


concept,. . .
goals: particular knowledge, skills, inquisitiveness, social
skills,. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 47 9 / 15
Example agent: teacher

abilities: present new concept, drill, give test, explain


concept,. . .
goals: particular knowledge, skills, inquisitiveness, social
skills,. . .
prior knowledge:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 48 9 / 15
Example agent: teacher

abilities: present new concept, drill, give test, explain


concept,. . .
goals: particular knowledge, skills, inquisitiveness, social
skills,. . .
prior knowledge: subject material, teaching strategies,. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 49 9 / 15
Example agent: teacher

abilities: present new concept, drill, give test, explain


concept,. . .
goals: particular knowledge, skills, inquisitiveness, social
skills,. . .
prior knowledge: subject material, teaching strategies,. . .
stimuli:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 50 9 / 15
Example agent: teacher

abilities: present new concept, drill, give test, explain


concept,. . .
goals: particular knowledge, skills, inquisitiveness, social
skills,. . .
prior knowledge: subject material, teaching strategies,. . .
stimuli: test results, facial expressions, errors, focus,. . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 51 9 / 15
Example agent: teacher

abilities: present new concept, drill, give test, explain


concept,. . .
goals: particular knowledge, skills, inquisitiveness, social
skills,. . .
prior knowledge: subject material, teaching strategies,. . .
stimuli: test results, facial expressions, errors, focus,. . .
past experiences:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 52 9 / 15
Example agent: teacher

abilities: present new concept, drill, give test, explain


concept,. . .
goals: particular knowledge, skills, inquisitiveness, social
skills,. . .
prior knowledge: subject material, teaching strategies,. . .
stimuli: test results, facial expressions, errors, focus,. . .
past experiences: prior test results, effects of teaching
strategies, . . .

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 53 9 / 15
Example agent: thermostat for heater

abilities:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 54 10 / 15
Example agent: thermostat for heater

abilities: turn heater on or off

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 55 10 / 15
Example agent: thermostat for heater

abilities: turn heater on or off


goals:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 56 10 / 15
Example agent: thermostat for heater

abilities: turn heater on or off


goals: conformable temperature, save fuel, save money

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 57 10 / 15
Example agent: thermostat for heater

abilities: turn heater on or off


goals: conformable temperature, save fuel, save money
prior knowledge:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 58 10 / 15
Example agent: thermostat for heater

abilities: turn heater on or off


goals: conformable temperature, save fuel, save money
prior knowledge: 24 hour cycle, weekends

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 59 10 / 15
Example agent: thermostat for heater

abilities: turn heater on or off


goals: conformable temperature, save fuel, save money
prior knowledge: 24 hour cycle, weekends
stimuli:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 60 10 / 15
Example agent: thermostat for heater

abilities: turn heater on or off


goals: conformable temperature, save fuel, save money
prior knowledge: 24 hour cycle, weekends
stimuli: temperature, set temperature, who is home, outside
temperature

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 61 10 / 15
Example agent: thermostat for heater

abilities: turn heater on or off


goals: conformable temperature, save fuel, save money
prior knowledge: 24 hour cycle, weekends
stimuli: temperature, set temperature, who is home, outside
temperature
past experiences:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 62 10 / 15
Example agent: thermostat for heater

abilities: turn heater on or off


goals: conformable temperature, save fuel, save money
prior knowledge: 24 hour cycle, weekends
stimuli: temperature, set temperature, who is home, outside
temperature
past experiences: when people come and go, who likes what
temperature

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 63 10 / 15
Example agent: medical doctor

abilities:
goals:
prior knowledge:
stimuli:
past experiences:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 64 11 / 15
Example agent: Apple Inc.

abilities:
goals:
prior knowledge:
stimuli:
past experiences:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 65 12 / 15
Other Agents

user interface
bee
smart home
...

abilities:
goals:
prior knowledge:
stimuli:
past experiences:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 66 13 / 15
Example agent:

abilities:
goals:
prior knowledge:
stimuli:
past experiences:

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 67 14 / 15
Agents acting in an environment

Abilities

Goals/Preferences

Prior Knowledge Agent

Stimuli
Actions
Past Experiences

Environment

D.
c Poole and A. Mackworth 2017 Artificial Intelligence, Lecture 1.1, Page 68 15 / 15

You might also like