AI: Artificial Intelligence

Slides:



Advertisements
Similar presentations
Chapter 2: Intelligent Agents
Advertisements

Additional Topics ARTIFICIAL INTELLIGENCE
Artificial Intelligent
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,
Agents and Intelligent Agents  An agent is anything that can be viewed as  perceiving its environment through sensors and  acting upon that environment.
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.
Intelligent Agents Chapter 2.
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.
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.
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.
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.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Rational Agents (Chapter 2)
INTELLIGENT AGENTS. Agents  An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through.
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.
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.
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.
Web-Mining Agents Cooperating Agents for Information Retrieval Prof. Dr. Ralf Möller Universität zu Lübeck Institut für Informationssysteme Karsten Martiny.
ARTIFICIAL INTELLIGENCE
CSC AI Intelligent Agents.
Artificial Intelligence
ECE 448 Lecture 3: Rational Agents
EA C461 – Artificial Intelligence Intelligent Agents
Artificial Intelligence Lecture No. 4
Rational Agents (Chapter 2)
Artificial Intelligence Lecture No. 5
Artificial Intelligence (CS 461D)
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.
Artificial Intelligence Intelligent Agents
Intelligent Agents Chapter 2.
Artificial Intelligence
Intelligent Agents Chapter 2.
EA C461 – Artificial Intelligence Intelligent Agents
Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Presentation transcript:

AI: Artificial Intelligence Lecture 3 AI: Artificial Intelligence

Agents An agent is anything that can be viewed as perceiving (getting input) its environment through sensors and acting upon that environment through actuators (tools used for actions).

Human Vs Robotic Vs Software Agent A human agent has eyes, ears, and other organs for sensors and hands, legs, vocal tract, and so on for actuators. A robotic agent might have cameras and infrared range finders for sensors and various motors for actuators. A software agent receives keystrokes, file contents, and network packets as sensory inputs and acts on the environment by displaying on the screen, writing files, and sending network packets.

Perception A  percept  is the input that an intelligent agent is perceiving at any given moment. An percept sequence agent’s percept sequence is the complete history of everything the agent has ever perceived. In general, an agent’s choice of action at any given instant can depend on the entire percept sequence observed to date, but not on anything it hasn’t perceived.

Example: Vacuum-Agent Percepts: Location and status, e.g., [A,Dirty] Actions: Left, Right, Suck, NOp function 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 A percept is the input that an intelligent agent  is perceiving at any given moment.

Rational agents 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 the agent’s built-in knowledge Performance measure (utility function): An objective criterion for success of an agent's behavior. (devised on environment states, not on agents states). ExpectedUtility(action) = sum_outcomes Utility(outcome) * P(outcome|action)

Specifying the task environment Problem specification: Performance measure, Environment, Actuators, Sensors (PEAS) Example: Autonomous Taxi Performance measure Safe, fast, legal, comfortable trip, maximize profits Environment Roads, other traffic, pedestrians, customers Actuators Steering wheel, accelerator, brake, signal, horn Sensors Cameras, speedometer, GPS, engine sensors, keyboard

Another PEAS example: Spam filter Performance measure Minimizing false positives, false negatives Environment A user’s email account, email server Actuators Mark as spam, delete, etc. Sensors Incoming messages, other information about user’s account

Medical Diagnosis System Performance measure Healthy Patients, Minimize cost Environment Patients, Hospital, Staff Actuators Skin Display (questions, tests, diagnosis, treatments) Sensors Keyboard(entry of symptoms, patients answers)

Environment types Fully observable vs. partially observable Deterministic vs. stochastic Episodic vs. sequential Static vs. dynamic Discrete vs. continuous Single agent vs. multi-agent Known vs. unknown A stochastic process is simply a collection of random variables indexed by time. It will be useful to consider separately the cases of discrete time and continuous time. 

Fully observable vs. partially observable Do the agent's sensors give it access to the complete state of the environment? vs.

Fully Observable (accessible) If an agent’s sensors give it access to the complete state of the environment at each point in time, then we say that the task environment is fully observable. the sensors detect all aspects that are relevant to the choice of action; relevance, in turn, depends on the performance measure. Fully observable environments are convenient because the agent need not maintain any internal state to keep track of the world.

Partially Observable (inaccessible) An environment might be partially observable because of noisy and inaccurate sensors or because parts of the state are simply missing from the sensor data Examples: chess – the board is fully observable Autonomous Taxi – what is around the next bend is not observable (yet).

Deterministic vs. stochastic Is the next state of the environment completely determined by the current state and the agent’s action? Strategic: the environment is deterministic except for the actions of other agents vs.

Deterministic Vs Stochastic Deterministic the next state of the environment is completely predictable from the current state and the action executed by the agent Stochastic the next state has some uncertainty associated with it, Uncertainty could come from randomness, lack of a good environment model, or lack of complete sensor coverage Stochastic= variable (temperature) Deterministic= constant (time table of an inst)

Episodic vs. sequential Is the agent’s experience divided into unconnected episodes, or is it a coherent sequence of observations and actions? vs. Episodic: The agent's experience is divided into atomic “episodes,” and the choice of action in each episode depends only on the episode itself

Episodic Vs Sequential Episodic The agent's experience is divided into atomic "episodes" (each episode consists of the agent perceiving and then performing a single action) Sequential if current decisions affect future decisions, or rely on previous ones Examples of episodic are expert advice systems – an episode is a single question and answer Packman is an example of Sequential Many are both – a number of episodes containing a number of sequential steps to a conclusion

Static vs. dynamic Is the world changing while the agent is thinking? Semidynamic: the environment does not change with the passage of time, but the agent's performance score does vs.

Static Vs Dynamic Chess with clock is semidynamic Static if nothing (other than the agent) in the environment changes Dynamic if the environment may change over time. If the environment itself does not change with the passage of time but the agent’s performance score does, then we say the environment is semidynamic. CrossWord Puzzles are Static, aging, integers Taxi Driving is dynamic Chess with clock is semidynamic

Discrete vs. continuous Does the environment provide a fixed number of distinct percepts, actions, and environment states? Time can also evolve in a discrete or continuous fashion vs.

Discrete vs. continuous Discrete time moves in fixed steps, usually with one measurement per step (and perhaps one action, but could be no action). E.g. a game of chess Continuous, Signals constantly coming into sensors, actions continually changing. E.g. driving a car

Single-agent vs. multi-agent Is an agent operating by itself in the environment? vs.

Single Vs Multi Agent An agent operating by itself in an environment is single agent. Multi agent is when other agents are present A strict definition of an other agent is anything that changes from step to step, and can sense and act. Other players in a football team (or opposing team), wind and waves in a sailing agent, other cars in a taxi driver

Known vs. unknown Are the rules of the environment (transitions and rewards) known to the agent? Strictly speaking, not a property of the environment, but of the agent’s state of knowledge vs.

known environment, the outcomes (or outcome probabilities if the environment is stochastic) for all actions are given. if the environment is unknown, the agent will have to learn how it works in order to make good decisions. The distinction between known and unknown environments is not the same as the one between fully and partially observable environments. It is quite possible for a known environment to be partially observable—for example, in solitaire card games, I know the rules but am still unable to see the cards that have not yet been turned over. Conversely, an unknown environment can be fully observable—in a new video game, the screen may show the entire game state but I still don’t know what the buttons do until I try them.

Examples of different environments Word jumble solver Chess with a clock Scrabble Autonomous driving Fully Fully Partially Partially Observable Deterministic Episodic Static Discrete Single agent Deterministic Strategic Stochastic Stochastic Episodic Sequential Sequential Sequential Static Semidynamic Static Dynamic Discrete Discrete Discrete Continuous Single Multi Multi Multi