Artificial Intelligence. Intelligent Agents

Similar documents
Intelligent Agents. Outline. Agents. Agents and environments

Princess Nora University Faculty of Computer & Information Systems ARTIFICIAL INTELLIGENCE (CS 370D) Computer Science Department

Artificial Intelligence CS 6364

Intelligent Agents. Soleymani. Artificial Intelligence: A Modern Approach, Chapter 2

Dr. Mustafa Jarrar. Chapter 2 Intelligent Agents. Sina Institute, University of Birzeit

Intelligent Agents. Chapter 2 ICS 171, Fall 2009

Agents & Environments Chapter 2. Mausam (Based on slides of Dan Weld, Dieter Fox, Stuart Russell)

Chapter 2: Intelligent Agents

CS 771 Artificial Intelligence. Intelligent Agents

Agents & Environments Chapter 2. Mausam (Based on slides of Dan Weld, Dieter Fox, Stuart Russell)

Outline. Chapter 2 Agents & Environments. Agents. Types of Agents: Immobots

Intelligent Agents. BBM 405 Fundamentals of Artificial Intelligence Pinar Duygulu Hacettepe University. Slides are mostly adapted from AIMA

Artificial Intelligence Agents and Environments 1

Intelligent Autonomous Agents. Ralf Möller, Rainer Marrone Hamburg University of Technology

Web-Mining Agents Cooperating Agents for Information Retrieval

Introduction to Artificial Intelligence 2 nd semester 2016/2017. Chapter 2: Intelligent Agents

Foundations of Artificial Intelligence

22c:145 Artificial Intelligence

AI: Intelligent Agents. Chapter 2

Web-Mining Agents Cooperating Agents for Information Retrieval

CS 331: Artificial Intelligence Intelligent Agents

Outline for Chapter 2. Agents. Agents. Agents and environments. Vacuum- cleaner world. A vacuum- cleaner agent 8/27/15

Contents. Foundations of Artificial Intelligence. Agents. Rational Agents

CS 331: Artificial Intelligence Intelligent Agents

CS 331: Artificial Intelligence Intelligent Agents. Agent-Related Terms. Question du Jour. Rationality. General Properties of AI Systems

Intelligent Agents. Instructor: Tsung-Che Chiang

Lecture 2 Agents & Environments (Chap. 2) Outline

Intelligent Agents. Instructor: Tsung-Che Chiang

Agents and Environments

Intelligent Agents. CmpE 540 Principles of Artificial Intelligence

Agents. Environments Multi-agent systems. January 18th, Agents

Vorlesung Grundlagen der Künstlichen Intelligenz

Agents and Environments. Stephen G. Ware CSCI 4525 / 5525

Intelligent Agents. Russell and Norvig: Chapter 2

Intelligent Agents. Chapter 2

Artificial Intelligence Intelligent agents

Artificial Intelligence

How do you design an intelligent agent?

Artificial Intelligence Lecture 7

Agents. Formalizing Task Environments. What s an agent? The agent and the environment. Environments. Example: the automated taxi driver (PEAS)

Rational Agents (Chapter 2)

Agents. This course is about designing intelligent agents Agents and environments. Rationality. The vacuum-cleaner world

Intelligent Agents. Philipp Koehn. 16 February 2017

Artificial Intelligence

What is AI? The science of making machines that: Think rationally. Think like people. Act like people. Act rationally

KECERDASAN BUATAN 3. By Sirait. Hasanuddin Sirait, MT

Agents and State Spaces. CSCI 446: Artificial Intelligence

CS324-Artificial Intelligence

Ar#ficial Intelligence

Agents and Environments

Overview. What is an agent?

Module 1. Introduction. Version 1 CSE IIT, Kharagpur


CS343: Artificial Intelligence

Rational Agents (Ch. 2)

Agents. Robert Platt Northeastern University. Some material used from: 1. Russell/Norvig, AIMA 2. Stacy Marsella, CS Seif El-Nasr, CS4100

Agents and State Spaces. CSCI 446: Ar*ficial Intelligence Keith Vertanen

Rational Agents (Ch. 2)

AI Programming CS F-04 Agent Oriented Programming

Solutions for Chapter 2 Intelligent Agents

Artificial Intelligence. Outline

Artificial Intelligence

Silvia Rossi. Agent as Intentional Systems. Lezione n. Corso di Laurea: Informatica. Insegnamento: Sistemi multi-agente.

GRUNDZÜGER DER ARTIFICIAL INTELLIGENCE

Four Example Application Domains

What is AI? The science of making machines that:

Behavior Architectures

Definitions. The science of making machines that: This slide deck courtesy of Dan Klein at UC Berkeley

Unmanned autonomous vehicles in air land and sea

Modeling Emotion and Temperament on Cognitive Mobile Robots

Robotics Summary. Made by: Iskaj Janssen

What is Artificial Intelligence? A definition of Artificial Intelligence. Systems that act like humans. Notes

Sensation and Perception -- Team Problem Solving Assignments

1 What is an Agent? CHAPTER 2: INTELLIGENT AGENTS

Embodiment in GLAIR: A Grounded Layered Architecture. with Integrated Reasoning for Autonomous Agents. Henry Hexmoor. Johan Lammens.

COMP329 Robotics and Autonomous Systems Lecture 15: Agents and Intentions. Dr Terry R. Payne Department of Computer Science

Overview Detection epileptic seizures

5.8 Departure from cognitivism: dynamical systems

EEL-5840 Elements of {Artificial} Machine Intelligence

Problem Solving Agents

Introduction to Arti Intelligence

Robot Behavior Genghis, MIT Callisto, GATech

A Theory of Complexity and its Relevance to Better Decision Making

Perceptual Anchoring with Indefinite Descriptions

CS148 - Building Intelligent Robots Lecture 5: Autonomus Control Architectures. Instructor: Chad Jenkins (cjenkins)

Sequential Decision Making

Katsunari Shibata and Tomohiko Kawano

Safe Mobility at Any Age Identifiers of High-Risk Drivers: An Occupational Therapy Perspective

OPTIC FLOW IN DRIVING SIMULATORS

AGENT-BASED SYSTEMS. What is an agent? ROBOTICS AND AUTONOMOUS SYSTEMS. Today. that environment in order to meet its delegated objectives.

Robot Learning Letter of Intent

Muddy Tasks and the Necessity of Autonomous Mental Development

The Role of Action in Object Categorization

Learning and Adaptive Behavior, Part II

Pavlovian, Skinner and other behaviourists contribution to AI

Deliberating on Ontologies: The Present Situation. Simon Milton Department of Information Systems, The University of Melbourne

ICS 606. Intelligent Autonomous Agents 1. Intelligent Autonomous Agents ICS 606 / EE 606 Fall Reactive Architectures

ENVIRONMENTAL REINFORCEMENT LEARNING: A Real-time Learning Architecture for Primitive Behavior Refinement

ERA: Architectures for Inference

Biologically-Inspired Human Motion Detection

Transcription:

Artificial Intelligence Intelligent Agents

Agent Agent is anything that perceives its environment through sensors and acts upon that environment through effectors. Another definition later (Minsky) Humans Sensors: eyes, ears, etc. Effectors: hands, legs, mouth, etc. Robots Sensors: cameras, infrared range finders Effectors: various motors 2

Generic Agent percepts sensors environment agent actions effectors 3

Agent Percepts Percept Agent s perceptual inputs at any given instant Percept sequence Complete history of everything agent has perceived Agent s choice of action can depend on entire percept sequence 4

Agent Function and Program Agent function Specifying which action to take in response to any given percept sequence Maps any given percept sequence to an action Abstract mathematical description Agent program Implements the agent function for an agent Runs on the agent architecture 5

Ideal Mapping of Percepts to Actions Table of actions in response to each possible percept sequence Simple table representation can be huge For chess, the table would have 35 100 entries! Takes too long to build the table Define a specification of the mapping Example: sqrt() using Newton s method rather than enumeration of all possible mappings 6

Good Behavior: The Rational Agent A rational agent is one that does the right thing (to be most successful) e.g., every entry in the function table is filled out correctly What is the rational action for a particular circumstance? Whichever action that will cause the agent to be most successful Given what you have seen/know Need a way to measure success: performance measure Whichever action maximizes the expected value of the performance measure given the percept sequence to date 7

Performance Measure Performance measure A way to evaluate the agent s success Embodies the criterion for success of an agent s behavior Specifies numerical value for any environment history toward the goals Performance measures for vacuum cleaner Amount of dirt cleaned up in shift BUG: Could maximize by cleaning-up, dumping, cleaning-up, etc! Amount of electricity consumed Amount of noise generated When to evaluate is also important Timespan (shift, day, month, etc.) 8

Rationality Depends on The performance measure that defines degree of success Everything the agent has perceived so far The percept sequence What the agent knows about the environment The actions that the agent can perform This leads to 9

Ideal Rational Agent For each possible percept sequence, do whatever action is expected to maximize its performance measure, using evidence provided by the percept sequence and any built-in knowledge Do actions in correct order 10

Rationality Rationality omniscience Omniscient agent knows actual outcome of its actions and can act accordingly Impossible in reality (though available in simulation) Rationality is concerned with expected success given what has been perceived Considered safe crossing street, but then hit from above Can explore to gather more information 11

Autonomy Autonomous behavior Behavior is determined by its own experience Non-autonomous behavior If no use of percepts (use only built-in knowledge), then system has no autonomy A clock But consider a clock that detects and sets to atomic clock, or adjusts to different time zones All of its assumptions must hold Certain animal behaviors A rational agent should be autonomous 12

Nature of Environments Must specify the setting for intelligent agent design Task environments The problems to which rational agents are the solutions Multiple flavors of task environments Directly affects the design of the agent PEAS description (P)erformance Measure (E)nvironment (A)cutators (S)ensors 13

PEAS Description Consider an automated taxi driver (Total Recall) Performance Measure? Safe, fast, obey laws, reach destination, comfortable trip, maximize profits Environment? Roads, other traffic, pedestrians, weather, customers Actuators? Steering, accelerator, brake, signal, horn, speak, display Sensors? Cameras, microphone, sonar, speedometer, GPS, odometer, accelerometer, engine sensors, keyboard 14

Other PEAS Examples Agent Type Perf. Measure Environment Actuators Sensors Medical diagnosis system Satellite image analysis system Healthy patient, minimize costs/lawsuits Correct image classification Patient, hospital, staff Downlink from orbiting satellite Display questions, tests, diagnoses, treatments, referrals Display classification of scene Keyboard entry of symptoms, findings, patient s answers Color pixel arrays (cameras) Part-picking robot Percentage of parts in correct bins Conveyor belt with parts, bins Jointed arm and hand Camera, joint angle sensors Refinery controller Maximize purity, yield, safety Refinery, operators Valves, pumps, heaters, displays Temperature, pressure, chemical sensors Interactive English tutor Maximize student s score on test Set of students, testing agency Display exercises, suggestions, corrections Keyboard entry 15

Properties of Environments Fully observable vs. partially observable If sensors give access to complete state of environment Deterministic vs. stochastic If next state of environment is completely determined by current state and the action executed by the agent (Can t predict environment in stochastic) Episodic vs. sequential Experience divided into atomic episodes (perceiving and acting) Next episode does not depend on previous episodes Static vs. dynamic Environment not change while agent is thinking Discrete vs. continuous Distinct, clearly defined percepts and actions (chess) Single Agent vs. multi-agent Solving a puzzle is single agent Chess is competitive multi-agent environment 16

Environment Examples Crossword puzzle Taxi Driving Observability Fully Partially Deterministic vs Stochastic Deterministic Stochastic Episodic vs Sequential Sequential Sequential Static vs Dynamic Static Dynamic Discrete vs Continuous Discrete Continuous Single vs Multi Agent Single Multi 17

Structure of Intelligent Agents Agent = Architecture + Program Architecture is the computing device Makes sensor percepts available to the program Runs the program Feeds action choices to effectors Program Implements agent function mapping of percepts to actions The job of AI is to design Agent Programs Though much current emphasis on embodiment 18

Basic Types of Agent Programs Simple reflex agents Condition-action rules on current percept Environment must be fully observable Model-based reflex agents Maintain internal state about how world evolves and how actions effect world Goal-based agents Use goals and planning to help make decision Utility-based agents What makes the agent happiest Learning agents Makes improvements 19

Summary Agent Perceives and acts in an environment Ideal agent Takes the action that is expected to maximize the performance measure, given its percepts Agent design: PEAS (P)erformance measure, (E)nvironment, (A)ctuators, and (S)ensors 20

Summary (con t) Agent environments Environments that are partially observable, stochastic, sequential, dynamic, continuous, and multi-agent are hardest (real world) Agent types Reflex, model-based, goal-based, utility-based, learning 21