Artificial Intelligence

Similar documents
Artificial Intelligence

Artificial Intelligence

Introduction to Artificial Intelligence: cs580

CMSC 421, Artificial Intelligence

Artificial Intelligence

Intelligent Systems. Lecture 1 - Introduction

Artificial Intelligence

What is AI? Artificial Intelligence. Acting humanly: The Turing test. Outline

Artificial Intelligence: An overview

Plan for the 2nd hour. What is AI. Acting humanly: The Turing test. EDAF70: Applied Artificial Intelligence Agents (Chapter 2 of AIMA)

Artificial Intelligence: Definition

CS:4420 Artificial Intelligence

Intelligent Agents p.1/25. Intelligent Agents. Chapter 2

Outline. What is AI? A brief history of AI State of the art

22c:145 Artificial Intelligence

Introduction to AI. Chapter 1. TB Artificial Intelligence 1/ 23

Artificial Intelligence

CMSC 372 Artificial Intelligence. Fall Administrivia

CMSC 372 Artificial Intelligence What is AI? Thinking Like Acting Like Humans Humans Thought Processes Behaviors

Administrivia. CS 188: Artificial Intelligence Spring Agents and Environments. Today. Vacuum-Cleaner World. A Reflex Vacuum-Cleaner

22c:145 Artificial Intelligence. Texbook. Bartlett Publishers, Check the class web sites daily!

COS402 Artificial Intelligence Fall, Lecture I: Introduction

Agent. Pengju Ren. Institute of Artificial Intelligence and Robotics

HIT3002: Introduction to Artificial Intelligence

KI-Programmierung. Introduction

CS 486/686 Artificial Intelligence

Artificial Intelligence. AI Slides (4e) c Lin

Course Info. CS 486/686 Artificial Intelligence. Outline. Artificial Intelligence (AI)

CS 380: ARTIFICIAL INTELLIGENCE

CS 380: ARTIFICIAL INTELLIGENCE RATIONAL AGENTS. Santiago Ontañón

CS 188: Artificial Intelligence Fall Administrivia

Artificial Intelligence. An Introductory Course

Introduction to AI. Hal Daumé III. Computer Science University of Maryland CS 421: Introduction to Artificial Intelligence 26 Jan 2012

CSIS 4463: Artificial Intelligence. Introduction: Chapter 1

Intelligent Agents & Search Problem Formulation. AIMA, Chapters 2,

COMP9414/ 9814/ 3411: Artificial Intelligence. 2. Environment Types. UNSW c Alan Blair,

1/29/18. Chapter Outline. Artificial Intelligence. So you wanna do AI? What is Artificial Intelligence? Chapter 1. Motivations to study AI

Administrivia. CS 188: Artificial Intelligence Fall Course Details. Course Staff. Announcements. Today.

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

CSCI 446: Ar*ficial Intelligence. CSCI 446: Ar*ficial Intelligence Keith Vertanen

Artificial Intelligence

Last Time: Acting Humanly: The Full Turing Test

Introduction to AI. What is Artificial Intelligence?

CS 188: Artificial Intelligence Fall Course Information

Artificial Intelligence. What is AI?

CSE 473 Artificial Intelligence (AI)

1.1 What is AI? 1.1 What is AI? Foundations of Artificial Intelligence. 1.2 Acting Humanly. 1.3 Thinking Humanly. 1.4 Thinking Rationally

Artificial Intelligence CS365. Amitabha Mukerjee

Introduction. Artificial Intelligence. Topic 1. What is AI? Contributions to AI History of AI Modern AI. Reading: Russel and Norvig, Chapter 1

Welcome to CompSci 171 Fall 2010 Introduction to AI.

2. Environment Types. COMP9414/ 9814/ 3411: Artificial Intelligence. Agent Model. Agents as functions. The PEAS model of an Agent

Artificial Intelligence (Introduction to)

Course Webpage. People. Course Timing/Location. Course Details. Related Course. Introduction to Artificial Intelligence

WHAT THE COURSE IS AND ISN T ABOUT. Welcome to CIS 391. Introduction to Artificial Intelligence. Grading & Homework. Welcome to CIS 391

Course Information. CS 188: Artificial Intelligence. Course Staff. Course Information. Today. Waiting List. Lecture 1: Introduction.

CS 188: Artificial Intelligence. Course Information

Instructor. Artificial Intelligence (Introduction to) What is AI? Introduction. Dr Sergio Tessaris

COMP9414/ 9814/ 3411: Artificial Intelligence. Week 2. Classifying AI Tasks

Outline. Introduction to AI. Artificial Intelligence. What is an AI? What is an AI? Agents Environments

CS 188: Artificial Intelligence

Introduction to Artificial Intelligence

CISC 1600 Lecture 3.4 Agent-based programming

CS 380: ARTIFICIAL INTELLIGENCE INTRODUCTION. Santiago Ontañón

Course Information. CS 188: Artificial Intelligence Fall Course Staff. Course Information. Today. Sci-Fi AI? Lecture 1: Introduction 8/25/2011

Our 2-course meal for this evening

CS 380: ARTIFICIAL INTELLIGENCE

Artificial Intelligence for Engineers. EE 562 Winter 2015

CS 343H: Artificial Intelligence. Week 1a: Introduction

3.1 Agents. Foundations of Artificial Intelligence. 3.1 Agents. 3.2 Rationality. 3.3 Summary. Introduction: Overview. 3. Introduction: Rational Agents

Introduction to Multiagent Systems

Intro to Artificial Intelligence Lecture 1. Ahmed Sallam { }

Overview Agents, environments, typical components

Artificial Intelligence. Berlin Chen 2004

CSE 473 Artificial Intelligence (AI) Outline

Agents and Introduction to AI

CITS3001. Algorithms, Agents and Artificial Intelligence. Semester 1, 2015

CS 730/830: Intro AI. Prof. Wheeler Ruml. TA Bence Cserna. Thinking inside the box. 5 handouts: course info, project info, schedule, slides, asst 1

Introduction to Artificial Intelligence

Ar#ficial)Intelligence!!

Introduction to Artificial Intelligence

Introduction to Multi-Agent Systems. Michal Pechoucek & Branislav Bošanský AE4M36MAS Autumn Lect. 1

Artificial Intelligence

AI History. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2012

What is AI? AI is the reproduction of human reasoning and intelligent behavior by computational methods. an attempt of. Intelligent behavior Computer

CSC384 Intro to Artificial Intelligence* *The following slides are based on Fahiem Bacchus course lecture notes.

CS 1571 Introduction to AI Lecture 1. Course overview. CS 1571 Intro to AI. Course administrivia

CSCE 315: Programming Studio

Inf2D 01: Intelligent Agents and their Environments

Structure of Intelligent Agents. Examples of Agents 1. Examples of Agents 2. Intelligent Agents and their Environments. An agent:

Overview. Introduction to Artificial Intelligence. What is Intelligence? What is Artificial Intelligence? Influential areas for AI

Today. CS 232: Ar)ficial Intelligence. Introduc)on August 31, What is ar)ficial intelligence? What can AI do? What is this course?

CPS331 Lecture: Intelligent Agents last revised July 25, 2018

What is Artificial Intelligence? Alternate Definitions (Russell + Norvig) Human intelligence

Cybernetics, AI, Cognitive Science and Computational Neuroscience: Historical Aspects

Artificial Intelligence. Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University

ARTIFICIAL INTELLIGENCE UNIT I INTRODUCTION TO AI

Lecture 1 What is AI?

DIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 16 January, 2018

Introduction to Artificial Intelligence. Department of Electronic Engineering 2k10 Session - Artificial Intelligence

Overview. Pre AI developments. Birth of AI, early successes. Overwhelming optimism underwhelming results

Transcription:

Artificial Intelligence Chapter 1 Chapter 1 1

Outline What is AI? A brief history The state of the art Chapter 1 2

What is AI? Systems that think like humans Systems that think rationally Systems that act like humans Systems that act rationally Chapter 1 3

Acting humanly: The Turing test Turing (1950) Computing machinery and intelligence : Can machines think? Can machines behave intelligently? Operational test for intelligent behavior: the Imitation Game HUMAN HUMAN INTERROGATOR? AI SYSTEM 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 Problem: Turing test is not reproducible, constructive, or amenable to mathematical analysis Chapter 1 4

Thinking humanly: Cognitive Science 1960s cognitive revolution : information-processing psychology replaced prevailing orthodoxy of behaviorism Requires scientific theories of internal activities of the brain What level of abstraction? Knowledge or circuits? 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 Both share with AI the following characteristic: the available theories do not explain (or engender) anything resembling human-level general intelligence Hence, all three fields share one principal direction! Chapter 1 5

Thinking rationally: Laws of Thought Normative (or prescriptive) rather than descriptive 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: 1) Not all intelligent behavior is mediated by logical deliberation 2) What is the purpose of thinking? What thoughts should I have out of all the thoughts (logical or otherwise) that I could have? Chapter 1 6

Acting rationally 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 Aristotle (Nicomachean Ethics): Every art and every inquiry, and similarly every action and pursuit, is thought to aim at some good Chapter 1 7

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 Chapter 1 8

Philosophy Mathematics Psychology Economics Linguistics AI prehistory logic, methods of reasoning mind as physical system foundations of learning, language, rationality formal representation and proof algorithms, computation, (un)decidability, (in)tractability probability adaptation phenomena of perception and motor control experimental techniques (psychophysics, etc.) formal theory of rational decisions knowledge representation grammar Neuroscience Control theory homeostatic systems, stability simple optimal agent designs plastic physical substrate for mental activity Chapter 1 9

Potted history of AI 1943 McCulloch & Pitts: Boolean circuit model of brain 1950 Turing s Computing Machinery and Intelligence 1952 69 Look, Ma, no hands! 1950s Early AI programs, including Samuel s checkers program, Newell & Simon s Logic Theorist, Gelernter s Geometry Engine 1956 Dartmouth meeting: Artificial Intelligence adopted 1965 Robinson s complete algorithm for logical reasoning 1966 74 AI discovers computational complexity Neural network research almost disappears 1969 79 Early development of knowledge-based systems 1980 88 Expert systems industry booms 1988 93 Expert systems industry busts: AI Winter 1985 95 Neural networks return to popularity 1988 Resurgence of probability; general increase in technical depth Nouvelle AI : ALife, GAs, soft computing 1995 Agents, agents, everywhere... 2003 Human-level AI back on the agenda Chapter 1 10

State of the art Which of the following can be done at present? Play a decent game of table tennis Chapter 1 11

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Chapter 1 12

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Chapter 1 13

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Chapter 1 14

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Chapter 1 15

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Chapter 1 16

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Discover and prove a new mathematical theorem Chapter 1 17

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Discover and prove a new mathematical theorem Design and execute a research program in molecular biology Chapter 1 18

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Discover and prove a new mathematical theorem Design and execute a research program in molecular biology Write an intentionally funny story Chapter 1 19

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Discover and prove a new mathematical theorem Design and execute a research program in molecular biology Write an intentionally funny story Give competent legal advice in a specialized area of law Chapter 1 20

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Discover and prove a new mathematical theorem Design and execute a research program in molecular biology Write an intentionally funny story Give competent legal advice in a specialized area of law Translate spoken English into spoken Swedish in real time Chapter 1 21

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Discover and prove a new mathematical theorem Design and execute a research program in molecular biology Write an intentionally funny story Give competent legal advice in a specialized area of law Translate spoken English into spoken Swedish in real time Converse successfully with another person for an hour Chapter 1 22

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Discover and prove a new mathematical theorem Design and execute a research program in molecular biology Write an intentionally funny story Give competent legal advice in a specialized area of law Translate spoken English into spoken Swedish in real time Converse successfully with another person for an hour Perform a complex surgical operation Chapter 1 23

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Discover and prove a new mathematical theorem Design and execute a research program in molecular biology Write an intentionally funny story Give competent legal advice in a specialized area of law Translate spoken English into spoken Swedish in real time Converse successfully with another person for an hour Perform a complex surgical operation Unload any dishwasher and put everything away Chapter 1 24

State of the art Which of the following can be done at present? Play a decent game of table tennis Drive safely along a curving mountain road Drive safely along Telegraph Avenue Buy a week s worth of groceries on the web Buy a week s worth of groceries at Berkeley Bowl Play a decent game of bridge Discover and prove a new mathematical theorem Design and execute a research program in molecular biology Write an intentionally funny story Give competent legal advice in a specialized area of law Translate spoken English into spoken Swedish in real time Converse successfully with another person for an hour Perform a complex surgical operation Unload any dishwasher and put everything away Chapter 1 25

Intelligent Agents Chapter 2 Chapter 2 1

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] Left [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

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

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