optimal planning for delete free tasks with incremental
play

Optimal Planning for Delete-free Tasks with Incremental LM-cut - PowerPoint PPT Presentation

Theoretical Background Contributions Experiments Conclusion Optimal Planning for Delete-free Tasks with Incremental LM-cut Florian Pommerening and Malte Helmert Universit at Basel Departement Informatik 27. 06. 2012 h + with Incremental


  1. Theoretical Background Contributions Experiments Conclusion Optimal Planning for Delete-free Tasks with Incremental LM-cut Florian Pommerening and Malte Helmert Universit¨ at Basel Departement Informatik 27. 06. 2012 h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 1 / 19

  2. Theoretical Background Contributions Experiments Conclusion Content Theoretical Background 1 Contributions 2 Experiments 3 Conclusion 4 h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 2 / 19

  3. Theoretical Background Contributions Experiments Conclusion Delete-free Planning Binary cost delete-free STRIPS task Π = � V , I , G , O � V set of variables I , G ⊆ V initial/goal state O set of operators o = � pre( o ) → add( o ) � cost( o ) cost( o ) ∈ { 0 , 1 } Optimal planning Search for cheapest operator sequence o 1 , . . . o n G ⊆ s [ o 1 ] · · · [ o n ] NP-equivalent instead of PSPACE-equivalent Why? Cost of optimal plan: delete-relaxation heuristic h + h + is well-informed Other heuristics are based on h + Interesting delete-free domains h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 3 / 19

  4. Theoretical Background Contributions Experiments Conclusion h LM-cut Based on disjunctive action landmarks (LMs) Set of operators l = { o 1 , . . . , o n } Every plan contains at least one o i Cost of a landmark: min o i ∈ l { cost( o i ) } 1 Calculate h max Only achieve most expensive subgoal/precondition h max ( s ) = ∞ task unsolvable h max ( s ) = 0 stop searching for LMs 2 Use h max values to discover new LM 3 Reduce operator costs by landmark’s cost for operators in LM Sum of landmark costs is admissible heuristic 4 Repeat h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 4 / 19

  5. Theoretical Background Contributions Experiments Conclusion Search Strategies Branch-and-Bound (BnB) Search Memory friendly depth-first search Recursively search for solution in cost interval Decrease upper bound for every discovered solution Continue search for cheaper solution Prune nodes with lower bound outside of interval Iterative-deepening A ∗ (IDA ∗ ) Search Search for solution with increasing cost h LM-cut ( I ) , . . . , h + ( I ) IDA ∗ layer i : BnB search with closed interval [ i , i ] Theorem BnB and IDA ∗ are complete and optimal if used with a finite search space and an admissible heuristic. h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 5 / 19

  6. Theoretical Background Contributions Experiments Conclusion Content Theoretical Background 1 Contributions 2 Search Space Incremental Computation Improvements Experiments 3 Conclusion 4 h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 6 / 19

  7. Theoretical Background Contributions Experiments Conclusion Search Space Theorem Applying an operator cannot make an applicable operator inapplicable in delete-free tasks. Theorem No operator has to occur twice in an optimal relaxed solution. Order can mostly be ignored Search in serializable subsets of O Branch over applicable operator Apply it now or never Finite branching factor (2) and search tree depth ( | O | ) h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 7 / 19

  8. Theoretical Background Contributions Experiments Conclusion Incremental Computation Successor generated by applying/removing operator Binary cost tasks Each operator o has containing LM L o L o = { o } or | L o | > 1 or L o undefined Apply operator o L o discharged All other LMs are LMs in successor Remove operator o o no longer possible choice Remove o from L o L o \ { o } is LM in successor Task unsolvable if L o = { o } All other LMs are LMs in successor h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 8 / 19

  9. Theoretical Background Contributions Experiments Conclusion Re-calculation of h LM-cut Removing a LM Return landmark’s costs to remaining cost Binary cost tasks: Set operator cost back to 1 Can change h max value Theorem The LM-cut algorithm discovers a new landmark if the h max cost of the successor increases. Only possible if L o = { o , o 1 , . . . , o n } 0-cost operator forbidden with L o undefined h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 9 / 19

  10. Theoretical Background Contributions Experiments Conclusion Variable Ordering Minimum remaining values heuristic CSP technique Choosing variables to branch over One operator from each LM is needed Smaller LM ⇒ fewer choices Smallest LM ∼ variable with minimum remaining values l min : size of smallest LM containing applicable operators Collect applicable operators in LMs of size l min Randomly select one for branching h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 10 / 19

  11. Theoretical Background Contributions Experiments Conclusion Automatic Application of Operators Automatically apply operators with L o = { o } Branching strategy already contains effect Useful with different heuristic Automatically apply 0-cost operators Very useful in domains with such operators No 0-cost operators in tested domains h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 11 / 19

  12. Theoretical Background Contributions Experiments Conclusion Content Theoretical Background 1 Contributions 2 Experiments 3 Conclusion 4 h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 12 / 19

  13. Theoretical Background Contributions Experiments Conclusion Methodology Evaluation 876 tasks in 22 domains Time limit: 300 s Memory limit: 2 GB (only reached for huge tasks) Coverage scores Solve probability for randomly selected domain and task Averages of 5 runs with different seeds h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 13 / 19

  14. Theoretical Background Contributions Experiments Conclusion Basic Results FastDownward with A* and h LM-cut Incremental LM-cut with BnB/IDA ∗ Resuts Coverage (%) FastDownward 49.249 BnB 59.032 IDA ∗ 60.120 Improvement over Fast Downward IDA ∗ better than BnB But still room for improvement for BnB h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 14 / 19

  15. Theoretical Background Contributions Experiments Conclusion Plan Improvement Better upper bound ⇒ more pruned nodes Initial upper bound Use cost of relaxed solution (here: with h lst ) No search if h lst ( I ) = h LM-cut ( I ) Improve intermediate solutions Local Steiner tree improvement (based on h lst ) Continue search with improved solution and new bound Results Coverage (%) BnB 59.032 IDA ∗ 60.120 BnB (initial upper bound) 59.981 BnB (improved all solutions) 60.519 h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 15 / 19

  16. Theoretical Background Contributions Experiments Conclusion Content Theoretical Background 1 Contributions 2 Experiments 3 Conclusion 4 h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 16 / 19

  17. Theoretical Background Contributions Experiments Conclusion Future Work Optimization for binary cost tasks Performance of implementation Different operator orders Smaller search space (e.g. task decomposition) Generalization to arbitrary costs Branching decisions no longer mutually exclusive Different data structures needed Generalization to general planning Classical search space Depth of search space not limited by | O | Use A ∗ /IDA ∗ / . . . instead of branch-and-bound search h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 17 / 19

  18. Theoretical Background Contributions Experiments Conclusion Main Contributions New h + values 576 of 876 tasks solved Evaluation of other heuristics ( h lst , h LM-cut , h max , h FF/add , . . . ) New ways to calculate h + BnB/IDA ∗ search with custom search space Incremental version of h LM-cut Exceeds performance of Fast Downward (A ∗ / h LM-cut ) BnB and IDA ∗ incomparable BnB as any-time search h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 18 / 19

  19. Extra Slides for Q&A Thank you for your attention! Any questions? h + with Incremental LM-cut Pommerening, Helmert 27. 06. 2012 19 / 19

  20. Extra Slides for Q&A Planning Development of domain independent problem solvers Common formalism needed STRIPS planning task Π = � V , I , G , O � Formal definition Example ( logistics ) V set of variables I ⊆ V initial state G ⊆ V goals O set of operators with pre( o ) ⊆ V Preconditions add( o ) ⊆ V Add effects del( o ) ⊆ V Delete effects cost( o ) ∈ R + 0 Cost h + with Incremental LM-cut Pommerening, Helmert (Uni Basel) 27. 06. 2012 20

  21. Extra Slides for Q&A Planning Development of domain independent problem solvers Common formalism needed STRIPS planning task Π = � V , I , G , O � Formal definition Example ( logistics ) V set of variables at(package, location) I ⊆ V initial state at(vehicle, location) G ⊆ V goals in(package, vehicle) O set of operators with pre( o ) ⊆ V Preconditions add( o ) ⊆ V Add effects del( o ) ⊆ V Delete effects cost( o ) ∈ R + 0 Cost h + with Incremental LM-cut Pommerening, Helmert (Uni Basel) 27. 06. 2012 20

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend