Fundamentals of Artificial Intelligence: Intelligent Agents
Fundamentals of Artificial Intelligence: Intelligent Agents
Artificial Intelligence
Intelligent Agents
Agents and Environments
• Various vacuum-world agents can be defined by filling in the right-hand column in various
ways.
• What is the right way to fill out the table?
• In other words, what makes an agent good or bad, intelligent or stupid?
Good Behavior: Rationality
• A rational agent is one that does the right thing. What is the right thing?
• A sequence of actions causes the environment to go through a sequence of states.
• If the sequence is desirable, then the agent has performed well.
• The notion of desirability is captured by a performance measure that evaluates any
given sequence of environment states.
• A rational agent chooses whichever action maximizes the expected value of the
performance measure given the percept sequence.
Rationality: omniscience, learning, and autonomy
• An omniscient (perfect) agent knows the actual outcome of its actions and can act
accordingly; but perfection is impossible in reality.
• Rationality is NOT the same as perfection.
• Rationality maximizes expected performance, while perfection maximizes actual performance.
• A rational agent not only to gather information (exploration) but also to learn as
much as possible from what it perceives.
• An agent relies on the prior knowledge of its designer rather than on its own
percepts, we say that the agent lacks autonomy. A rational agent should be
autonomous.
• Simple reflex agents select actions on the basis of the current percept, ignoring the
rest of the percept history.
Simple reflex agent in the two-state vacuum environment
• A model-based reflex agent keeps track of the current state of the world, using an
internal model. It then chooses an action in the same way as the reflex agent.
Goal-based agents
• A goal-based agent keeps track of the world state as well as a set of goals it is
trying to achieve, and chooses an action that will (eventually) lead to the
achievement of its goals.
Utility-based agents
• A utility-based agent uses a model of the world, along with a utility function that
measures its preferences among states of the world.
• Then it chooses the action that leads to the best expected utility, where expected
utility is computed by averaging over all possible outcome states, weighted by the
probability of the outcome.
Learning agents
• learning element is responsible for making improvements,
• performance element is responsible for selecting external actions.
• The learning element uses feedback from critic on how agent is doing and
determines how performance element should be modified to do better in future.
• problem generator is responsible for suggesting actions that will lead to new and
informative experiences.
Intelligent Agents: Summary