CS 2 S2 Cluster ACI
CS 2 S2 Cluster ACI
DSE CLZG557
M1 : Introduction to Intelligent Agents
Gokul Kannan S
Guest Faculty,
BITS Pilani BITS - CSIS
Pilani Campus
Course Plan
M1 Introduction to AI
B. Intelligent Agents
C. Task Environment
Rational Agent is one that acts to achieve the best outcome or the best expected
outcome even under uncertainty
Satellite Image Correct image Downlink Color pixel analysis Display of scene
analysis categorization from orbiting categorization
system satellite
Automated Safe, fast, legal, Roads, other Cameras, sonar, Steering wheel,
taxi driver comfortable trip, traffic, speedometer, GPS, accelerator, brake,
maximize profits pedestrians, odometer, signal, horn
customers engine sensors,
keyboard
A rational agent is built to solve a specific task. Each such task would then have a
different environment which we refer to as Task Environment
Based on the applicability of each technique for agent implementation its task
environment design is determined by multiple dimension
Sensor Based:
⮚ Observability : Full Vs Partial
Action Based:
⮚ Dependency : Episodic Vs Sequential
State Based:
⮚ No.of.State : Discrete Vs Continuous
State Based:
⮚ No.of.State : Discrete Vs Continuous
State Based:
⮚ No.of.State : Discrete Vs Continuous
Agent Based:
> Cardinality : Single Vs MultiAgent
Sensor Based:
⮚ Observability : Full Vs Partial
Action Based:
⮚ Dependency : Episodic Vs Sequential
State Based:
⮚ No.of.State : Discrete Vs Continuous
Agent Based:
> Cardinality : Single Vs MultiAgent
Performance APPLY
Element BRAKE
Critic -2
Brake
Change Gear
to Lower
Change Gear Rand
to Higher om Change Gear
Accelerate
to Lower
Steer left
Steer right
Go
al
High Low
er er
Utilit Utilit
y y
Learning :
Supervised Vs Unsupervised Vs Reinforcement
Go
al
High Low
er er
Utilit Utilit
y y
A. Uninformed Search
B. Informed Search
C. Heuristic Functions
Goal based decision making agents which finds sequence of actions that leads to
the desirable stated.
Phases of Solution Search by PSA
Goal
Formulatio
n
Problem
Formulatio
n
Search
Phase
Execution
Phase
BITS Pilani, Pilani Campus
Problem Solving Agents
Goal based decision making agents which finds sequence of actions that leads to
the desirable stated.
Phases of Solution Search by PSA
Goal
Formulatio Optimizes the Objective (Local | Global)
n Limits the Actions
Problem
Formulatio
n
Search
Phase
Execution
Phase
BITS Pilani, Pilani Campus
Problem Solving Agents
Search
Phase
Execution
Phase
Search
Phase
Execution
Phase
Problem
Formulatio
n
Execution
Phase
Abstraction Representation
Decide what actions under states to take to achieve a goal
5
Components
A function that assigns a numeric cost to each path. A path is a series of actions. Each
action is given a cost depending on the problem.
Choosing the current state, testing possible successor function, expanding current
state to generate new state is called Traversal. Choice of which state to expand –
Search Strategy
Uninformed Informed
BFS, DFS, UCS Best First Search
IDS, DLS A*
Bi-Directional AO*
Leaf Nodes
(no children yet)
⮚ Nodes
⮚ States
⮚ Frontier | Fringes
⮚ Search Strategy : LIFO | FIFO | Priority Queue
⮚ Performance Metrics
⮚ Completeness
⮚ Optimality
⮚ Time Complexity
⮚ Space Complexity
⮚ Algorithm Terminology
- d Depth of a node - m – maximum
- b Branching factor - C* - Optimal Cost
- n – nodes - E – least Cost
- l – level of a node - N –total node generated
1
75
70 Initial state=1
125
100 Goal=5
5
125
2
125 2, 3, 4
75
50 50 Check 2: No
5, 3
4 3, 4, 5
3
100
Check 3: No
(1) 4, 5
Check 4: No
5
Check 5: Yes
Instead of expanding the shallowest node, Uniform-Cost search expands the node n
with the lowest path cost g(n)
Frontier: []
1
75
70
125
100
5
125
2
125
75
50 50
3 4
100
(1)
1
75
70
125
100
5
125
2
125
75
50 50
3 4
100
(1)
⮚ Topological Sorting