Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 1 Friday 22 August 2003.

Slides:



Advertisements
Similar presentations
Additional Topics ARTIFICIAL INTELLIGENCE
Advertisements

Intelligent Agents Chapter 2.
Intelligent Agents Russell and Norvig: 2
Intelligent Agents Chapter 2. Outline Agents and environments Agents and environments Rationality Rationality PEAS (Performance measure, Environment,
CSE 471/598, CBS 598 Intelligent Agents TIP We’re intelligent agents, aren’t we? Fall 2004.
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.
Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.
Rational 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. Software agents O Monday: O Overview video (Introduction to software agents) O Agents and environments O Rationality O Wednesday:
Chapter 1 Introduction. General Concepts The field of Artificial Intelligence attempts to understand, model, and simulate the behavior (to some extend)
Computing & Information Sciences Kansas State University Lecture 1 of 42 CIS 530 / 730 Artificial Intelligence Lecture 1 of 42 William H. Hsu Department.
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.
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence Lecture 1 Wednesday, January.
Artificial Intelligence
CHAPTER 2 Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 1 Friday 22 August 2003.
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.
Computing & Information Sciences Kansas State University Wednesday, 23 Aug 2006CIS 490 / 730: Artificial Intelligence Lecture 1 of 42 Wednesday, 23 August.
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,
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 14 Friday, 10 September.
Chapter 2 Agents & Environments. © D. Weld, D. Fox 2 Outline Agents and environments Rationality PEAS specification Environment types Agent types.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 2 Tuesday, August 29,
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.
Computing & Information Sciences Kansas State University Wednesday, 22 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 22 of 42 Wednesday, 22 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 2 of 41 Monday, 23 August.
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.
Lecture 2 of 42 Problem Solving by Search
Intelligent Agents อาจารย์อุทัย เซี่ยงเจ็น สำนักเทคโนโลยีสารสนเทศและการ สื่อสาร มหาวิทยาลัยนเรศวร วิทยาเขต สารสนเทศพะเยา.
Introduction of Intelligent Agents
INTELLIGENT AGENTS. Agents  An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Friday, 14 November 2003 William.
University of Kurdistan Artificial Intelligence Methods (AIM) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
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.
1/23 Intelligent Agents Chapter 2 Modified by Vali Derhami.
CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we?
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.
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.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Artificial Intelligence
How R&N define AI humanly vs. rationally thinking vs. acting
EA C461 – Artificial Intelligence Intelligent Agents
Artificial Intelligence Lecture No. 4
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Hong Cheng SEG4560 Computational Intelligence for Decision Making Chapter 2: Intelligent Agents Hong Cheng
CSE 4705 Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
EA C461 – Artificial Intelligence Intelligent Agents
Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Presentation transcript:

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 1 Friday 22 August 2003 William H. Hsu Department of Computing and Information Sciences, KSU Reading for Next Class: Chapter 2, Russell and Norvig The Intelligent Agent Framework

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture Outline Today’s Reading: Chapter 2, Russell and Norvig Intelligent Agent (IA) Design –Shared requirements, characteristics of IAs –Methodologies Software agents Reactivity vs. state Knowledge, inference, and uncertainty Intelligent Agent Frameworks –Reactive –With state –Goal-based –Utility-based Thursday: Problem Solving and Search –State space search handout (Winston) –Search handout (Ginsberg)

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Review: Course Topics Overview: Intelligent Systems and Applications Artificial Intelligence (AI) Software Development Topics –Knowledge representation Logical Probabilistic –Search Problem solving by (heuristic) state space search Game tree search –Planning: classical, universal –Machine learning Models (decision trees, version spaces, ANNs, genetic programming) Applications: pattern recognition, planning, data mining and decision support –Topics in applied AI Computer vision fundamentals Natural language processing (NLP) and language learning survey Implementation Practicum – 1-2 Students per Team

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Agent: Definition –Any entity that perceives its environment through sensors and acts upon that environment through effectors –Examples (class discussion): human, robotic, software agents Perception –Signal from environment –May exceed sensory capacity Sensors –Acquires percepts –Possible limitations Action –Attempts to affect environment –Usually exceeds effector capacity Effectors –Transmits actions –Possible limitations Agent Intelligent Agents: Overview Percepts Environment Sensors Effectors Actions ?

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence How Agents Should Act Rational Agent: Definition –Informal: “does the right thing, given what it believes from what it perceives” –What is “the right thing”? First approximation: action that maximizes success of agent Limitations to this definition? –Issues to be addressed now How to evaluate success When to evaluate success –Issues to be addressed later in this course Uncertainty (in environment, in actions) How to express beliefs, knowledge Why Study Rationality? –Recall: aspects of intelligent behavior (last lecture) Engineering objectives: optimization, problem solving, decision support Scientific objectives: modeling correct inference, learning, planning –Rational cognition: formulating plausible beliefs, conclusions –Rational action: “doing the right thing” given beliefs

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Rational Agents “Doing the Right Thing” –Committing actions Limited to set of effectors In context of what agent knows –Specification (cf. software specification) Preconditions, postconditions of operators Caveat: not always perfectly known (for given environment) Agent may also have limited knowledge of specification Agent Capabilities: Requirements –Choice: select actions (and carry them out) –Knowledge: represent knowledge about environment –Perception: capability to sense environment –Criterion: performance measure to define degree of success Possible Additional Capabilities –Memory (internal model of state of the world) –Knowledge about effectors, reasoning process (reflexive reasoning)

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Measuring Performance Performance Measure: How to Determine Degree of Sucesss –Definition: criteria that determine how successful agent is –Clearly, varies over Agents Environments –Possible measures? Subjective (agent may not have capability to give accurate answer!) Objective: outside observation –Example: web crawling agent Number of hits Number of relevant hits Ratio of relevant hits to pages explored, resources expended Caveat: “you get what you ask for” (issues: redundancy, etc.) When to Evaluate Success –Depends on objectives (short-term efficiency, consistency, etc.) –Is task episodic? Are there milestones? Reinforcements? (e.g., games)

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Knowledge in Agents Rationality versus Omniscience –Nota Bene (NB): not the same –Distinction Omniscience: knowing actual outcome of all actions Rationality: knowing plausible outcome of all actions Example: is crossing the street to greet a friend too risky? –Key question in AI What is a plausible outcome? Especially important in knowledge-based expert systems Of practical important in planning, machine learning –Related questions How can an agent make rational decisions given beliefs about outcomes of actions? Specifically, what does it mean (algorithmically) to “choose the best”? Limitations of Rationality –Based only on what agent can perceive and do –Based on what is “likely” to be right, not what “turns out” to be right

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence What Is Rational? Criteria –Determines what is rational at any given time –Varies with agent, environment, situation Performance Measure –Specified by outside observer or evaluator –Applied (consistently) to (one or more) IAs in given environment Percept Sequence –Definition: entire history of percepts gathered by agent –NB: may or may not be retained fully by agent (issue: state and memory) Agent Knowledge –Of environment – “required” –Of self (reflexive reasoning) Feasible Action –What can be performed –What agent believes it can attempt?

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Ideal Rationality Ideal Rational Agent –Given: any possible percept sequence –Do: ideal rational behavior Whatever action is expected to maximize performance measure NB: expectation – informal sense (for now); mathematical foundation soon –Basis for action Evidence provided by percept sequence Built-in knowledge possessed by the agent Ideal Mapping from Percepts to Actions –Figure 2.2, R&N –Mapping p: percept sequence  action Representing p as list of pairs: infinite (unless explicitly bounded) Using p: specifies ideal mapping from percepts to actions (i.e., ideal agent) Finding explicit p: in principle, could use trial and error Other (implicit) representations may be easier to acquire!

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Autonomy Built-In Knowledge –What if agent ignores percepts? –Possibility All actions based on agent’s own knowledge Agent said to lack autonomy –Examples “Preprogrammed” or “hardwired” industrial robots Clocks Other sensorless automata NB: to be distinguished from closed versus open loop systems Justificiation for Autonomous Agents –Sound engineering practice: “Intelligence demands robustness, adaptivity” Example: dung beetle (Egyptian scarab) Ethological and evolutionary bases of knowledge –This course: mathematical and CS basis of autonomy in IAs

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Structure of Intelligent Agents Agent Behavior –Given: sequence of percepts –Return: IA’s actions Simulator: description of results of actions Real-world system: committed action Agent Programs –Functions that implement p –Assumed to run in computing environment (architecture) Hardware architecture: computer organization Software architecture: programming languages, operating systems –Agent = architecture + program This course (CIS730): primarily concerned with p CIS540, 740, 748: concerned with architecture See also: Chapter 24 (Vision), 25 (Robotics), R&N Discussion: “Real” versus “Artificial” Environments

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Agent Programs Software Agents –Also known as (aka) software robots, softbots –Typically exist in very detailed, unlimited domains –Example (Real-time) critiquing, automation of avionics, shipboard damage control Indexing (spider), information retrieval (IR; e.g., web crawlers) agents Plan recognition systems (computer security, fraud detection monitors) –See: Bradshaw (Software Agents) Focus of This Course: Building IAs –Generic skeleton agent: Figure 2.4, R&N –function SkeletonAgent (percept) returns action static: memory, agent’s memory of the world memory  Update-Memory (memory, percept) action  Choose-Best-Action (memory) memory  Update-Memory (memory, action) return action

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Example: Automated Taxi Driver Agent Type: Taxi Driver Percepts –Visual: cameras –Profilometer: speedometer, tachometer, odometer –Other: GPS, sonar, interactive (microphone) Actions –Steer, accelerate, brake –Talk to passenger Goals –Safe, legal, fast, comfortable –Maximize profits Environment –Roads –Other traffic, pedestrians –Customers Discussion: Performance Requirements for Open Ended Task

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Terminology Artificial Intelligence (AI) –Operational definition: study / development of systems capable of “thought processes” (reasoning, learning, problem solving) –Constructive definition: expressed in artifacts (design and implementation) Intelligent Agents Topics and Methodologies –Knowledge representation Logical Uncertain (probabilistic) Other (rule-based, fuzzy, neural, genetic) –Search –Machine learning –Planning Applications –Problem solving, optimization, scheduling, design –Decision support, data mining –Natural language processing, conversational and information retrieval agents –Pattern recognition and robot vision

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Summary Points Artificial Intelligence: Conceptual Definitions and Dichotomies –Human cognitive modelling vs. rational inference –Cognition (thought processes) versus behavior (performance) –Some viewpoints on defining intelligence Roles of Knowledge Representation, Search, Learning, Inference in AI –Necessity of KR, problem solving capabilities in intelligent agents –Ability to reason, learn Applications and Automation Case Studies –Search: game-playing systems, problem solvers –Planning, design, scheduling systems –Control and optimization systems –Machine learning: pattern recognition, data mining (business decision support) More Resources Online –Home page for AIMA (R&N) textbook –CMU AI repository –KSU KDD Lab (Hsu): –Comp.ai newsgroup (now moderated)