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

Similar documents
CS 188: Artificial Intelligence Fall Administrivia

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

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

CS 188: Artificial Intelligence Fall Course Information

Artificial Intelligence

Artificial Intelligence

Artificial Intelligence

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

Artificial Intelligence

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

CS 188: Artificial Intelligence. Course Information

COS402 Artificial Intelligence Fall, Lecture I: Introduction

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

CS 188: Artificial Intelligence

CMSC 421, Artificial Intelligence

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

Introduction to Artificial Intelligence: cs580

Intelligent Systems. Lecture 1 - Introduction

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

Artificial Intelligence

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

Artificial Intelligence: An overview

Tucker Hermans. Introduction to AI. CS 6300 Artificial Intelligence Spring 2018 Tucker Hermans

CS:4420 Artificial Intelligence

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

22c:145 Artificial Intelligence

CMSC 372 Artificial Intelligence. Fall Administrivia

Artificial Intelligence: Definition

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

Artificial Intelligence

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

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

Artificial Intelligence. AI Slides (4e) c Lin

KI-Programmierung. Introduction

CSIS 4463: Artificial Intelligence. Introduction: Chapter 1

Artificial Intelligence

Welcome to CompSci 171 Fall 2010 Introduction to AI.

CSE 473 Artificial Intelligence (AI)

Artificial Intelligence. An Introductory Course

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

Introduction to AI. What is Artificial Intelligence?

Introduction to Artificial Intelligence

Artificial Intelligence for Engineers. EE 562 Winter 2015

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

Artificial Intelligence. What is AI?

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

Artificial Intelligence CS365. Amitabha Mukerjee

Lecture 1 What is AI? EECS 348 Intro to Artificial Intelligence Doug Downey

LECTURE 1: OVERVIEW. CS 4100: Foundations of AI. Instructor: Robert Platt. (some slides from Chris Amato, Magy Seif El-Nasr, and Stacy Marsella)

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

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

CS 380: ARTIFICIAL INTELLIGENCE

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

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

Course Info. CS 486/686 Artificial Intelligence. Outline. 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

CS 486/686 Artificial Intelligence

Lecture 1 What is AI?

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

COS 402 Machine Learning and Artificial Intelligence Fall Lecture 1: Intro

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

Artificial Intelligence

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

Ar#ficial)Intelligence!!

Random Administrivia. In CMC 306 on Monday for LISP lab

COMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications

Artificial Intelligence. Berlin Chen 2004

Artificial Intelligence

Goals of this Course. CSE 473 Artificial Intelligence. AI as Science. AI as Engineering. Dieter Fox Colin Zheng

CSCE 315: Programming Studio

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

Lecture 1 What is AI?

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

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

CSE 473 Artificial Intelligence (AI) Outline

CSC 550: Introduction to Artificial Intelligence. Fall 2004

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

Artificial Intelligence

Introduction to AI (COMP-424)

ARTIFICIAL INTELLIGENCE

What's involved in Intelligence?

History and Philosophical Underpinnings

mywbut.com Introduction to AI

Intro to Artificial Intelligence Lecture 1. Ahmed Sallam { }

Logic Programming. Dr. : Mohamed Mostafa

Introduction and History of AI

Actually 3 objectives of AI:[ Winston & Prendergast ] Make machines smarter Understand what intelligence is Make machines more useful

CSE5001(CS417)/ 高级人工智能 Advanced Artificial Intelligence

Artificial Intelligence 人工智慧. Lecture 1 February 22, 2012 洪國寶

AI 101: An Opinionated Computer Scientist s View. Ed Felten

ARTIFICIAL INTELLIGENCE

Artificial Intelligence (Introduction to)

CE213 Artificial Intelligence Lecture 1

CS440/ECE448: Artificial Intelligence. Section Q course website:

Introduction to Artificial Intelligence

ARTIFICIAL INTELLIGENCE

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

Artificial Intelligence: An Introduction

Transcription:

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

Announcements Very important stuff: 2 HW0 due Tuesday! P0 (Python tutorial) due next-next Tuesday! Subscribe to Piazza now! Handin is through our hand-rolled web service Waitlist... Questions?

Course Web Page http://hal3.name/courses/2012s_ai/ 3

Our sister course WashU St. Louis, taught by Kilian Weinberger: Thanks to John Denero and Dan Klein for sharing all their work! Courses are ~90% identical Both culminate roughly simultaneously in a Pacman capture the flag competition We will try to run cross-university Pacman servers (CTF demo) 4

Comments from previous offerings 5 There was far too much covered in this course for a single semester... the programming projects alone took too much time for one class. Hal needs to learn how to write exams. This was one of the best classes I've ever taken.

An experiment... http://u.hal3.name/ic.pl?q=xyz 6

Experiment: Item A 7

Experiment: Item B 8

Experiment: Item C 9

Experiment: Item D 10

Today 11 What is AI? Brief history of AI What can AI do? What is this course?

Sci-Fi AI? 12

What is AI? The science of making machines that: 13 Think like humans Think rationally Act like humans Act rationally

Acting Like Humans? Turing (1950) Computing machinery and intelligence Can machines think? Can machines behave intelligently? Operational test for intelligent behavior: the Imitation Game Predicted ~2000, 30% chance of fooling 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 or amenable to mathematical analysis 14

Thinking Like Humans? The cognitive science approach: 1960s ``cognitive revolution'': information-processing psychology replaced prevailing orthodoxy of behaviorism Scientific theories of internal activities of the brain What level of abstraction? Knowledge'' or circuits? Cognitive science: Predicting and testing behavior of human subjects (top-down) Cognitive neuroscience: Direct identification from neurological data (bottom-up) Both approaches now distinct from AI Both share with AI the following characteristic: The available theories do not explain (or engender) anything resembling humanlevel general intelligence Hence, all three fields share one principal direction! Images from Oxford fmri center 15

Thinking Rationally? 16 The Laws of Thought approach What does it mean to think rationally? Normative / prescriptive rather than descriptive Logicist tradition: Logic: notation and rules of derivation for thoughts Aristotle: what are correct arguments/thought processes? Direct line through mathematics, philosophy, to modern AI Problems: Not all intelligent behavior is mediated by logical deliberation What is the purpose of thinking? What thoughts should I (bother to) have? Logical systems tend to do the wrong thing in the presence of uncertainty

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 Thinking can be in the service of rational action Entirely dependent on goals! Irrational insane, irrationality is sub-optimal action Rational successful Our focus here: rational agents Systems which make the best possible decisions given goals, evidence, and constraints In the real world, usually lots of uncertainty and lots of complexity Usually, we re just approximating rationality 17 Computational rationality a better title for this course

Maximize Your Expected Utility 18

Rational Agents An agent is an entity that perceives and acts (more examples later) This course is about designing rational agents Abstractly, an agent is a function from percept histories to actions: For any given class of environments and tasks, we seek the agent (or class of agents) with the best performance Computational limitations make perfect rationality unachievable So we want the best program for given machine resources [demo: pacman] 19

AI Adjacent Fields 20 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 and statistics Psychology Adaptation Phenomena of perception and motor control Experimental techniques (psychophysics, etc.) Economics: formal theory of rational decisions Linguistics: knowledge representation, grammar Neuroscience: physical substrate for mental activity Control theory: homeostatic systems, stability simple optimal agent designs

A (Short) History of AI 21 1940-1950: Early days 1943: McCulloch & Pitts: Boolean circuit model of brain 1950: Turing's Computing Machinery and Intelligence 1950 70: Excitement: 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 1970 88: Knowledge-based approaches 1969 79: Early development of knowledge-based systems 1980 88: Expert systems industry booms 1988 93: Expert systems industry busts: AI Winter 1988 : Statistical approaches Resurgence of probability, focus on uncertainty General increase in technical depth Agents and learning systems AI Spring?

What Can AI Do? Quiz: 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 up to Baltimore? Buy a week's worth of groceries on the web? Buy a week's worth of groceries at Giant? Discover and prove a new mathematical theorem? Converse successfully with a person for an hour? Perform a complex surgical operation? Unload a dishwasher and put everything away? Translate spoken Chinese into English in real time? Write an intentionally funny story? http://u.hal3.name/ic.pl?q=abc 22

Unintentionally Funny Stories One day Joe Bear was hungry. He asked his friend Irving Bird where some honey was. Irving told him there was a beehive in the oak tree. Joe walked to the oak tree. He ate the beehive. The End. Henry Squirrel was thirsty. He walked over to the river bank where his good friend Bill Bird was sitting. Henry slipped and fell in the river. Gravity drowned. The End. Once upon a time there was a dishonest fox and a vain crow. One day the crow was sitting in his tree, holding a piece of cheese in his mouth. He noticed that he was holding the piece of cheese. He became hungry, and swallowed the cheese. The fox walked over to the crow. The End. [Shank, Tale-Spin System, 1984] 23

Natural Language Speech technologies Automatic speech recognition (ASR) Text-to-speech synthesis (TTS) Dialog systems Language processing technologies Machine translation: Aux dires de son président, la commission serait en mesure de le faire According to the president, the commission would be able to do so. Il faut du sang dans les veines et du cran. We must blood in the veines and the courage. 24 Information extraction Information retrieval, question answering Text classification, spam filtering, etc

Vision (Perception) 25 Images from Jitendra Malik

Robotics Robotics Part mech. eng. Part AI Reality much harder than simulations! Technologies Vehicles Rescue Soccer! Lots of automation In this class: We ignore mechanical aspects Methods for planning Methods for control Images from stanfordracing.org, CMU RoboCup, Honda ASIMO sites 26

Logic Logical systems Theorem provers NASA fault diagnosis Question answering Methods: Deduction systems Constraint satisfaction Satisfiability solvers (huge advances here!) Image from Bart Selman 27

Game Playing 28 May, '97: Deep Blue vs. Kasparov First match won against world-champion Intelligent creative play 200 million board positions per second! Humans understood 99.9 of Deep Blue's moves Can do about the same now with a big PC cluster Open question: How does human cognition deal with the search space explosion of chess? Or: how can humans compete with computers at all?? 1996: Kasparov Beats Deep Blue I could feel --- I could smell --- a new kind of intelligence across the table. 1997: Deep Blue Beats Kasparov Deep Blue hasn't proven anything. Text from Bart Selman, image from IBM s Deep Blue pages

Decision Making Many applications of AI: decision making 29 Scheduling, e.g. airline routing, military Route planning, e.g. mapquest Medical diagnosis, e.g. Pathfinder system Automated help desks Fraud detection the list goes on.

Course Topics Part I: Optimal Decision Making Fast search Constraint satisfaction Adversarial and uncertain search Part II: Modeling Uncertainty Reinforcement learning Bayes nets Decision theory Throughout: Applications Natural language Vision Robotics Games 30

Course Projects 31 Pacman Robot control

Some Hard Questions 32 Who is liable if a robot driver has an accident? Will machines surpass human intelligence? What will we do with superintelligent machines? Would such machines have conscious existence? Rights? Can human minds exist indefinitely within machines (in principle)?