Search Control.. Planning is really really hard –Theoretically, practically But people seem ok at it What to do…. –Abstraction –Find “easy” classes of.

Slides:



Advertisements
Similar presentations
Ch. 12 Routing in Switched Networks
Advertisements

Learning to Improve the Quality of Plans Produced by Partial-order Planners M. Afzal Upal Intelligent Agents & Multiagent Systems Lab.
Airline Schedule Optimization (Fleet Assignment I)
CMSC 471 Fall 2002 Class #5-6 – Monday, September 16 / Wednesday, September 18.
CMSC 671 Fall 2005 Class #5 – Thursday, September 15.
Finding Search Heuristics Henry Kautz. if State[node] is not in closed OR g[node] < g[LookUp(State[node],closed)] then A* Graph Search for Any Admissible.
Imbalanced data David Kauchak CS 451 – Fall 2013.
Modeling Maze Navigation Consider the case of a stationary robot and a mobile robot moving towards a goal in a maze. We can model the utility of sharing.
Search in AI.
Games CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Use “Search” for Pathfinding FactorySchool Library Hospital Park Newsagent University church Example from Alison Cawsey’s book start finish.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 19 Scheduling IV.
Planning under Uncertainty
Analyzing the tradeoffs between breakup and cloning in the context of organizational self-design By Sachin Kamboj.
CPSC 322, Lecture 15Slide 1 Stochastic Local Search Computer Science cpsc322, Lecture 15 (Textbook Chpt 4.8) February, 6, 2009.
1 Using Search in Problem Solving Part II. 2 Basic Concepts Basic concepts: Initial state Goal/Target state Intermediate states Path from the initial.
Artificial Intelligence Chapter 11: Planning
1 search CS 331/531 Dr M M Awais A* Examples:. 2 search CS 331/531 Dr M M Awais 8-Puzzle f(N) = g(N) + h(N)
1. 2 Problem Description & Assumption Metric model in Sapa planner:  f(p) = w * time(p) + (1-w) * cost(p).  Assuming that the trade-off value w is given.
Research Related to Real-Time Strategy Games Robert Holte November 8, 2002.
Intelligent Agents What is the basic framework we use to construct intelligent programs?
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?
System Partitioning Kris Kuchcinski
© J. Christopher Beck Lecture 11: Constraint Programming 1.
CISC673 – Optimizing Compilers1/34 Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware Phase Ordering.
Heuristic Search Heuristic - a “rule of thumb” used to help guide search often, something learned experientially and recalled when needed Heuristic Function.
A Randomized Approach to Robot Path Planning Based on Lazy Evaluation Robert Bohlin, Lydia E. Kavraki (2001) Presented by: Robbie Paolini.
Game Trees: MiniMax strategy, Tree Evaluation, Pruning, Utility evaluation Adapted from slides of Yoonsuck Choe.
Minimax Trees: Utility Evaluation, Tree Evaluation, Pruning CPSC 315 – Programming Studio Spring 2008 Project 2, Lecture 2 Adapted from slides of Yoonsuck.
Fall 2004 TDIDT Learning CS478 - Machine Learning.
Vilalta&Eick: Informed Search Informed Search and Exploration Search Strategies Heuristic Functions Local Search Algorithms Vilalta&Eick: Informed Search.
Game Playing Chapter 5. Game playing §Search applied to a problem against an adversary l some actions are not under the control of the problem-solver.
1 Local search and optimization Local search= use single current state and move to neighboring states. Advantages: –Use very little memory –Find often.
Database Management 9. course. Execution of queries.
Game Playing Chapter 5. Game playing §Search applied to a problem against an adversary l some actions are not under the control of the problem-solver.
Search Methods An Annotated Overview Edward Tsang.
University of Amsterdam Search, Navigate, and Actuate – Search through Game Trees Arnoud Visser 1 Game Playing Search the action space of 2 players Russell.
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,
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
Informed Search Methods. Informed Search  Uninformed searches  easy  but very inefficient in most cases of huge search tree  Informed searches  uses.
For Friday Finish chapter 6 Program 1, Milestone 1 due.
Solving Problems by searching Well defined problems A probem is well defined if it is easy to automatically asses the validity (utility) of any proposed.
Slides for “Data Mining” by I. H. Witten and E. Frank.
For Wednesday Read chapter 6, sections 1-3 Homework: –Chapter 4, exercise 1.
For Wednesday Read chapter 5, sections 1-4 Homework: –Chapter 3, exercise 23. Then do the exercise again, but use greedy heuristic search instead of A*
Joseph Xu Soar Workshop Learning Modal Continuous Models.
1 Mean Field and Variational Methods finishing off Graphical Models – Carlos Guestrin Carnegie Mellon University November 5 th, 2008 Readings: K&F:
Distributed Models for Decision Support Jose Cuena & Sascha Ossowski Pesented by: Gal Moshitch & Rica Gonen.
1 Running Experiments for Your Term Projects Dana S. Nau CMSC 722, AI Planning University of Maryland Lecture slides for Automated Planning: Theory and.
Optimization Problems
MODULE 9 MANAGERS AS DECISION MAKERS “Decide first, then act” How do managers use information to make decisions and solve problems? What are the steps.
Computational Intelligence: Methods and Applications Lecture 15 Model selection and tradeoffs. Włodzisław Duch Dept. of Informatics, UMK Google: W Duch.
An Optimization Model for Placement of Wavelength Converters to Minimize Blocking Probability in WDM Networks Authored by: SuixiangGao,XiaohuaJia Authored.
Christoph F. Eick: Thoughts on the Rook Project Challenges of Playing Bridge Well 
By J. Hoffmann and B. Nebel
Heuristic Search Planners. 2 USC INFORMATION SCIENCES INSTITUTE Planning as heuristic search Use standard search techniques, e.g. A*, best-first, hill-climbing.
For Monday Read chapter 4 exercise 1 No homework.
@Yuan Xue CS 285 Network Security Block Cipher Principle Fall 2012 Yuan Xue.
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
Understanding AI of 2 Player Games. Motivation Not much experience in AI (first AI project) and no specific interests/passion that I wanted to explore.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Done Done Course Overview What is AI? What are the Major Challenges?
Algorithms Furqan Majeed.
Informed Search and Exploration
HW #1 Due 29/9/2008 Write Java Applet to solve Goats and Cabbage “Missionaries and cannibals” problem with the following search algorithms: Breadth first.
Pattern Recognition CS479/679 Pattern Recognition Dr. George Bebis
Objective of This Course
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Informed search algorithms
CPSC 322 Introduction to Artificial Intelligence
Presentation transcript:

Search Control.. Planning is really really hard –Theoretically, practically But people seem ok at it What to do…. –Abstraction –Find “easy” classes of problems Planning with 1 precondition, no negative effects… Give up on optimality: rubic’s cube –Heuristics

Search control knowledge Planning is search, how can we guide it? –Prune the search space (TLPlan) (  [x:clear(x)]goodtower(x)   goodtowerabove(x)) Prune any state that “breaks” a good tower –Assign preferences to decision points If you want to paint a block, first try using a brush –Distance heuristics Manhattan distance

CAUTION! Utility Problem Control knowledge doesn’t always help (TLPlan) –Use temporal expressions to increase planner efficiency –Use TLPlan and add complex temporal expression Saves time by pruning nodes from the search space Adds time because you have to evaluate the temporal expression Similar to tradeoff between search and constraint propagation Some temporal expression may slow planner down

What is good control knowledge Researchers tend to be sloppy in what they are improving Possible critera –Minimize number of search nodes (Effect of TLPlan Temporal Kn) –Minimize planning time (Criterion used for testing) For all possible planning problems? On average? –Maximize probability of finding a solution –Maximize solution quality Execution time Probability of success Modifiability Maximize “Utility” of planner

Aside Control knowledge a bit of a hack –Trying to get planner to do something indirectly that you couldn’t get it to do right in the first place –Biasing the search towards solutions with a certain characteristic Fast generation time High quality…

Expected Utility Should a heuristic increase utility for every possible planning problem in a domain? More reasonably: Increase utility on average –Need a space of possible problems –Need a probability distribution over those problems –Expected utility =  Utility(problem)*Probability(Problem) Need a way to estimate expected utility –Theoretically – develop some cost model for you heuristics –Statistically – draw a sample and measure on average

Composability Problem Search control strategies are composed from many pieces –Many temporal constraints (TLPlan) –Many search control rules (PRODIGY, UCPOP) Components interact in awkward ways w.r.t utility –Two pieces of search control knowledge may be: Individually good but collectively bad Individually bad but collectively good –E.G. …

Composer Statistical solution to utility problem Generate and test Advantages –Domain-independent method –Doesn’t care where control knowledge comes from –Doesn’t care what utility function you need –Guaranteed to improve performance Disadvantages –Expensive, lots of up front testing –Finds local maximum –Can be overkill

Composer Planner Transformer NewPlanner1 NewPlanner2 NewPlannerN

Statistical Hillclimbing Lots of tricks to make it somewhat more efficient –Minimize the number of examples Sequential analysis Rational analysis Blocking Applications –Deep Space Network scheduling problem

Learning control knowledge If I solve a problem, can’t I learn something to help me solve similar problems?? Macros (Strips)… Generalized macros (explanation-based learning)… Control rules (Prodigy)…