Intelligent Agents. Chapter 2. Chapter 2 1



Similar documents
Introduction to Artificial Intelligence. Intelligent Agents

Chapter 2: Intelligent Agents

Artificial Intelligence

Chapter 2 Intelligent Agents

Agents: Rationality (2)

cs171 HW 1 - Solutions

Measuring the Performance of an Agent

A Review of Intelligent Agents

Introduction to Artificial Intelligence

Course Outline Department of Computing Science Faculty of Science. COMP Applied Artificial Intelligence (3,1,0) Fall 2015

AI: A Modern Approach, Chpts. 3-4 Russell and Norvig

Mobius TM Command & Control Software

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 OUTCOME 3 PART 1

UNDERGRADUATE DEGREE PROGRAMME IN COMPUTER SCIENCE ENGINEERING SCHOOL OF COMPUTER SCIENCE ENGINEERING, ALBACETE

time and thought that the buses had a higher on-time arrival rate than the actual on-time arrival rate. 2


Basic Lisp Operations

Guide to Analyzing Feedback from Web Trends

Automotive HMI: Current status and future challenges

Universitetet i Linköping Institutionen för datavetenskap Anders Haraldsson

Entity store. Microsoft Dynamics AX 2012 R3

Intelligent Agents. Based on An Introduction to MultiAgent Systems and slides by Michael Wooldridge

MECE 102 Mechatronics Engineering Orientation

93% Contents. Unrivalled reach. Contact us T +44 (0) E careers@bmj.com W careers.bmj.com. Print advertising 04. Digital advertising 05-08

SNM Content-Editor. Magento Extension. Magento - Extension. Professional Edition (V1.2.1) Browse & Edit. Trust only what you really sees.

CATALYST Frequently Asked Questions

Adaptive Cruise Control System Overview

Introduction CHAPTER 1

>

MimioStudio ActivityWizard

TomTom HAD story How TomTom enables Highly Automated Driving

Industrial Automation Training Academy. PLC, HMI & Drives Training Programs Duration: 6 Months (180 ~ 240 Hours)

SCADA Questions and Answers

KLEINPILOT MEETING THE DEMANDS OF MARITIME PILOTAGE ORGANIZATIONS

Table of Contents. Introduction. Radio Frequency Control. Initial setup Setting the time. Setting the temperature

Smart Thermostat page 1

SYSTEMS, CONTROL AND MECHATRONICS

Agent Languages. Overview. Requirements. Java. Tcl/Tk. Telescript. Evaluation. Artificial Intelligence Intelligent Agents

Website Builder Overview

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Best Practice Search Engine Optimisation

1 Different types of systems Sub-systems Different types of control systems Simple systems analysis... 10

Hybrid System for Driver Assistance

Invitation and Follow Up Scripts

Chapter-1 : Introduction 1 CHAPTER - 1. Introduction

SIMATIC Route Control Configuration, Control and Diagnostics of Material Transports. Product Brief February 2004

PRE-RFP Analysis for Website Development & Maintenance

Inbound & Outbound Marketing

Making model-based development a reality: The development of NEC Electronics' automotive system development environment in conjunction with MATLAB

The Internet, Intranets, and Extranets. What is the Internet. What is the Internet cont d.

Web Load Stress Testing

DIGITAL MARKETING TRAINING

Business Process Services. White Paper. Leveraging the Internet of Things and Analytics for Smart Energy Management

QUESTIONS AND ANSWERS

Proceedings of the 9th WSEAS International Conference on APPLIED COMPUTER SCIENCE

Teaching Introductory Artificial Intelligence with Pac-Man

1. MENU ICONS PORTFOLIO ALFRED (DASHBOARD) REPORTING DOMAIN EXCHANGE WATCHLIST * SETTINGS LIVE TRADING FLOOR * Protrada Quick Start Guide

VENDOR LOGISTICS PORTAL

PhonEX ONE Microsoft Sample Reports November 2010

Simplicity is the ultimate sophistication. Leonardo da Vinci

Business Problems Addressed

Avsoft, Inc. LEARNING MANAGEMENT SYSTEM ORGANIZATION MANAGER MANUAL

Physical Security Information Management: A Technical Perspective

WIX: Building a Website with a Template. Choosing a Template First you will need to choose a template from the Create section of the Wix website.

Exercises Engenharia de Software (cod & 6633 )

AIBO as an Intelligent Robot Watchdog

INTRODUCTION TO INFORMATION TECHNOLOGY CSIT Class Hours: 3.0 Credit Hours: 4.0 Laboratory Hours: 3.0 Revised: August 24, 2012

SCIENCE TIME SEARCH MARKETING TRENDS 2014

Intelligent Submersible Manipulator-Robot, Design, Modeling, Simulation and Motion Optimization for Maritime Robotic Research

SE Ranking Report

Simulation-based traffic management for autonomous and connected vehicles

RF 1. Contents: Connecting diagram. Detailed information:

Sentrollers and The Internet of Things

Chapter 15 Functional Programming Languages

Optimising building HVAC services through control

OUTLOOK WEB APP (OWA): MAIL

What s New in ReQlogic v10.0?

SOLUTION BRIEF CA SERVICE MANAGEMENT - SERVICE CATALOG. Can We Manage and Deliver the Services Needed Where, When and How Our Users Need Them?

Microsoft Dynamics GP. Collections Management

Payment Page Integration

Blogger.com User Guide

Chapter 1 Basic Introduction to Computers. Discovering Computers Your Interactive Guide to the Digital World

Computer Science Electives and Clusters

Cellcom Fleet for Vehicles Getting Started Guide

PROGRAM DIRECTOR: Arthur O Connor Contact: URL : THE PROGRAM Careers in Data Analytics Admissions Criteria CURRICULUM Program Requirements

Microsoft Dynamics GP What s New

User interface design. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 16 Slide 1

Building Confidence in Big Data Innovations in Information Integration & Governance for Big Data

Delivering the most complete avionics modernization solution for H-60 and S-70 helicopters.

Appendices master s degree programme Artificial Intelligence

Does function point analysis change with new approaches to software development? January 2013

FLEETMATE. Overview. Work Order Features. CUSTOMER GUIDE: Work Orders

Transcription:

Intelligent Agents Chapter 2 Chapter 2 1

Reminders Assignment 0 (lisp refresher) due 1/28 Lisp/emacs/AIMA tutorial: 11-1 today and Monday, 271 Soda Chapter 2 2

Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types Chapter 2 3

Agents and environments sensors environment percepts actions? agent actuators Agents include humans, robots, softbots, thermostats, etc. The agent function maps from percept histories to actions: f : P A The agent program runs on the physical architecture to produce f Chapter 2 4

Vacuum-cleaner world A B Percepts: location and contents, e.g., [A, Dirty] Actions: Left, Right, Suck, NoOp Chapter 2 5

A vacuum-cleaner agent Percept sequence Action [A, Clean] Right [A, Dirty] Suck [B, Clean] Lef t [B, Dirty] Suck [A, Clean], [A, Clean] Right [A, Clean], [A, Dirty]. Suck. function Reflex-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 What is the right function? Can it be implemented in a small agent program? Chapter 2 6

Rationality Fixed performance measure evaluates the environment sequence one point per square cleaned up in time T? one point per clean square per time step, minus one per move? penalize for > k dirty squares? A rational agent chooses whichever action maximizes the expected value of the performance measure given the percept sequence to date Rational omniscient percepts may not supply all relevant information Rational clairvoyant action outcomes may not be as expected Hence, rational successful Rational exploration, learning, autonomy Chapter 2 7

PEAS To design a rational agent, we must specify the task environment Consider, e.g., the task of designing an automated taxi: Performance measure?? Environment?? Actuators?? Sensors?? Chapter 2 8

PEAS To design a rational agent, we must specify the task environment Consider, e.g., the task of designing an automated taxi: Performance measure?? safety, destination, profits, legality, comfort,... Environment?? US streets/freeways, traffic, pedestrians, weather,... Actuators?? steering, accelerator, brake, horn, speaker/display,... Sensors?? video, accelerometers, gauges, engine sensors, keyboard, GPS,... Chapter 2 9

Performance measure?? Environment?? Actuators?? Sensors?? Internet shopping agent Chapter 2 10

Internet shopping agent Performance measure?? price, quality, appropriateness, efficiency Environment?? current and future WWW sites, vendors, shippers Actuators?? display to user, follow URL, fill in form Sensors?? HTML pages (text, graphics, scripts) Chapter 2 11

Environment types Observable?? Deterministic?? Episodic?? Static?? Discrete?? Single-agent?? Solitaire Backgammon Internet shopping Taxi Chapter 2 12

Environment types Solitaire Backgammon Internet shopping Taxi Observable?? Yes Yes No No Deterministic?? Episodic?? Static?? Discrete?? Single-agent?? Chapter 2 13

Environment types Solitaire Backgammon Internet shopping Taxi Observable?? Yes Yes No No Deterministic?? Yes No Partly No Episodic?? Static?? Discrete?? Single-agent?? Chapter 2 14

Environment types Solitaire Backgammon Internet shopping Taxi Observable?? Yes Yes No No Deterministic?? Yes No Partly No Episodic?? No No No No Static?? Discrete?? Single-agent?? Chapter 2 15

Environment types Solitaire Backgammon Internet shopping Taxi Observable?? Yes Yes No No Deterministic?? Yes No Partly No Episodic?? No No No No Static?? Yes Semi Semi No Discrete?? Single-agent?? Chapter 2 16

Environment types Solitaire Backgammon Internet shopping Taxi Observable?? Yes Yes No No Deterministic?? Yes No Partly No Episodic?? No No No No Static?? Yes Semi Semi No Discrete?? Yes Yes Yes No Single-agent?? Chapter 2 17

Environment types Solitaire Backgammon Internet shopping Taxi Observable?? Yes Yes No No Deterministic?? Yes No Partly No Episodic?? No No No No Static?? Yes Semi Semi No Discrete?? Yes Yes Yes No Single-agent?? Yes No Yes (except auctions) No The environment type largely determines the agent design The real world is (of course) partially observable, stochastic, sequential, dynamic, continuous, multi-agent Chapter 2 18

Agent types Four basic types in order of increasing generality: simple reflex agents reflex agents with state goal-based agents utility-based agents All these can be turned into learning agents Chapter 2 19

Simple reflex agents Agent Sensors Condition action rules What the world is like now What action I should do now Environment Actuators Chapter 2 20

Example function Reflex-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 (setq joe (make-agent :name joe :body (make-agent-body) :program (make-reflex-vacuum-agent-program))) (defun make-reflex-vacuum-agent-program () # (lambda (percept) (let ((location (first percept)) (status (second percept))) (cond ((eq status dirty) Suck) ((eq location A) Right) ((eq location B) Left))))) Chapter 2 21

Reflex agents with state State How the world evolves What my actions do Condition action rules Sensors What the world is like now What action I should do now Environment Agent Actuators Chapter 2 22

Example function Reflex-Vacuum-Agent( [location,status]) returns an action static: last A, last B, numbers, initially if status = Dirty then... (defun make-reflex-vacuum-agent-with-state-program () (let ((last-a infinity) (last-b infinity)) # (lambda (percept) (let ((location (first percept)) (status (second percept))) (incf last-a) (incf last-b) (cond ((eq status dirty) (if (eq location A) (setq last-a 0) (setq last-b 0)) Suck) ((eq location A) (if (> last-b 3) Right NoOp)) ((eq location B) (if (> last-a 3) Left NoOp))))))) Chapter 2 23

Goal-based agents State How the world evolves What my actions do Goals Sensors What the world is like now What it will be like if I do action A What action I should do now Environment Agent Actuators Chapter 2 24

Utility-based agents State How the world evolves What my actions do Utility Sensors What the world is like now What it will be like if I do action A How happy I will be in such a state What action I should do now Environment Agent Actuators Chapter 2 25

Performance standard Learning agents Critic Sensors feedback learning goals Learning element changes knowledge Performance element Environment Problem generator Agent Actuators Chapter 2 26

Summary Agents interact with environments through actuators and sensors The agent function describes what the agent does in all circumstances The performance measure evaluates the environment sequence A perfectly rational agent maximizes expected performance Agent programs implement (some) agent functions PEAS descriptions define task environments Environments are categorized along several dimensions: observable? deterministic? episodic? static? discrete? single-agent? Several basic agent architectures exist: reflex, reflex with state, goal-based, utility-based Chapter 2 27