CS 561, Lecture 2 Last Time: Acting Humanly: The Full Turing Test Alan Turing's 1950 article Computing Machinery and Intelligence discussed conditions.

Slides:



Advertisements
Similar presentations
Intelligent Agents Russell and Norvig: 2
Advertisements

Artificial Intelligence: Chapter 2
Intelligent Agents Chapter 2. Outline Agents and environments Agents and environments Rationality Rationality PEAS (Performance measure, Environment,
1 Intelligent Agents Software analog to human agents real estate agent, librarian, salesperson Perform tasks individually, or in collaboration Static and.
IES 503, Lecture 2 Outline Intelligent Agents (IA) Environment types IA Behavior IA Structure IA Types.
CSE 471/598, CBS 598 Intelligent Agents TIP We’re intelligent agents, aren’t we? Fall 2004.
CS 561, Lecture 2 Administrative Issues Please send an to so that you can be on the class mailing list:
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.
Agents & Environments. © Daniel S. Weld Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical.
Rational Agents (Chapter 2)
Intelligent Agents: an Overview. 2 Definitions Rational behavior: to achieve a goal minimizing the cost and maximizing the satisfaction. Rational agent:
Rational 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.
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:
1 AI and Agents CS 171/271 (Chapters 1 and 2) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Introduction to AI. H.Feili, 1 Introduction to Artificial Intelligence LECTURE 2: Intelligent Agents What is an intelligent agent?
DCP 1172 Introduction to Artificial Intelligence Ch.1 & Ch.2 [AIMA] Chang-Sheng Chen.
Artificial Intelligence
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
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)
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,
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. 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.
Artificial Intelligence Lecture 1. Objectives Definition Foundation of AI History of AI Agent Application of AI.
Intelligent Agents อาจารย์อุทัย เซี่ยงเจ็น สำนักเทคโนโลยีสารสนเทศและการ สื่อสาร มหาวิทยาลัยนเรศวร วิทยาเขต สารสนเทศพะเยา.
INTELLIGENT AGENTS. Agent and Environment Environment Agent percepts actions ? Sensors Effectors.
A RTIFICIAL I NTELLIGENCE Intelligent Agents 30 November
Introduction of Intelligent Agents
Instructional Objective  Define an agent  Define an Intelligent agent  Define a Rational agent  Discuss different types of environment  Explain classes.
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2007.
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2004.
Artificial Intelligence
Artificial Intelligence
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 Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
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
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 Chapter 2. How do you design an intelligent agent? Definition: An intelligent agent perceives its environment via sensors and acts.
Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types.
How R&N define AI humanly vs. rationally thinking vs. acting
EA C461 – Artificial Intelligence Intelligent Agents
Chapter 2 – AIMA Dr. Aarij Mahmood Hussaan
Artificial Intelligence Lecture No. 5
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Hong Cheng SEG4560 Computational Intelligence for Decision Making Chapter 2: Intelligent Agents Hong Cheng
© James D. Skrentny from notes by C. Dyer, et. al.
AI and Agents CS 171/271 (Chapters 1 and 2)
EA C461 – Artificial Intelligence Intelligent Agents
Administrative Issues
Structure of intelligent agents and environments
Presentation transcript:

CS 561, Lecture 2 Last Time: Acting Humanly: The Full Turing Test Alan Turing's 1950 article Computing Machinery and Intelligence discussed conditions for considering a machine to be intelligent “Can machines think?”  “Can machines behave intelligently?” The Turing test (The Imitation Game): Operational definition of intelligence. Computer needs to possess: Natural language processing, Knowledge representation, Automated reasoning, and Machine learning Problem: 1) Turing test is not reproducible, constructive, and amenable to mathematic analysis. 2) What about physical interaction with interrogator and environment? Total Turing Test: Requires physical interaction and needs perception and actuation.

CS 561, Lecture 2 Last time: The Turing Test

CS 561, Lecture 2 Last time: The Turing Test

CS 561, Lecture 2 Last time: The Turing Test

CS 561, Lecture 2 Last time: The Turing Test

CS 561, Lecture 2 Last time: The Turing Test

CS 561, Lecture 2 This time: Outline Intelligent Agents (IA) Environment types IA Behavior IA Structure IA Types

CS 561, Lecture 2 What is an (Intelligent) Agent? An over-used, over-loaded, and misused term. Anything that can be viewed as perceiving its environment through sensors and acting upon that environment through its effectors to maximize progress towards its goals.

CS 561, Lecture 2 What is an (Intelligent) Agent? PAGE (Percepts, Actions, Goals, Environment) Task-specific & specialized: well-defined goals and environment The notion of an agent is meant to be a tool for analyzing systems, It is not a different hardware or new programming languages

CS 561, Lecture 2 Example: Human mind as network of thousands or millions of agents working in parallel. To produce real artificial intelligence, this school holds, we should build computer systems that also contain many agents and systems for arbitrating among the agents' competing results. Distributed decision-making and control Challenges: Action selection: What next action to choose Conflict resolution Intelligent Agents and Artificial Intelligence sensors effectors Agency

CS 561, Lecture 2 Agent Types We can split agent research into two main strands: Distributed Artificial Intelligence (DAI) – Multi-Agent Systems (MAS) (1980 – 1990) Much broader notion of "agent" (1990’s – present) interface, reactive, mobile, information

CS 561, Lecture 2 Rational Agents Environment Agent percepts actions ? Sensors Effectors How to design this?

CS 561, Lecture 2 Remember: the Beobot example

CS 561, Lecture 2 A Windshield Wiper Agent How do we design a agent that can wipe the windshields when needed? Goals? Percepts? Sensors? Effectors? Actions? Environment?

CS 561, Lecture 2 A Windshield Wiper Agent (Cont’d) Goals: Keep windshields clean & maintain visibility Percepts: Raining, Dirty Sensors: Camera (moist sensor) Effectors: Wipers (left, right, back) Actions: Off, Slow, Medium, Fast Environment: Inner city, freeways, highways, weather …

CS 561, Lecture 2 Towards Autonomous Vehicles

CS 561, Lecture 2 Interacting Agents Collision Avoidance Agent (CAA) Goals: Avoid running into obstacles Percepts ? Sensors? Effectors ? Actions ? Environment: Freeway Lane Keeping Agent (LKA) Goals: Stay in current lane Percepts ? Sensors? Effectors ? Actions ? Environment: Freeway

CS 561, Lecture 2 Interacting Agents Collision Avoidance Agent (CAA) Goals: Avoid running into obstacles Percepts: Obstacle distance, velocity, trajectory Sensors: Vision, proximity sensing Effectors: Steering Wheel, Accelerator, Brakes, Horn, Headlights Actions: Steer, speed up, brake, blow horn, signal (headlights) Environment: Freeway Lane Keeping Agent (LKA) Goals: Stay in current lane Percepts: Lane center, lane boundaries Sensors: Vision Effectors: Steering Wheel, Accelerator, Brakes Actions: Steer, speed up, brake Environment: Freeway

CS 561, Lecture 2 Conflict Resolution by Action Selection Agents Override: CAA overrides LKA Arbitrate: if Obstacle is Close then CAA else LKA Compromise: Choose action that satisfies both agents Any combination of the above Challenges:Doing the right thing

CS 561, Lecture 2 The Right Thing = The Rational Action Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date Rational = Best ? Rational = Optimal ? Rational = Omniscience ? Rational = Clairvoyant ? Rational = Successful ?

CS 561, Lecture 2 The Right Thing = The Rational Action Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date Rational = BestYes, to the best of its knowledge Rational = Optimal Yes, to the best of its abilities (incl. Rational  Omniscience its constraints) Rational  Clairvoyant Rational  Successful

CS 561, Lecture 2 Behavior and performance of IAs Perception (sequence) to Action Mapping: f : P *  A Ideal mapping: specifies which actions an agent ought to take at any point in time Description: Look-Up-Table, Closed Form, etc. Performance measure: a subjective measure to characterize how successful an agent is (e.g., speed, power usage, accuracy, money, etc.) (degree of) Autonomy: to what extent is the agent able to make decisions and take actions on its own?

CS 561, Lecture 2 Look up table agent obstacle sensor DistanceAction 10No action 5Turn left 30 degrees 2Stop

CS 561, Lecture 2 Closed form Output (degree of rotation) = F(distance) E.g., F(d) = 10/d (distance cannot be less than 1/10)

CS 561, Lecture 2 How is an Agent different from other software? Agents are autonomous, that is, they act on behalf of the user Agents contain some level of intelligence, from fixed rules to learning engines that allow them to adapt to changes in the environment Agents don't only act reactively, but sometimes also proactively

CS 561, Lecture 2 How is an Agent different from other software? Agents have social ability, that is, they communicate with the user, the system, and other agents as required Agents may also cooperate with other agents to carry out more complex tasks than they themselves can handle Agents may migrate from one system to another to access remote resources or even to meet other agents

CS 561, Lecture 2 Environment Types Characteristics Accessible vs. inaccessible Deterministic vs. nondeterministic Episodic vs. nonepisodic Hostile vs. friendly Static vs. dynamic Discrete vs. continuous

CS 561, Lecture 2 Environment Types Characteristics Accessible vs. inaccessible Sensors give access to complete state of the environment. Deterministic vs. nondeterministic The next state can be determined based on the current state and the action. Episodic vs. nonepisodic (Sequential) Episode: each perceive and action pairs The quality of action does not depend on the previous episode.

CS 561, Lecture 2 Environment Types Characteristics Hostile vs. friendly Static vs. dynamic Dynamic if the environment changes during deliberation Discrete vs. continuous Chess vs. driving

CS 561, Lecture 2 Environment types EnvironmentAccessibleDeterministicEpisodicStaticDiscrete Operating System Virtual Reality Office Environment Mars

CS 561, Lecture 2 Environment types EnvironmentAccessibleDeterministicEpisodicStaticDiscrete Operating System Yes No Yes Virtual Reality Office Environment Mars

CS 561, Lecture 2 Environment types EnvironmentAccessibleDeterministicEpisodicStaticDiscrete Operating System Yes No Yes Virtual Reality Yes Yes/noNoYes/no Office Environment Mars

CS 561, Lecture 2 Environment types EnvironmentAccessibleDeterministicEpisodicStaticDiscrete Operating System Yes No Yes Virtual Reality Yes Yes/noNoYes/no Office Environment No Mars

CS 561, Lecture 2 Environment types EnvironmentAccessibleDeterministicEpisodicStaticDiscrete Operating System Yes No Yes Virtual Reality Yes Yes/noNoYes/no Office Environment No MarsNoSemiNoSemiNo The environment types largely determine the agent design.

CS 561, Lecture 2 Structure of Intelligent Agents Agent = architecture + program Agent program: the implementation of f : P *  A, the agent’s perception-action mapping function Skeleton-Agent( Percept ) returns Action memory  UpdateMemory(memory, Percept ) Action  ChooseBestAction(memory) memory  UpdateMemory(memory, Action ) return Action Architecture: a device that can execute the agent program (e.g., general-purpose computer, specialized device, beobot, etc.)

CS 561, Lecture 2 Using a look-up-table to encode f : P *  A Example: Collision Avoidance Sensors:3 proximity sensors Effectors:Steering Wheel, Brakes How to generate? How large? How to select action? agent obstacle sensors

CS 561, Lecture 2 Using a look-up-table to encode f : P *  A Example: Collision Avoidance Sensors:3 proximity sensors Effectors:Steering Wheel, Brakes How to generate: for each p  P l  P m  P r generate an appropriate action, a  S  B How large: size of table = #possible percepts times # possible actions = | P l | | P m | | P r | | S | | B | E.g., P = {close, medium, far} 3 A = {left, straight, right}  {on, off} then size of table = 27*3*2 = 162 How to select action? Search. agent obstacle sensors

CS 561, Lecture 2 Agent types Reflex agents Reflex agents with internal states Goal-based agents Utility-based agents

CS 561, Lecture 2 Agent types Reflex agents Reactive: No memory Reflex agents with internal states W/o previous state, may not be able to make decision E.g. brake lights at night. Goal-based agents Goal information needed to make decision

CS 561, Lecture 2 Agent types Utility-based agents How well can the goal be achieved (degree of happiness) What to do if there are conflicting goals? Speed and safety Which goal should be selected if several can be achieved?

CS 561, Lecture 2 Reflex agents

CS 561, Lecture 2 Reactive agents Reactive agents do not have internal symbolic models. Act by stimulus-response to the current state of the environment. Each reactive agent is simple and interacts with others in a basic way. Complex patterns of behavior emerge from their interaction. Benefits: robustness, fast response time Challenges: scalability, how intelligent? and how do you debug them?

CS 561, Lecture 2 Reflex agents w/ state

CS 561, Lecture 2 Goal-based agents

CS 561, Lecture 2 Utility-based agents

CS 561, Lecture 2 Mobile agents Programs that can migrate from one machine to another. Execute in a platform-independent execution environment. Require agent execution environment (places). Mobility not necessary or sufficient condition for agenthood. Practical but non-functional advantages: Reduced communication cost (eg, from PDA) Asynchronous computing (when you are not connected) Two types: One-hop mobile agents (migrate to one other place) Multi-hop mobile agents (roam the network from place to place) Applications: Distributed information retrieval. Telecommunication network routing.

CS 561, Lecture 2 Mobile agents Programs that can migrate from one machine to another. Execute in a platform- independent execution environment. Require agent execution environment (places). Mobility not necessary or sufficient condition for agenthood. A mail agent

CS 561, Lecture 2 Mobile agents Practical but non-functional advantages: Reduced communication cost (e.g. from PDA) Asynchronous computing (when you are not connected) Two types: One-hop mobile agents (migrate to one other place) Multi-hop mobile agents (roam the network from place to place)

CS 561, Lecture 2 Mobile agents Applications: Distributed information retrieval. Telecommunication network routing.

CS 561, Lecture 2 Information agents Manage the explosive growth of information. Manipulate or collate information from many distributed sources. Information agents can be mobile or static. Examples: BargainFinder comparison shops among Internet stores for CDsBargainFinder FIDO the Shopping Doggie (out of service)FIDO Internet Softbot infers which internet facilities (finger, ftp, gopher) to use and when from high-level search requests.Internet Softbot Challenge: ontologies for annotating Web pages (eg, SHOE).

CS 561, Lecture 2 Summary Intelligent Agents: Anything that can be viewed as perceiving its environment through sensors and acting upon that environment through its effectors to maximize progress towards its goals. PAGE (Percepts, Actions, Goals, Environment) Described as a Perception (sequence) to Action Mapping: f : P *  A Using look-up-table, closed form, etc. Agent Types: Reflex, state-based, goal-based, utility-based Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date