Introduction to AI & AI Principles (Semester 1) WEEK 11 John Barnden Professor of Artificial Intelligence School of Computer Science University of Birmingham,

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Heuristic Search techniques
Presentation on Artificial Intelligence
Artificial Intelligence Presentation
Introduction to AI & AI Principles (Semester 1) WEEK 6 (07/08) John Barnden Professor of Artificial Intelligence School of Computer Science University.
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.
Part2 AI as Representation and Search
CPSC 322, Lecture 5Slide 1 Uninformed Search Computer Science cpsc322, Lecture 5 (Textbook Chpt 3.4) January, 14, 2009.
CSC 423 ARTIFICIAL INTELLIGENCE
Uninformed Search Jim Little UBC CS 322 – Search 2 September 12, 2014
Best-First Search: Agendas
Lecture 13 Last time: Games, minimax, alpha-beta Today: Finish off games, summary.
CPSC 322 Introduction to Artificial Intelligence October 27, 2004.
Introduction to AI & AI Principles (Semester 1) WEEK 3 (07/08) John Barnden Professor of Artificial Intelligence School of Computer Science University.
Introduction to AI & AI Principles (Semester 1) WEEK 6 John Barnden Professor of Artificial Intelligence School of Computer Science University of Birmingham,
Introduction to AI & AI Principles (Semester 1) WEEK 11 (Wed) – Wrap-Up (2008/09) John Barnden Professor of Artificial Intelligence School of Computer.
Introduction to AI & AI Principles (Semester 1) WEEK 8 (07/08) [Barnden’s slides only] John Barnden Professor of Artificial Intelligence School of Computer.
Game Playing CSC361 AI CSC361: Game Playing.
MAE 552 – Heuristic Optimization Lecture 27 April 3, 2002
Introduction to AI & AI Principles (Semester 1) REVISION LECTURES (Term 3) John Barnden Professor of Artificial Intelligence School of Computer Science.
Introduction to AI & AI Principles (Semester 1) WEEK 7 (07/08) [Barnden’s slides only] John Barnden Professor of Artificial Intelligence School of Computer.
Introduction to AI & AI Principles (Semester 1) WEEK 2 – Tuesday part B Introduction to AI & AI Principles (Semester 1) WEEK 2 – Tuesday part B (2008/09)
Introduction to AI & AI Principles (Semester 1) REVISION LECTURES (Term 3) John Barnden Professor of Artificial Intelligence School of Computer Science.
Introduction to AI & AI Principles (Semester 1) WEEK 10 (07/08) [John Barnden’s slides only] School of Computer Science University of Birmingham, UK.
Introduction to AI & AI Principles (Semester 1) WEEK 7 John Barnden Professor of Artificial Intelligence School of Computer Science University of Birmingham,
Uninformed Search Reading: Chapter 3 by today, Chapter by Wednesday, 9/12 Homework #2 will be given out on Wednesday DID YOU TURN IN YOUR SURVEY?
ICS-271:Notes 6: 1 Notes 6: Game-Playing ICS 271 Fall 2006.
CS 188: Artificial Intelligence Spring 2006 Lecture 2: Queue-Based Search 8/31/2006 Dan Klein – UC Berkeley Many slides over the course adapted from either.
Introduction to AI & AI Principles (Semester 1) WEEK 3 – Tuesday part A Introduction to AI & AI Principles (Semester 1) WEEK 3 – Tuesday part A (2008/09)
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.
State-Space Searches.
Heuristic Search Heuristic - a “rule of thumb” used to help guide search often, something learned experientially and recalled when needed Heuristic Function.
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice A. J. Gonzalez and D. D. Dankel.
Artificial Intelligence LECTURE 3 ARTIFICIAL INTELLIGENCE LECTURES BY ENGR. QAZI ZIA 1.
Introduction to search Chapter 3. Why study search? §Search is a basis for all AI l search proposed as the basis of intelligence l inference l all learning.
How are things going? Core AI Problem Mobile robot path planning: identifying a trajectory that, when executed, will enable the robot to reach the goal.
LOGIC AND ONTOLOGY Both logic and ontology are important areas of philosophy covering large, diverse, and active research projects. These two areas overlap.
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.
Introduction to AI & AI Principles (Semester 1) REVISION WEEK 1 (2008/09) John Barnden Professor of Artificial Intelligence School of Computer Science.
KNOWLEDGE BASED SYSTEMS
CSCI 4310 Lecture 2: Search. Search Techniques Search is Fundamental to Many AI Techniques.
Introduction to Artificial Intelligence (G51IAI) Dr Rong Qu Blind Searches - Introduction.
Spring, 2005 CSE391 – Lecture 1 1 Introduction to Artificial Intelligence Martha Palmer CSE391 Spring, 2005.
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
Search in State Spaces Problem solving as search Search consists of –state space –operators –start state –goal states A Search Tree is an efficient way.
CPSC 322, Lecture 5Slide 1 Uninformed Search Computer Science cpsc322, Lecture 5 (Textbook Chpt 3.5) Sept, 13, 2013.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
Artificial Intelligence Lecture No. 8 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
COMPUTER SYSTEM FUNDAMENTAL Genetic Computer School INTRODUCTION TO ARTIFICIAL INTELLIGENCE LESSON 11.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
Artificial Intelligence Solving problems by searching.
Chapter 3.5 Heuristic Search. Learning Objectives Heuristic search strategies –Best-first search –A* algorithm Heuristic functions.
Knowledge Representation
Fundamentals/ICY: Databases 2010/11 WEEK 1
Problem Solving by Searching
Announcements Homework 3 due today (grace period through Friday)
Problem Solving and Searching
Introduction to Artificial Intelligence Lecture 9: Two-Player Games I
Blay Whitby 2003 Search Blay Whitby 2003
Knowledge Representation
State-Space Searches.
Introduction to Artificial Intelligence Instructor: Dr. Eduardo Urbina
State-Space Searches.
Search.
SEG 4560 Midterm Review.
Search.
State-Space Searches.
Presentation transcript:

Introduction to AI & AI Principles (Semester 1) WEEK 11 John Barnden Professor of Artificial Intelligence School of Computer Science University of Birmingham, UK

Review of the term Search Evaluation forms

REVIEW of the term

Review: Topics I Have Covered uNature of AI: aims, applications, branches, issues. u“Intelligence” and its connection to “stupidity”. uExpert AI versus Everyday (“Common-Sense”) AI. uWhy everyday AI is difficult. l Language processing, vision, planning, common-sense reasoning u Search (and more on this today).

Review: My Topics, contd uWhy planning, common-sense reasoning, language processing, etc. may need representation. uWhy natural language is problematic for this … while also having many strengths. uWhat we need to represent: entities (incl. situations, feelings, …), properties, relationships, groups, propositional structure, generalization/quantification, …

Review: My Topics, contd u Taster of logic. l Captures entities, properties, relations, extreme forms of quantification, basic forms of propositional structure. Can also handle groups of entities. l Aims of logic: clarity and simplicity compared to NL; systematic, sound reasoning; general applicability; common format for comparison. uIntro to semantic networks (and frames). uProduction systems.

Review: Guest Lectures uChess, Computer games uLearning, Neural networks uEvolutionary computing uVision uRobotics, Agents uPhilosophy

Review: General Themes uUncertainty, vagueness, conflict, missing info, diversity of info. uHence: satisficing, graceful degradation, heuristic processing (i.e., using rules of thumb). uContext-sensitivity; relativity to agents’ purposes. uTask variability, learning, adaptation, repair (e.g., of plans). uRepresentation. uReasoning. uSearch (more in a minute).

SEARCH You should get the details from readings: Callan book: Chapter 3 John Bullinaria’s slides (week 8)

REVIEW: Towards “Search” uIn planning, one can mentally “search” through possible states of the world you could get to, or that would be useful to get to, by imagining doing actions. (FORWARDS SEARCH) If I do this, then that would happen, and then if I do this, that would come about, or if instead I did this then that would happen, … … … … … … … OR (BACKWARDS SEARCH) To get such and such a (sub-)goal state, I could perhaps do this action from such and such another state, and to get to that state I could perhaps do so-and-so, or alternatively I could have done such and such … … … …

REVIEW: Towards Search, contd. uWhat order to investigate the actions possible in or towards any given state? Investigate all or just some? All in a bunch, or at different points in the search? uFollow a line of investigation as far as you can, and then hop back to a choice point if not getting anywhere? uAny limit on the number of states investigated, or on how far you follow any given line? uHow can you measure how promising a state is? uHow to take care of unexpected world conditions or changes, or unexpected effects of your own actions?

New on Search uWe have encountered search in at least the following forms, apart from in planning/navigation: l Move choice in chess l Evolutionary computing l Intersection search in semantic networks l The overall operation of production systems l Common-sense reasoning tasks such as choosing a good set of presents to give to people.

Search, contd. uSearch is a matter of investigating a set of possibilities, of any sort, by going from one to the other by means of certain specified operations. uPotentially important across all AI areas. uThe “possibilities” are usually called “states”. They typically describe states of some world (real or artificial) outside the search, or some objects, or designs for something, etc. etc.

Search, contd. uA search problem consists of the following pre-defined things: l A set of states (infinitely many, possibly ). l A set of possible operations (finitely many, usually) that can transform states into other states, and a specification of their effects on states. l When operations represent things the agent could do in some environment represented by the states: a way of determining the cost of actually applying any particular sequence of operations starting from a particular state. Cost usually found by adding up the costs of individual operations along the sequence. The cost is often just the sequence length. l A particular initial state, and either a particular goal state (or listed set of alternative goal states), or a goal condition: a specification of what goal state looks like. l In some cases, very many states, perhaps even all, count as goals: the question then is of getting to a best possible goal, according to some goal evaluation function. (This is the situation assumed by the “Hill Climbing” search strategy.)

Search, contd. uPossible aims in a search problem: l When only a goal condition is given: discover one or more specific goals (and perhaps a best possible goal). E.g.: a particular design for a building. l When either a specific goal state or a goal condition is given: discover one or more solution paths: each being a sequence of operations going from the initial state to a goal state. This is the more typical case. Applies to planning, for example. l In addition: usually want reasonably good solution paths in terms of length or cost; and may even want the optimal solution path(s).

Summary of Bullinaria’s Slides uMainly about different overall search strategies, concerned with what order to look at states in, giving different “shapes” to the search process. The slides concentrate on forwards search. uUninformed search strategies: the strategy does not use any knowledge other than the successor function (the algorithm for working out what effect an operation has on a state), the initial state, the goals and the cost function. uInformed search strategies: also use some heuristic algorithm that estimates how promising an operation is at a given state, or how promising a given state is from the point of view of reaching a goal, or how good as a goal a state is. The algorithm typically uses additional knowledge about the domain. The algorithm is often in the form of a heuristic function: this estimates the remaining least possible cost from the state to a goal.

Bullinaria’s Slides, contd. uUninformed strategies: centred on l Depth-first search l Breadth-first search (guarantees shortest solution paths) l Iterative deepening: compromise between depth-first and breadth- first. uInformed strategies: l Best-first search (uses heuristic function), & special case: A* search (can guarantee optimal [=lowest cost] solution paths) l Hill Climbing.