Introduction to AI. H.Feili, 1 Introduction to Artificial Intelligence LECTURE 2: Intelligent Agents What is an intelligent agent?

Slides:



Advertisements
Similar presentations
Intelligent Agents Chapter 2.
Advertisements

Intelligent Agents Russell and Norvig: 2
Artificial Intelligence: Chapter 2
ICS-171: 1 Intelligent Agents Chapter 2 ICS 171, Fall 2009.
Plans for Today Chapter 2: Intelligent Agents (until break) Lisp: Some questions that came up in lab Resume intelligent agents after Lisp issues.
Intelligent Agents Chapter 2. Outline Agents and environments Agents and environments Rationality Rationality PEAS (Performance measure, Environment,
ECE457 Applied Artificial Intelligence R. Khoury (2007)Page 1 Please pick up a copy of the course syllabus from the front desk.
Artificial Intelligence Lecture No. 5 Dr. Asad Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
COMP 4640 Intelligent and Interactive Systems Intelligent Agents Chapter 2.
Chapter 2 Intelligent Agents
January 11, 2006AI: Chapter 2: Intelligent Agents1 Artificial Intelligence Chapter 2: Intelligent Agents Michael Scherger Department of Computer Science.
Artificial Intelligence Intelligent Agents 1 Russell and Norvig, Ch. 2.
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.
AI as the Design of Agents
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.
Russell and Norvig: Chapter 2 CMSC421 – Fall 2006
Agents & Environments. © Daniel S. Weld Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical.
Rational Agents (Chapter 2)
CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we?
Intelligent Agents: an Overview. 2 Definitions Rational behavior: to achieve a goal minimizing the cost and maximizing the satisfaction. Rational agent:
Introduction to Logic Programming WS2004/A.Polleres 1 Introduction to Artificial Intelligence MSc WS 2009 Intelligent 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:
INTELLIGENT AGENTS Chapter 2 02/12/ Outline  Agents and environments  Rationality  PEAS (Performance measure, Environment, Actuators, Sensors)
Artificial Intelligence
CHAPTER 2 Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Rational Agents: Can Computers Think? (How do Computers Think?) TAs: Andrew Rosenberg Sowmya Viswanath HW 1: due on Thursday Reading: Chapter 2 (today)
© Copyright 2008 STI INNSBRUCK Introduction to A rtificial I ntelligence MSc WS 2009 Intelligent Agents: Chapter.
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.
CSC 423 ARTIFICIAL INTELLIGENCE Intelligence Agents.
© 2004 Kurfess CalPoly edited by Eggen Introduction 1 CAP 4630/5605: Artificial Intelligence Computer Science Department University of North Florida.
Chapter 2 Agents & Environments. © D. Weld, D. Fox 2 Outline Agents and environments Rationality PEAS specification Environment types Agent 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,
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Introduction of Intelligent Agents
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 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.
CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we?
Chapter 2 Agents & Environments
Lecture 2: Intelligent Agents Heshaam Faili University of Tehran What is an intelligent agent? Structure of intelligent agents Environments.
Intelligent Agents Chapter 2 Dewi Liliana. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment.
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 CMPT 463. Outline Agents and environments PEAS of task environment (Performance measure, Environment, Actuators, Sensors) Environment.
Artificial Intelligence Programming Spring 2016
AI as the Design of Agents
Artificial Intelligence Lecture No. 5
© James D. Skrentny from notes by C. Dyer, et. al.
Artificial Intelligence
Presentation transcript:

Introduction to AI. H.Feili, 1 Introduction to Artificial Intelligence LECTURE 2: Intelligent Agents What is an intelligent agent? Structure of intelligent agents Environments Examples

Introduction to AI. H.Feili, 2 Intelligent agents: their environment and actions

Introduction to AI. H.Feili, 3 Ideal rational agents For each possible percept sequence, an ideal rational agent should take the action that is expected to maximize its performance measure, based on evidence from the percept sequence and its built-in knowledge. Key concept: mapping from perceptions to actions Different architectures to realize the mapping

Introduction to AI. H.Feili, 4 Structure of intelligent agents Agent program: a program that implements the mapping from percepts to actions Architecture: the platform to run the program (note: not necessarily the hardware!) Agent = architecture + program Examples: –medical diagnosis- part-picking robot –satellite image analysis- interactive tutor –refinery controller- flight simulator

Introduction to AI. H.Feili, 5 Illustrative example: taxi driver

Introduction to AI. H.Feili, 6 Table-Driven Agents function Table-driven-agent(percept) returns action static: percepts, a sequence, initially empty table, indexed by percept sequences (given) append percept to the end of percepts action := LOOKUP(percepts, table) return action Keeps a list of all percepts seen so far Table too large takes too long to build might not be available

Introduction to AI. H.Feili, 7 Simple Reflex Agent (1)

Introduction to AI. H.Feili, 8 Simple Reflex Agent (2) function Simple-Reflex-Agent(percept) returns action static: rules, a set of condition-action rules state := Interpret-Input (percept) rule := Rule-Match(state, rule) action := Rule-Action[rule] return action No memory, no planning

Introduction to AI. H.Feili, 9 Reflex Agents with States (1)

Introduction to AI. H.Feili, 10 Reflex Agents with States (2) function Reflex-Agent-State(percept) returns action static: rules, a set of condition-action rules state, a description of the current state state := Update-State (state, percept) rule := Rule-Match(state, rules) action := Rule-Action[rule] state := Update-State (state, action) return action still no longer-term planning

Introduction to AI. H.Feili, 11 Goal-based Agents (1)

Introduction to AI. H.Feili, 12 Goal-based Agents (2) function Goal-Based-Agent(percept, goal) returns action static: rules, a set of condition-action rules state, a description of the current state state := Update-State (state, percept) rule := Plan-Best-Move(state, rules, goal) action := Rule-Action[rule] state := Update-State (state, action) return action longer term planning, but what about cost?

Introduction to AI. H.Feili, 13 Utility-based Agents (1)

Introduction to AI. H.Feili, 14 Utility-based Agents (2) Add utility evaluation: not only how close does the action take me to the goal, but also how useful it is for the agent Note: both goal and utility-based agents can plan with constructs other than rules Other aspects to be considered: –uncertainty in perceptions and actions –incomplete knowledge –environment characteristics

Introduction to AI. H.Feili, 15 Properties of environments Accessible to inaccesible: is the state of the world fully know at each step? Deterministic to nondeterministic: how much is the next state determined by the current state? Episodic to non-episodic: how much state memory? Static to dynamic: how much independent change? Discrete to continuous: how clearly are the actions and percepts differentiated? What is the environment where the agent acts like?

Introduction to AI. H.Feili, 16 Examples of environments Chess: accessible, deterministic, nonepisodic, static, discrete. Poker: inaccessible, nondeterministic, nonepisodic, static, discrete. Satelite image analysis:accessible, deterministic nonepisodic, semi static, continuous Taxi driving: all no!

Introduction to AI. H.Feili, 17 Environment Programs (1) A program to run the individual agents and coordinate their actions -- like an operating system. Control strategies: –sequential: each agent perceives and acts once –asynchronous: let the agents communicate –blackboard: post tasks and have agents pick them Agents must not have access to the environment program state!

Introduction to AI. H.Feili, 18 Environment Programs (2) function Run-Environment (state, Update-Function, agents, Termination-Test, Performance-Function) repeat for each agent in agents do Percept[agent] := Get-Percept(agent, state) for each agent in agents do Action[agent] := Program[agent](Percept([agent]) states := Update-Function(actions, agents, state) scores := Performance-Function(scores, agents, states) until Termination-Test(states) return scores

Introduction to AI. H.Feili, 19 Environment Programs: Examples Chess –two agents, take turns to move. Electronic stock market bidding –many agents, asynchronous, blackboard-based. Robot soccer playing –in the physical world, no environment program!

Introduction to AI. H.Feili, 20 Summary Formulate problems in terms of agents, percepts, actions, states, goals, and environments Different types of problems according to the above characteristics. Key concepts: –generate and search the state space of problems –environment programs: control architectures – problem modelling is essential

Introduction to AI. H.Feili, 21 ?