SlideShare a Scribd company logo
COMP3170  Artificial Intelligence and Machine Learning Lecture 1 Hong Kong Baptist University
COMP 3170 (COMP3010/SCI3790/COMP4070) Course home page:  http://www.comp.hkbu.edu.hk/~comp3170   Lecturers:  Pinata Winoto (RSS715) Guoping Qiu (RSS711) Textbook: S. Russell and P. Norvig  Artificial Intelligence: A Modern Approach  Prentice Hall, 2003, Second Edition
Assessment Continuous Assessment (30%):  Undergrad students:  Quizzes (2 x 10%) + Term project (10%) Graduate students:  Quizzes (2 x 5%) + Term project (20%) Final Examination (70%)
Tentative schedule Tentative schedule/topics: Knowledge representation & reasoning (II)  (Ch. 9 & 10)  Week 4: Feb. 8 Tutorial Week 5: Feb. 14 Uncertainty knowledge & reasoning (I) (Ch. 13)  Week 5: Feb. 15 Tutorial Week 4: Feb. 7 Knowledge representation & reasoning (I)  (Ch. 7 & 8) Week 3: Feb. 1 Tutorial Week 3: Jan. 31  Search (II) (Ch. 5) Week 2: Jan. 25 Tutorial Week 2: Jan. 24  Search (I) (Ch. 3 & 4) Week 1: Jan. 18 Introduction to AI & ML (Ch. 1 & 2) Week 1: Jan. 17 Topics Date
Tentative schedule Tentative schedule/topics: Holiday   Feb. 21 & 22 TBD Week 8: March 15 – Week 13: April 26 Tutorial Week 8: March 14 Concept learning and decision tree learning  (Ch. 18) Week 7: March 8 Quiz 1 (50 minutes) Week 7: March 7  Uncertainty knowledge & reasoning (II) (Ch. 14) Week 6: March 1 Tutorial Week 6: Feb. 28 Topics Date
The History of Artificial Intelligence Chapter 1
What is AI? Views of AI fall into four categories: Thinking humanly Thinking rationally  Acting humanly Acting rationally  The textbook advocates "acting rationally"
Acting humanly: Turing Test Turing (1950) "Computing machinery and intelligence": "Can machines think?"    "Can machines behave intelligently?" Operational test for intelligent behavior: the Imitation Game Predicted that by 2000, a machine might have a 30% chance of fooling a lay person for 5 minutes Anticipated all major arguments against AI in following 50 years Suggested major components of AI: knowledge, reasoning, language understanding, learning
Thinking humanly: cognitive modeling 1960s "cognitive revolution": information-processing psychology  Requires scientific theories of internal activities of the brain -- How to validate? Requires  1) Predicting and testing behavior of human subjects (top-down) or 2) Direct identification from neurological data (bottom-up) Both approaches (roughly, Cognitive Science and Cognitive Neuroscience)  are now distinct from AI
Thinking rationally: "laws of thought" Aristotle: what are correct arguments/thought processes? Several Greek schools developed various forms of  logic :  notation  and  rules of derivation  for thoughts; may or may not have proceeded to the idea of mechanization Direct line through mathematics and philosophy to modern AI Problems:  Not all intelligent behavior is mediated by logical deliberation What is the purpose of thinking? What thoughts should I have?
Acting rationally: rational agent Rational  behavior: doing the right thing The right thing: that which is expected to maximize goal achievement, given the available information Doesn't necessarily involve thinking – e.g., blinking reflex – but  thinking should be in the service of rational action
Rational agents An  agent  is an entity that perceives and acts This course is about designing rational agents Abstractly, an agent is a function from percept histories to actions: [ f :  P*      A ] For any given class of environments and tasks, we seek the agent (or class of agents) with the best performance Caveat: computational limitations make perfect rationality unachievable    design best  program  for given machine resources
AI prehistory Philosophy Logic, methods of reasoning, mind as physical    system foundations of learning, language, rationality Mathematics Formal representation and proof algorithms, computation, (un)decidability, (in)tractability, probability Economics utility, decision theory  Neuroscience physical substrate for mental activity Psychology  phenomena of perception and motor control, experimental techniques Computer  building fast computers  engineering Control theory design systems that maximize an objective function over time  Linguistics knowledge representation, grammar
Abridged history of AI 1943  McCulloch & Pitts: Boolean circuit model of brain 1950  Turing's "Computing Machinery and Intelligence" 1956 Dartmouth meeting: "Artificial Intelligence" adopted 1952—69 Look, Ma, no hands!  1950s Early AI programs, including Samuel's checkers program, Newell & Simon's Logic Theorist,  Gelernter's Geometry Engine 1965 Robinson's complete algorithm for logical reasoning 1966—73 AI discovers computational complexity Neural network research almost disappears 1969—79 Early development of knowledge-based systems 1980--  AI becomes an industry  1986--  Neural networks return to popularity 1987-- AI becomes a science  1995-- The emergence of intelligent agents
State of the art Deep Blue defeated the reigning world chess champion Garry Kasparov in 1997  Proved a mathematical conjecture (Robbins conjecture) unsolved for decades  No hands across America (driving autonomously 98% of the time from Pittsburgh to San Diego)  During the 1991 Gulf War, US forces deployed an AI logistics planning and scheduling program that involved up to 50,000 vehicles, cargo, and people  NASA's on-board autonomous planning program controlled the scheduling of operations for a spacecraft  Proverb  solves crossword puzzles better than most humans
AI Applications --- Others ... Entertainment/Game http://www.amazon.com/exec/obidos/ASIN/1584500778/thegameaipage/002-0547139-8046433 Business/Commerce Internet Web Intelligence Education http://www.stottlerhenke.com/solutions/training/its_background.htm Military/War http:// www.aaai.org/AITopics/html/military.html
Discussion on Turing Test (The Imitation Game) Do we need AI to pass Turing test? References: http://www.rci.rutgers.edu/~cfs/472_html/Intro/NYT_Intro/History/MachineIntelligence1.html MegaHal
Intelligent Agents Chapter 2
Agents An  agent  is anything that can be viewed as  perceiving  its  environment  through  sensors  and  acting  upon that environment through  actuators Human agent: eyes, ears, and other organs for sensors; hands, legs, mouth, and other body parts for actuators Robotic agent: cameras and infrared range finders for sensors; various motors for actuators
Agents and environments The  agent   function  maps from percept histories to actions: [ f :  P*      A ] The  agent   program  runs on the physical  architecture  to produce  f agent = architecture + program
Vacuum-cleaner world Percepts: location and contents, e.g., [A,Dirty] Actions:  Left ,  Right ,  Suck ,  NoOp
Rational agents An agent should strive to  "do the right thing" , based on what it can perceive and the actions it can perform. The right action is the one that will cause the agent to be most successful Performance measure:  An objective criterion for success of an agent's behavior E.g., performance measure of a vacuum-cleaner agent could be amount of dirt cleaned up, amount of time taken, amount of electricity consumed, amount of noise generated, etc.
Rational agents Rational   Agent : For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever built-in knowledge the agent has.
Rational agents Rationality is distinct from omniscience (all-knowing with infinite knowledge) Agents can perform actions in order to modify future percepts so as to obtain useful information (information gathering, exploration) An agent is  autonomous  if its behavior is determined by its own experience (with ability to learn and adapt) How to design a rational agent?
Task environment: PEAS Must first specify the setting for intelligent agent design Consider, e.g., the task of designing an automated taxi driver: Performance measure: Safe, fast, legal, comfortable trip, maximize profits Environment: Roads, other traffic, pedestrians, customers Actuators: Steering wheel, accelerator, brake, signal, horn Sensors: Cameras, sonar, speedometer, GPS, odometer, engine sensors, keyboard
PEAS Agent: Medical diagnosis system Performance measure: Healthy patient, minimize costs, lawsuits Environment: Patient, hospital, staff Actuators: Screen display (questions, tests, diagnoses, treatments, referrals) Sensors: Keyboard (entry of symptoms, findings, patient's answers)
PEAS Agent: Part-picking robot Performance measure: Percentage of parts in correct bins Environment: Conveyor belt with parts, bins Actuators: Jointed arm and hand Sensors: Camera, joint angle sensors
PEAS Agent: Interactive English tutor Performance measure: Maximize student's score on test Environment: Set of students Actuators: Screen display (exercises, suggestions, corrections) Sensors: Keyboard What kind of environment?
Environment types Fully observable  (vs. partially observable): An agent's sensors give it access to the complete state of the environment at each point in time. Deterministic  (vs. stochastic): The next state of the environment is completely determined by the current state and the action executed by the agent. (If the environment is deterministic except for the actions of other agents, then the environment is  strategic ) Episodic  (vs. sequential): The agent's experience is divided into atomic "episodes" (each episode consists of the agent perceiving and then performing a single action), and the choice of action in each episode depends only on the episode itself.
Environment types Static  (vs. dynamic): The environment is unchanged while an agent is deliberating. (The environment is  semidynamic  if the environment itself does not change with the passage of time but the agent's performance score does) Discrete  (vs. continuous): A limited number of distinct, clearly defined percepts and actions. Single agent  (vs. multiagent): An agent operating by itself in an environment.
Environment types Chess with  Chess without  Taxi driving  a clock a clock Fully observable Yes Yes No  Deterministic Strategic Strategic No  Episodic  No No No  Static  Semi Yes  No  Discrete Yes  Yes No Single agent No No No  The environment type largely determines the agent design The real world is (of course) partially observable, stochastic, sequential, dynamic, continuous, multi-agent The structure of a rational agent?
Agent functions and programs An agent is completely specified by the  agent function  mapping percept sequences to actions One agent function (or a small equivalence class) is  rational Aim (job of AI): find a way (program) to implement the rational agent function concisely
Table-lookup agent Drawbacks: Huge table Take a long time to build the table No autonomy Even with learning, need a long time to learn the table entries
Agent types Four basic types in order of increasing generality: Simple reflex agents Model-based reflex agents Goal-based agents Utility-based agents
Simple reflex agents
Model-based reflex agents
Goal-based agents
Utility-based agents
Learning agents

More Related Content

PPTX
Human-Level AI & Phenomenology
PPTX
Introduction To Artificial Intelligence
PPTX
Artificial intelligence LAB 1 overview & intelligent systems
PPTX
AI: Introduction to artificial intelligence
PPT
AI Lecture 1 (introduction)
PPT
Useful Techniques in Artificial Intelligence
PDF
Machine learning
PPTX
1.introduction to ai
Human-Level AI & Phenomenology
Introduction To Artificial Intelligence
Artificial intelligence LAB 1 overview & intelligent systems
AI: Introduction to artificial intelligence
AI Lecture 1 (introduction)
Useful Techniques in Artificial Intelligence
Machine learning
1.introduction to ai

What's hot (20)

PPTX
ARTIFICIAL INTELLIGENCE Presentation
PPTX
artificial intelligence
PPTX
Turing Test : From A.I. to Beyond !
PPT
Artificial Intelligence
PDF
Towards which Intelligence? Cognition as Design Key for building Artificial I...
PPTX
Artificial intelligence introduction
PPT
Artificial Intelligence AI Topics History and Overview
PPTX
AI Introduction
PPTX
Types of artificial intelligence
PPTX
Artificial intelligence
PPT
The Turing Test - A sociotechnological analysis and prediction - Machine Inte...
PDF
Introduction to Artificial Intelligence
PPT
Artificial intelligence
PPTX
presentation on Artificial intelligence by prince kumar kushwaha from rustamj...
PPTX
Artificial Intelligence
PPT
CS 561a: Introduction to Artificial Intelligence
PPTX
PPTX
Introduction
PPT
Lect # 2
PDF
Artificial intelligence
ARTIFICIAL INTELLIGENCE Presentation
artificial intelligence
Turing Test : From A.I. to Beyond !
Artificial Intelligence
Towards which Intelligence? Cognition as Design Key for building Artificial I...
Artificial intelligence introduction
Artificial Intelligence AI Topics History and Overview
AI Introduction
Types of artificial intelligence
Artificial intelligence
The Turing Test - A sociotechnological analysis and prediction - Machine Inte...
Introduction to Artificial Intelligence
Artificial intelligence
presentation on Artificial intelligence by prince kumar kushwaha from rustamj...
Artificial Intelligence
CS 561a: Introduction to Artificial Intelligence
Introduction
Lect # 2
Artificial intelligence
Ad

Viewers also liked (15)

DOC
ph-report.doc
PPTX
Aprendizaje Automático en Astrofísica, Óptica y Otras Áreas Olac ...
PPT
Technical track-afterimaging Progress Database
DOC
KM.doc
DOCX
Word accessible - .:: NIB | National Industries for the Blind ::.
PPTX
DOCX
2005 BT Technology Timeline
DOC
SHFpublicReportfinal_WP2.doc
DOC
2007bai7604.doc.doc
PPT
LECTURE8.PPT
PDF
Applying Support Vector Learning to Stem Cells Classification
DOC
Resume(short)
PPT
Motivated Machine Learning for Water Resource Management
DOCX
STEFANO CARRINO
PPTX
Artificial Intelligence Progress - Tom Dietterich
ph-report.doc
Aprendizaje Automático en Astrofísica, Óptica y Otras Áreas Olac ...
Technical track-afterimaging Progress Database
KM.doc
Word accessible - .:: NIB | National Industries for the Blind ::.
2005 BT Technology Timeline
SHFpublicReportfinal_WP2.doc
2007bai7604.doc.doc
LECTURE8.PPT
Applying Support Vector Learning to Stem Cells Classification
Resume(short)
Motivated Machine Learning for Water Resource Management
STEFANO CARRINO
Artificial Intelligence Progress - Tom Dietterich
Ad

Similar to Introduction (20)

PPT
Artificial intelligence intro
PPT
M1 intro
PPT
artificial Intelligence unit1 ppt (1).ppt
PPT
Lecture1
PPTX
IT201 Basics of Intelligent Systems-1.pptx
PDF
Course Introduction Artificial Intelligence by Marco Chiarandini
PDF
Lectures_on_Artificial_Intelligence_08.09.16.pdf
PPTX
Robotics and agents
PPTX
Artificial intelligence BCA 6th Sem Notes
PPTX
Artificial intelligence BCA 6th Sem Notes
PPT
EELU AI lecture 1- fall 2022-2023 - Chapter 01- Introduction.ppt
PPT
Lecture 1.ppt
PPTX
AI INTELLIGENT AGENTS AND ENVIRONMENT.pptx
PPT
Artificial Intelligence Module 1_additional2.ppt
PPTX
AI_Lecture_1.pptx
PPTX
AI_Module_1_Lecture_1.pptx
PPT
artificial engineering the future of computing
PPTX
AI_01_introduction.pptx
PDF
TYBSC CS SEM 5 AI NOTES
Artificial intelligence intro
M1 intro
artificial Intelligence unit1 ppt (1).ppt
Lecture1
IT201 Basics of Intelligent Systems-1.pptx
Course Introduction Artificial Intelligence by Marco Chiarandini
Lectures_on_Artificial_Intelligence_08.09.16.pdf
Robotics and agents
Artificial intelligence BCA 6th Sem Notes
Artificial intelligence BCA 6th Sem Notes
EELU AI lecture 1- fall 2022-2023 - Chapter 01- Introduction.ppt
Lecture 1.ppt
AI INTELLIGENT AGENTS AND ENVIRONMENT.pptx
Artificial Intelligence Module 1_additional2.ppt
AI_Lecture_1.pptx
AI_Module_1_Lecture_1.pptx
artificial engineering the future of computing
AI_01_introduction.pptx
TYBSC CS SEM 5 AI NOTES

More from butest (20)

PDF
EL MODELO DE NEGOCIO DE YOUTUBE
DOC
1. MPEG I.B.P frame之不同
PDF
LESSONS FROM THE MICHAEL JACKSON TRIAL
PPT
Timeline: The Life of Michael Jackson
DOCX
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
PDF
LESSONS FROM THE MICHAEL JACKSON TRIAL
PPTX
Com 380, Summer II
PPT
PPT
DOCX
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
DOC
MICHAEL JACKSON.doc
PPTX
Social Networks: Twitter Facebook SL - Slide 1
PPT
Facebook
DOCX
Executive Summary Hare Chevrolet is a General Motors dealership ...
DOC
Welcome to the Dougherty County Public Library's Facebook and ...
DOC
NEWS ANNOUNCEMENT
DOC
C-2100 Ultra Zoom.doc
DOC
MAC Printing on ITS Printers.doc.doc
DOC
Mac OS X Guide.doc
DOC
hier
DOC
WEB DESIGN!
EL MODELO DE NEGOCIO DE YOUTUBE
1. MPEG I.B.P frame之不同
LESSONS FROM THE MICHAEL JACKSON TRIAL
Timeline: The Life of Michael Jackson
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
LESSONS FROM THE MICHAEL JACKSON TRIAL
Com 380, Summer II
PPT
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
MICHAEL JACKSON.doc
Social Networks: Twitter Facebook SL - Slide 1
Facebook
Executive Summary Hare Chevrolet is a General Motors dealership ...
Welcome to the Dougherty County Public Library's Facebook and ...
NEWS ANNOUNCEMENT
C-2100 Ultra Zoom.doc
MAC Printing on ITS Printers.doc.doc
Mac OS X Guide.doc
hier
WEB DESIGN!

Introduction

  • 1. COMP3170 Artificial Intelligence and Machine Learning Lecture 1 Hong Kong Baptist University
  • 2. COMP 3170 (COMP3010/SCI3790/COMP4070) Course home page: http://www.comp.hkbu.edu.hk/~comp3170 Lecturers: Pinata Winoto (RSS715) Guoping Qiu (RSS711) Textbook: S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Prentice Hall, 2003, Second Edition
  • 3. Assessment Continuous Assessment (30%): Undergrad students: Quizzes (2 x 10%) + Term project (10%) Graduate students: Quizzes (2 x 5%) + Term project (20%) Final Examination (70%)
  • 4. Tentative schedule Tentative schedule/topics: Knowledge representation & reasoning (II) (Ch. 9 & 10) Week 4: Feb. 8 Tutorial Week 5: Feb. 14 Uncertainty knowledge & reasoning (I) (Ch. 13) Week 5: Feb. 15 Tutorial Week 4: Feb. 7 Knowledge representation & reasoning (I) (Ch. 7 & 8) Week 3: Feb. 1 Tutorial Week 3: Jan. 31 Search (II) (Ch. 5) Week 2: Jan. 25 Tutorial Week 2: Jan. 24 Search (I) (Ch. 3 & 4) Week 1: Jan. 18 Introduction to AI & ML (Ch. 1 & 2) Week 1: Jan. 17 Topics Date
  • 5. Tentative schedule Tentative schedule/topics: Holiday  Feb. 21 & 22 TBD Week 8: March 15 – Week 13: April 26 Tutorial Week 8: March 14 Concept learning and decision tree learning (Ch. 18) Week 7: March 8 Quiz 1 (50 minutes) Week 7: March 7 Uncertainty knowledge & reasoning (II) (Ch. 14) Week 6: March 1 Tutorial Week 6: Feb. 28 Topics Date
  • 6. The History of Artificial Intelligence Chapter 1
  • 7. What is AI? Views of AI fall into four categories: Thinking humanly Thinking rationally Acting humanly Acting rationally The textbook advocates "acting rationally"
  • 8. Acting humanly: Turing Test Turing (1950) "Computing machinery and intelligence": "Can machines think?"  "Can machines behave intelligently?" Operational test for intelligent behavior: the Imitation Game Predicted that by 2000, a machine might have a 30% chance of fooling a lay person for 5 minutes Anticipated all major arguments against AI in following 50 years Suggested major components of AI: knowledge, reasoning, language understanding, learning
  • 9. Thinking humanly: cognitive modeling 1960s "cognitive revolution": information-processing psychology Requires scientific theories of internal activities of the brain -- How to validate? Requires 1) Predicting and testing behavior of human subjects (top-down) or 2) Direct identification from neurological data (bottom-up) Both approaches (roughly, Cognitive Science and Cognitive Neuroscience) are now distinct from AI
  • 10. Thinking rationally: "laws of thought" Aristotle: what are correct arguments/thought processes? Several Greek schools developed various forms of logic : notation and rules of derivation for thoughts; may or may not have proceeded to the idea of mechanization Direct line through mathematics and philosophy to modern AI Problems: Not all intelligent behavior is mediated by logical deliberation What is the purpose of thinking? What thoughts should I have?
  • 11. Acting rationally: rational agent Rational behavior: doing the right thing The right thing: that which is expected to maximize goal achievement, given the available information Doesn't necessarily involve thinking – e.g., blinking reflex – but thinking should be in the service of rational action
  • 12. Rational agents An agent is an entity that perceives and acts This course is about designing rational agents Abstractly, an agent is a function from percept histories to actions: [ f : P*  A ] For any given class of environments and tasks, we seek the agent (or class of agents) with the best performance Caveat: computational limitations make perfect rationality unachievable  design best program for given machine resources
  • 13. AI prehistory Philosophy Logic, methods of reasoning, mind as physical system foundations of learning, language, rationality Mathematics Formal representation and proof algorithms, computation, (un)decidability, (in)tractability, probability Economics utility, decision theory Neuroscience physical substrate for mental activity Psychology phenomena of perception and motor control, experimental techniques Computer building fast computers engineering Control theory design systems that maximize an objective function over time Linguistics knowledge representation, grammar
  • 14. Abridged history of AI 1943 McCulloch & Pitts: Boolean circuit model of brain 1950 Turing's "Computing Machinery and Intelligence" 1956 Dartmouth meeting: "Artificial Intelligence" adopted 1952—69 Look, Ma, no hands! 1950s Early AI programs, including Samuel's checkers program, Newell & Simon's Logic Theorist, Gelernter's Geometry Engine 1965 Robinson's complete algorithm for logical reasoning 1966—73 AI discovers computational complexity Neural network research almost disappears 1969—79 Early development of knowledge-based systems 1980-- AI becomes an industry 1986-- Neural networks return to popularity 1987-- AI becomes a science 1995-- The emergence of intelligent agents
  • 15. State of the art Deep Blue defeated the reigning world chess champion Garry Kasparov in 1997 Proved a mathematical conjecture (Robbins conjecture) unsolved for decades No hands across America (driving autonomously 98% of the time from Pittsburgh to San Diego) During the 1991 Gulf War, US forces deployed an AI logistics planning and scheduling program that involved up to 50,000 vehicles, cargo, and people NASA's on-board autonomous planning program controlled the scheduling of operations for a spacecraft Proverb solves crossword puzzles better than most humans
  • 16. AI Applications --- Others ... Entertainment/Game http://www.amazon.com/exec/obidos/ASIN/1584500778/thegameaipage/002-0547139-8046433 Business/Commerce Internet Web Intelligence Education http://www.stottlerhenke.com/solutions/training/its_background.htm Military/War http:// www.aaai.org/AITopics/html/military.html
  • 17. Discussion on Turing Test (The Imitation Game) Do we need AI to pass Turing test? References: http://www.rci.rutgers.edu/~cfs/472_html/Intro/NYT_Intro/History/MachineIntelligence1.html MegaHal
  • 19. Agents An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators Human agent: eyes, ears, and other organs for sensors; hands, legs, mouth, and other body parts for actuators Robotic agent: cameras and infrared range finders for sensors; various motors for actuators
  • 20. Agents and environments The agent function maps from percept histories to actions: [ f : P*  A ] The agent program runs on the physical architecture to produce f agent = architecture + program
  • 21. Vacuum-cleaner world Percepts: location and contents, e.g., [A,Dirty] Actions: Left , Right , Suck , NoOp
  • 22. Rational agents An agent should strive to "do the right thing" , based on what it can perceive and the actions it can perform. The right action is the one that will cause the agent to be most successful Performance measure: An objective criterion for success of an agent's behavior E.g., performance measure of a vacuum-cleaner agent could be amount of dirt cleaned up, amount of time taken, amount of electricity consumed, amount of noise generated, etc.
  • 23. Rational agents Rational Agent : For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever built-in knowledge the agent has.
  • 24. Rational agents Rationality is distinct from omniscience (all-knowing with infinite knowledge) Agents can perform actions in order to modify future percepts so as to obtain useful information (information gathering, exploration) An agent is autonomous if its behavior is determined by its own experience (with ability to learn and adapt) How to design a rational agent?
  • 25. Task environment: PEAS Must first specify the setting for intelligent agent design Consider, e.g., the task of designing an automated taxi driver: Performance measure: Safe, fast, legal, comfortable trip, maximize profits Environment: Roads, other traffic, pedestrians, customers Actuators: Steering wheel, accelerator, brake, signal, horn Sensors: Cameras, sonar, speedometer, GPS, odometer, engine sensors, keyboard
  • 26. PEAS Agent: Medical diagnosis system Performance measure: Healthy patient, minimize costs, lawsuits Environment: Patient, hospital, staff Actuators: Screen display (questions, tests, diagnoses, treatments, referrals) Sensors: Keyboard (entry of symptoms, findings, patient's answers)
  • 27. PEAS Agent: Part-picking robot Performance measure: Percentage of parts in correct bins Environment: Conveyor belt with parts, bins Actuators: Jointed arm and hand Sensors: Camera, joint angle sensors
  • 28. PEAS Agent: Interactive English tutor Performance measure: Maximize student's score on test Environment: Set of students Actuators: Screen display (exercises, suggestions, corrections) Sensors: Keyboard What kind of environment?
  • 29. Environment types Fully observable (vs. partially observable): An agent's sensors give it access to the complete state of the environment at each point in time. Deterministic (vs. stochastic): The next state of the environment is completely determined by the current state and the action executed by the agent. (If the environment is deterministic except for the actions of other agents, then the environment is strategic ) Episodic (vs. sequential): The agent's experience is divided into atomic "episodes" (each episode consists of the agent perceiving and then performing a single action), and the choice of action in each episode depends only on the episode itself.
  • 30. Environment types Static (vs. dynamic): The environment is unchanged while an agent is deliberating. (The environment is semidynamic if the environment itself does not change with the passage of time but the agent's performance score does) Discrete (vs. continuous): A limited number of distinct, clearly defined percepts and actions. Single agent (vs. multiagent): An agent operating by itself in an environment.
  • 31. Environment types Chess with Chess without Taxi driving a clock a clock Fully observable Yes Yes No Deterministic Strategic Strategic No Episodic No No No Static Semi Yes No Discrete Yes Yes No Single agent No No No The environment type largely determines the agent design The real world is (of course) partially observable, stochastic, sequential, dynamic, continuous, multi-agent The structure of a rational agent?
  • 32. Agent functions and programs An agent is completely specified by the agent function mapping percept sequences to actions One agent function (or a small equivalence class) is rational Aim (job of AI): find a way (program) to implement the rational agent function concisely
  • 33. Table-lookup agent Drawbacks: Huge table Take a long time to build the table No autonomy Even with learning, need a long time to learn the table entries
  • 34. Agent types Four basic types in order of increasing generality: Simple reflex agents Model-based reflex agents Goal-based agents Utility-based agents