Utilizing Problem Structure in Local Search: The Planning Benchmarks as a Case Study Jőrg Hoffmann Alberts-Ludwigs-University Freiburg.

Slides:



Advertisements
Similar presentations
QoS-based Management of Multiple Shared Resources in Dynamic Real-Time Systems Klaus Ecker, Frank Drews School of EECS, Ohio University, Athens, OH {ecker,
Advertisements

Artificial Intelligence Presentation
An LP-Based Heuristic for Optimal Planning Menkes van den Briel Department of Industrial Engineering Arizona State University
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Sungwook Yoon – Probabilistic Planning via Determinization Probabilistic Planning via Determinization in Hindsight FF-Hindsight Sungwook Yoon Joint work.
Informed Search Methods How can we improve searching strategy by using intelligence? Map example: Heuristic: Expand those nodes closest in “as the crow.
Computing Kemeny and Slater Rankings Vincent Conitzer (Joint work with Andrew Davenport and Jayant Kalagnanam at IBM Research.)
1 The TSP : Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell ( )
IBM Labs in Haifa © 2005 IBM Corporation Adaptive Application of SAT Solving Techniques Ohad Shacham and Karen Yorav Presented by Sharon Barner.
Review: Constraint Satisfaction Problems How is a CSP defined? How do we solve CSPs?
Minimax and Alpha-Beta Reduction Borrows from Spring 2006 CS 440 Lecture Slides.
DESIGN OF A GENERIC PATH PATH PLANNING SYSTEM AILAB Path Planning Workgroup.
PCPs and Inapproximability Introduction. My T. Thai 2 Why Approximation Algorithms  Problems that we cannot find an optimal solution.
1 Minimum Ratio Contours For Meshes Andrew Clements Hao Zhang gruvi graphics + usability + visualization.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
CSC344: AI for Games Lecture 5 Advanced heuristic search Patrick Olivier
Data Transmission and Base Station Placement for Optimizing Network Lifetime. E. Arkin, V. Polishchuk, A. Efrat, S. Ramasubramanian,V. PolishchukA. EfratS.
CPSC 322, Lecture 15Slide 1 Stochastic Local Search Computer Science cpsc322, Lecture 15 (Textbook Chpt 4.8) February, 6, 2009.
x – independent variable (input)
Parameterized Approximation Scheme for the Multiple Knapsack Problem by Klaus Jansen (SODA’09) Speaker: Yue Wang 04/14/2009.
Methods for SAT- a Survey Robert Glaubius CSCE 976 May 6, 2002.
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 1 Ryan Kinworthy CSCE Advanced Constraint Processing.
CSE 5731 Lecture 21 State-Space Search vs. Constraint- Based Planning CSE 573 Artificial Intelligence I Henry Kautz Fall 2001.
Optimization via Search CPSC 315 – Programming Studio Spring 2009 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
Structure and Phase Transition Phenomena in the VTC Problem C. P. Gomes, H. Kautz, B. Selman R. Bejar, and I. Vetsikas IISI Cornell University University.
Problem Solving and Search in AI Heuristic Search
Ch 13 – Backtracking + Branch-and-Bound
Pattern Databases Robert Holte University of Alberta November 6, 2002.
MAE 552 – Heuristic Optimization Lecture 5 February 1, 2002.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
1 Combinatorial Problems in Cooperative Control: Complexity and Scalability Carla Gomes and Bart Selman Cornell University Muri Meeting March 2002.
10/31/02CSE Greedy Algorithms CSE Algorithms Greedy Algorithms.
Distributions of Randomized Backtrack Search Key Properties: I Erratic behavior of mean II Distributions have “heavy tails”.
Vilalta&Eick: Informed Search Informed Search and Exploration Search Strategies Heuristic Functions Local Search Algorithms Vilalta&Eick: Informed Search.
Bold Stroke January 13, 2003 Advanced Algorithms CS 539/441 OR In Search Of Efficient General Solutions Joe Hoffert
Crossing Minimisation (1) Ronald Kieft. Global contents Specific 2-layer Crossing Minimisation techniques After the break, by Johan Crossing Minimisation.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
Structure and Phase Transition Phenomena in the VTC Problem C. P. Gomes, H. Kautz, B. Selman R. Bejar, and I. Vetsikas IISI Cornell University University.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Protein Folding in the 2D HP Model Alexandros Skaliotis – King’s College London Joint work with: Andreas Albrecht (University of Hertfordshire) Kathleen.
Computer Science CPSC 322 Lecture 18 Heuristics for Forward Planning.
Analysis of Algorithms
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Informed State Space Search Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Criticizing solutions to Relaxed Models Yields Powerful Admissible Heuristics Sean Doherty Mingxiang Zhu.
Heavy-Tailed Phenomena in Satisfiability and Constraint Satisfaction Problems by Carla P. Gomes, Bart Selman, Nuno Crato and henry Kautz Presented by Yunho.
BLAST: Basic Local Alignment Search Tool Altschul et al. J. Mol Bio CS 466 Saurabh Sinha.
Optimizing Pheromone Modification for Dynamic Ant Algorithms Ryan Ward TJHSST Computer Systems Lab 2006/2007 Testing To test the relative effectiveness.
Optimization Problems
Heuristic Search Foundations of Artificial Intelligence.
Hub Location–Allocation in Intermodal Logistic Networks Hüseyin Utku KIYMAZ.
Evolving RBF Networks via GP for Estimating Fitness Values using Surrogate Models Ahmed Kattan Edgar Galvan.
CSCE350 Algorithms and Data Structure Lecture 21 Jianjun Hu Department of Computer Science and Engineering University of South Carolina
Definition and Complexity of Some Basic Metareasoning Problems Vincent Conitzer and Tuomas Sandholm Computer Science Department Carnegie Mellon University.
Heuristic Functions.
Metaheuristics for the New Millennium Bruce L. Golden RH Smith School of Business University of Maryland by Presented at the University of Iowa, March.
Search Control.. Planning is really really hard –Theoretically, practically But people seem ok at it What to do…. –Abstraction –Find “easy” classes of.
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.
Hard Problems Some problems are hard to solve.  No polynomial time algorithm is known.  E.g., NP-hard problems such as machine scheduling, bin packing,
Computer Science CPSC 322 Lecture 12 SLS wrap up, Forward Planning, Planning as CSP (Ch 8.2, 8.4) Slide 1.
Review: Tree search Initialize the frontier using the starting state
Clustering Data Streams
Data Structures Lab Algorithm Animation.
Artificial Intelligence Problem solving by searching CSC 361
Computability and Complexity
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.
Finding Heuristics Using Abstraction
Area Coverage Problem Optimization by (local) Search
Presentation transcript:

Utilizing Problem Structure in Local Search: The Planning Benchmarks as a Case Study Jőrg Hoffmann Alberts-Ludwigs-University Freiburg

Overview The Planning Benchmarks A Local Search Approach Local Search Topology Conclusion

Overview The Planning Benchmarks A Local Search Approach –FF Algorithms –AIPS´00 Competition Local Search Topology Conclusion

Overview The Planning Benchmarks A Local Search Approach Local Search Topology –Gathering Insights: Looking at Small Instances –The Topology of h+ –The Topology of Approximating h+ Conclusion

Overview The Planning Benchmarks A Local Search Approach Local Search Topology Conclusion

„The“ Planning Benchmarks Assembly, Blocksworld-arm, Blocksworld- no-arm, Briefcaseworld,Ferry, Fridge, Freecell, Grid, Gripper, Hanoi, Logistics, Miconic-ADL, Miconic-SIMPLE, Miconic- STRIPS, Movie, Mprime, Mystery, Schedule, Simple-Tsp, Tyreworld

„The“ Planning Benchmarks Assembly, Blocksworld-arm, Blocksworld- no-arm, Briefcaseworld,Ferry, Fridge, Freecell, Grid, Gripper, Hanoi, Logistics, Miconic-ADL, Miconic-SIMPLE, Miconic- STRIPS, Movie, Mprime, Mystery, Schedule, Simple-Tsp, Tyreworld

„The“ Planning Benchmarks Assembly, Blocksworld-arm, Blocksworld- no-arm, Briefcaseworld,Ferry, Fridge, Freecell, Grid, Gripper, Hanoi, Logistics, Miconic-ADL, Miconic-SIMPLE, Miconic- STRIPS, Movie, Mprime, Mystery, Schedule, Simple-Tsp, Tyreworld

„The“ Planning Benchmarks Assembly, Blocksworld-arm, Blocksworld- no-arm, Briefcaseworld,Ferry, Fridge, Freecell, Grid, Gripper, Hanoi, Logistics, Miconic-ADL, Miconic-SIMPLE, Miconic- STRIPS, Movie, Mprime, Mystery, Schedule, Simple-Tsp, Tyreworld

Overview The Planning Benchmarks A Local Search Approach –FF Algorithms –AIPS´00 Competition Local Search Topology Conclusion

FF Algorithms FF can be seen as a refinement of HSP 1.0: –search forward in the state space –relax planning task by ignoring delete lists Main Differences [Hoffmann & Nebel 2001] –heuristic (different approximation of h+) –search strategy (different hill-climbing variant) –pruning technique (new)

FF Algorithms - Heuristic Approach often used in heuristic search: relax problem, solve relaxation In planning: ignore delete lists [Bonet et al.1997] Optimal relaxed solution length h+ admissible but NP-hard to compute [Bylander 1994] HSP 1.0: approximate h+ by weight value sums FF: approximate h+ by running a relaxed version of GRAPHPLAN [Blum & Furst 1997]

FF Algorithms - Search Local search as state evaluation is costly HSP 1.0: (standard) hill-climbing FF: enforced hill-climbing –start in initial state –in a state S, do breadth first search for S´ such that h(S´) < h(S) Intuition: hill-climbing needs more „motion force“ towards the goal

FF Algorithms - Pruning Observation: often, GRAPHPLAN´s relaxed solutions are close to what needs to be done, at least in first step –in Gripper, for example, actions that drop balls into room A are never selected Restrict action choice in any state S to those selected by the first step of the relaxed plan for S

Overview The Planning Benchmarks A Local Search Approach –FF Algorithms –AIPS´00 Competition Local Search Topology Conclusion

AIPS´00 Competition Planning systems competition alongside AIPS´00 [Bacchus 2001] 15 participants, 12 in fully automated track 5 domains, around scaling instances each we briefly look at the runtime curves in the fully automated track

AIPS´00 - Logistics

AIPS´00 - Blocksworld(-arm)

AIPS´00 - Schedule

AIPS´00 - Freecell

AIPS´00 - Miconic-ADL

AIPS´00 Competition As a result of the competition, FF –was nominated „Group A Distinguished Performance Planning System“ (together with TalPlanner from the hand-tailored track) –won the Schindler Award for Best Performance in the Miconic domain, ADL track Note: we have only briefly seen one part of the competition

FF vs. IPP in Gripper

Overview The Planning Benchmarks A Local Search Approach Local Search Topology –Gathering Insights: Looking at Small Instances –The Topology of h+ –The Topology of Approximating h+ Conclusion

Local Search Topology The behaviour of local search depends crucially on the topology of the search space (studied in SAT, e.g. [Frank et al. 1997]) Identify, following [Frank et al. 1997], the topology of the benchmarks, under h+ and FF´s approximative h+

Overview The Planning Benchmarks A Local Search Approach Local Search Topology –Gathering Insights: Looking at Small Instances –The Topology of h+ –The Topology of Approximating h+ Conclusion

Gathering Insights Start by looking at small instances: [Hoffmann 2001] –in the 20 domains, randomly generate suits of small examples –build the state spaces and compute h+ to all states (resp. FF‘s approximation of h+) –measure parameters of the resulting local search topology (definitions adapted from [Frank et al.1997])

Topological Phenomena Dead ends Measured: how many are there? Recognized? (i.e. h+ = ∞)?

Topological Phenomena Local Minima Measured (amongst other things): how many are there?

Topological Phenomena Benches Measured (amongst other things): maximal exit distance

h+ Topology in Small Instances In lowermost class, enforced hill-climbing is polynomial! FF approximation similar: some, but few local minima

A Visualized Example: Gripper

A Visualized Example: Hanoi

Overview The Planning Benchmarks A Local Search Approach Local Search Topology –Gathering Insights: Looking at Small Instances –The Topology of h+ –The Topology of Approximating h+ Conclusion

The proven Topology of h+

Reasons for h+ Topology Invertible actions: actions a to which there exists an inverse action undoing exactly a‘s effects Example Logistics –load obj truck --- unload obj truck –drive loc1 loc2 --- drive loc2 loc1 Implies non-existence of dead ends, and of local minima with: see next slide

Reasons for h+ Topology Actions that are respected by the relaxation: if a starts an optimal plan from S, then a also starts an optimal relaxed plan from S Example Logistics –load obj truck: obj must be transported, and there is no other way of doing that –drive loc1 loc2: some obj must be loaded/unloaded at loc2, again no other choice for the relaxed plan If all actions are invertible and respected by the relaxation, then there are no local minima under h+

Overview The Planning Benchmarks A Local Search Approach Local Search Topology –Gathering Insights: Looking at Small Instances –The Topology of h+ –The Topology of Approximating h+ Conclusion

The Topology of Approximating h+ Dead ends behave provably the same In domains where no local minima exist under h+: –check local minima percentage under approximative (FF) heuristic in large instances In domains where maximal exit distance constant under h+: –check maximum over exit distances in large instances

Investigating Large Instances Take Samples from State Spaces: (following [Frank et al. 1997]) –randomly generate suits of large instances –repeatedly, walk a random number of random steps into the state space, ending in a state S –check whether S lies on a local minimum, and what the exit distance is –visualize data against generator parameters

Logistics: Local Minima

Logistics: Maximal Exit Distance

Overview The Planning Benchmarks A Local Search Approach Local Search Topology Conclusion

Conclusion - Planning Critically: time to move on to other benchmarks? –agree: time and resources –disagree: only NP-hard problems for benchmarking Positively: we have a good suboptimal planner! –we know where it works well –we know why it works well

Conclusion - Local Search It is certainly an extreme example, but nevertheless: Utilizing problem structure can be crucial Thanks to: Bernhard Nebel; Jana Koehler; for doing successful local search (though you‘d normally first identify the structure, then try to utilize it)