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

Similar documents
Introduction to Artificial Intelligence

Artificial Intelligence: An overview

Artificial Intelligence: Definition

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

CMSC 372 Artificial Intelligence. Fall Administrivia

CS:4420 Artificial Intelligence

Artificial Intelligence

Introduction to Artificial Intelligence: cs580

Artificial Intelligence

Artificial Intelligence

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

CMSC 421, Artificial Intelligence

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

Introduction to AI. What is Artificial Intelligence?

CSIS 4463: Artificial Intelligence. Introduction: Chapter 1

Artificial Intelligence

Welcome to CompSci 171 Fall 2010 Introduction to AI.

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

Artificial Intelligence

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

COS402 Artificial Intelligence Fall, Lecture I: Introduction

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

22c:145 Artificial Intelligence

Intelligent Systems. Lecture 1 - Introduction

CS 486/686 Artificial Intelligence

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

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

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

Lecture 1 Introduction to AI

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

Artificial Intelligence. What is AI?

Welcome to CSC384: Intro to Artificial Intelligence

Artificial Intelligence

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

Introduction and History of AI

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

Agent. Pengju Ren. Institute of Artificial Intelligence and Robotics

CS 188: Artificial Intelligence Fall Administrivia

Artificial Intelligence CS365. Amitabha Mukerjee

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

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

Introduction to Artificial Intelligence

Introduction to Artificial Intelligence

CS 188: Artificial Intelligence Fall Course Information

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

Welcome to CSC384: Intro to Artificial MAN.

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

Artificial Intelligence. Berlin Chen 2004

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

Artificial Intelligence (Introduction to)

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

CSE 473 Artificial Intelligence (AI) Outline

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

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

CS 188: Artificial Intelligence

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

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

Overview Agents, environments, typical components

ARTIFICIAL INTELLIGENCE

CSE 473 Artificial Intelligence (AI)

Artificial Intelligence. AI Slides (4e) c Lin

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

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

CS 188: Artificial Intelligence. Course Information

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

Ar#ficial)Intelligence!!

Artificial Intelligence for Engineers. EE 562 Winter 2015

Lecture 1 What is AI?

EARIN Jarosław Arabas Room #223, Electronics Bldg.

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

Artificial Intelligence

Our 2-course meal for this evening

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

Artificial Intelligence

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

Random Administrivia. In CMC 306 on Monday for LISP lab

KI-Programmierung. Introduction

Last Time: Acting Humanly: The Full Turing Test

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

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

Artificial Intelligence: An Introduction

CS343 Introduction to Artificial Intelligence Spring 2012

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

Elements of Artificial Intelligence and Expert Systems

Agents and Introduction to AI

Intro to AI. AI is a huge field. AI is a huge field 2/19/15. What is AI. One definition:

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

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

Intro to Artificial Intelligence Lecture 1. Ahmed Sallam { }

Logic Programming. Dr. : Mohamed Mostafa

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

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

This tutorial is prepared for the students at beginner level who aspire to learn Artificial Intelligence.

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

Intro to AI. AI is a huge field. AI is a huge field 2/26/16. What is AI (artificial intelligence) What is AI. One definition:

Artificial Intelligence. An Introductory Course

Artificial Intelligence

The Singularity. Elon Musk Compares Building Artificial Intelligence To Summoning The Demon

The Singularity. A technically informed, but very speculative critique of recent statements of e.g. Elon Musk, Stephen Hawking and Bill Gates

CPS331 Lecture: Agents and Robots last revised November 18, 2016

Transcription:

Welcome to CIS 391 Introduction to Artificial Intelligence Lecturer: Mitch Marcus, mitch@<cis standard> Levine 503 Office hours will be announced on Piazza Mitch Marcus CIS391 Fall, 2015 TA: Daniel Moroz, dmoroz@<seas standard> Office hours will be announced on Piazza Course Administrator: Cheryl Hickey, cherylh@<seas standard> Levine 502, 215-898-3538 CIS 391 - Intro to AI - Fall 2015 2 Welcome to CIS 391 Course home page: http://www.seas.upenn.edu/~cis391 Discussion via Piazza (link on course home page) Textbook: S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Prentice Hall, 2009, Third Edition (U.S.) Prerequisites: CIS 120, 121 & 160 (Not CIS 262) Introductory probability and statistics will be very useful Familiarity with propositional logic and finite state automata will be useful. We assume ability to master Python after a couple of class lectures. Grading & Homework Grading: 50% Homeworks 25% Midterm 1 25% Midterm 2 Homework: Homework will be due at 11:59 on specified dates with submission cut off promptly. You can submit up to two homeworks late, but extensions after that will be granted only for true emergencies. Your lowest homework grade will be dropped. ALL HOMEWORKS MUST BE YOUR OWN INDEPENDENT WORK Violations of Penn's Code of Academic Integrity and in particular academic dishonesty as defined in the Code of Integrity will not be tolerated. PENALTIES WILL BE SUBSTANTIAL CIS 391 - Intro to AI - Fall 2015 3 CIS 391 - Intro to AI - Fall 2015 4 I want to design a machine that will be proud of me Danny Hillis On to the Real Stuff: WHAT THE COURSE IS AND ISN T ABOUT CIS 391 - Intro to AI - Fall 2015 5 CIS 391 - Intro to AI - Fall 2015 6 1

I want to design a machine that will be proud of me Danny Hillis Startup Funded $143M to Create Sentient Computing EETimes 12/2014 Now a startup with $143 million in funding [is] describing a sentient distributed artificial intelligence that sounds like a nice-guy version of Skynet from the cinema flick Terminator. According to the technology gurus at Sentient Technologies Holdings Ltd. of San Francisco, the software for sentient computers, which they are already installing at key customer sites, goes beyond natural language recognition, unstructured searching, machine learning, and deep knowledge. "Reasoning and logic are one thing, but beyond that is true intelligence -- what we call sentience," Babak Hojat, cofounder and chief scientist tells EE Times. "Sentience is being aware, having perceptions, being mindful, and has implications of autonomy," chief technology officer Nigel Duffy said. CIS 391 - Intro to AI - Fall 2015 7 CIS 391 - Intro to AI - Fall 2015 8 Startup Funded $143M to Create Sentient Computing EETimes 12/2014 Now a startup with $143 million in funding [is] describing a sentient distributed artificial intelligence that sounds like a nice-guy version of Skynet from the cinema flick Terminator. According to the technology gurus at Sentient Technologies Holdings Ltd. of San Francisco, the software for sentient computers, which they are already installing at key customer sites, goes beyond natural language recognition, unstructured searching, machine learning, and deep knowledge. "Reasoning and logic are one thing, but beyond that is true intelligence -- what we call sentience," Babak Hojat, cofounder and chief scientist tells EE Times. "Sentience is being aware, having perceptions, being mindful, and has implications of autonomy," chief technology officer Nigel Duffy said. CIS 391 - Intro to AI - Fall 2015 9 Recent Significant Advances In NLP IBM s Watson Web-scale information extraction & question answering Apple s Siri Interactive Dialogue Systems Google Translate Automatic Machine Translation CIS 391 - Intro to AI - Fall 2015 10 Broadcast Monitoring BBN MAPS & Language Weaver MT CIS 391 - Intro to AI - Fall 2015 11 CIS 391 - Intro to AI - Fall 2015 12 2

A REAL Achievement : DARPA Grand Challenge 2005 DARPA Urban Challenge 2007 CIS 391 - Intro to AI - Fall 2015 13 CIS 391 - Intro to AI - Fall 2015 14 Older Real Accomplishments of AI 1991: AI Logistics Planning for Gulf War 1997: Deep Blue defeated the reigning world chess champion Garry Kasparov 1998: Deep Space 1 (launched) Remote Agent Experiment Invisible AI Computer Algebra Systems (Maple, Mathematica) Machine Learning Credit Evaluation, Fraud Detection Internet Search, Spam Filtering Handwritten character recognition (checks, US mail) What is AI? Views of AI fall into four categories: We will focus on "acting rationally CIS 391 - Intro to AI - Fall 2015 15 CIS 391 - Intro to AI - Fall 2015 16 Acting humanly: Turing Test Turing (1950) "Computing machinery and intelligence": Can machines think? Can machines behave intelligently? Acting humanly: Social robots Cynthia Breazeal: MIT 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 most major arguments against AI Suggested major components of AI: knowledge, reasoning, language understanding, learning CIS 391 - Intro to AI - Fall 2015 17 CIS 391 - Intro to AI - Fall 2015 18 3

: cognitive modeling 1960s "cognitive revolution": informationprocessing psychology, a.k.a. cognitive psychology Requires scientific theories of internal activities of the brain : "laws of thought" Acting humanly Acting rationally 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 How to validate? Requires 1) Predicting and testing behavior of human subjects or 2) Direct identification from neurological data (bottom-up) : Cognitive Neuroscience Both approaches are now distinct from AI Caveat: ACT-R & SOAR communities do computational modeling of high level mental functions 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? 3. Ignores the hard problem of perception 4. All attempts to encode what we know in logic have failed 5. Most logical inference is intractable CIS 391 - Intro to AI - Fall 2015 19 CIS 391 - Intro to AI - Fall 2015 20 Acting rationally: rational agents Acting humanly 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 Acting rationally Rational agents Acting humanly Rational agent: An agent is an entity that perceives and acts This course is about effective programming techniques for designing rational agents Acting rationally CIS 391 - Intro to AI - Fall 2015 21 CIS 391 - Intro to AI - Fall 2015 22 Agents and environments Agents An agent is specified by an agent function f:p a that maps sequences of percept vectors P to an action a from a set A: P=[p 0, p 1,, p t ] A={a 0, a 1,, a k } An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators Human agent: Sensors: eyes, ears,... Actuators: hands, legs, mouth, Robotic agent: Sensors: cameras and infrared range finders Actuators: various motors Agents include humans, robots, softbots, thermostats, CIS 521 - Intro to AI - Winter 2015 23 CIS 391 - Intro to AI - Fall 2015 24 4

Agent function & program The agent program runs on the physical architecture to produce f agent = architecture + program Easy solution: table that maps every possible sequence Y to an action a One small problem: exponential in length of Y Rational agents II Rational Agent: For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure. Performance measure: An objective criterion for success of an agent's behavior, given the evidence provided by the percept sequence. A performance measure for a vacuum-cleaner agent might include one or more of: +1 point for each clean square in time T +1 point for clean square, -1 for each move -1000 for more than k dirty squares CIS 391 - Intro to AI - Fall 2015 25 CIS 391 - Intro to AI - Fall 2015 26 Rationality is not omniscience Ideal agent: maximizes actual performance, but needs to be omniscient. Usually impossible.. But consider tic-tac-toe agent Rationality Success Agents can perform actions in order to modify future percepts so as to obtain useful information (information gathering, exploration) Caveat: computational limitations make perfect rationality unachievable design best program for given machine resources Two Approaches to AI Logical representations: BEFORE 1995 Relations between entities Mitch s bicycle is red (isa B3241 bicycle) (color B3231 red) (owns B3241 P119) (isa P119 person) (name P119 Mitch ) Explicit logical models Logical inference, Search Chess, Sudoko, computer games, Statistical models: SINCE 2000 Prediction by look-up or by weighted combinations P(y=bicycle) = c 0 + c 1 x 1 +c 2 x 2 + c 3 x 3 + Machine Learning, Machine vision, speech recognition, CIS 521 - Intro to AI - Winter 2015 27 CIS 391 - Intro to AI - Fall 2015 28 Course Overview First Half Module 0: Introduction Intelligent Agents Python Programming Module 1: Search Strategies Uninformed & Informed Search (Homeworks: Puzzle Solvers) Constraint Satisfaction (Homework: Sudoku Solver) Adversarial Search Course Overview Second Half Module 2: Machine Learning and Natural Language Processing Review of Probability Naive Bayes (Spam Filtering) & Bayesian Networks (Homework: Build a spam filter) Perceptrons and Support Vector Machines Hidden Markov Models & Part of Speech Tagging (Homework: Generate fake Frankenstein text, Build Part of Speech Tagger) Module 3: Knowledge Representation and Logic Logical Agents (Homework: Logic Puzzle Solver) The Singularity: A critique CIS 391 - Intro to AI - Fall 2015 29 CIS 391 - Intro to AI - Fall 2015 30 5

The last lecture: Kurweil s singularity vision The last lecture: Kurweil s singularity vision With artificial intelligence we re summoning the demon Elon Musk Full artificial intelligence could spell the end of the human race Steven Hawking CSE 391 - Into to AI 31 CSE 391 - Into to AI 32 6