Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,

Slides:



Advertisements
Similar presentations
Chapter 2: Intelligent Agents
Advertisements

Additional Topics ARTIFICIAL INTELLIGENCE
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Russell and Norvig: 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,
Intelligent Agents CPS
Intelligent Agents Russell and Norvig: Chapter 2 CMSC421 – Fall 2005.
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.
AI CSC361: Intelligent Agents1 Intelligent Agents -1 CSC361.
ICS-271: 1 Intelligent Agents Chapter 2 ICS 279 Fall 09.
ICS-171: Notes 2: 1 Intelligent Agents Chapter 2 ICS 171, Fall 2005.
Intelligent Agents Chapter 2 ICS 171, Fall 2005.
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.
Russell and Norvig: Chapter 2 CMSC421 – Fall 2006
ICS-171: Notes 2: 1 Intelligent Agents Chapter 2 ICS 171, spring 2007.
Rational Agents (Chapter 2)
Introduction to Logic Programming WS2004/A.Polleres 1 Introduction to Artificial Intelligence MSc WS 2009 Intelligent Agents: Chapter 2.
Rational Agents (Chapter 2)
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.
© Copyright 2008 STI INNSBRUCK Introduction to A rtificial I ntelligence MSc WS 2009 Intelligent Agents: Chapter.
How R&N define AI Systems that think like humans Systems that think rationally Systems that act like humans Systems that act rationally humanly vs. rationally.
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,
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.
CS 8520: Artificial Intelligence Intelligent Agents Paula Matuszek Fall, 2008 Slides based on Hwee Tou Ng, aima.eecs.berkeley.edu/slides-ppt, which are.
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.
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2007.
Dr. Alaa Sagheer Chapter 2 Artificial Intelligence Ch2: Intelligent Agents Dr. Alaa Sagheer.
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.
1/23 Intelligent Agents Chapter 2 Modified by Vali Derhami.
CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we?
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 CMPT 463. Outline Agents and environments PEAS of task environment (Performance measure, Environment, Actuators, Sensors) Environment.
How R&N define AI humanly vs. rationally thinking vs. acting
EA C461 – Artificial Intelligence Intelligent Agents
Pertemuan 2 Kecerdasan Buatan
Chapter 2 – AIMA Dr. Aarij Mahmood Hussaan
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Hong Cheng SEG4560 Computational Intelligence for Decision Making Chapter 2: Intelligent Agents Hong Cheng
Introduction to Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
EA C461 – Artificial Intelligence Intelligent Agents
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Presentation transcript:

Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,

Question Are reflex actions rational? Are they intelligent?

Question How could introspection – reporting on one’s inner thoughts – be inaccurate? Could I be wrong about what I am thinking?

Question To what extent are the following computer systems instances of artificial intelligence? Supermarket bar code scanner Web search engines Voice-activated telephone menus Internet routing algorithms that respond dynamically to the state of the network

Question Which tasks can currently be solved by computers? Playing a decent game of table tennis Driving in the center of Cairo, Egypt Driving in Victorville, CA Buying a week’s worth of groceries at the market Buying a week’s worth of groceries on the web Playing a decent game of bridge at a competitive level Discovering and proving mathematical theorems Writing an intentionally funny story Giving competent legal advice in a specialized area of law Translating spoken English into Swedish in real-time Performing a complex surgical operation

Agents What is a rational agent? Optimizes performance What are design principles for building rational agents (intelligent agents)? Agent performance will depend on their operating Environment. Some environments will be more difficult than others Types of environments Design considerations for agents in these different types of environments

What is an agent? Perceives an environment through sensors and acts on the environment through actuators

What is an Agent? Percept: Agent’s perceptual inputs at any given instant of time Percept sequence is the complete history of everything the agent has ever perceived Agent’s choice of action usually depends on percept sequence but not on anything it has not perceived Behavior is governed by an agent function that maps percept sequence to actions

Agent example

Agent (Behavior) function Percept SequenceAction [A, Clean]Right [A, Dirty]Suck [B, Clean]Left [B, Dirty]Suck F (Percept sequence)  Action Agent programs implement agent functions on some architecture This is just a table, with percept sequences on the left and actions on the right

Behavior function Percept SequenceAction [A, Clean]Right [A, Dirty]Suck [B, Clean]Left [B, Dirty]Suck [A, Clean], [A, Clean]Right [A, Clean], [A, Dirty]Suck … [A, Clean], [A, Clean], [A, Clean]Right [A, Clean], [A, Clean], [A, Dirty]Suck … This is just a table, with percept sequences on the left and actions on the right But how big?

Vacuum Cleaner world Add action “No-Op”

Behavior versus Good behavior Agent’s action affect environment  changes environment’s state A sequence of agent actions  a sequence of environment states A performance measure on environment states differentiates good behavior from bad Is our vacuum cleaner agent rational? What is the performance metric? What is the agent’s prior knowledge? What percept sequence has the agent seen? What actions can agent perform? Suppose the performance measure is just concerned with the first T time steps of the environment, show that a rational agent’s action may depend not just on the state of the environment but also on time step Rational

Rationality Performance metric 1 point per square cleaned? 1 point per square cleaned in time T? 1 point per square per time step minus one per move? Penalty for > k dirty squares? … A rational agent chooses whichever action maximizes expected value of performance measure given the precept sequence to date

Rationality Rational != omniscient Rational != clairvoyant Rational != successful Rational implies Exploration Learning Autonomy

PEAS To design a rational agent, we need to specifying a task environment Consider automated taxi Performance metric? Environment? Actuators? Sensors?

PEAS To design a rational agent, we need to specifying a task environment Consider automated taxi Performance metric? Safety, destination, profits, legal, comfort, speed, cost Environment? US streets/freeways, traffic, pedestrians, weather, … Actuators? Steering, accelerator, brake, horn, speaker/display, … Sensors? Video, accelerometers, gauges, engine sensors, keyboard, GPS, …

Internet shopping agent Performance metric? Environment? Actuators? Sensors?

Internet shopping agent Performance metric? Price, quality, efficiency, appropriateness Environment? Current and future websites, vendors, shippers, shoppers Actuators? Display to use, follow URL, fill forms Sensors? HTML pages (text, graphics, scripts)

Interactive English Tutor Performance Metric Environment Actuators Sensors

Interactive English Tutor Performance Metric Score on test Environment Students, testing agency Actuators Display of exercises, suggestions, corrections, … Sensors Keyboard, mouse

Task environment types Fully observable or partially observable Single agent versus multi-agent Deterministic versus Stochastic Episodic versus sequential Static or Dynamic Discrete or continuous Known versus unknown The real-world is partially observable, stochastic, sequential, dynamic, continuous, and multiagent

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete Crossword Chess with Clk Poker Taxi Driving Medical Diagnosis Image analysis Part-picking robot Refinery Controller Interactive English Tutor

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete CrosswordFullySingleDeterministicSequentialStaticDiscrete Chess with Clk Poker Taxi Driving Medical Diagnosis Image analysis Part-picking robot Refinery Controller Interactive English Tutor

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete CrosswordFullySingleDeterministicSequentialStaticDiscrete Chess with ClkFullyMultiDeterministicSequentialSemiDiscrete Poker Taxi Driving Medical Diagnosis Image analysis Part-picking robot Refinery Controller Interactive English Tutor

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete CrosswordFullySingleDeterministicSequentialStaticDiscrete Chess with ClkFullyMultiDeterministicSequentialSemiDiscrete PokerPartiallyMultiStochasticSequentialStaticDiscrete Taxi Driving Medical Diagnosis Image analysis Part-picking robot Refinery Controller Interactive English Tutor

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete CrosswordFullySingleDeterministicSequentialStaticDiscrete Chess with ClkFullyMultiDeterministicSequentialSemiDiscrete PokerPartiallyMultiStochasticSequentialStaticDiscrete Taxi DrivingPartiallyMultiStochasticSequentialDynamicContinuous Medical Diagnosis Image analysis Part-picking robot Refinery Controller Interactive English Tutor

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete CrosswordFullySingleDeterministicSequentialStaticDiscrete Chess with ClkFullyMultiDeterministicSequentialSemiDiscrete PokerPartiallyMultiStochasticSequentialStaticDiscrete Taxi DrivingPartiallyMultiStochasticSequentialDynamicContinuous Medical Diagnosis PartiallySingleStochasticSequentialDynamicContinuous Image analysis Part-picking robot Refinery Controller Interactive English Tutor

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete CrosswordFullySingleDeterministicSequentialStaticDiscrete Chess with ClkFullyMultiDeterministicSequentialSemiDiscrete PokerPartiallyMultiStochasticSequentialStaticDiscrete Taxi DrivingPartiallyMultiStochasticSequentialDynamicContinuous Medical Diagnosis PartiallySingleStochasticSequentialDynamicContinuous Image analysisFullySingleDeterministicEpisodicSemiContinuous Part-picking robot Refinery Controller Interactive English Tutor

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete CrosswordFullySingleDeterministicSequentialStaticDiscrete Chess with ClkFullyMultiDeterministicSequentialSemiDiscrete PokerPartiallyMultiStochasticSequentialStaticDiscrete Taxi DrivingPartiallyMultiStochasticSequentialDynamicContinuous Medical Diagnosis PartiallySingleStochasticSequentialDynamicContinuous Image analysisFullySingleDeterministicEpisodicSemiContinuous Part-picking robot PartiallySingleStochasticEpisodicDynamicContinuous Refinery Controller Interactive English Tutor

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete CrosswordFullySingleDeterministicSequentialStaticDiscrete Chess with ClkFullyMultiDeterministicSequentialSemiDiscrete PokerPartiallyMultiStochasticSequentialStaticDiscrete Taxi DrivingPartiallyMultiStochasticSequentialDynamicContinuous Medical Diagnosis PartiallySingleStochasticSequentialDynamicContinuous Image analysisFullySingleDeterministicEpisodicSemiContinuous Part-picking robot PartiallySingleStochasticEpisodicDynamicContinuous Refinery Controller PartiallySingleStochasticSequentialDynamicContinuous Interactive English Tutor

Types of task environments Task EnvObservableAgentsDeterministicEpisodicStaticDiscrete CrosswordFullySingleDeterministicSequentialStaticDiscrete Chess with ClkFullyMultiDeterministicSequentialSemiDiscrete PokerPartiallyMultiStochasticSequentialStaticDiscrete Taxi DrivingPartiallyMultiStochasticSequentialDynamicContinuous Medical Diagnosis PartiallySingleStochasticSequentialDynamicContinuous Image analysisFullySingleDeterministicEpisodicSemiContinuous Part-picking robot PartiallySingleStochasticEpisodicDynamicContinuous Refinery Controller PartiallySingleStochasticSequentialDynamicContinuous Interactive English Tutor PartiallyMultiStochasticSequentialDynamicDiscrete

Types of agents Simple reflex agents Reflex agents with state Goal based agents Utility-based agents All can be turned into learning agents

Simple reflex agents

Reflex agent with state Model-based agent

Goal-based agent Search for ways to achieve goals. Make plans to achieve goals. Searching for plans

Utility-based agent Maximizes expected utility

Learning agents

Representing environmental states Less expressive More Expressive

Summary Agents interact with environment with actuators and sensors Agent function describes agent behavior Performance measure evaluates the environment sequence produced by agent actions A perfectly rational agent maximizes expected performance Agent programs implement agent functions on some architecture PEAS descriptions define task environments Environments can be categorized along Observerable, deterministic, episodic, static, discrete, single-agent Several basic single-agent architectures exist Reflex, reflex with state, goal-based, utility-based, learning