Artificial Intelligence Introduction Chapter 1, AIMA.

Slides:



Advertisements
Similar presentations
Approaches, Tools, and Applications Islam A. El-Shaarawy Shoubra Faculty of Eng.
Advertisements

Cooperating Intelligent Systems Introduction Chapter 1, AIMA.
Artificial Intelligence
1946: ENIAC heralds the dawn of Computing. I propose to consider the question: “Can machines think?” --Alan Turing, : Turing asks the question….
CS480/580 Introduction to Artificial Intelligence Shuiwang Ji.
ICS 101 Fall 2011 Introduction to Artificial Intelligence Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa.
Cooperating Intelligent Systems Introduction Chapter 1, AIMA.
Introduction to Artificial Intelligence Ruth Bergman Fall 2004.
CS 357 – Intro to Artificial Intelligence  Learn about AI, search techniques, planning, optimization of choice, logic, Bayesian probability theory, learning,
Cooperating Intelligent Systems Introduction Chapter 1, AIMA.
Introduction to Artificial Intelligence CSE 473 Winter 1999.
Cooperating Intelligent Systems Introduction Chapter 1, AIMA.
COMP 3009 Introduction to AI Dr Eleni Mangina
Chapter 12: Intelligent Systems in Business
Random Administrivia In CMC 306 on Monday for LISP lab.
1. 1 Text Book Artificial Intelligence: A Modern Approach, S. Russell and P. Norvig, 3/e, Prentice Hall, 2010 References  Artificial Intelligence, Patrick.
Cooperating Intelligent Systems Introduction Chapter 1, AIMA.
D Goforth - COSC 4117, fall Notes  Program evaluation – Sept Student submissions  Mon. Sept 11, 4-5PM  FA 181 Comments to committee are.
Artificial Intelligence
Dr Rong Qu Module Introduction.
INSTRUCTOR: DR. XENIA MOUNTROUIDOU CS CS Artificial Intelligence.
ARTIFICIAL INTELLIGENCE Introduction: Chapter Textbook: S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Prentice Hall, 2003,
Artificial Intelligence
CPSC 171 Artificial Intelligence Read Chapter 14.
Artificial Intelligence Andrea Danyluk For FPS 2/2/04.
Artificial Intelligence CS105. Group Presentation Project Week of November 7 to November 11 Group presentation Groups of 3/4 – Each group will get 12/16.
FOUNDATIONS OF ARTIFICIAL INTELLIGENCE Introduction: Chapter 1.
ARTIFICIAL INTELLIGENCE Introduction: Chapter 1. Outline Course overview What is AI? A brief history The state of the art.
CSCI 4410 Introduction to Artificial Intelligence.
CISC4/681 Introduction to Artificial Intelligence1 Introduction – Artificial Intelligence a Modern Approach Russell and Norvig: 1.
Introduction: Chapter 1
Introduction to Artificial Intelligence. Content Definition of AI Typical AI problems Practical impact of AI Approaches of AI Limits of AI Brief history.
Lecture 1 Note: Some slides and/or pictures are adapted from Lecture slides / Books of Dr Zafar Alvi. Text Book - Aritificial Intelligence Illuminated.
ICS 101 Fall 2011 Introduction to Artificial Intelligence Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa.
CSC4444: Artificial Intelligence Fall 2011 Dr. Jianhua Chen Slides adapted from those on the textbook website.
A RTIFICIAL I NTELLIGENCE Introduction 3 October
Artificial Intelligence: Prospects for the 21 st Century Henry Kautz Department of Computer Science University of Rochester.
Artificial Intelligence
Artificial Intelligence Bodies of animals are nothing more than complex machines - Rene Descartes.
1 Machine Learning (Extended) Dr. Ata Kaban Algorithms to enable computers to learn –Learning = ability to improve performance automatically through experience.
1 CS 2710, ISSP 2610 Foundations of Artificial Intelligence introduction.
Introduction to Artificial Intelligence Mitch Marcus CIS391 Fall, 2008.
I Robot.
1 Introduction to Artificial Intelligence (Lecture 1)
1 CS 385 Fall 2006 Chapter 1 AI: Early History and Applications.
1 The main topics in AI Artificial intelligence can be considered under a number of headings: –Search (includes Game Playing). –Representing Knowledge.
So what is AI?.
Artificial Intelligence IES 503 Asst. Prof. Dr. Senem Kumova Metin.
Definitions of AI There are as many definitions as there are practitioners. How would you define it? What is important for a system to be intelligent?
What is Artificial Intelligence? What is artificial intelligence? It is the science and engineering of making intelligent machines, especially intelligent.
Course Overview  What is AI?  What are the Major Challenges?  What are the Main Techniques?  Where are we failing, and why?  Step back and look at.
University of Kurdistan Artificial Intelligence Methods (AIM) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Introduction to Artificial Intelligence CS 438 Spring 2008.
Spring, 2005 CSE391 – Lecture 1 1 Introduction to Artificial Intelligence Martha Palmer CSE391 Spring, 2005.
FOUNDATIONS OF ARTIFICIAL INTELLIGENCE
Artificial Intelligence, simulation and modelling.
1 Artificial Intelligence & Prolog Programming CSL 302.
Artificial Intelligence
Overview of Artificial Intelligence (1) Artificial intelligence (AI) Computers with the ability to mimic or duplicate the functions of the human brain.
CS4341 Introduction to Artificial Intelligence
Introduction to Artificial Intelligence
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Done Done Course Overview What is AI? What are the Major Challenges?
CSCI 5582 Artificial Intelligence
Course Instructor: knza ch
EA C461 – Artificial Intelligence Introduction
Introduction to Artificial Intelligence Instructor: Dr. Eduardo Urbina
Artificial Intelligence
Artificial Intelligence Andrea Danyluk For FPS 2/2/04.
Presentation transcript:

Artificial Intelligence Introduction Chapter 1, AIMA

What you’ll learn from this course What is meant by AI –What tools are used –What problems are approached How problems can be solved (exactly and approximately) with search –Game playing How knowledge can be represented –Symbolic (e.g. logic) –Non-symbolic (e.g. neural networks) How logical reasoning (under certainty and under uncertainty) can be done with a machine. How a machine can learn (machine learning) An overview course

Course structure 20 hrs. of lectures [T Rögnvaldsson] Exercises (programming) [P-Å Jovall] Homework (with feedback) [T Rögnvaldsson] Examination project (tournament) –Play poker against each other [P-Å Jovall] Oral exam [T Rögnvaldsson] You are expected to be active with homework (programming and analysis) The content follows the AIMA book closely

Course web page Will be linked from my home page

What is done in AI? Game Playing (Deep Blue Chess program, TD-gammon, …) Handwriting recognition (Apple, IBM, Microsoft,...) Speech Recognition (PEGASUS spoken language interface to American Airlines’ EAASY SABRE reservation system, Apple interface, …) Human-computer interaction (COG, KISMET) Navigation & problem solving (NASA Rover, MARS Beagle) Computer Vision (Face recognition, ALVINN,…) Expert Systems Diagnostic Systems (Microsoft Office Assistant in Office 97) Planning/scheduling (DARPA DART, ARPI) Web search tools (Google,...) Games and movies (eg. Lord of the Rings, Age of Empires,...)

The ”pong” video arcade game 00 First public in The computer moves by calculating where the ball will cross the goal line and move the paddle there. Depending on difficulty, it sometimes does not move fast enough or moves to the wrong spot with some probability.

Games: Chess & IBM deep blue Deep Blue relies on computational power, search and evaluation. Deep Blue evaluates 20010 6 positions per second. (Garry Kasparov evaluates 3 positions per second) The Deep Blue is a 32-node IBM RS/6000 SP with P2SC processors. Each node of the SP employs a single micro-channel card containing 8 dedicated VLSI chess processors, for a total of 256 processors working in tandem. Deep Blue calculates billion (10 9 ) moves in three minutes. Deep blue typically searches 6 moves ahed but can go as far as moves. Deep Blue beat the world champion Garry Kasparov in 1997 ”quantity has become quality”. Deep Blue is “brute force”. Humans (probably) play chess differently...

Games: Chess & IBM deep blue Deep Blue relies on computational power, search and evaluation. Deep Blue evaluates 20010 6 positions per second. (Garry Kasparov evaluates 3 positions per second) The Deep Blue is a 32-node IBM RS/6000 SP with P2SC processors. Each node of the SP employs a single micro-channel card containing 8 dedicated VLSI chess processors, for a total of 256 processors working in tandem. Deep Blue calculates billion (10 9 ) moves in three minutes. Deep blue typically searches 6 moves ahed but can go as far as moves. Deep Blue beat the world champion Garry Kasparov in 1997 ”quantity has become quality”. Deep Blue is “brute force”. Humans (probably) play chess differently... Note: in 1957, AI researchers thought that computers would beat the world chess champion within 10 years.

Do humans play chess differently? Compare with HAL (the computer in ”2001: A Space Odyssey”). HAL plays ”tricky” and exploits the lower level of the opponent (the Astronaut Poole). This is not ”computer-like”, but ”human-like”. Computers, on the other hand, assume that the opponent will make the best possible move. Check out ”How HAL plays chess:

An early chess machine Wolfgang von Kempelen “The Turk”: A doll in Turkish costume seated at a desk with a chessboard. (constructed in 1769) It was first demonstrated that no one was concealed inside, then the mechanism was wound up and the machine set in operation (rewinding every 12 moves). It almost always won the chess game. See

An early chess machine E. A. Poe: ” The Automaton does not invariably win the game. Were the machine a pure machine this would not be the case – it would always win” (This is speculation) Wolfgang von Kempelen “The Turk”: A doll in Turkish costume seated at a desk with a chessboard. (constructed in 1769) It was first demonstrated that no one was concealed inside, then the mechanism was wound up and the machine set in operation (rewinding every 12 moves). It almost always won the chess game.

TD-Gammon The best backgammon programs use temporal difference (TD) algorithms to train a back-propagation neural network by self-play. The top programs are world-class in playing strength. 1998, the American Association of Artificial Intelligence meeting: NeuroGammon won 99 of 100 games against a human grand master (the current World Champion). TD-Gammon is based more on pattern recognition than search. TD-Gammon is an example of machine learning. It plays itself and adapts its “rules” after each game depending on wins/losses.

Black & White

AI in creatures Symbolic attribute-value pairs Decision trees Neural Networks

Handwriting recognition: Apple Newton First handwritten character recognition poor. Artificial Neural Networks give better performance. In production “...vastly improved hand- writing recognition...” (BYTE May 1996) The Mac OS has native support for pen input, known as Inkwell. Based on Newton.

Handwriting rec.: MS TabletPC Current version uses Artificial Neural Networks for recognizing characters.

HCI: COG & Kismet COG Kismet What is Kismet (soft) ? What is Kismet (hard) ? Kismet & Rich

Navigating: Mars Autonomy Project Project at Carnegie Mellon, Pittsburgh Project at JPL, Pasadena

Navigating: Under water McGill Aqua project

Autonomous driving on earth Stanley: The first car to finish ”the grand challenge”. Autonomous driving 350 km in the desert. It took 6 hrs and 54 min, with an average speed of about 50 km/h Stanford-group, lead by Prof. Sebastian Thrun.

Next: Urban Challenge November 3:rd 2007 Autonomous driving 100 km in city environment in max 6 hours (about 15 km/h on average). Follow all traffic rules Other vehicles

Navigating: Vacuum cleaners How do you guarantee that the vacuum cleaner doesn’t get stuck and that it cleans the entire floor? Small programs ~ 256 B

Navigating: helping elderly

Navigating: Waiters??

Navigating: Web search Google...and more

DARPA Military planning “DARPA reported that an AI-based logistics planning tool, DART, pressed into service for operations Desert Shield and Desert Storm, completely repaid its three decades of investment in AI research.“ D.L. Waltz, NEC Institute

Scientific American January 2007

Robots at home World Robotics Report 2004 & 2006 Robots in the homes Lawn mowers & vacuum cl. Toys

Computers...

...become cheaper and cheaper Computer memory becomes cheaper at a similar rate; half as expensive in two years. A ”MIPS” becomes 1,000,000 cheaper in 40 years. About half the price in one year. (1 MIPS = 1 million ”instructions” per second) Image from Moravec

What is AI? “A field that focuses on developing techniques to enable computer systems to perform activities that are considered intelligent (in humans and other animals).” [Dyer] “The science and engineering of making intelligent machines, especially intelligent computer programs. It is related to the similar task of using computers to understand human intelligence, but AI does not have to confine itself to methods that are biologically observable.” [McCarthy] “The design and study of computer programs that behave intelligently.” [Dean, Allen, & Aloimonos] “AI, broadly defined, is concerned with intelligent behavior in artifacts. Intelligent behavior, in turn, involves perception, reasoning, learning, communicating, and acting in complex environments.” [Nilsson] “The study of [rational] agents that exist in an environment and perceive and act.” [Russell & Norvig]

What is AI? “[The automation of] activities that we associate with human thinking…” Bellman, 1978 “The study of mental faculties through the use of computational models” Charniak & McDermott, 1985 “The art of creating machines that perform functions that require intelligence when performed by people.” Kurzweil, 1990 “The branch of computer science that is concerned with the automation of intelligent behavior.” Luger, 2002

What is AI? “[The automation of] activities that we associate with human thinking…” Bellman, 1978 Thinking like a human “The study of mental faculties through the use of computational models” Charniak & McDermott, 1985 “The art of creating machines that perform functions that require intelligence when performed by people.” Kurzweil, 1990 “The branch of computer science that is concerned with the automation of intelligent behavior.” Luger, 2002

What is AI? “[The automation of] activities that we associate with human thinking…” Bellman, 1978 Thinking like a human “The study of mental faculties through the use of computational models” Charniak & McDermott, 1985 Thinking rationally “The art of creating machines that perform functions that require intelligence when performed by people.” Kurzweil, 1990 “The branch of computer science that is concerned with the automation of intelligent behavior.” Luger, 2002

What is AI? “[The automation of] activities that we associate with human thinking…” Bellman, 1978 Thinking like a human “The study of mental faculties through the use of computational models” Charniak & McDermott, 1985 Thinking rationally “The art of creating machines that perform functions that require intelligence when performed by people.” Kurzweil, 1990 Acting like a human “The branch of computer science that is concerned with the automation of intelligent behavior.” Luger, 2002

What is AI? “[The automation of] activities that we associate with human thinking…” Bellman, 1978 Thinking like a human “The study of mental faculties through the use of computational models” Charniak & McDermott, 1985 Thinking rationally “The art of creating machines that perform functions that require intelligence when performed by people.” Kurzweil, 1990 Acting like a human “The branch of computer science that is concerned with the automation of intelligent behavior.” Luger, 2002 Acting rationally

What is AI? “[The automation of] activities that we associate with human thinking…” Bellman, 1978 Thinking like a human “The study of mental faculties through the use of computational models” Charniak & McDermott, 1985 Thinking rationally “The art of creating machines that perform functions that require intelligence when performed by people.” Kurzweil, 1990 Acting like a human “The branch of computer science that is concerned with the automation of intelligent behavior.” Luger, 2002 Acting rationally

The Turing test – acting like a human Suggested by Alan Turing in If the interrigator cannot distinguish the human from the machine (robot), solely on the basis of their answers to questions, then the machine can be assumed intelligent. © B.J. Copeland 2000

The Turing test provides... An objective notion of intelligence –No discussion on the ”true” nature of intelligence. A way to avoid confusion by looking at how the computer reasons, or if it is conscious. A way to avoid bias in favour of the human, by just focusing on the written answers. The Turing test can of course be generalized to other fields besides conversation. But it focuses too much on human behavior. We are not trying to build humans (we already know how to do this...)

Problems with Turing test A test of the judge as well of the AI machine Promotes imitators (con-artists). See Chat bots:

Chat bots... Clip from New Scientist, March 11, 2006

Applied AI – the 20 questions game Check out :

AI as ”rational agent” We will focus on general principles of rational agents and how to construct them. –We can define rational as ”achieving the best outcome” where we measure the outcome. Clearly defined and also general. –We don’t have to meddle with what is ”human”.

Fundamental issues in AI Representation –Facts about the world have to be represented in some way. Logic is one language that is used in AI. How should knowledge be structured? What is explicit, and what must be inferred? How to encode "rules" for inference so as to find information that is only implicitly known? How deal with incomplete, inconsistent, and probabilistic knowledge? Search –Many tasks can be viewed as searching a very large problem space for a solution. Use of heuristics and constraints. Inference –Some facts can be inferred from other facts. Learning –Learning is essential in an intelligent system. Planning –Starting with general facts about the world, about the effects of basic actions, about a particular situation, and a statement of a goal, generate a strategy for achieving the goal.

Some discussion Exercise 1.1: Define in your own words: (a) intelligence, (b) artificial intelligence, and (c) agent. (a) “1 a (1) : the ability to learn or understand or to deal with new or trying situations : also : the skilled use of reason (2) : the ability to apply knowledge to manipulate one's environment or to think abstractly as measured by objective criteria (as tests) … 5 : the ability to perform computer functions” (Merriam-Webster on-line dictionary)

Some discussion Exercise 1.1: Define in your own words: (a) intelligence, (b) artificial intelligence, and (c) agent. (a) “1 a (1) : the ability to learn or understand or to deal with new or trying situations : REASON; also : the skilled use of reason (2) : the ability to apply knowledge to manipulate one's environment or to think abstractly as measured by objective criteria (as tests) … 5 : the ability to perform computer functions” (Merriam-Webster on-line dictionary)

Some discussion Exercise 1.1: Define in your own words: (a) intelligence, (b) artificial intelligence, and (c) agent. (b) We define artificial intelligence as the study and construction of agent programs that perform well in a given environment, for a given agent architecture. mother mummy … Mix (Merriam-Webster on-line dictionary)

Some discussion Exercise 1.1: Define in your own words: (a) intelligence, (b) artificial intelligence, and (c) agent. (c) We define an agent as an entity that takes action in response to percepts from an environment. apply knowledge to manipulate one's environment or to think abstractly as measured by objective criteria (as tests) … 5 : the ability to perform computer functions” (Merriam-Webster on-line dictionary)

More discussion Exercise 1.10: Are reflex actions rational? Are they intelligent?

More discussion Exercise 1.10: Are reflex actions rational? Are they intelligent? Yes, they are rational. Intelligent? Well, thinking before removing your hand from a hot stove might be considered stupid. However, no reasoning is needed so perhaps it isn’t intelligent.