Artificial Intelligence and Machine Learning
Artificial Intelligence and Machine Learning
goal-based, and
utility-based
agents in AI.
Presented by – Souvik Nayak
STD – BWU/MCA/23/123
Course name – Artificial Intelligence
and Machine Learning
Course Code – MCA301
TABLE OF CONTENTS
2. Goal-based
1. Reflex agents 3. Utility-based
agents agents
Make decisions by
Respond directly to evaluating actions
that help achieve Consider both goals
stimuli using simple
specified goals. and the overall utility
condition-action rules
(or preference) of
without considering
outcomes to make
the environment's
optimal decisions.
history.
Reflex Agents
Definition : Operate based on condition-action rules (e.g., "if-then" statements).
Do not consider the history or future consequences of actions.
Real-World
Key Features Advantages Limitations Examples
Simple and reactive. Efficient in Cannot handle Thermostat adjusting
predictable complex or dynamic temperature based on
environments. environments. room conditions.
Quick decision- Easy to design and Lack memory or Traffic light systems
making based on the implement. planning capability. responding to sensor
current state. inputs.
Goal-Based Agents
Definition : Make decisions by considering how actions help achieve predefined goals.
Use search and planning algorithms to evaluate future states.
01 02 03 04
Real-World
Key Features Advantages Limitations
Examples
Require well- GPS navigation
Actions are guided More flexible than
defined goals. systems calculating
by a specific goal. reflex agents.
Computationally routes to a
Can incorporate Capable of handling
more expensive destination.
history and predict dynamic and
than reflex agents. Chess-playing AI bots
future states. partially observable
environments. aiming to checkmate
opponents.
Utility-Based Agents
Definition : Extend goal-based agents by evaluating utility (desirability) of different states.
Use a utility function to make trade-offs and optimize actions.
Real-World
Key Features Advantages Limitations Examples
● Actions aim to ● Highly adaptive ● Require well- ● Self-driving cars
maximize overall utility. and flexible. designed utility balancing safety,
● Handle multiple ● Provide optimal functions. speed, and fuel
objectives or conflicting solutions efficiency.
● Computationally ● Investment advisors
goals. considering trade- complex due to optimizing portfolios
offs. utility evaluation. based on risk and
return.
Comparison of Agent Types
Aspect Reflex Agents Goal-Based Utility-Based
Agents Agents
Decision Basis Current Achievement of Maximization of
environment state predefined goals utility
Flexibility Low Medium High