COMP 8620 Advanced Topics in AI
|
|
- Bernadette Claire Poole
- 6 years ago
- Views:
Transcription
1 OMP 8620 dvanced Topics in Lecturers: Philip Kilby & Jinbo uang 25/07/2008 1
2 Part 1: Search Lecturer: r Philip Kilby Philip.Kilby@nicta.com.au Weeks 1-71 (Week 7 is assignment seminars) Part 2: Probabilistic Reasoning with ayesian networks Lecturer: r Jinbo uang Jinbo.uang@nicta.com.au Weeks /07/2008 2
3 ourse Outline Part ntroduction Systematic Search 3-4 Linear Programming / nteger Programming / ranch and ound 5-6 Neighbourhood-based based methods: Simulated nnealing Tabu Search enetic lgorithms 7-8 onstraint Programming (uest lecturer: Jason Li) 7-8 onstraint Programming (uest lecturer: Jason Li) 9-10 ase Studies: TSP Planning (Jussi( Rintanen) 11 ynamic Programming 12 Qualitative Reasoning (uest lecturer: Jason Li) Seminars (uest Lecturers: You lot!) 3
4 40% xam 60% ssignment ssessment Search 1 x ssignment (next week) 15% 1 x Seminar 15% Reasoning 3 x ssignment (10% each) (tentative) 4
5 What is Search? Search finds a solution to a problem Landscape of solutions Some are good Lots (and lots and lots) are bad ow do we find the good ones? 5
6 What is Search? Landscape can continuous or discrete (We will only deal with discrete) Landscape can be (approximated by?) a tree Landscape can be (approximated by?) a graph 6
7 What is Search? X + 2 * Y < 3, X [0,5] Y [1,5] 7
8 What is Search? X=2 Y=5 X=3 Y=5 X + 2 * Y < 3, X [0,5] Y [1,5] X=2 Y=3 X=0 Y=0 X=5 Y=5 X=5 Y=1 X=0 Y=1 X=3 Y=1 X=4 Y=5 X=1 Y=2 X=0 Y=2 X=0 Y=3 X=5 Y=2 X=0 Y=1 X=3 Y=2 X=2 Y=2 X=5 Y=3 X=3 Y=3 X=4 Y=3 X=1 Y=1 X=3 Y=4 X=2 Y=1 X=0 Y=4 X=5 Y=4 X=0 Y=5 X=4 Y=4 X=4 Y=2 X=1 Y=5 X=1 Y=4 X=1 Y=3 X=2 Y=4 8 X=4 Y=1
9 What is Search? X + 2 * Y < 3, X [0,5] Y [1,5] X=0 X=1 X=2 X=3 X=4 X=5 Y=1 Y=2 Y=3 Y=4 Y=5 9
10 What is Search? X + 2 * Y < 3, X [0,5] Y [1,5] Y=1 Y=2 Y=3 Y=4 Y=5 X=0 X=1 X=2 X=3 X=4 X=5 10
11 What is Search? X + 2 * Y < 3, X [0,5] Y [1,5] X>0 X=0 Y>1 Y=1 11
12 What is Search? ifferent flavours ind a solution (Satisfaction/ecision) ind the best solution (ombinatorial Optimisation) ecision problems: Search variant: ind a solution (or show none exists) ecision variant: oes a solution exist? 12
13 What is Search onstructive Search ind a solution by construction Local Search iven a solution, explore the neighbourhood of that solution to find other (possibly better) solutions 13
14 What is Search? nytime algorithm (for optimisation prob): fter a (short) startup time, an answer is available The longer the alg is run, the better the solution Quality guarantee may be available (e.g. solution is within 5% of optimal) One-shot algorithm nswer only available at completion 14
15 What is Search? problem is defined by nitial state Successor function (an action leading from one state to another) oal test Path cost solution is a sequence of actions leading from the start state to a goal state 15
16 xample: Romania 16
17 Problem formulation problem is defined by four items: initial state e.g., at rad successor function S(x) set of action state pairs e.g., S(rad) = {<rad Zerind, at Zerind>,...} goal test e.g., x = at ucharest can be implicit, e.g., asirport(x) path cost (additive) e.g. sum of distances, number of actions executed, etc. c(x, a, y) is the step cost, assumed to be 0 17
18 Tree Search function Tree-Search (problem, fringe) returns a solution, or failure fringe nsert (Make-Node (nitial-state (problem)), fringe) loop do if s-mpty (fringe) then return failure node Remove-ront (fringe) if oal-test (problem, State[node]) then return node fringe nsertll (xpand (node, problem), fringe) function xpand (node, problem) returns a set of nodes successors the empty set for each (action, result) in Successor-n (problem, State[node]) do s a new Node Parent-Node[s] node; ction[s] action; State[s] result Path-ost[s] Path-ost[node] + Step-ost(State[node], action, result) epth[s] epth[node] + 1 successors nsert (s) return successors 18
19 readth-first Search L M O 19
20 readth-first Search L M O 20
21 readth-first Search L M O 21
22 readth-first Search L M O 22
23 readth-first Search L M O 23
24 readth-first Search L M O 24
25 readth-first Search L M O 25
26 readth-first Search L M O 26
27 readth-first Search L M O 27
28 readth-first Search L M O 28
29 readth-first Search L M O 29
30 readth-first Search L M O 30
31 readth-first Search L M O 31
32 readth-first Search L M!! O 32
33 epth-first Search L M O 33
34 epth-first Search L M O 34
35 epth-first Search L M O 35
36 epth-first Search L M O 36
37 epth-first Search L M O 37
38 epth-first Search L M O 38
39 epth-first Search L M O 39
40 epth-first Search L M O 40
41 epth-first Search L M O 41
42 epth-first Search L M O 42
43 epth-first Search L M O 43
44 epth-first Search L M O 44
45 epth-first Search L M O 45
46 readth-first Search L M!! O 46
47 terative eepening S Search L M O 47
48 terative eepening S Search L M O 48
49 terative eepening S Search L M O 49
50 terative eepening S Search L M O 50
51 terative eepening S Search L M O 51
52 terative eepening S Search L M O 52
53 terative eepening S Search L M O 53
54 terative eepening S Search L M O 54
55 terative eepening S Search L M O 55
56 terative eepening S Search L M O 56
57 terative eepening S Search L M O 57
58 terative eepening S Search L M O 58
59 terative eepening S Search L M O 59
60 terative eepening S Search L M O 60
61 terative eepening S Search L M O 61
62 terative eepening S Search L M O 62
63 terative eepening S Search L M O 63
64 terative eepening S Search L M O 64
65 terative eepening S Search L M O 65
66 terative eepening S Search L M O 66
67 terative eepening S Search L M O 67
68 terative eepening S Search L M O 68
69 terative eepening S Search L M O 69
70 terative eepening S Search L M O 70
71 terative eepening S Search L M O 71
72 terative eepening S Search L M O 72
73 terative eepening S Search L M O 73
74 terative eepening S Search L M!! O 74
75 Uniform cost search xpand in order of cost dentical to readth-irst Search if all step costs are equal Number of nodes expanded depends on ε > 0 the smallest cost action cost. (f ε = 0, uniform-ost search may infinite-loop) 75
76 i-directional Search xtend S from Start and oal states simultaneously b d/2 d/2 + b d/2 << b d 76
77 i-directional Search Restrictions: an only use if 1 (or a few) known goal nodes an only use if actions are reversible i.e. if we can efficiently calculate Pred(s (s) (for state s) where a Pred( s) = { r : a r s} 77
78 Summary riterion omplete S Yes S No S Yes Uniform ost Yes i-direc direc- tional Yes Time O(b d+1 ) O(b m ) O(b d ) O(b */ */ε ) O(b d/2 ) Space O(b d+1 ) O(bm) O(bd) O(b */ */ε ) O(b d/2 ) Optimal Yes, for unit cost No Yes, for unit cost Yes Yes, for unit cost b = branching factor ; m = max depth of tree ; d = depth of goal node * = cost of goal ; ε = min action cost 78
79 Repeated State etection Test for previously-seen seen states ssentially, search graph mimics state graph 79
80 Repeated State etection an make exponential improvement in time an make S complete S now has potentially exponential space requirement ave to be careful to guarantee optimality n practice, almost always use repeated state detection 80
81 * Search dea: avoid expanding paths that are already expensive valuation function f(n) = g(n) + h(n) g(n) = cost so far to reach n h(n) = estimated cost from n to the closest goal f(n) = estimated total cost of path through n to goal search uses an admissible heuristic i.e., h(n) h (n) where h (n) is the true cost from n. (lso require h(n) 0, so h() = 0 for any goal.).g., h SL (n) never overestimates the actual road distance When h(n) is admissible, f(n) never overestimates the total cost of the shortest path through n to the goal Theorem: search is optimal 81
82 * xample rad 366=
83 * xample rad 366=
84 * xample rad Sibiu 393= Timisoara 447= Zerind 449=
85 * xample rad Sibiu 393= Timisoara 447= Zerind 449=
86 * xample rad Sibiu Timisoara 447= Zerind 449= rad 646= agaras 415= Oradea 671= Rimnicu Vilcea 413=
87 * xample rad Sibiu Timisoara 447= Zerind 449= rad 646= agaras 415= Oradea 671= Rimnicu Vilcea 413=
88 * xample rad Sibiu Timisoara 447= Zerind 449= rad 646= agaras 415= Oradea 671= Rimnicu Vilcea raiova 526= Pitesti 417= Sibiu 553=
89 * xample rad Sibiu Timisoara 447= Zerind 449= rad 646= agaras 415= Oradea 671= Rimnicu Vilcea raiova 526= Pitesti 417= Sibiu 553=
90 * xample rad Sibiu Timisoara 447= Zerind 449= rad 646= agaras Oradea 671= Rimnicu Vilcea Sibiu 591= ucharest 450=450+0 raiova 526= Pitesti 417= Sibiu 553=
91 * xample rad Sibiu Timisoara 447= Zerind 449= rad 646= agaras Oradea 671= Rimnicu Vilcea Sibiu 591= ucharest 450=450+0 raiova 526= Pitesti 417= Sibiu 553=
92 * xample rad Sibiu Timisoara 447= Zerind 449= rad 646= agaras Oradea 671= Rimnicu Vilcea Sibiu 591= ucharest 450=450+0 raiova 526= Pitesti Sibiu 553= ucharest 418=418+0 raiova 615= Rimnicu Vilcea 607=
93 * xample rad Sibiu Timisoara 447= Zerind 449= rad 646= agaras Oradea 671= Rimnicu Vilcea Sibiu 591= ucharest 450=450+0 raiova 526= Pitesti Sibiu 553= ucharest 418=418+0 raiova 615= Rimnicu Vilcea 607=
94 * xample rad Sibiu Timisoara 447= Zerind 449= rad 646= agaras Oradea 671= Rimnicu Vilcea Sibiu 591= ucharest 450=450+0 raiova 526= Pitesti Sibiu 553= ucharest 418=418+0 raiova 615= Rimnicu Vilcea 607=
95 * Search Optimal No other optimal algorithm expands fewer nodes (modulo order of expansion of nodes with same cost) xponential space requirement 95
96 reedy Search Use (always admissible) h(n) = 0 in f(n) = g(n) + h(n) i.e. always use the cheapest found so far 96
97 Variants of * Search Many variants of * developed Weighted *: f(n) = g(n) + W h(n) Not exact aster nswer is within W of optimal 97
98 Variants of * Search Many variants of * developed Weighted *: f(n) = g(n) + W h(n) Not exact aster nswer is within W of optimal * 98
99 Variants of * Search Many variants of * developed Weighted *: f(n) = g(n) + W h(n) Not exact aster nswer is within W of optimal Weighted * 99
100 Variants of * Search terative eepening * (*) ncrementally increase max depth Memory-bounded * mpose bound on memory iscard nodes with largest f(x) if necessary Others to come in seminars 100
101 Limited iscrepancy Search Requires a heuristic to order choices (e.g. admissible heuristic, but don t t require underestimate) f heuristic was right, we could always take the choice given by the heuristic LS allows the heuristic to make mistakes: k-ls allows k mistakes. 101
102 Limited iscrepancy Search (k( = 1) J K L M N O 102
103 Limited iscrepancy Search (k( = 1) 0 1 J K L M N O 103
104 Limited iscrepancy Search (k( = 1) J K L M N O 104
105 Limited iscrepancy Search (k( = 1) J K L M N O 105
106 Limited iscrepancy Search (k( = 1) J K L M N O 106
107 Limited iscrepancy Search (k( = 1) J K L M N O 107
108 Limited iscrepancy Search (k( = 1) J K L M N O 108
109 Limited iscrepancy Search (k( = 1) J K L M N O 109
110 Limited iscrepancy Search (k( = 1) J K L M N O 110
111 Limited iscrepancy Search (k( = 1) J K L M N O 111
112 Limited iscrepancy Search (k( = 1) J K L M N O 112
113 Next week. (nteger) Linear Programming and ranch & ound 113
Artificial Intelligence, CS, Nanjing University Spring, 2018, Yang Yu. Lecture 2: Search 1.
rtificial Intelligence, S, Nanjing University Spring, 2018, Yang Yu Lecture 2: Search 1 http://lamda.nju.edu.cn/yuy/course_ai18.ashx Problem in the lecture 7 2 4 51 2 3 5 6 4 5 6 8 3 1 7 8 Start State
More informationSearch. Intelligent agents. Problem-solving. Problem-solving agents. Road map of Romania. The components of a problem. that will take me to the goal!
Search Intelligent agents Reflex agent Problem-solving agent T65 rtificial intelligence and Lisp Peter alenius petda@ida.liu.se epartment of omputer and Information Science Linköping University Percept
More informationPlanning and search. Lecture 1: Introduction and Revision of Search. Lecture 1: Introduction and Revision of Search 1
Planning and search Lecture 1: Introduction and Revision of Search Lecture 1: Introduction and Revision of Search 1 Lecturer: Natasha lechina email: nza@cs.nott.ac.uk ontact and web page web page: http://www.cs.nott.ac.uk/
More informationProblem solving and search
Problem solving and search hapter 3 hapter 3 1 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms hapter 3 3 Restricted form of general agent: Problem-solving
More informationArtificial Intelligence
Artificial Intelligence hapter 1 hapter 1 1 Iterative deepening search function Iterative-Deepening-Search( problem) returns a solution inputs: problem, a problem for depth 0 to do result Depth-Limited-Search(
More informationArtificial Intelligence: Search Part 1: Uninformed graph search
rtificial Intelligence: Search Part 1: Uninformed graph search Thomas Trappenberg January 8, 2009 ased on the slides provided by Russell and Norvig, hapter 3 Search outline Part 1: Uninformed search (tree
More informationInformed search algorithms
Informed search algorithms Chapter 4, Sections 1 2 Chapter 4, Sections 1 2 1 Outline Best-first search A search Heuristics Chapter 4, Sections 1 2 2 Review: Tree search function Tree-Search( problem, fringe)
More informationIntroduction to Artificial Intelligence. Informed Search
Introduction to Artificial Intelligence Informed Search Bernhard Beckert UNIVERSITÄT KOBLENZ-LANDAU Winter Term 2004/2005 B. Beckert: KI für IM p.1 Outline Best-first search A search Heuristics B. Beckert:
More informationArtificial Intelligence, CS, Nanjing University Spring, 2018, Yang Yu. Lecture 3: Search 2.
Artificial Intelligence, CS, Nanjing University Spring, 2018, Yang Yu Lecture 3: Search 2 http://cs.nju.edu.cn/yuy/course_ai18.ashx Previously... function Tree-Search( problem, fringe) returns a solution,
More informationCS:4420 Artificial Intelligence
CS:4420 Artificial Intelligence Spring 2018 Informed Search Cesare Tinelli The University of Iowa Copyright 2004 18, Cesare Tinelli and Stuart Russell a a These notes were originally developed by Stuart
More informationInformed search algorithms. Chapter 4, Sections 1 2 1
Informed search algorithms Chapter 4, Sections 1 2 Chapter 4, Sections 1 2 1 Outline Best-first search A search Heuristics Chapter 4, Sections 1 2 2 Review: Tree search function Tree-Search( problem, fringe)
More informationCS:4420 Artificial Intelligence
S:4420 rtificial Intelligence Spring 2018 Uninformed Search esare Tinelli The University of Iowa opyright 2004 18, esare Tinelli and Stuart Russell a a These notes were originally developed by Stuart Russell
More informationOutline. Informed Search. Recall: Uninformed Search. An Idea. Heuristics Informed search techniques More on heuristics Iterative improvement
Outline Informed Search EE457 pplied rtificial Intelligence Spring 8 Lecture # Heuristics Informed search techniques More on heuristics Iterative improvement Russell & Norvig, chapter 4 Skip Genetic algorithms
More informationOutline. Solving Problems by Searching. Introduction. Problem-solving agents
Outline Solving Problems by Searching S/ University of Waterloo Sept 7, 009 Problem solving agents and search Examples Properties of search algorithms Uninformed search readth first Depth first Iterative
More informationmywbut.com Uninformed Search
Uninformed Search 1 2.4 Search Searching through a state space involves the following: set of states Operators and their costs Start state test to check for goal state We will now outline the basic search
More informationCOMP9414/ 9814/ 3411: Artificial Intelligence. 5. Informed Search. Russell & Norvig, Chapter 3. UNSW c Alan Blair,
COMP9414/ 9814/ 3411: Artificial Intelligence 5. Informed Search Russell & Norvig, Chapter 3. COMP9414/9814/3411 15s1 Informed Search 1 Search Strategies General Search algorithm: add initial state to
More informationArtificial Intelligence. Informed search methods
Artificial Intelligence Informed search methods In which we see how information about the state space can prevent algorithms from blundering about in the dark. 2 Uninformed vs. Informed Search Uninformed
More informationInformed Search and Exploration
Informed Search and Exploration Chapter 4 (4.1-4.3) CS 2710 1 Introduction Ch.3 searches good building blocks for learning about search But vastly inefficient eg: Can we do better? Breadth Depth Uniform
More informationInformed Search and Exploration
Ch. 03 p.1/47 Informed Search and Exploration Sections 3.5 and 3.6 Ch. 03 p.2/47 Outline Best-first search A search Heuristics, pattern databases IDA search (Recursive Best-First Search (RBFS), MA and
More informationArtificial Intelligence: Search Part 2: Heuristic search
Artificial Intelligence: Search Part 2: Heuristic search Thomas Trappenberg January 16, 2009 Based on the slides provided by Russell and Norvig, Chapter 4, Section 1 2,(4) Outline Best-first search A search
More informationProblem solving Basic search. Example: Romania. Example: Romania. Problem types. Intelligent Systems and HCI D7023E. Single-state problem formulation
Intelligent Systems and HI 7023 Lecture 3: asic Search Paweł Pietrzak Problem solving asic search 1 2 xample: Romania On holiday in Romania; currently in rad. light leaves tomorrow from ucharest ormulate
More informationInformed Search Methods
Informed Search Methods How can we improve searching strategy by using intelligence? Map example: Heuristic: Expand those nodes closest in as the crow flies distance to goal 8-puzzle: Heuristic: Expand
More informationInformed Search and Exploration
Ch. 03b p.1/51 Informed Search and Exploration Sections 3.5 and 3.6 Nilufer Onder Department of Computer Science Michigan Technological University Ch. 03b p.2/51 Outline Best-first search A search Heuristics,
More informationProblem solving and search: Chapter 3, Sections 1 5
Problem solving and search: hapter 3, Sections 1 5 1 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms 2 Problem-solving agents estricted form of
More informationProblem solving and search: Chapter 3, Sections 1 5
Problem solving and search: hapter 3, Sections 1 5 S 480 2 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms Problem-solving agents estricted form
More informationProblem solving and search
Problem solving and search Chapter 3 Chapter 3 1 Outline Problem-solving agents Problem types Problem formulation Example problems Uninformed search algorithms Informed search algorithms Chapter 3 2 Restricted
More informationSolving Problems by Searching
Solving Problems by Searching CS486/686 University of Waterloo Sept 11, 2008 1 Outline Problem solving agents and search Examples Properties of search algorithms Uninformed search Breadth first Depth first
More informationArtificial Intelligence
Artificial Intelligence CSC348 Unit 3: Problem Solving and Search Syedur Rahman Lecturer, CSE Department North South University syedur.rahman@wolfson.oxon.org Artificial Intelligence: Lecture Notes The
More informationSeminar: Search and Optimization
Seminar: Search and Optimization 4. asic Search lgorithms Martin Wehrle Universität asel October 4, 2012 asics lind Search lgorithms est-first Search Summary asics asics lind Search lgorithms est-first
More informationCOMP219: Artificial Intelligence. Lecture 10: Heuristic Search
COMP219: Artificial Intelligence Lecture 10: Heuristic Search 1 Class Tests Class Test 1 (Prolog): Friday 17th November (Week 8), 15:00-17:00. Class Test 2 (Everything but Prolog) Friday 15th December
More informationCS486/686 Lecture Slides (c) 2015 P.Poupart
1 2 Solving Problems by Searching [RN2] Sec 3.1-3.5 [RN3] Sec 3.1-3.4 CS486/686 University of Waterloo Lecture 2: May 7, 2015 3 Outline Problem solving agents and search Examples Properties of search algorithms
More informationCOMP219: Artificial Intelligence. Lecture 7: Search Strategies
COMP219: Artificial Intelligence Lecture 7: Search Strategies 1 Overview Last time basic ideas about problem solving; state space; solutions as paths; the notion of solution cost; the importance of using
More informationPlanning, Execution & Learning 1. Heuristic Search Planning
Planning, Execution & Learning 1. Heuristic Search Planning Reid Simmons Planning, Execution & Learning: Heuristic 1 Simmons, Veloso : Fall 2001 Basic Idea Heuristic Search Planning Automatically Analyze
More informationProblem solving and search
Problem solving and search hapter 3 hapter 3 1 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms hapter 3 3 Example: omania On holiday in omania;
More informationOverview. Path Cost Function. Real Life Problems. COMP219: Artificial Intelligence. Lecture 10: Heuristic Search
COMP219: Artificial Intelligence Lecture 10: Heuristic Search Overview Last time Depth-limited, iterative deepening and bi-directional search Avoiding repeated states Today Show how applying knowledge
More informationCS486/686 Lecture Slides (c) 2014 P.Poupart
1 2 1 Solving Problems by Searching [RN2] Sec 3.1-3.5 [RN3] Sec 3.1-3.4 CS486/686 University of Waterloo Lecture 2: January 9, 2014 3 Outline Problem solving agents and search Examples Properties of search
More informationCOMP219: Artificial Intelligence. Lecture 10: Heuristic Search
COMP219: Artificial Intelligence Lecture 10: Heuristic Search 1 Class Tests Class Test 1 (Prolog): Tuesday 8 th November (Week 7) 13:00-14:00 LIFS-LT2 and LIFS-LT3 Class Test 2 (Everything but Prolog)
More informationInformed search methods
CS 2710 Foundations of AI Lecture 5 Informed search methods Milos Hauskrecht milos@pitt.edu 5329 Sennott Square Announcements Homework assignment 2 is out Due on Tuesday, September 19, 2017 before the
More informationUninformed Search. Models To Be Studied in CS 540. Chapter Search Example: Route Finding
Models To e tudied in 50 Uninformed earch hapter 3. 3. tate-based Models Model task as a graph of all possible states l alled a state-space graph state captures all the relevant information about the past
More informationTDT4136 Logic and Reasoning Systems
TDT4136 Logic and Reasoning Systems Chapter 3 & 4.1 - Informed Search and Exploration Lester Solbakken solbakke@idi.ntnu.no Norwegian University of Science and Technology 18.10.2011 1 Lester Solbakken
More information1/19/2010. Usually for static, deterministic environment
To download the discussion slides, go to http://april.eecs.umich.edu/courses/eecs492_w10/wiki/index.php/iscussion_lides eterministic, tochastic and trategic nvironment eterministic ompletely predictable
More informationLecture 4: Informed/Heuristic Search
Lecture 4: Informed/Heuristic Search Outline Limitations of uninformed search methods Informed (or heuristic) search uses problem-specific heuristics to improve efficiency Best-first A* RBFS SMA* Techniques
More informationInformed search algorithms
CS 580 1 Informed search algorithms Chapter 4, Sections 1 2, 4 CS 580 2 Outline Best-first search A search Heuristics Hill-climbing Simulated annealing CS 580 3 Review: General search function General-Search(
More informationCOSC343: Artificial Intelligence
COSC343: Artificial Intelligence Lecture 18: Informed search algorithms Alistair Knott Dept. of Computer Science, University of Otago Alistair Knott (Otago) COSC343 Lecture 18 1 / 1 In today s lecture
More informationPROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE
Artificial Intelligence, Computational Logic PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE Lecture 3 Informed Search Sarah Gaggl Dresden, 22th April 2014 Agenda 1 Introduction 2 Uninformed Search
More informationInformed Search Algorithms. Chapter 4
Informed Search Algorithms Chapter 4 Outline Informed Search and Heuristic Functions For informed search, we use problem-specific knowledge to guide the search. Topics: Best-first search A search Heuristics
More informationS A E RC R H C I H NG N G IN N S T S A T T A E E G R G A R PH P S
LECTURE 2 SEARCHING IN STATE GRAPHS Introduction Idea: Problem Solving as Search Basic formalism as State-Space Graph Graph explored by Tree Search Different algorithms to explore the graph Slides mainly
More informationArtificial Intelligence CS 6364
Artificial Intelligence CS 6364 Professor Dan Moldovan Section 4 Informed Search and Adversarial Search Outline Best-first search Greedy best-first search A* search Heuristics revisited Minimax search
More informationSolving problems by searching
Solving problems by searching Chapter 3 Some slide credits to Hwee Tou Ng (Singapore) Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms Heuristics
More informationInformed search algorithms. Chapter 4
Informed search algorithms Chapter 4 Outline Best-first search Greedy best-first search A * search Heuristics Memory Bounded A* Search Best-first search Idea: use an evaluation function f(n) for each node
More informationProblem solving and search
Problem solving and search Chapter 3 TB Artificial Intelligence Slides from AIMA http://aima.cs.berkeley.edu 1 /1 Outline Problem-solving agents Problem types Problem formulation Example problems Basic
More informationReminders. Problem solving and search. Problem-solving agents. Outline. Assignment 0 due 5pm today
ssignment 0 due 5pm today eminders Problem solving and search ssignment 1 posted, due 2/9 ection 105 will move to 9-10am starting next week hapter 3 hapter 3 1 hapter 3 2 Outline Problem-solving agents
More informationInformed search algorithms
Artificial Intelligence Topic 4 Informed search algorithms Best-first search Greedy search A search Admissible heuristics Memory-bounded search IDA SMA Reading: Russell and Norvig, Chapter 4, Sections
More informationInformed Search and Exploration
Ch. 04 p.1/39 Informed Search and Exploration Chapter 4 Ch. 04 p.2/39 Outline Best-first search A search Heuristics IDA search Hill-climbing Simulated annealing Ch. 04 p.3/39 Review: Tree search function
More informationIntroduction to Artificial Intelligence (G51IAI)
Introduction to Artificial Intelligence (G51IAI) Dr Rong Qu Heuristic Searches Blind Search vs. Heuristic Searches Blind search Randomly choose where to search in the search tree When problems get large,
More informationOutline for today s lecture. Informed Search I. One issue: How to search backwards? Very briefly: Bidirectional search. Outline for today s lecture
Outline for today s lecture Informed Search I Uninformed Search Briefly: Bidirectional Search (AIMA 3.4.6) Uniform Cost Search (UCS) Informed Search Introduction to Informed search Heuristics 1 st attempt:
More informationLecture Plan. Best-first search Greedy search A* search Designing heuristics. Hill-climbing. 1 Informed search strategies. Informed strategies
Lecture Plan 1 Informed search strategies (KA AGH) 1 czerwca 2010 1 / 28 Blind vs. informed search strategies Blind search methods You already know them: BFS, DFS, UCS et al. They don t analyse the nodes
More informationDFS. Depth-limited Search
DFS Completeness? No, fails in infinite depth spaces or spaces with loops Yes, assuming state space finite. Time complexity? O(b m ), terrible if m is much bigger than d. can do well if lots of goals Space
More informationProblem-solving agents. Problem solving and search. Example: Romania. Reminders. Example: Romania. Outline. Chapter 3
Problem-solving agents Problem solving and search hapter 3 function imple-problem-olving-gent( percept) returns an action static: seq, an action sequence, initially empty state, some description of the
More informationCS-E4800 Artificial Intelligence
CS-E4800 Artificial Intelligence Jussi Rintanen Department of Computer Science Aalto University January 12, 2017 Transition System Models The decision-making and planning at the top-level of many intelligent
More informationProblem solving and search
Problem solving and search hapter 3 hapter 3 1 eminders ssignment 0 due midnight Thursday 9/8 ssignment 1 posted, due 9/20 (online or in box in 283) hapter 3 2 Outline Problem-solving agents Problem types
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science Artificial Intelligence Fall, 2010
MSSHUSETTS INSTITUTE OF TEHNOLOY epartment of Electrical Engineering and omputer Science 6.0 rtificial Intelligence Fall, 00 Search Me! Recitation, Thursday September Prof. ob erwick. ifference between
More informationRobot Programming with Lisp
6. Search Algorithms Gayane Kazhoyan (Stuart Russell, Peter Norvig) Institute for University of Bremen Contents Problem Definition Uninformed search strategies BFS Uniform-Cost DFS Depth-Limited Iterative
More informationWhat is Search? Intro to Search. Search problems. Finding goals in trees. Why is goal search not trivial? Blind Search Methods
What is Search? lind Search Methods Search as an Tool S, DS, DS, US, ids Search is one of the most powerful approaches to problem solving in Search is a universal problem solving mechanism that Systematically
More informationInformed (heuristic) search (cont). Constraint-satisfaction search.
CS 1571 Introduction to AI Lecture 5 Informed (heuristic) search (cont). Constraint-satisfaction search. Milos Hauskrecht milos@cs.pitt.edu 539 Sennott Square Administration PS 1 due today Report before
More informationProblem-solving agents. Solving Problems by Searching. Outline. Example: Romania. Chapter 3
Problem-solving agents olving Problems by earching hapter 3 function imple-problem-olving-gent( percept) returns an action static: seq, an action sequence, initially empty state, some description of the
More informationCS 771 Artificial Intelligence. Informed Search
CS 771 Artificial Intelligence Informed Search Outline Review limitations of uninformed search methods Informed (or heuristic) search Uses problem-specific heuristics to improve efficiency Best-first,
More informationWeek 3: Path Search. COMP9414/ 9814/ 3411: Artificial Intelligence. Motivation. Example: Romania. Romania Street Map. Russell & Norvig, Chapter 3.
COMP9414/9814/3411 17s1 Search 1 COMP9414/ 9814/ 3411: Artificial Intelligence Week 3: Path Search Russell & Norvig, Chapter 3. Motivation Reactive and Model-Based Agents choose their actions based only
More informationCSE 473. Chapter 4 Informed Search. CSE AI Faculty. Last Time. Blind Search BFS UC-BFS DFS DLS Iterative Deepening Bidirectional Search
CSE 473 Chapter 4 Informed Search CSE AI Faculty Blind Search BFS UC-BFS DFS DLS Iterative Deepening Bidirectional Search Last Time 2 1 Repeated States Failure to detect repeated states can turn a linear
More informationPart I. Instructor: Dr. Wei Ding. Uninformed Search Strategies can find solutions to problems by. Informed Search Strategies
Informed Search and Exploration Part I Instructor: Dr. Wei Ding Fall 2010 1 Motivation Uninformed Search Strategies can find solutions to problems by Systematically generating new states Testing them against
More informationCS 380: Artificial Intelligence Lecture #4
CS 380: Artificial Intelligence Lecture #4 William Regli Material Chapter 4 Section 1-3 1 Outline Best-first search Greedy best-first search A * search Heuristics Local search algorithms Hill-climbing
More informationTDDC17. 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
Intuitions behind heuristic search The separation property of GRAPH-SEARCH TDDC17 Seminar III Search II Informed or Heuristic Search Beyond Classical Search Find a heuristic measure h(n) which estimates
More informationLecture overview. Knowledge-based systems in Bioinformatics, 1MB602, Goal based agents. Search terminology. Specifying a search problem
Lecture overview Knowledge-based systems in ioinformatics, 1M602, 2006 Lecture 6: earch oal based agents earch terminology pecifying a search problem earch considerations Uninformed search euristic methods
More informationInformed search algorithms
Informed search algorithms This lecture topic Chapter 3.5-3.7 Next lecture topic Chapter 4.1-4.2 (Please read lecture topic material before and after each lecture on that topic) Outline Review limitations
More informationInformed Search and Exploration for Agents
Informed Search and Exploration for Agents R&N: 3.5, 3.6 Michael Rovatsos University of Edinburgh 29 th January 2015 Outline Best-first search Greedy best-first search A * search Heuristics Admissibility
More informationInformed Search. Topics. Review: Tree Search. What is Informed Search? Best-First Search
Topics Informed Search Best-First Search Greedy Search A* Search Sattiraju Prabhakar CS771: Classes,, Wichita State University 3/6/2005 AI_InformedSearch 2 Review: Tree Search What is Informed Search?
More informationChapter 3: Informed Search and Exploration. Dr. Daisy Tang
Chapter 3: Informed Search and Exploration Dr. Daisy Tang Informed Search Definition: Use problem-specific knowledge beyond the definition of the problem itself Can find solutions more efficiently Best-first
More informationSolving Problems using Search
Solving Problems using Search Artificial Intelligence @ Allegheny College Janyl Jumadinova September 11, 2018 Janyl Jumadinova Solving Problems using Search September 11, 2018 1 / 35 Example: Romania On
More informationOutline. Problem solving and search. Problem-solving agents. Example: Romania. Example: Romania. Problem types. Problem-solving agents.
Outline Problem-solving agents Problem solving and search hapter 3 Problem types Problem formulation Example problems asic search algorithms hapter 3 1 hapter 3 3 estricted form of general agent: Problem-solving
More informationInformed search algorithms
Informed search algorithms This lecture topic Chapter 3.5-3.7 Next lecture topic Chapter 4.1-4.2 (Please read lecture topic material before and after each lecture on that topic) Outline Review limitations
More informationProblem solving and search
Problem solving and search hapter 3 hapter 3 1 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms hapter 3 2 estricted form of general agent: Problem-solving
More informationInformed/Heuristic Search
Informed/Heuristic Search Outline Limitations of uninformed search methods Informed (or heuristic) search uses problem-specific heuristics to improve efficiency Best-first A* Techniques for generating
More informationInformed Search Lecture 5
Lecture 5 How can we exploit problem-specific knowledge to find solutions more efficiently? Where does this knowledge come from and under what conditions is it useful? 1 Agenda Review: Uninformed Search
More informationProblem Solving and Search. Chapter 3
Problem olving and earch hapter 3 Outline Problem-solving agents Problem formulation Example problems asic search algorithms In the simplest case, an agent will: formulate a goal and a problem; Problem-olving
More informationArtificial Intelligence
Artificial Intelligence Search Marc Toussaint University of Stuttgart Winter 2015/16 (slides based on Stuart Russell s AI course) Outline Problem formulation & examples Basic search algorithms 2/100 Example:
More informationProblem solving and search
Problem solving and search Chapter 3 Chapter 3 1 How to Solve a (Simple) Problem 7 2 4 1 2 5 6 3 4 5 8 3 1 6 7 8 Start State Goal State Chapter 3 2 Introduction Simple goal-based agents can solve problems
More informationInformed Search. Dr. Richard J. Povinelli. Copyright Richard J. Povinelli Page 1
Informed Search Dr. Richard J. Povinelli Copyright Richard J. Povinelli Page 1 rev 1.1, 9/25/2001 Objectives You should be able to explain and contrast uniformed and informed searches. be able to compare,
More informationGraph and Heuristic Search. Lecture 3. Ning Xiong. Mälardalen University. Agenda
Graph and Heuristic earch Lecture 3 Ning iong Mälardalen University Agenda Uninformed graph search - breadth-first search on graphs - depth-first search on graphs - uniform-cost search on graphs General
More informationGraphs 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,
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, performance data Pattern DBs? General Tree Search function
More informationProblem Solving and Search
Artificial Intelligence Problem Solving and Search Dae-Won Kim School of Computer Science & Engineering Chung-Ang University Outline Problem-solving agents Problem types Problem formulation Example problems
More informationProblem solving by search
Problem solving by search based on tuart ussel s slides (http://aima.cs.berkeley.edu) February 27, 2017, E533KUI - Problem solving by search 1 Outline Problem-solving agents Problem types Problem formulation
More information4. Solving Problems by Searching
COMP9414/9814/3411 15s1 Search 1 COMP9414/ 9814/ 3411: Artificial Intelligence 4. Solving Problems by Searching Russell & Norvig, Chapter 3. Motivation Reactive and Model-Based Agents choose their actions
More informationCS414-Artificial Intelligence
CS414-Artificial Intelligence Lecture 6: Informed Search Algorithms Waheed Noor Computer Science and Information Technology, University of Balochistan, Quetta, Pakistan Waheed Noor (CS&IT, UoB, Quetta)
More informationArtificial Intelligence
Artificial Intelligence Informed Search and Exploration Chapter 4 (4.1 4.2) A General Search algorithm: Chapter 3: Search Strategies Task : Find a sequence of actions leading from the initial state to
More informationRoute planning / Search Movement Group behavior Decision making
Game AI Where is the AI Route planning / Search Movement Group behavior Decision making General Search Algorithm Design Keep a pair of set of states: One, the set of states to explore, called the open
More informationChapter 3 Solving Problems by Searching Informed (heuristic) search strategies More on heuristics
Chapter 3 Solving Problems by Searching 3.5 3.6 Informed (heuristic) search strategies More on heuristics CS5811 - Advanced Artificial Intelligence Nilufer Onder Department of Computer Science Michigan
More informationARTIFICIAL INTELLIGENCE. Pathfinding and search
INFOB2KI 2017-2018 Utrecht University The Netherlands ARTIFICIAL INTELLIGENCE Pathfinding and search Lecturer: Silja Renooij These slides are part of the INFOB2KI Course Notes available from www.cs.uu.nl/docs/vakken/b2ki/schema.html
More informationHW#1 due today. HW#2 due Monday, 9/09/13, in class Continue reading Chapter 3
9-04-2013 Uninformed (blind) search algorithms Breadth-First Search (BFS) Uniform-Cost Search Depth-First Search (DFS) Depth-Limited Search Iterative Deepening Best-First Search HW#1 due today HW#2 due
More informationAr#ficial)Intelligence!!
Introduc*on! Ar#ficial)Intelligence!! Roman Barták Department of Theoretical Computer Science and Mathematical Logic Uninformed (blind) search algorithms can find an (optimal) solution to the problem,
More informationTDDC17. 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
Intuitions behind heuristic search The separation property of GRAPH-SEARCH TDDC17 Seminar III Search II Informed or Heuristic Search Beyond Classical Search Find a heuristic measure h(n) which estimates
More information