Agent Types and Problem Formulation
Agent Types and Problem Formulation
Introduction to AI
Introduction to AI
1. Definition Of AI: The field of artificial intelligence, or AI, is
concerned with not just understanding but also building
intelligent entities—machines that can compute how to act
effectively and safely in a wide variety of novel situations
2. The subject matter itself also varies:
some consider intelligence to be a property of internal thought
processes and reasoning, while others focus on intelligent behavior,
an external characterization.
Introduction to AI
1. Definition Of AI: The field of artificial intelligence, or AI, is
concerned with not just understanding but also building
intelligent entities—machines that can compute how to act
effectively and safely in a wide variety of novel situations
2. Example Systems
3. AI Problems
4. AI Techniques
5. Problem Solving By Searching
What is AI?
It is concerned with the design of intelligence in an artificial device.
What is intelligence?
-Behaves as Intelligently as a human
-Behave in the best possible manner
-Thinking?
- Acting?
https://www.ques10.com/p/30186/what-are-the-components-of-ai/
Thought
/Reasoning
Behaviour
Turing Test
These things are examples of some of the things that we want our AI
systems
to solve the problem.
What AI can do today?
Deep Blue:The cover depicts the final position from the decisive game 6 of the 1997 chess
match in which the program Deep Blue defeated Garry Kasparov (playing Black), making
this the first time a computer had beaten a world champion in a chess match
Four types of artificial intelligence
• Type 1: Reactive machines. These AI systems have no memory and are task
specific. An example is Deep Blue, the IBM chess program that beat Garry
Kasparov in the 1990s. Deep Blue can identify pieces on the chessboard and
make predictions, but because it has no memory, it cannot use past experiences to
inform future ones.
• Type 2: Limited memory. These AI systems have memory, so they can use past
experiences to inform future decisions. Some of the decision-making functions in
self-driving cars are designed this way.
• Type 3: Theory of mind. Theory of mind is a psychology term. When applied to
AI, it means that the system would have the social intelligence to understand
emotions. This type of AI will be able to infer human intentions and predict
behavior, a necessary skill for AI systems to become integral members of human
teams.
• Type 4: Self-awareness. In this category, AI systems have a sense of self, which
gives them consciousness. Machines with self-awareness understand their own
current state. This type of AI does not yet exist.
Sub-areas of AI
https://www.analyticssteps.com/blogs/6-major-branches-artificial-intelligence-ai
3
Agents
• An agent is anything that can be viewed as
– perceiving its environment through sensors and
– acting upon that environment through actuators
– Assumption: Every agent can perceive its own actions (but not
always the effects)
4
Agents
• Human agent:
– eyes, ears, and other organs for sensors;
– hands,legs, mouth, and other body parts for
actuators
• Robotic agent:
– cameras and infrared range finders for sensors;
– various motors for actuators
• A software agent:
– Keystrokes, file contents, received network packages as sensors
– Displays on the screen, files, sent network packets as actuators
5
• [f: P * A]
Vacuum-cleaner world
• Two locations: A and B
• Percepts: location and contents, [A,Dirty]
• e.g.,
Actions: Left, Right, Suck, NoOp
Percept sequence Actions
[A,Clean] Right
[A, Dirty] Suck
[B,Clean] Left
[B,Dirty] Suck
[A,Clean],[A,Clean] Right
[A,Clean],[A,Dirty] Suck
… …
[A,Clean], Right
[A.Clean],[A,Clean] Suck
[A,Clean],[A,Clean],[A,Clean]
One simple function is :
if the current square is dirty then suck, otherwise move to the other square
7
Rational agents
• An agent should strive to "do the right thing", based on what it the
can perceive and
actions it can perform.
• The right action is the one that will cause the agent to be
most successful
• Performance measure: An objective criterion for success of an
agent's behavior
•
Rationality
The only available actions are Left, Right, Suck and NoOp
• PEAS:
– Performance measure,
– Environment,
– Actuators,
– Sensors
• In designing must always
be an agent, the task environment (PEAS) as fully
to specify
as possible
the first
step
Spring
13
• Sensors: Keyboard
19
Environment types
• Fully observable vs. partially observable
• Deterministic vs. stochastic
• Episodic vs. sequential
• Static vs. dynamic
• Discrete vs. continuous
• Single agent vs. multiagent
20
Environment types
Environment types
Environment types
Environment types
Environment types
Environment types
Environment types
• Condition-action-rule
• Example: if car-in-front-is-breaking then initiate-
breaking
Goal-based agents
•The knowledge of the current state environment is not
always sufficient to decide for an agent to what to do.
•The agent needs to know its goal which describes
desirable situations.
•Goal-based agents expand the capabilities of the model-
based agent by having the "goal" information.
•They choose an action, so that they can achieve the goal.
•These agents may have to consider a long sequence of
possible actions before deciding whether the goal is
achieved or not. Such considerations of different scenario
are called searching and planning, which makes an agent
proactive.
CS461 Artificial Intelligence © Pinar Duygulu Spring 2008
38
Goal-based agents
Utility-based agents
Utility-based agents
Learning agents
Learning agents
The most challenging environments are partially observable, stochastic, sequential, dynamic,
and continuous, and contain multiple intelligent agents.
Solving problems by Searching
Introduction
• Simple-reflex agents directly maps states to actions.
• Therefore, they cannot operate well in environments where the mapping is too
large to store or takes too much to learn
• Goal is a set of states. The agent’s task is to find out which sequence of
actions will get it to a goal state.
• Problem formulation- is the process of deciding what sorts of actions
and states to consider, given a goal.
Problem solving agents
• An agent with several immediate options of unknown value can
decide what to do by first examining different possible sequences of
actions that lead to states of known value, and then choosing the best
sequence.