Computer Science 1000 AI – A Brief Overview. Artificial Intelligence definition: many! `` ``The exciting new effort to make computers think... machines.

Slides:



Advertisements
Similar presentations
The Development of AI St Kentigerns Academy Unit 3 – Artificial Intelligence.
Advertisements

Artificial Intelligence
Approaches, Tools, and Applications Islam A. El-Shaarawy Shoubra Faculty of Eng.
Chapter 09 AI techniques in different game genres (Puzzle/Card/Shooting)
Heuristic Search techniques
Artificial Intelligence Presentation
October 1, 2012Introduction to Artificial Intelligence Lecture 8: Search in State Spaces II 1 A General Backtracking Algorithm Let us say that we can formulate.
CS440/ECE448: Artificial Intelligence
Computability and Complexity 13-1 Computability and Complexity Andrei Bulatov The Class NP.
ICS 101 Fall 2011 Introduction to Artificial Intelligence Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
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,
Introduction to Artificial Intelligence CSE 473 Winter 1999.
Random Administrivia In CMC 306 on Monday for LISP lab.
State-Space Searches.
Introduction to Artificial Intelligence ITK 340, Spring 2010.
Artificial Intelligence. Agenda StartEnd Introduction AI Future Recent Developments Turing Test Turing Test Evaluation.
Artificial Intelligence
1 Artificial Intelligence An Introductory Course.
Artificial Intelligence LECTURE 1 ARTIFICIAL INTELLIGENCE LECTURES BY ENGR. QAZI ZIA 1.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM]
Artificial Intelligence Dr. Paul Wagner Department of Computer Science University of Wisconsin – Eau Claire.
CSCI 4410 Introduction to Artificial Intelligence.
Chapter 10. Global Village “… is the shrinking of the world society because of the ability to communicate.” Positive: The best from diverse cultures will.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Introduction (Chapter 1) CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Artificial Intelligence: Its Roots and Scope
Artificial Intelligence Lecture No. 3
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.
A RTIFICIAL I NTELLIGENCE Introduction 3 October
CSE4/563: Knowledge Representation Recitation September 13, 2010 “Intelligence is the art of good guesswork.” –H.B. Barlow.
If the human brain were so simple that we could understand it, we would be so simple that we couldn't. —Emerson M. Pugh.
Artificial Intelligence
Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. Decision Support Systems Chapter 10.
1 Artificial Intelligence Introduction. 2 What is AI? Various definitions: Building intelligent entities. Getting computers to do tasks which require.
Artificial Intelligence Bodies of animals are nothing more than complex machines - Rene Descartes.
State-Space Searches. 2 State spaces A state space consists of A (possibly infinite) set of states The start state represents the initial problem Each.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
1 Introduction to Artificial Intelligence (Lecture 1)
1 CS 385 Fall 2006 Chapter 1 AI: Early History and Applications.
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?
CSCI 4310 Lecture 2: Search. Search Techniques Search is Fundamental to Many AI Techniques.
University of Kurdistan Artificial Intelligence Methods (AIM) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Games Programming with Java ::: AI ::: Games Programming with Java Montri Karnjanadecha Andrew Davison.
Chapter 1 Artificial Intelligence Overview Instructor: Haris Shahzad Artificial Intelligence CS-402.
CS382 Introduction to Artificial Intelligence Lecture 1: The Foundations of AI and Intelligent Agents 24 January 2012 Instructor: Kostas Bekris Computer.
Artificial Intelligence, simulation and modelling.
Artificial Intelligence Lecture No. 8 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
ARTIFICIAL INTELLIGENCE. Contents Introduction Branches of AI Control Theory Cybernetics Artificial Neural Networks Application Advantage And Disadvantage.
1 Artificial Intelligence & Prolog Programming CSL 302.
Artificial Intelligence Hossaini Winter Outline book : Artificial intelligence a modern Approach by Stuart Russell, Peter Norvig. A Practical Guide.
Example Search Problem A genetics professor – Wants to name her new baby boy – Using only the letters D,N & A Search through possible strings (states)
What is Artificial Intelligence? Introduction to Artificial Intelligence Week 2, Semester 1 Jim Smith.
Artificial Intelligence
Introduction to Artificial Intelligence Prof. Kathleen McKeown 722 CEPSR Tas: Andrew Rosenberg Speech Lab, 7 th Floor CEPSR Sowmya Vishwanath TA Room.
Introduction to Artificial Intelligence
Introduction to Artificial Intelligence
Course Instructor: knza ch
Introduction Artificial Intelligent.
Artificial Intelligence introduction(2)
Artificial Intelligence (Lecture 1)
Intelligence Are the things shown below, Intelligent?
Systems that THINK Like Humans
EA C461 – Artificial Intelligence Introduction
Games Programming with Java
Presentation transcript:

Computer Science 1000 AI – A Brief Overview

Artificial Intelligence definition: many! `` ``The exciting new effort to make computers think... machines with minds, in the full and literal sense'' (Haugeland, 1985) ``The automation of activities that we associate with human thinking, activities such as decision-making, problem solving, learning...'' (Bellman, 1978) ``The study of mental faculties through the use of computational models'' (Charniak and McDermott, 1985) ``The study of the computations that make it possible to perceive, reason, and act'' (Winston, 1992) ``The art of creating machines that perform functions that require intelligence when performed by people'' (Kurzweil, 1990) ``The study of how to make computers do things at which, at the moment, people are better'' (Rich and Knight, 1991) “Computational Intelligence is the study of the design of intelligent agents” (Poole et. al. 1998) “AI... is concerned with intelligent behaviour in artifacts.” From Russel & Norvig. Artificial Intelligence: A Modern Approach

Artificial Intelligence definition: many! ``The exciting new effort to make computers think... machines with minds, in the full and literal sense'' (Haugeland, 1985) ``The automation of activities that we associate with human thinking, activities such as decision-making, problem solving, learning...'' (Bellman, 1978) ``The study of mental faculties through the use of computational models'' (Charniak and McDermott, 1985) ``The study of the computations that make it possible to perceive, reason, and act'' (Winston, 1992) ``The art of creating machines that perform functions that require intelligence when performed by people'' (Kurzweil, 1990) ``The study of how to make computers do things at which, at the moment, people are better'' (Rich and Knight, 1991) “Computational Intelligence is the study of the design of intelligent agents” (Poole et. al. 1998) “AI... is concerned with intelligent behaviour in artifacts.” From Russel & Norvig. Artificial Intelligence: A Modern Approach Systems that think like humansSystems that think rationally Systems that act like humansSystems that act rationally

Acting Humanly – the Turing Test* Two identical rooms labeled A and B are connected electronically to a judge who can type questions directed to the occupant of either room. A human being occupies one room, and the other contains a computer. The judge's goal is to decide, based on the questions asked and the answers received, which room contains the computer. If after a reasonable period of time the judge cannot decide for certain, the computer can be said to be intelligent. The computer is intelligent if it acts enough like a human to deceive the judge. * Text

Acting Human – Historical Attempts ELIZA programmed in 1966 programmed to ask questions in dialog like a psychotherapist and a patient Took word cues, noticed use of negatives Dialog was essentially pre-planned to appear intelligent, but was not /text/dialogues.html#note10 2/text/dialogues.html#note10

Chatterbot ELIZA was an early example of a chatterbot A chatterbot (or chatbot) is a type of conversational agent designed to simulate an intelligent conversation with one or more human users via auditory or textual methods.

Chatterbots – Examples PARRY (1972) simulated a paranoid schizophrenic. JABBERWACKY (1997) one of the first internet chatterbots CLEVERBOT (1997) ALICE (2001) Artificial Linguistic Internet Computer Entity inspired by ELIZA

Loebner Prize a competition in the spirit of the Turing Test held annually since 1990 initiated by Hugh Loebner prizes include: $100,000 + gold medal: the first computer whose responses were indistinguishable from a human's must convince 30% of judges never been won ~$3000 (varies) + bronze medal: computer program that outperforms all other programs

Loebner Prize format in each round, a judge holds a conversation with a human and machine after the round is over, judge must decide which is which 5 minute rounds

Loebner Prize notable achievements ALICE was the Loebner winner 3 times (2001, 2002, 2004) ELBOT (2008) convinced 3 of 12 judges that it was the human

Turing Test Turing Test remains historically significant, and has driven some advances in field however, most AI research has not focused on simulating human intelligence “Aeronautical engineering texts do not define the goal of their field as making ‘machines that fly so exactly like pigeons that they can fool even other pigeons’” – Russel and Norvig

Problem Solving rather than create a universally intelligent machine or program, AI research often focuses on a more specific task examples: pattern recognition robotics (next lecture!) natural language processing path finding

Problem Solving the variety of problems to solve have produced a variety of different AI techniques examples: path finding – A* search, greedy search pattern recognition – neural networks searching – A*, genetic algorithms diagnosis – fuzzy logic, Bayesian networks, etc

Path Finding find a path from start to destination domain can be: a map (GPS) a virtual world in a game a series of networked computers etc... domain consists of a set of points one of those points is your start one (or more) of those points can be a destination each point is connected to zero or more other points

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain

Path Finding the general objective is to find a path between start and destination for example, find a path between Val Marie and Kincaid

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain

Path Finding there are many strategies for finding paths, but most follow a similar theme begin at your starting point consider all positions that are reachable from that point then consider all positions that are reachable from those points and so on, until you reach your destination, or run out of options you must store your current path different algorithms use different selection techniques for what to try “next”

Path Finding Example: DFS (Depth-first search) begin at your starting point repeat while you have not reached your destination, or you have no other options choose a new point that you have not yet visited that is connected to you current point if such a point exists, traverse to it if not, then back up to your previous position

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Begin at starting position

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Choose a new point that you have not yet visited that is connected to you current point: Cadillac

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Choose a new point that you have not yet visited that is connected to you current point: Ponteix

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Choose a new point that you have not yet visited that is connected to you current point: Mankota

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Choose a new point that you have not yet visited that is connected to you current point: Wood Mountain

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain No points connected to WM that we have not yet visited. Must back up to Mankota.

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Choose a new point that you have not yet visited that is connected to you current point: Kincaid

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain We now have a path between Val Marie and Kincaid.

Path Finding DFS (Depth-first search) advantages: simple memory efficient (beyond scope of class) disadvantages: not guaranteed to find shortest path first (smallest number of hops)

Path Finding Example: BFS (Breadth-first search) check all paths of length 1 check all paths of length 2 check all paths of length 3 etc... stop when a path is found whose end is the destination

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Check all paths of length 1

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Check all paths of length 1

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Check all paths of length 2

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Check all paths of length 2

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Check all paths of length 2 - since end of path matches destination, we have found a solution.

Path Finding BFS advantages guaranteed to find shortest path can be easily modified to consider paths in order of increasing length, rather than number of links (not shown here) disadvantage: a bit trickier to program memory intensive

Path Finding - Problems both path finding algorithms guaranteed to find a solution, if one exists however, they can be slow imagine a map with millions of possible points DFS may initially go in the wrong direction BFS will check many paths in the wrong direction, if they are closer than solution

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Suppose this link is connected to a map with many nodes. What if DFS tries this link first?

Path Finding - AI smart searching involves using a heuristic to improve its search capabilities simply stated, a heuristic provides a guess on which point it should try next the better the heuristic, the better the efficiency of the overall algorithm

Path Finding - AI from previous example, suppose we knew the geographic (straight-line) distance between towns this could be computed from lat-lon coordinates we could modify our DFS algorithm when selecting a town amongst multiple choices, choose the one that is geographically closest to our destination

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Begin at starting position

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Choose a new point that you have not yet visited that is connected to you current point. Since we have two choices, choose the one that is geographically closest to Kincaid.

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain Choose a new point that you have not yet visited that is connected to you current point. Since we have thee choices, choose the one that is geographically closest to Kincaid.

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain We have found a solution. Compare the number of points searched to our previous DFS solution.

Path Finding - AI our heuristic considerably reduced the number of points that we searched however, this approach is not guaranteed to work.

Example: Val Marie Cadillac Ponteix Mankota Kincaid Aneroid Wood Mountain DFS + heuristic search will try Mankota first, since it is geographically closer to Kincaid than Cadillac is.

Path Finding - AI when DFS is combined with a heuristic, it is known as a greedy search when BFS is combined with a heuristic (not shown), it is known as an A* search these algorithms collectively are known as best-first search.