CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we?

Slides:



Advertisements
Similar presentations
Additional Topics ARTIFICIAL INTELLIGENCE
Advertisements

Intelligent Agents Chapter 2.
Intelligent Agents Russell and Norvig: 2
Artificial Intelligence: Chapter 2
ICS-171: 1 Intelligent Agents Chapter 2 ICS 171, Fall 2009.
Intelligent Agents Chapter 2. Outline Agents and environments Agents and environments Rationality Rationality PEAS (Performance measure, Environment,
Cooperating Intelligent Systems Intelligent Agents Chapter 2, AIMA.
January 11, 2006AI: Chapter 2: Intelligent Agents1 Artificial Intelligence Chapter 2: Intelligent Agents Michael Scherger Department of Computer Science.
CSE 471/598, CBS 598 Intelligent Agents TIP We’re intelligent agents, aren’t we? Fall 2004.
ICS-271: 1 Intelligent Agents Chapter 2 ICS 279 Fall 09.
Cooperating Intelligent Systems Intelligent Agents Chapter 2, AIMA.
ICS-171: Notes 2: 1 Intelligent Agents Chapter 2 ICS 171, Fall 2005.
Intelligent Agents Chapter 2 ICS 171, Fall 2005.
Plans for Today Chapter 2: Intelligent Agents (until break) Lisp: Some questions that came up in lab Resume intelligent agents after Lisp issues.
CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we? Spring 2004.
Intelligent Agents Chapter 2.
Rutgers CS440, Fall 2003 Lecture 2: Intelligent Agents Reading: AIMA, Ch. 2.
Agents & Environments. © Daniel S. Weld Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical.
INTELLIGENT AGENTS Yılmaz KILIÇASLAN. Definitions An agent is anything that can be viewed as perceiving its environment through sensors and acting upon.
Rational Agents (Chapter 2)
Carla P. Gomes CS4700 CS 4700: Foundations of Artificial Intelligence Carla P. Gomes Module: Structure of intelligent agents and environments.
CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we?
Introduction to Logic Programming WS2004/A.Polleres 1 Introduction to Artificial Intelligence MSc WS 2009 Intelligent Agents: Chapter 2.
Rational Agents (Chapter 2)
CSE 573 Artificial Intelligence Dan Weld Peng Dai
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
CPSC 7373: Artificial Intelligence Jiang Bian, Fall 2012 University of Arkansas at Little Rock.
Intelligent Agents. Software agents O Monday: O Overview video (Introduction to software agents) O Agents and environments O Rationality O Wednesday:
Artificial Intelligence
CHAPTER 2 Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
COMP 4640 Intelligent & Interactive Systems Cheryl Seals, Ph.D. Computer Science & Software Engineering Auburn University Lecture 2: Intelligent Agents.
Chapter 2 Intelligent Agents. Chapter 2 Intelligent Agents What is an agent ? An agent is anything that perceiving its environment through sensors and.
Intelligent Agents Chapter 2 Some slide credits to Hwee Tou Ng (Singapore)
Lection 3. Part 1 Chapter 2 of Russel S., Norvig P. Artificial Intelligence: Modern Approach.
Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types Artificial Intelligence.
Intelligent Agents Chapter 2. CIS Intro to AI - Fall Outline  Brief Review  Agents and environments  Rationality  PEAS (Performance measure,
Chapter 2 Agents & Environments. © D. Weld, D. Fox 2 Outline Agents and environments Rationality PEAS specification Environment types Agent types.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Intelligent Agents Chapter 2. Agents An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment.
Agents CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Chapter 2 Hande AKA. Outline Agents and Environments Rationality The Nature of Environments Agent Types.
CE An introduction to Artificial Intelligence CE Lecture 2: Intelligent Agents Ramin Halavati In which we discuss.
CHAPTER 2 Intelligent Agents. Outline Artificial Intelligence a modern approach 2 Agents and environments Rationality PEAS (Performance measure, Environment,
Chapter 2 Intelligent Agents 1. Chapter 2 Intelligent Agents What is an agent ? An agent is anything that perceiving its environment through sensors(أجهزة.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Instructional Objective  Define an agent  Define an Intelligent agent  Define a Rational agent  Discuss different types of environment  Explain classes.
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2007.
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2004.
Artificial Intelligence
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Feng Zhiyong Tianjin University Fall  An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
1/23 Intelligent Agents Chapter 2 Modified by Vali Derhami.
Intelligent Agents Introduction Rationality Nature of the Environment Structure of Agents Summary.
Chapter 2 Agents. Intelligent Agents An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment.
Chapter 2 Agents & Environments
CSC 9010 Spring Paula Matuszek Intelligent Agents Overview Slides based in part on Hwee Tou Ng, aima.eecs.berkeley.edu/slides-ppt, which are in turn.
Lecture 2: Intelligent Agents Heshaam Faili University of Tehran What is an intelligent agent? Structure of intelligent agents Environments.
CPSC 420 – Artificial Intelligence Texas A & M University Lecture 2 Lecturer: Laurie webster II, M.S.S.E., M.S.E.e., M.S.BME, Ph.D., P.E.
Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Hong Cheng SEG4560 Computational Intelligence for Decision Making Chapter 2: Intelligent Agents Hong Cheng
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Presentation transcript:

CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we?

CSE 471/598 H. Liu2 Introduction An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators. We discuss A wide variety of agents How to define an agent Let’s look at Figure 2.1 Is that me? An agent function maps percepts to actions

CSE 471/598 H. Liu3 All about Agents We will learn How agents should act Environments of agents Types of agents  human, robot, software agents A vacuum-cleaner world with 2 locations (Fig 2.2) Percepts: location and contents, e.g., [A,Dirty] Actions: Left, Right, Suck, NoOp A simple agent function(Fig 2.3) What is the right way to fill out the table? What makes an agent good or bad? We need to specify how agents should act in order to measure

CSE 471/598 H. Liu4 How Agents should act A rational agent is one that does the right thing. What is “right”? The issue of performance measure, is not a simple one  You often get what you ask for.  Be as objective as possible  Measure what one wants, not how the agent should behave  E.g., how to be a rational instructor/student? Do the right thing and be objective. How? Switch your positions (student, instructor, another student) to increase objectivity A related issue is when to measure it.  How often to measure it

CSE 471/598 H. Liu5 A rational agent is not omniscient Rationality is concerned with expected success given what has been perceived A percept sequence contains everything that the agent has perceived so far An ideal rational agent should do whatever action that maximize its expected performance Rationality does not mean perfection which maximizes actual performance Do we sometimes regret? Do regrets help? Why?

CSE 471/598 H. Liu6 Four key components What is rational depends on PEAS: Performance measure Environment Actuators – generating actions Sensors – receiving percepts Another example? Taxi driver (a robot in the future) Let’s think about its performance measure Let’s now look at Fig 2.4

CSE 471/598 H. Liu7 Definition of a rational agent 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.

CSE 471/598 H. Liu8 From percept sequences to actions A mapping with possibly infinite entries An ideal mapping describes an ideal agent It’s not always necessary to have an explicit mapping in order to be ideal (e.g., sqrt (x)) An agent should have some autonomy. i.e., its behavior is determined by its own experience. Autonomy can evolve with an agent’s experience and percept sequence - learning.

CSE 471/598 H. Liu9 External environments Without exception, actions are done by the agent on the environment, which in turn provides percepts to the agents. Environments affect the design of agents Types of environments

CSE 471/598 H. Liu10 Types of Environments Fully vs. partially observable Deterministic vs. stochastic E is deterministic but actions of other agents are not =>strategic Episodic vs. sequential An example of episodic environment? Static vs. dynamic E does not change, performance score does => semi- dynamic Discrete vs. continuous Single vs. multiple agents What is the most difficult environment? Let’s look at some examples in Fig 2.6 Are you impressed? What can we do to improve?

CSE 471/598 H. Liu11 Design and Implementation of Agents Design an agent function that maps the agent’s percepts to actions. Or to realize how actions are selected or determined Implement the agent function in an agent program which is realized in an agent architecture Agent = Architecture+ Program Percepts and actuators + function mappings From Robots to Softbots Architectures can be very different

CSE 471/598 H. Liu12 Some examples of agents All agents have four elements (PEAS): 1. Performance 2. Environment 3. Actuators 4. Sensors Fig 2.5 shows some agent types We can see that there are many ways to define these components and it’s impractical to enumerate all possibilities

CSE 471/598 H. Liu13 Starting from the simplest A look-up agent (Fig 2.7) Generates actions based on percept sequences  Your decision today is determined by many things happened in the past Why not just look up? How far back should we look up Scaling up An equivalent question is about the table size What else should we try?

CSE 471/598 H. Liu14

CSE 471/598 H. Liu15 Types of agents Simple reflex agents - respond based on the current percept, ignore the percept history. It cuts down a lot of possibilities. An example (Fig 2.8) A simple reflex agent (Figs 2.9,2.10)  Condition-action Rules Innate reflexes vs. learned responses What if the environment is not fully observable?

CSE 471/598 H. Liu16 Model-based reflex agents They can handle partial observability Knowledge about how the world works is called a model of the world Maintain internal state to keep information of the changing environment and involve consideration of the future Respond to a percept accordingly (Figs 2.12) From local to global

CSE 471/598 H. Liu17

CSE 471/598 H. Liu18 Goal-based agents They aim to achieve goals Goal: desirable states, Search for a sequence of actions, Plan for solving sub-problems with special purposes Goals alone are often not enough to generate high-quality behavior. Why?

CSE 471/598 H. Liu19

CSE 471/598 H. Liu20 Utility-based agents They aim to maximize their utilities Utility: the quality of being useful, a single value function Happy or not (a goal or not) vs. How happy when the goal is achieved resolve conflicting goals (speed vs. safety) evaluate with multiple uncertain qualities search for trade-off facing multiple goals

CSE 471/598 H. Liu21

CSE 471/598 H. Liu22 Learning agents They can learn to improve Operate in initially unknown environments and become more competent Four components: (1) problem generator (to create exploratory actions), (2) performance element (the earlier entire agent), (3) learner, (4) critic (to provide feedback) The above types of agents can be found in the later chapters we will discuss.

CSE 471/598 H. Liu23

CSE 471/598 H. Liu24 Summary There are various types of agents who cannot live without external environment. Efficiency and flexibility of different agents. Using ourselves as a model and our world as environment as a starting point (Are we too ambitious?), you may Describe options for future consideration Recommend a new type of agents (Novel Contribution!)