Outline for 4/2 Introduction & Logistics Notion of a Problem Space Search Techniques Video: Kasparov vs. Deep Blue Constraint Satisfaction Techniques.

Slides:



Advertisements
Similar presentations
Review: Search problem formulation
Advertisements

Big Ideas in Cmput366. Search Blind Search State space representation Iterative deepening Heuristic Search A*, f(n)=g(n)+h(n), admissible heuristics Local.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal.
An Introduction to Artificial Intelligence
Ch 4. Heuristic Search 4.0 Introduction(Heuristic)
Search I: Chapter 3 Aim: achieving generality Q: how to formulate a problem as a search problem?
Informed Search Methods How can we improve searching strategy by using intelligence? Map example: Heuristic: Expand those nodes closest in “as the crow.
Search in AI.
Lecture 13 Last time: Games, minimax, alpha-beta Today: Finish off games, summary.
State Space Search Algorithms CSE 472 Introduction to Artificial Intelligence Autumn 2003.
Review: Search problem formulation
1 Using Search in Problem Solving Part II. 2 Basic Concepts Basic concepts: Initial state Goal/Target state Intermediate states Path from the initial.
Introduction to Introduction to Artificial Intelligence Henry Kautz.
Artificial Intelligence Course review AIMA. Four main themes Problem solving by search Uninformed search Informed search Constraint satisfaction Adversarial.
CSE 473 Artificial Intelligence Dan Weld Krzysztof Gajos Tessa MacDuff
Cooperating Intelligent Systems Course review AIMA.
1 Solving Problems by Searching. 2 Terminology State State Space Initial State Goal Test Action Step Cost Path Cost State Change Function State-Space.
Problem Spaces & Search CSE 473. © Daniel S. Weld Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n.
Big Ideas in Cmput366. Search Blind Search Iterative deepening Heuristic Search A* Local and Stochastic Search Randomized algorithm Constraint satisfaction.
CSE 473 Artificial Intelligence Review. © Daniel S. Weld 2 Logistics Problem Set due at midnight Exam next Wed 8:30—10:30 Regular classroom Closed book.
Informed Search CSE 473 University of Washington.
Search in Artificial Intelligence zFind the next move in chess, checkers. zScheduling: finding a good class schedule. zTheorem proving: given a set of.
Informed Search Methods How can we make use of other knowledge about the problem to improve searching strategy? Map example: Heuristic: Expand those nodes.
Implementing the Intelligent Systems Knowledge Units of Computing Curricula 2001 Ingrid Russell Todd Neller.
Outline Introduction & Logistics Textbook: Russell and Norvig chapters 3, 4 and 5. Notion of a Problem Space Search Techniques Constraint Satisfaction.
CS121 Heuristic Search Planning CSPs Adversarial Search Probabilistic Reasoning Probabilistic Belief Learning.
Heuristics CSE 473 University of Washington. © Daniel S. Weld Topics Agency Problem Spaces SearchKnowledge Representation Planning PerceptionNLPMulti-agentRobotics.
1 Midterm Review cmsc421 Fall Outline Review the material covered by the midterm Questions?
Solving Problems by Searching
Vilalta&Eick: Informed Search Informed Search and Exploration Search Strategies Heuristic Functions Local Search Algorithms Vilalta&Eick: Informed Search.
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.
Introduction to search Chapter 3. Why study search? §Search is a basis for all AI l search proposed as the basis of intelligence l all learning algorithms,
Informed search algorithms
Assoc. Prof. Abdulwahab AlSammak. Course Information Course Title: Artificial Intelligence Instructor : Assoc. Prof. Abdulwahab AlSammak
CS 415 – A.I. Slide Set 5. Chapter 3 Structures and Strategies for State Space Search – Predicate Calculus: provides a means of describing objects and.
Logic in AI CSE 573. © Daniel S. Weld 2 Logistics Monday? Reading Ch 8 Ch 9 thru p 278 Section 10.3 Projects Due 11/10 Teams and project plan due by this.
For Monday Read chapter 4, section 1 No homework..
1 2010/2011 Semester 2 Introduction: Chapter 1 ARTIFICIAL INTELLIGENCE.
Lecture 3: Uninformed Search
Problem Spaces & Search CSE 573. © Daniel S. Weld 2 Logistics Mailing list Reading Ch 4.2, Ch 6 Mini-Project I Partners Game Playing?
AI ● Dr. Ahmad aljaafreh. What is AI? “AI” can be defined as the simulation of human intelligence on a machine, so as to make the machine efficient to.
MDPs (cont) & Reinforcement Learning
Artificial Intelligence for Games Informed Search (2) Patrick Olivier
KNOWLEDGE BASED SYSTEMS
Basic Problem Solving Search strategy  Problem can be solved by searching for a solution. An attempt is to transform initial state of a problem into some.
Outline for 3/28 Introduction & Logistics Textbook: chapters 3, 4 and 5. Notion of a Problem Space Search Techniques Constraint Satisfaction Techniques.
1 Solving Problems by Searching. 2 Terminology State State Space Goal Action Cost State Change Function Problem-Solving Agent State-Space Search.
Problem Spaces & Search Dan Weld CSE 573. © Daniel S. Weld 2 Logistics Read rest of R&N chapter 4 Also read chapter 5 PS 1 will arrive by , so be.
Spring, 2005 CSE391 – Lecture 1 1 Introduction to Artificial Intelligence Martha Palmer CSE391 Spring, 2005.
Graph Search II GAM 376 Robin Burke. Outline Homework #3 Graph search review DFS, BFS A* search Iterative beam search IA* search Search in turn-based.
CSE 473: Artificial Intelligence Spring 2012 Search: Cost & Heuristics Luke Zettlemoyer Lecture adapted from Dan Klein’s slides Multiple slides from Stuart.
Search Methodologies Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
The Hebrew University of Jerusalem School of Engineering and Computer Science Academic Year: 2011/2012 Instructor: Jeff Rosenschein.
CMPT 463. What will be covered A* search Local search Game tree Constraint satisfaction problems (CSP)
Introduction to Artificial Intelligence Heshaam Faili University of Tehran.
Brief Intro to Machine Learning CS539
Review of AI Professor: Liqing Zhang
Done Done Course Overview What is AI? What are the Major Challenges?
Logistics Problem Set 1 Mailing List Due 10/13 at start of class
CSE 473 Artificial Intelligence Oren Etzioni
Basic Intro Tutorial on Machine Learning and Data Mining
Heuristics Local Search
Problem Spaces & Search
Heuristics Local Search
Problem Spaces & Search
Heuristic Search Generate and Test Hill Climbing Best First Search
Search.
Search.
Presentation transcript:

Outline for 4/2 Introduction & Logistics Notion of a Problem Space Search Techniques Video: Kasparov vs. Deep Blue Constraint Satisfaction Techniques

Logistics: Dan Weld Jared Reading –Required: Packet of papers –Recommended: Russell & Norvig “AIMA” Grading: –Problem Sets –Class –Midterm, Final –Projects

Dimensions of the AI Definition Systems that think like humans Systems that think rationally Systems that act like humans Systems that act rationally thought vs. behavior human-like vs. rational

AI as Science Origin & Laws of the Physical Universe Origin & Laws of Biological Life Nature of Intelligent Thought AI as Engineering Softbots & Intelligent User Interfaces Mobile Robots … Immobots Machine Learning Algorithms; Data Mining Medical Expert Systems...

AI Theory For example, Machine Learning –The concept orgespat? Given tree structured instance space with n attributes, you need –4 log(2/  ) + 16n log(13/  examples

Search Brute force –DFS, BFS, iterative deepening, iterative broadening Heuristic –Best first, beam, hill climbing, simulated annealing, limited discrepancy Optimizing –Branch & bound, A*, IDA*, SMA* Adversary Search –Minimax, alpha-beta, conspiracy search Constraint Satisfaction –As search, preprocessing, backjumping, forward checking, dynamic variable ordering

Knowledge Repr & Reasoning Propositional Logic –Syntax, inference: modus ponens, resolution, DPLL, stochastic methods; truth maintenance, hard problems, phase transitions Predicate Calculus –Syntax, inference: unification, resolution, compilation to propositional form Modal Logic –Representing action and change, diagnosis, planning Bayesian Belief Networks –Joint prob distrib, indepenence, Bayes rule, inference and diagnosis: clustering methods, cutset conditioning, stochastic simulation; utility functions, decision networks

Learning Supervised Learning –Methodology: N-fold cross-validation; induction of decision trees, entropy, information gain, ID3, C4.5, overfitting, ensembles of classifiers, bagging, boosting, scaleup, complete classification vs nuggets, feature selection: LOOCV, racing, schemas; inductive logic programming, FOIL, minimum description length, Grendel Reinforcement Learning –Cummulative discounted reward, dynamic programming, policy iteration, value iteration, temporal-difference learning Bayesian Learning

Course Topics by Week Search & Constraint Satisfaction KR 1: Propositional Logic Autonomous Spacecraft 1: Configuation Mgmt Autonomous Spacecraft 2: Reactive Planning KR2: Modeling Internet Information Sources Information Integration 2: Planning & Execution Supervised Learning & Datamining Reinforcement Learning Bayes Nets: Inference & Learning Review & Future Forecast

Search & Knowledge Representation

11 Artificial Intelligence Planning (To get a good job I should get an MS/CSE…) Diagnosis (My car won’t start, but I know it has gas…) Design (Space Shuttle, Boeing 777, Pentium) Communicate ( Language + Social reasoning) Theorem Proving (Fermat’s Last Theorem) Perceive/Act (Vision, Manipulation) Game Playing (Kasparov vs. Deep Blue) Create Art (MacBeth, Mona Lisa, Taj Mahal) Learn to...

Unifying View Knowledge Representation –Expressiveness –Reasoning (Tractability) Search –Space being searched –Algorithms & performance

Outline Defining a Search Space Types of Search –Blind –Heuristic –Optimization –Adversary Search –Constraint Satisfaction Analysis –Completeness –Time & Space Complexity

14 Specifying a search problem? What are states (nodes in graph)? What are the operators (arcs between nodes)? Initial state? Goal test? [Cost?, Heuristics?, Constraints?] E.g., Eight Puzzle

15 Missionaries and Cannibals m m m c c c What are states (nodes in graph)? What are the operators (arcs between nodes)? Initial state? Goal test?

16 Supervised Concept Learning What are states (nodes in graph)? What are the operators (arcs between nodes)? Initial state? Goal test?

17 Search Strategies Blind Search –Depth first search –Breadth first search –Iterative deepening search –Iterative broadening search Heuristic Search Optimizing Search Constraint Satisfaction

Depth First Search a b cd e f gh Maintain stack of nodes to visit Evaluation –Complete? –Time Complexity? –Space Complexity? Not for infinite spaces O(b^d) O(d)

Breadth First Search a b c def gh Maintain queue of nodes to visit Evaluation –Complete? –Time Complexity? –Space Complexity? Yes O(b^d)

Iterative Deepening Search a b c d e f gh DFS with limit; incrementally grow limit Evaluation –Complete? –Time Complexity? –Space Complexity? Yes O(b^d) O(d) j i k L

Iterative Broadening Search What if know solutions lay at depth N? No sense in doing interative deepening a b c d e fg h i j

22 Search Strategies Blind Search Heuristic Search –Best-first –Beam –Hill climbing –Limited discrepancy Optimizing Search Constraint Satisfaction

Heuristic Search A heuristic is: –Function from a state to a real number Low number means state is close to goal High number means state is far from the goal Designing a good heuristic is very important! (And hard) More on this in a bit...

Best First Search Idea –Breadth first but use priority queue instead of a queue Evaluation –Complete? –Time Complexity? –Space Complexity? Yes O(b^d)

Beam Search Idea –Best first but only keep N best items on priority queue Evaluation –Complete? –Time Complexity? –Space Complexity? No O(b^d) O(b + N)

Hill Climbing Idea –Always choose best child; no backtracking Evaluation –Complete? –Time Complexity? –Space Complexity? No - suffers from plateau, local maxima, ridges O(b^d) but only in pathological cases O(b)

Simulated Annealing Objective: avoid local minima Technique: –For the most part use hill climbing –Occasionally take non-optimal step –Reduce probability(non-optimal) over time Comparison to Hill Climbing –Completeness? –Speed? –Space Complexity? temp

Limited Discrepancy Search Discrepancy bound indicates how often to violate heuristic Iteratively increase... a b c d e f g h Assume that heuristic says go left

29 Search Strategies Blind Search Heuristic Search Optimizing Search –A* –IDA* –SMA* Constraint Satisfaction Objective is to find the very best solution.

A* Search Idea –Best first search with admissible heuristic –Plus keep checking until all possibilities look worse Evaluation –Finds optimal solution? –Time Complexity? –Space Complexity? Yes O(b^d) Underestimates cost of any solution which can reached from node

Admissable Heuristics f(x) = g(x) + h(x) g: cost so far h: underestimate of remaining costs a b c d e f For transportation planning? For eight puzzle?

Importance of Heuristics D IDS A*(h1)A*(h2) h1 = number of tiles in the wrong place h2 = sum of distances of tiles from correct loc

Iterative Deepening A* Like iterative deepening depth first, but... Depth bound modified to be an f-cost limit Contour lines bounding search a b c d e f F=15 F=21

SMA* Problem is f-cost bound increases slowly Must do iterative search again and again Storing little state between each iteration –Just one number: next highest contour level SMA* –Uses all available memory to store state –Duplicates minimal work –Optimal in a number of nice ways