CMPUT 366 Intelligent Systems: Introduction to Artificial Intelligence Instructor: Prof. Jia You.

Slides:



Advertisements
Similar presentations
Chapter 2: Intelligent Agents
Advertisements

Additional Topics ARTIFICIAL INTELLIGENCE
Artificial Intelligent
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,
ECE457 Applied Artificial Intelligence R. Khoury (2007)Page 1 Please pick up a copy of the course syllabus from the front desk.
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.
Rutgers CS440, Fall 2003 Lecture 2: Intelligent Agents Reading: AIMA, Ch. 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)
ARTIFICIAL INTELLIGENCE Introduction: Chapter Textbook: S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Prentice Hall, 2003,
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:
ARTIFICIAL INTELLIGENCE Introduction: Chapter 1. Outline Course overview What is AI? A brief history The state of the art.
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: Chapter 1
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.
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.
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.
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.
CS 8520: Artificial Intelligence Intelligent Agents Paula Matuszek Fall, 2008 Slides based on Hwee Tou Ng, aima.eecs.berkeley.edu/slides-ppt, which are.
Introduction to Artificial Intelligence Mitch Marcus CIS391 Fall, 2008.
Intelligent Agents อาจารย์อุทัย เซี่ยงเจ็น สำนักเทคโนโลยีสารสนเทศและการ สื่อสาร มหาวิทยาลัยนเรศวร วิทยาเขต สารสนเทศพะเยา.
Artificial Intelligence
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.
Definitions Think like humansThink rationally Act like humansAct rationally The science of making machines that: This slide deck courtesy of Dan Klein.
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.
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.
ECE457 Applied Artificial Intelligence R. Khoury (2007)Page 1 Please pick up a copy of the course syllabus from the front desk.
ECE 448 Lecture 3: Rational Agents
EA C461 – Artificial Intelligence Intelligent Agents
Rational 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
Introduction to Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
AI and Agents CS 171/271 (Chapters 1 and 2)
Intelligent Agents Chapter 2.
EA C461 – Artificial Intelligence Intelligent Agents
Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Presentation transcript:

CMPUT 366 Intelligent Systems: Introduction to Artificial Intelligence Instructor: Prof. Jia You

Instruction Team Prof: Jia You Office hours: Tue, Thur: 11:00-10:50, or by appointment Phone: TAs: Gang Wu, Xiang Wan, Chonghai wang Home Page: Announcements Slides Assignments

Textbooks Required S Russell and P Norvig Artificial Intelligence: A Modern Approach, Prentice Hall, 2003 (2 nd Edition).

Evaluation 4 Assignments Solo! (see code of conducts) Total 4 late days allowed Paper/Pencil/Typed  Submit hard copy on due date before class, write legibly, or typed (better) Implementations (code)  Submit using ASTEP. The deadline is 11:59pm on the due date.  The implementations must run on the lab machines (in CSC 219) Final Exam 38% Closed book but allows notes on one 8X11 white paper.

Other Issues Prerequisites Programming skills (C++, Java) Elementary probability theory AI Seminar Friday noons, CSC333 Neat topics, great speakers, FREE PIZZA!

Course Overview Introduction: intelligent agent Search and constraint satisfaction Logical agent and planning Probabilistic reasoning Constraint Programming Others (time permitting)

What is Artificial Intelligence (AI)? Discipline that systematizes and automates intellectual tasks to create machines that: Act like humansAct rationally Think like humansThink rationally

Act Like Humans AI is the art of creating machines that perform functions that require intelligence when performed by humans Methodology: Take an intellectual task at which people are better and make a computer do it Prove a theorem Play chess Plan a surgical operation Diagnose a disease Navigate in a building

Turing Test Alan TuringAlan Turing, a mathematician who not only cracked the German code making machine, Enigma during the Second World War, but invented the concept of computers as we know them. Turing asserted that if you can fool a human into believing that he/she is receiving answers from another human when in fact it is a computer, this proves that computers are doing essentially what human brains do.

“Can machines think” -> “Can machines behave intelligently?” Operational test of intelligence: Imitation Game: Problem: Turing Test is not reproducible, constructive, or amenable to mathematical analysis.

Think Like Humans How the computer performs functions does matter Comparison of the traces of the reasoning steps Cognitive science  testable theories of the workings of the human mind But, do we want to duplicate human imperfections?

Think Rationally: Laws of Thought Normative (or prescriptive) rather than descriptive Aristotle: what are correct arguments/thought processes? Several Greek schools developed forms of logic: notation and rules of derivation for thoughts. Problems: Not all intelligent behavior is mediated by logical deliberation What is the purpose of thinking? What thoughts should I have?

Act Rationally Rational behavior: doing the right thing “The right thing”: that which is expected to maximize goal achievement, given the available information Limited resource, imperfect knowledge Rationality ≠ Omniscience, Rationality ≠ Clairvoyance, Rationality ≠ Successes Doesn't necessarily (but often) involve thinking Ignores the role of consciousness, emotions, fear of dying, … Doesn’t necessarily have anything to do with how humans solve the same problem.

AI History

Trends Since 90’s Relying less on logic and more on probability theory and statistics. More emphasis on objective performance evaluation. Intelligent Agents Computations: Constraints and constraint programming Accomplishments in Game playing: Deep blue, Chinook, … Space Probe Biological sequence analysis Consumer electronics ……

Notion of an Agent environment agent ? sensors actuators laser range finder sonars touch sensors Source: robotics.stanford.edu/~latombe/cs121/2003/home.htmrobotics.stanford.edu/~latombe/cs121/2003/home.htm

Notion of an Agent environment agent ? sensors actuators Locality of sensors/actuators Imperfect modeling Time/resource constraints Sequential interaction Multi-agent worlds Source: robotics.stanford.edu/~latombe/cs121/2003/home.htmrobotics.stanford.edu/~latombe/cs121/2003/home.htm

Example: Tracking a Target target robot The robot must keep the target in view The target’s trajectory is not known in advance The robot may not know all the obstacles in advance Fast decision is required Source: robotics.stanford.edu/~latombe/cs121/2003/home.htmrobotics.stanford.edu/~latombe/cs121/2003/home.htm

What is Artificial Intelligence? (revised) Study of design of rational agents agent = thing that acts in environment Rational agent = agent that acts rationally: actions are appropriate for goals and circumstances to changing environments and goals learns from experience

Goals of Artificial Intelligence Scientific goal: understand principles that make rational (intelligent) behavior possible, in natural or artificial systems. Engineering goal: specify methods for design of useful, intelligent artifacts. Psychological goal: understanding/modeling people cognitive science (not this course)

Goals of This Course Introduce key methods & techniques from AI Searching, Reasoning and decision making (logical and probabilistic) Solving computationally hard problems Learning (covered in detail in CMPUT466) Understand applicability and limitations of these methods

Goals of This Course Our approach: Characterize Environments Identify agent that is most effective for each environment Study increasingly complicated agent architectures requiring increasingly sophisticated representations, increasingly powerful reasoning strategies

Intelligent Agents Definition: An Intelligent Agent perceives its environment via sensors and acts rationally upon that environment with its acutators. Hence, an agent gets percepts one at a time, and maps this percept sequence to actions. Properties Autonomous Interacts with other agents plus the environment Adaptive to the environment Pro-active (goal-directed)

Applications of Agents Autonomous delivery/cleaning robot roams around home/office environment, delivering coffee, parcels,... vacuuming, dusting,... Diagnostic assistant helps a human troubleshoot problems and suggest repairs or treatments. E.g., electrical problems, medical diagnosis. Infobot searches for information on computer system or network. Autonomous Space Probes...

Task Environments: PEAS P erformance Measure Criterion of success Environment Actuators Mechanisms for the agent to affect the environment S ensors Channels for the agent to perceive the environment

Example: Taxi Driving P erformance Measure Safe, fast, legal, comfortable trip, maximize profit Environment Roads, other traffic, pedestrians, customers Actuators Steering, accelerator, break, signal, horn, … S ensors Cameras, speedometer, GPS, …

Types of Environments Fully observable (accessible) or not Deterministic vs. stochastic Episodic vs. sequential Static vs. dynamic Discrete vs. continuous Single agent vs. multiagent competitive vs. cooperative

Example: Cleaning Agent

P erformance Measure ?? Environment ?? Actuators ?? S ensors ??

SurfBot Automated web surfing A SurfBot operates in the environment of the web. takes in high-level, perhaps informal, queries finds relevant information presents information in meaningful way

Performance Measure ?? Environment ?? Actuators ?? Sensors ??

Agent Function and Program Agent specified by agent function mapping percept sequences to actions Aim: Concisely implement “rational agent function” Agent program input: a single percept-vector (keeps/updates internal state) returns action

Skeleton Agent Program function SkeletonAgent(percept) returns action static: memory, [agent's memory of the world] memory  UpdateMemory(memory,percept) action  ChooseBestAction(memory) memory  UpdateMemory(memory, action) return action

Types of Agents Simple reflex agents Actions are determined by sensory input only Model-based reflex agents Has internal states Goal-based agents Action may be driven by a goal Utility-based agents Maximizes a utility function

Simple Reflex Agent

Model-Based Agent

Goal-based Agent

Utility-based Agent

Summary What is AI? Rationality A bit of History Intelligent Agent PEAS Types of Agents