Welcome to CSC384: Intro to Artificial Intelligence

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

Welcome to CSC384: Intro to Artificial MAN.

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

Welcome to CompSci 171 Fall 2010 Introduction to AI.

CSE 473 Artificial Intelligence (AI)

CS 486/686 Artificial Intelligence

Artificial Intelligence: An overview

Introduction to Artificial Intelligence

CSE 473 Artificial Intelligence (AI) Outline

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

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

Lecture 1 Introduction to AI

CMSC 372 Artificial Intelligence. Fall Administrivia

Artificial Intelligence. Berlin Chen 2004

Elements of Artificial Intelligence and Expert Systems

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

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

Introduction to Artificial Intelligence

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

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

Introduction and History of AI

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

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

CS:4420 Artificial Intelligence

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

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

Artificial Intelligence for Engineers. EE 562 Winter 2015

Lecture 1 What is AI?

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

Artificial Intelligence: Definition

Artificial Intelligence

Artificial Intelligence. What is AI?

Fall 17 Planning & Decision-making in Robotics Introduction; What is Planning, Role of Planning in Robots

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

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

Artificial Intelligence

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

CMSC 421, Artificial Intelligence

Spring 19 Planning Techniques for Robotics Introduction; What is Planning for Robotics?

Lecture 1 What is AI?

22c:145 Artificial Intelligence

Artificial Intelligence

CS 380: ARTIFICIAL INTELLIGENCE

CS8678_L1. Course Introduction. CS 8678 Introduction to Robotics & AI Dr. Ken Hoganson. Start Momentarily

CSIS 4463: Artificial Intelligence. Introduction: Chapter 1

CS 188: Artificial Intelligence Fall Course Information

Introduction to AI. What is Artificial Intelligence?

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

CSC384: Introduction to Artificial Intelligence. Game Tree Search

ARTIFICIAL INTELLIGENCE

Artificial Intelligence

Artificial Intelligence

History and Philosophical Underpinnings

Intelligent Systems. Lecture 1 - Introduction

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

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

Logic Programming. Dr. : Mohamed Mostafa

Overview Agents, environments, typical components

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

CS343 Introduction to Artificial Intelligence Spring 2012

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

UNIT 13A AI: Games & Search Strategies. Announcements

Artificial Intelligence

Artificial Intelligence

COS402 Artificial Intelligence Fall, Lecture I: Introduction

Introduction to Artificial Intelligence: cs580

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

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

This list supersedes the one published in the November 2002 issue of CR.

Foundations of Artificial Intelligence

CS343 Introduction to Artificial Intelligence Spring 2010

Unit 12: Artificial Intelligence CS 101, Fall 2018

Artificial Intelligence CS365. Amitabha Mukerjee

CSC 242 Artificial Intelligence. Henry Kautz Spring 2014

COMP9414/ 9814/ 3411: Artificial Intelligence. Week 1: Foundations. UNSW c Alan Blair,

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

CPS331 Lecture: Intelligent Agents last revised July 25, 2018

Intro to Artificial Intelligence Lecture 1. Ahmed Sallam { }

COMP9414/ 9814/ 3411: Artificial Intelligence. Overview. UNSW c Alan Blair,

Neuro-Fuzzy and Soft Computing: Fuzzy Sets. Chapter 1 of Neuro-Fuzzy and Soft Computing by Jang, Sun and Mizutani

CPS331 Lecture: Agents and Robots last revised April 27, 2012

ES 492: SCIENCE IN THE MOVIES

Random Administrivia. In CMC 306 on Monday for LISP lab

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

CS360: AI & Robotics. TTh 9:25 am - 10:40 am. Shereen Khoja 8/29/03 CS360 AI & Robotics 1

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

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

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

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

A.I in Automotive? Why and When.

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

Announcements. HW 6: Written (not programming) assignment. Assigned today; Due Friday, Dec. 9. to me.

Artificial Intelligence. Lecture 1: Introduction. Fall 2010

Ar#ficial)Intelligence!!

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:

What's involved in Intelligence?

Artificial Intelligence for Games

Artificial Intelligence

CS344: Introduction to Artificial Intelligence (associated lab: CS386)

What's involved in Intelligence?

Transcription:

CSC384: Intro to Artificial Intelligence Welcome to CSC384: Intro to Artificial Intelligence Instructor: Torsten Hahmann Office Hour: Wednesday 6:00 7:00 pm, BA2200 tentative, starting Sept. 21 Lectures/Tutorials: Monday 6:00 8:00 pm BA1200 Monday 8:00 9:00 pm* BA1200 * The 8:00 9:00 pm time slot will be a continuation of the lecture period and/or time to go over extra examples. Please don t plan to miss it! TAs: Alexandra Goultiaeva, Atalay Ozgovde, Bahar Aameri Torsten Hahmann, University of Toronto, Fall 2011 2 CSC384: Textbook Strongly Recommended Textbook: Artificial Intelligence: A Modern Approach Stuart Russell and Peter Norvig 3 rd Edition, 2009 The 2 nd edition will do as well (you have to find the corresponding chapters) 2 copies on 24hr reserve in the Engineering and Computer Science Library Will indicate essential readings for each lecture on the website Lecture notes cover much of the course material and will be available online before class. Print a copy and bring to the class! Additional Reference: Computational Intelligence: A Logical Approach by David Poole, Alan Mackworth and Randy Goebel. Torsten Hahmann, University of Toronto, Fall 2011 3 CSC384: Prerequisites CGPA (cumulative grade point average) prerequisites checked by Undergraduate Office. I cannot waive it. Other prerequisites will not be checked for this course. You need to have some familiarity with Prolog, CSC324 is the standard prerequisite. We will only provide a single tutorial on Prolog (today). You should have a stats course either the standard STA 247/248/255/257 or at least something like STA 250. You should be comfortable with propositional logic, and, ideally, have had some exposure to predicate logic (first-order logic) as in CSC165, CSC236/240. You will be responsible for any background material that you don t know, you will have to learn on your own. Torsten Hahmann, University of Toronto, Fall 2011 4

CSC384: Website The course web site: http://www.cs.toronto.edu/~torsten/csc384-f11/ Primary source of more detailed information, announcements, etc. Check the web site often. Updates about assignments, clarifications etc. will be posted only on the web site. The course bulletin board: https://csc.cdf.toronto.edu/bb/yabb.pl?board=csc384h1f Will not be monitored. Send any questions about assignments to the TA in charge. Torsten Hahmann, University of Toronto, Fall 2011 5 CSC384: How You Will be Graded Course work: 3 Assignments (programming, theory, short answers): 15% each A Midterm (probably 90min): 20% (Oct. 24 th ) A Final Exam (3h): 35% You need a minimum of 40% on the Final to pass the course Late policy for Assignments: You have 3 grace days for the entire course (can only be broken into single days, not hours) Use them wisely, they are intended for emergencies (computer break down, printer not working, car break down, etc.) Late assignments will not be accepted once you have used up your grace days If you require more time for medical reasons, use your grace days first; bring a doctor s note if you have exhausted your grace days Start early! Torsten Hahmann, University of Toronto, Fall 2011 6 Just don t do it. Plagiarism See http://www.cs.toronto.edu/~fpitt/documents/plagiarism.html for the meaning of plagiarism, how to avoid it, and the U of T policies about it. All assignments are to be done individually! CSC384: Email/Board Policy You can use the course bulletin board to communicate with your fellow students. It will not be monitored. Do not post questions there that you want answered by the instructor or a TA. Send e-mail directly. For each assignment, a TA will be assigned to answer questions. Please send your questions about each assignment to the TA. For official announcements and clarifications refer to the course website. Answers that are important to everyone will be posted to the website. Send only Plain Text (no HTML/MIME) using your CDF accounts. Start the subject of all your emails with [CSC384]. A silent period will take effect 24 hours before each assignment is due. No question related to the assignment will be answered during this period. Torsten Hahmann, University of Toronto, Fall 2011 7 Torsten Hahmann, University of Toronto, Fall 2011 8

CSC384: Important Dates Acknowledgements September 12 First class (today) September 19 First full class September 25 Last day to add the course October 10 Thanksgiving (No class) October 14 Assignment 1 due October 24 Midterm (In class) November 3 Last day to drop the course November 7 8 Fall break (No class) November 10 Assignment 2 due December 2 Assignment 3 due December 5 Last Monday class December 7 Make-up class (Wednesday) December 09 20 Final exam period Much of the material in the lecture slides comes from Fahiem Bacchus, Sheila McIlraith, and Craig Boutilier, with changes and extensions by Hojjat Ghaderi, Toby Hu, Sonya Allin, Maryam Fazel-Zarandi Some slides come from a tutorial by Andrew Moore (CMU) via Sonya Allin. Some slides are modified or unmodified slides provided by Russell and Norvig. Probably even more (unknown) contributors Torsten Hahmann, University of Toronto, Fall 2011 9 Torsten Hahmann, University of Toronto, Fall 2011 10 Are these Intelligent? What is Artificial Intelligence? What is Intelligence? Torsten Hahmann, University of Toronto, Fall 2011 12

What is Intelligence? Webster says: The capacity to acquire and apply knowledge. The faculty of thought and reason. What features/abilities do humans (animals? animate objects?) have that you think are indicative or characteristic of intelligence? Artificial Intelligence How to achieve intelligence through computational means Abstract concepts, mathematics, language, problem solving, memory, logical reasoning, planning ahead, emotions, morality, ability to learn/adapt, etc Torsten Hahmann, University of Toronto, Fall 2011 13 Torsten Hahmann, University of Toronto, Fall 2011 14 Classical Test of (Human) Intelligence The Turing Test: A human interrogator. Communicates with a hidden subject that is either a computer system or a human. If the human interrogator cannot reliably decide whether or not the subject is a computer, the computer is said to have passed the Turing test. An application of the Turing Test: Human Intelligence Turing provided some very persuasive arguments that a system passing the Turing test is intelligent. We can only really say it behaves like a human Nothing guarantees that it thinks like a human The Turing test does not provide much traction on the question of how to actually build an intelligent system. See Luis von Ahn, Manuel Blum, Nicholas Hopper, and John Langford. CAPTCHA: Using Hard AI Problems for Security. In Eurocrypt. Torsten Hahmann, University of Toronto, Fall 2011 15 Torsten Hahmann, University of Toronto, Fall 2011 16

Human Intelligence Is imitating humans the goal? Pros? Human Intelligence In general there are various reasons why trying to mimic humans might not be the best approach to AI: Computers and Humans have a very different architecture with quite different abilities. Numerical computations Visual and sensory processing Massively and slow parallel vs. fast serial Cons? Computational Units Computer 4 CPUs, 10 9 gates Human Brain 10 11 neurons Storage Units 10 10 bits RAM 10 13 bits disk 10 11 neurons 10 14 synapses Cycle time 10-9 sec 10-3 sec Bandwidth 10 10 bits/sec 10 14 bits/sec Memory updates/sec 10 10 10 14 Torsten Hahmann, University of Toronto, Fall 2011 17 Torsten Hahmann, University of Toronto, Fall 2011 18 Human Intelligence But more importantly, we know very little about how the human brain performs its higher level processes. Hence, this point of view provides very little information from which a scientific understanding of these processes can be built. Nevertheless, Neuroscience has been very influential in some areas of AI. For example, in robotic sensing, vision processing, etc. Humans might not be best comparison? Don t always make the best decisions Torsten Hahmann, University of Toronto, Fall 2011 19 Rationality The alternative approach relies on the notion of rationality. Typically this is a precise mathematical notion of what it means to do the right thing in any particular circumstance. Provides A precise mechanism for analyzing and understanding the properties of this ideal behavior we are trying to achieve. A precise benchmark against which we can measure the behavior the systems we build. Torsten Hahmann, University of Toronto, Fall 2011 20

Rationality Mathematical characterizations of rationality have come from diverse areas like logic (laws of thought) and economics (utility theory how best to act under uncertainty, game theory how self-interested agents interact). There is no universal agreement about which notion of rationality is best, but since these notions are precise we can study them and give exact characterizations of their properties, good and bad. We ll focus on acting rationally this has implications for thinking/reasoning Torsten Hahmann, University of Toronto, Fall 2011 21 Computational Intelligence AI tries to understand and model intelligence as a computational process. Thus we try to construct systems whose computation achieves or approximates the desired notion of rationality. Hence AI is part of Computer Science. Other areas interested in the study of intelligence lie in other areas or study, e.g., cognitive science which focuses on human intelligence. Such areas are very related, but their central focus tends to be different. Torsten Hahmann, University of Toronto, Fall 2011 22 Four AI Definitions by Russell + Norvig Subareas of AI Like humans Not necessarily like humans Perception: vision, speech understanding, etc. Machine Learning, Neural networks Think Systems that think like humans Systems that think rationally Robotics Natural language processing Reasoning and decision making OUR FOCUS Act Systems that act like humans Systems that act rationally Our focus Knowledge representation Reasoning (logical, probabilistic) Decision making (search, planning, decision theory) Cognitive Science Torsten Hahmann, University of Toronto, Fall 2011 23 Torsten Hahmann, University of Toronto, Fall 2011 24

Further Courses in AI What We Cover in CSC384 Perception: vision, speech understanding, etc. CSC487H1 Computational Vision CSC420H1 Introduction to Image Understanding Machine Learning, Neural networks CSC321H Introduction to Neural Networks and Machine Learning CSC411H Machine Learning and Data Mining CSC412H1 Uncertainty and Learning in Artificial Intelligence Robotics Engineering courses Natural language processing CSC401H1 Natural Language Computing CSC485H1 Computational Linguistics Reasoning and decision making CSC486H1 Knowledge Representation and Reasoning Builds on this course Torsten Hahmann, University of Toronto, Fall 2011 25 Search (Chapter 3, 5, 6) Uninformed Search (3.4) Heuristic Search (3.5, 3.6) Game Tree Search (5) Constraint Satisfaction Problems, Backtracking Search (6) Knowledge Representation (Chapter 8, 9) Prerequisite: Propositional Logic (7.3, 7.4) First order logic for more general knowledge (8) Inference in First-Order Logic (9) Torsten Hahmann, University of Toronto, Fall 2011 26 What We Cover in CSC384 Classical Planning (Chapter 10) Predicate representation of states Planning Algorithms Planning Graphs Quantifying Uncertainty and Probabilistic Reasoning (Chapter 13, 14, 16) Uncertainties, Probabilities Probabilistic Reasoning, Bayesian Networks Decision Making under Uncertainties, Utilities and Influence diagrams AI Successes Games: chess, checkers, poker, bridge, backgammon, etc. Physical skills: driving a car, driving a motorcycle, flying a plane or helicopter, playing soccer, vacuuming, etc. Art: painting, composing music, performing music, making sculpture. Language: machine translation, speech recognition, character recognition, sentiment analysis, etc. Vision: face recognition, face detection, motion tracking, etc. Commerce and industry: page rank for searching, fraud detection, stock market investing, etc. Torsten Hahmann, University of Toronto, Fall 2011 27 Torsten Hahmann, University of Toronto, Fall 2011 28

Recent AI Successes Re-integrating the diverse subfields of AI Darpa Grand Challenges Goal: build a fully autonomous car that can drive a 240 km course in the Mojave desert 2004: none went further than 12 km 2005: 5 finished 2007: Urban Challenge: 96 km urban course (former air force base) with obstacles, moving traffic, and traffic regulations: 6 finishers 2011: Google testing its autonomous car for over 150,000 km on real roads 2011: IBM Watson competing successfully against two Jeopardy grand-champions Degrees of Intelligence Building an intelligent system as capable as humans remains an elusive goal. However, systems have been built which exhibit various specialized degrees of intelligence. Formalisms and algorithmic ideas have been identified as being useful in the construction of these intelligent systems. Together these formalisms and algorithms form the foundation of our attempt to understand intelligence as a computational process. In this course we will study some of these formalisms and see how they can be used to achieve various degrees of intelligence. Torsten Hahmann, University of Toronto, Fall 2011 29 Torsten Hahmann, University of Toronto, Fall 2011 30 Chapter 2: Agency It is also useful to think of intelligent systems as being agents, either: with their own goals or that act on behalf of someone (a user ) An agent is an entity that exists in an environment and that acts on that environment based on its perceptions of the environment An intelligent agent acts to further its own interests (or those of a user). Agent Schematic (I) 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 This diagram oversimplifies the internal structure of the agent. Torsten Hahmann, University of Toronto, Fall 2011 31 Torsten Hahmann, University of Toronto, Fall 2011 32

Agent Schematic (II) Knowledge perceives prior knowledge Agent Environment Goals user acts Require more flexible interaction with the environment, the ability to modify one s goals, knowledge that be applied flexibly to different situations. Torsten Hahmann, University of Toronto, Fall 2011 33 Five Major Types of Agents Five basic types in order of increasing generality: Simple reflex agents Model-based reflex agents Goal-based agents Utility-based agents Learning agents OUR FOCUS We will encounter those (except learning agents) as we progress through the material Torsten Hahmann, University of Toronto, Fall 2011 34 Simple reflex agents Model-based reflex agents Torsten Hahmann, University of Toronto, Fall 2011 35 Torsten Hahmann, University of Toronto, Fall 2011 36

Goal-based agent Utility-based agent Torsten Hahmann, University of Toronto, Fall 2011 37 Torsten Hahmann, University of Toronto, Fall 2011 38 Learning agent Readings Please read: 1.1: What is AI? 2: Intelligent Agents Other interesting readings: 1.2: Foundations 1.3: History Next class: Search In preparation, read: 3.1 to 3.3 and 3.4.1 to 3.4.3 Poll: Are you somehow familiar with? breadth-first search (3.4.1) depth-first search (3.4.3) Torsten Hahmann, University of Toronto, Fall 2011 39 Torsten Hahmann, University of Toronto, Fall 2011 40