Intelligent Agents: An Introduction to Artificial Intelligence, Lecture notes of Artificial Intelligence

Definition of Intelligent Agents

Typology: Lecture notes

2018/2019

Uploaded on 12/07/2019

dovuongquocthinh
dovuongquocthinh 🇻🇳

2 documents

1 / 65

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
INTELLIGENT AGENTS
Nguyễn Ngọc Thảo
CS420 Artificial Intelligence
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41

Partial preview of the text

Download Intelligent Agents: An Introduction to Artificial Intelligence and more Lecture notes Artificial Intelligence in PDF only on Docsity!

INTELLIGENT AGENTS

Nguyễn Ngọc Thảo [email protected] CS420 – Artificial Intelligence

Outline

  • Agents and Environments
  • Good Behavior: The Concept of Rationality
  • The Nature of Environments
  • The Structure of Agents

What is Agent?

  • AI studies how to make computers do things that people are better at if they could - Extend what they do to huge data sets - Do it fast, in near real-time - Not make mistakes
  • Such systems are called Agents.

What is Agent?

  • An agent perceives its environment through sensors and acts upon that environment through actuators. Agents interact with environments through sensors and actuators. What AI should fill

The agent’s behavior

  • Percept: the agent’s perceptual inputs at any given instant
  • Percept sequence : the complete history of everything the agent has ever perceived
  • An agent’s behavior is described by the agent function that maps any given percept sequence to an action.
  • Agent program: the implementation of the agent function

agent = architecture + program

mathematical practical

The Vacuum-cleaner world

  • Percepts: location and contents, e.g., [A,Dirty]
  • Actions: Left, Right, Suck, Do Nothing A vacuum-cleaner world with just two locations

The Vacuum-cleaner world

The agent program for a simple reflex agent in the two-state vacuum environment. 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

Why do we need agents?

  • A tool for analyze systems
  • All areas of engineering can be seen as designing artifacts that interact with the world.
  • AI designs artifacts that have significant computational resources and the task environment requires nontrivial decision making

Rational agents

  • A rational agent is one that does the right thing.
    • Every entry in the table for the agent function is filled out correctly.
  • What is “ right ” thing?
    • The actions that cause the agent to be most successful
  • We need ways to measure success. Performance measure

Performance measure

  • An agent, based on its percepts → generates actions sequence → environment goes to sequence of states - If this sequence of states is desirable then the agent performed well
  • Performance measure evaluates any given sequence of environment states (remember, not agent states!!! ). - An objective function that determines how the agent does successfully. - 90 %? 30 %?

Rationality

  • What is rational at any given time depends on

Performance measure

Define the criterion of success

Prior knowledge

What the agent knows about the environment

Percept sequence

The agent’s percept to date

Actions

What the agent can perform

Definition of a rational agent

  • For example, in an exam,
    • Maximize marks based on the questions on the paper and your knowledge For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever built-in knowledge the agent has.

Omniscience, learning, and autonomy

Omniscience vs. Rationality

Omniscience Rationality

  • Knows the actual outcome of its actions in advance
  • No other possible outcomes
  • However, impossible in real world
  • Example? Maximize performance measure given the percepts sequence to date and prior knowledge Rationality is not perfection