Lecture03-AI-UMT-Spring 24
Lecture03-AI-UMT-Spring 24
CS-3151
Instructor: Fasiha Ashraf
Assistant Professor, Department of Computer Science
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
2
Acting humanly: Turing Test
4
Intelligent Agents
• Agents and Environments
• Rationality
• PEAS (Performance measure, Environment, Actuators, Sensors)
• Environment types
• Agent types
5
Agents and Environments
[f: P* A]
• Robotic agent
• Sensors cameras, infrared range finders
• Actuators various motors
• Software agent
• Sensory input receives file contents, network packets, and human input
(keyboard/mouse/touchscreen/voice)
• Actions writing files, sending network packets, and displaying information or generating
sounds
7
Vacuum-cleaner world
8
A vacuum-cleaner agent
function REFLEX-VACUUM-AGENT( [location, status] ) returns an action
if status = Dirty then return Suck
else if location = A then return Right
else if location = B then return Left
9
A vacuum-cleaner agent
Percept sequence Action
[A, Clean] Right
[A, Dirty] Suck function REFLEX-VACUUM-AGENT( [location,
status] ) returns an action
[B, Clean] Left if status = Dirty then return
[B, Dirty] Suck else if location = A then return Right
Suck
else if location = B then return Left
[A, Clean], [A, Clean] Right
[A, Clean], [A, Dirty] Suck
… …
10
Rationality
11
PEAS
12
PEAS
13
Internet Shopping Agent
14
Internet Shopping Agent
15
Environment Types
• Fully observable or partially observable?
• Deterministic or stochastic?
• Episodic or sequential?
• Static or dynamic?
• Discrete or continuous?
• Single-agent or multi-agent?
16
Environment Types
• Fully observable (vs. partially observable): An agent's sensors give it
access to the complete state of the environment at each point in
time.
17
Environment Types
• Episodic (vs. sequential): The agent's experience is divided into atomic
"episodes" (each episode consists of the agent perceiving and then
performing a single action), and the choice of action in each episode
depends only on the episode itself.
18
Environment Types
• Discrete (vs. continuous): A limited number of distinct, clearly defined
percepts and actions.
19
Environment Types
Solitaire Backgammon Internet shopping Taxi
Observable?
Deterministic?
Episodic?
Static?
Discrete?
Single-agent?
The real world is (of course) partially observable, stochastic, sequential, dynamic,
continuous, multi-agent
20
Acknowledgement
• I have taken help for these slides from the work of:
• Book Slides (AIMA, Berkeley)
21