HEURISTIC SEARCH. 4.3 Using Heuristics in Games 4.4 Complexity Issues 4.5 Epilogue and References 4.6 Exercises

Similar documents
Introduction HEURISTIC SEARCH. Introduction. Heuristics. Two main concerns of AI researchers. Two problems with the search process

Artificial Intelligence (part 4c) Strategies for State Space Search. (Informed..Heuristic search)

STRUCTURES AND STRATEGIES FOR STATE SPACE SEARCH

HEURISTIC SEARCH. 4.3 Using Heuristics in Games 4.4 Complexity Issues 4.5 Epilogue and References 4.6 Exercises

State Space Search. Many problems can be represented as a set of states and a set of rules of how one state is transformed to another.

STRUCTURES AND STRATEGIES FOR STATE SPACE SEARCH

Artificial Intelligence (part 4d)

Artificial Intelligence (part 4d)

Artificial Intelligence (part 4a) Problem Solving Using Search: Structures and Strategies for State Space Search

Algorithm Design Techniques (III)

Artificial Intelligence (Heuristic Search)

Artificial Intelligence

Monotonicity. Admissible Search: That finds the shortest path to the Goal. Monotonicity: local admissibility is called MONOTONICITY

Artificial Intelligence

Structures and Strategies For Space State Search

AI: Week 2. Tom Henderson. Fall 2014 CS 5300

mywbut.com Informed Search Strategies-II

Solving Problems: Blind Search

Artificial Intelligence Informed search. Peter Antal

Outline. Best-first search

CS 771 Artificial Intelligence. Informed Search

Outline. Best-first search

TDDC17. Intuitions behind heuristic search. Recall Uniform-Cost Search. Best-First Search. f(n) =... + h(n) g(n) = cost of path from root node to n

Downloded from: CSITauthority.blogspot.com

Program of Study. Artificial Intelligence 1. Shane Torbert TJHSST

Artificial Intelligence

HEURISTIC SEARCH. Heuristics: Rules for choosing the branches in a state space that are most likely to lead to an acceptable problem solution.

Lecture 14: March 9, 2015

Outline for today s lecture. Informed Search. Informed Search II. Review: Properties of greedy best-first search. Review: Greedy best-first search:

3.6.2 Generating admissible heuristics from relaxed problems

Informed search algorithms

Search : Brute force and Heuristic

Seach algorithms The travelling salesman problem The Towers of Hanoi Playing games. Comp24412: Symbolic AI. Lecture 4: Search. Ian Pratt-Hartmann

Problem Solving, Search and Control Strategies

Informed search methods

Downloaded from ioenotes.edu.np

Introduction to Artificial Intelligence (G51IAI) Dr Rong Qu. Problem Space and Search Tree

CS 4700: Foundations of Artificial Intelligence. Bart Selman. Search Techniques R&N: Chapter 3

Lecture 4: Informed/Heuristic Search

Dr. Mustafa Jarrar. Chapter 4 Informed Searching. Artificial Intelligence. Sina Institute, University of Birzeit

DFS. Depth-limited Search

TDDC17. Intuitions behind heuristic search. Best-First Search. Recall Uniform-Cost Search. f(n) =... + h(n) g(n) = cost of path from root node to n

Lecture 3 of 42. Lecture 3 of 42

CSCI-630 Foundations of Intelligent Systems Fall 2015, Prof. Zanibbi

Uninformed Search. Problem-solving agents. Tree search algorithms. Single-State Problems

Informed search algorithms

Name: UW CSE 473 Midterm, Fall 2014

A4B36ZUI - Introduction ARTIFICIAL INTELLIGENCE

CS 771 Artificial Intelligence. Problem Solving by Searching Uninformed search

Data Structures and Algorithms

Problem Solving & Heuristic Search

Solving Problems: Intelligent Search

COMP219: Artificial Intelligence. Lecture 7: Search Strategies

Informed Search. Best-first search. Greedy best-first search. Intelligent Systems and HCI D7023E. Romania with step costs in km

INTRODUCTION TO HEURISTIC SEARCH

Principles of Artificial Intelligence Fall 2005 Handout #3 Heuristic Problem Solvers

Informed Search. Topics. Review: Tree Search. What is Informed Search? Best-First Search

Problem Solving and Search

ARTIFICIAL INTELLIGENCE SOLVING PROBLEMS BY SEARCHING. Chapter 3

Algorithm Design Techniques. Hwansoo Han

Midterm Examination CS 540-2: Introduction to Artificial Intelligence

Artificial Intelligence

Graphs vs trees up front; use grid too; discuss for BFS, DFS, IDS, UCS Cut back on A* optimality detail; a bit more on importance of heuristics,

A4B36ZUI - Introduction to ARTIFICIAL INTELLIGENCE

Informed search. Soleymani. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016

Chapters 3-5 Problem Solving using Search

Search and Optimization

Potential Midterm Exam Questions

Informed search algorithms

Informed search algorithms

Artificial Intelligence

Artificial Intelligence

2006/2007 Intelligent Systems 1. Intelligent Systems. Prof. dr. Paul De Bra Technische Universiteit Eindhoven

CS 188: Artificial Intelligence. Recap Search I

An Appropriate Search Algorithm for Finding Grid Resources

Vorlesung Grundlagen der Künstlichen Intelligenz

mywbut.com Informed Search Strategies-I

Chapter 3: Solving Problems by Searching

The wolf sheep cabbage problem. Search. Terminology. Solution. Finite state acceptor / state space

State Spaces

Dr. Mustafa Jarrar. Chapter 4 Informed Searching. Sina Institute, University of Birzeit

SEARCH METHODS USING HEURISTIC STRATEGIES. Michael Georgeff. Department of Computer Science, Monash University, Clayton, Vic, Australia.

Problem Solving and Search. Geraint A. Wiggins Professor of Computational Creativity Department of Computer Science Vrije Universiteit Brussel

Basic Search. Fall Xin Yao. Artificial Intelligence: Basic Search

Finding optimal configurations Adversarial search

CMPSCI 250: Introduction to Computation. Lecture #24: General Search, DFS, and BFS David Mix Barrington 24 March 2014

Chapter 3: Informed Search and Exploration. Dr. Daisy Tang

Lecture 2: Problem Solving and Search

Parallel Programming. Parallel algorithms Combinatorial Search

Informed (Heuristic) Search. Idea: be smart about what paths to try.

Chapter S:IV. IV. Informed Search

Chapter 2 Classical algorithms in Search and Relaxation

Learning Objectives. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 3.3, Page 1

CS 188 Introduction to Artificial Intelligence Fall 2018 Note 1

Computer Science and Software Engineering University of Wisconsin - Platteville. 3. Search (Part 1) CS 3030 Lecture Notes Yan Shi UW-Platteville

Notes. Video Game AI: Lecture 5 Planning for Pathfinding. Lecture Overview. Knowledge vs Search. Jonathan Schaeffer this Friday

Constraint Satisfaction Problems

3 SOLVING PROBLEMS BY SEARCHING

Lecture 4: Search 3. Victor R. Lesser. CMPSCI 683 Fall 2010

Informed Search and Exploration

Transcription:

4 HEURISTIC SEARCH Slide 4.1 4.0 Introduction 4.1 An Algorithm for Heuristic Search 4.2 Admissibility, Monotonicity, and Informedness 4.3 Using Heuristics in Games 4.4 Complexity Issues 4.5 Epilogue and References 4.6 Exercises

Slide 4.2 Heuristic Search The study of the methods and rules of discovery and invention defined by George Polya Greek root word is euisco which means I discover Archimedes emerged and shouted Eureka meaning I have found it In state space search, heuristics are formalized as rules for choosing those branches in a state space that are most likely to lead to an acceptable solution

Slide 4.3 AI problem solvers employ heuristics in two basic situation A problem may not have an extract solution because of inherent ambiguities in the problem statement or available data. A given set of symptoms may have several possible causes; doctors use heuristics to choose the most likely diagnosis and formulate a plan of treatment A problem may have an exact solution, but the computational cost of finding it may be prohibitive. In many problems (such as chess), state space growth is combinatorially explosive, with the number of possible states increasing exponentially or factorially with the depth of the search. In these cases, exhausive, bruce-force search techniques such as depth-first or breadth-first search may fail to find a solution within any practical length of time. Heuristics attack this complexity by guiding the search along the most promising path through the space. By eliminating unpromising states and their descendants from consideration, a heuristics algorithm can defeat this combinatorial explosion and find an acceptable solution

Slide 4.4 Inherent limitation of heuristic search Heuristic is only an informed guess of the next step to be taken in solving a problem Because heuristics use limited information, they are seldom able to predict the exact behavior of the state space farther along in the search a heuristic can lead a search algorithm to a suboptimal solution or fail to find any solution at all

Slide 4.5 Importance of heuristics But heuristics and the design of algorithms to implement heuristic search have long been a core concern of artificial intelligence research It is not feasible to examine every inference that can be made in a mathematics domain heuristic search is often the only practical answer more recently, expert systems research has affirmed the importance of heuristics as an essential component of problem solving

Figure 4.1: First three levels of the tic-tac-toe state space reduced by symmetry. Slide 4.6

Slide 4.7 In tic-tac-toe problem, the combinatorics for exhaustive search are high but not insurmountable total number of states that need to be considered in an exhaustive search at 9x8x7x.or 9! Symmetry reduction decrease the search space Symmetry reductions on the second level further reduce the number of paths through the space to 12x7! in the previous figure.

Figure 4.2: Slide 4.8 The most wins heuristic applied to the first children in tic-tac-toe.

Figure 4.3: Heuristically reduced state space for tic-tac-toe. Slide 4.9

Slide 4.10 Hill climbing To implementation of heuristic search is through a procedure called hill climbing Hill climbing strategies expand the current state in the search and evaluate its children the best child is selected for further expansion; neither its siblings nor its parent are retained search halts when it reaches a state that is better than any of its children go uphill along the steepest possible path until it can go no farther because it keeps no history, the algorithm cannot recover from failures of its strategy

Slide 4.11 best-first search algorithm A major problem of hill climbing strategies is their tendency to become stuck at local maxima if they reach a state that has a better evaluation than any of its children, the algorithm halts hill climbing can be used effectively if the evaluation function is sufficiently informative to avoid local maxima and infinite paths heuristic search requires a more flexible algorithm: this is provided by best-first search, where, with a priority queue, recovery from local maxima is possible

Slide 4.12

Figure 4.4: Heuristic search of a hypothetical state space. Slide 4.13

A trace of the execution of best_first_search for Figure 4.4 Slide 4.14

Slide 4.15 The best-first search algorithm always select the most promising state on open for further expansion as it is using a heuristic that may prove erroneous, it does not abandon all the other states but maintains then on open In the event a heuristic leads the search down a path that proves incorrect, the algorithm will eventually retrieve some previously generated, next best state from open and shift its focus to another part of the space In best-first search, as in depth-first and breadth-first search algorithms, the open list allows backtracking from paths that fail to produce a goal

Figure 4.5: Heuristic search of a hypothetical state space with open and closed states highlighted. Slide 4.16

Figure 4.6: The start state, first set of moves, and goal state for an 8-puzzle instance. Slide 4.17

Figure 4.8: Three heuristics applied to states in the 8-puzzle. Slide 4.18

Figure 4.9: The heuristic f applied to states in the 8-puzzle. Slide 4.19