understandig the search behaviour of greedy best first
play

Understandig the Search Behaviour of Greedy Best-First Search - PowerPoint PPT Presentation

Understandig the Search Behaviour of Greedy Best-First Search Manuel Heusner Thomas Keller Malte Helmert University of Basel June 16th, 2017 Introduction High-Water Marks Benches Craters Conclusion Introduction M. Heusner , T. Keller, M.


  1. Understandig the Search Behaviour of Greedy Best-First Search Manuel Heusner Thomas Keller Malte Helmert University of Basel June 16th, 2017

  2. Introduction High-Water Marks Benches Craters Conclusion Introduction M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 2/34

  3. Introduction High-Water Marks Benches Craters Conclusion Open Questions • Which states is GBFS guaranteed to expand? • Which states is GBFS guaranteed not to expand? • Which states may GBFS potentially expand? Note: Partly answered for A ∗ (based on f -value) and for GBFS (based on high-water mark). M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 3/34

  4. Introduction High-Water Marks Benches Craters Conclusion State Space Topology • state space: generative model with initial state, goal states and successor function • heuristic: assigns non-negative values to states • state space topology: state space + heuristic M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 4/34

  5. Introduction High-Water Marks Benches Craters Conclusion State Space Topology Example h = 6 X B A h = 5 E C D h = 4 G F H h = 3 Y K J I M L Q h = 2 U h = 1 P N S R h = 0 Z T M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 5/34

  6. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search • expansion : generates successors of a state • greedy best-first search: iteratively expands states with lowest heuristic value • tie-breaking: selects a state among states with equal heuristic values M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 6/34

  7. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 A h = 5 h = 4 h = 3 h = 2 h = 1 h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  8. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 X B A h = 5 C D h = 4 h = 3 h = 2 h = 1 h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  9. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 X B A h = 5 E C D h = 4 h = 3 h = 2 h = 1 h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  10. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 X B A h = 5 E C D h = 4 G F h = 3 h = 2 h = 1 h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  11. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 X B A h = 5 E C D h = 4 G F h = 3 J h = 2 h = 1 P h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  12. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 X B A h = 5 E C D h = 4 G F h = 3 K J h = 2 h = 1 P h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  13. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 X B A h = 5 E C D h = 4 G F h = 3 K J I h = 2 h = 1 P h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  14. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 X B A h = 5 E C D h = 4 G F h = 3 K J I h = 2 h = 1 P h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  15. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 X B A h = 5 E C D h = 4 G F h = 3 K J I h = 2 U h = 1 P N h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  16. Introduction High-Water Marks Benches Craters Conclusion Greedy Best-First Search Example h = 6 X B A h = 5 E C D h = 4 G F h = 3 K J I h = 2 U h = 1 P N h = 0 T M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 7/34

  17. Introduction High-Water Marks Benches Craters Conclusion High-Water Marks M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 8/34

  18. Introduction High-Water Marks Benches Craters Conclusion High-Water Marks Definition (high-water mark) The high-water mark is the largest heuristic value of a state that GBFS starting from a state (or a set of states) must expand before reaching a goal state. M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 9/34

  19. Introduction High-Water Marks Benches Craters Conclusion High-Water Mark of State Example h = 6 X B A h = 5 E C D h = 4 G F H h = 3 Y K J I M L Q h = 2 U h = 1 P N S R h = 0 Z T high-water mark of state P : 4 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 10/34

  20. Introduction High-Water Marks Benches Craters Conclusion High-Water Mark of State Set Example X h = 6 B A h = 5 E C D h = 4 G F H Y K J I M L h = 3 Q h = 2 U h = 1 P N S R h = 0 Z T high-water mark of state set { J, P } : 3 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 11/34

  21. Introduction High-Water Marks Benches Craters Conclusion Earlier Result Theorem (Wilt & Ruml, SoCS 2014) GBFS is guaranteed to not expand a state whose heuristic value is larger than high-water mark of initial state. M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 12/34

  22. Introduction High-Water Marks Benches Craters Conclusion Earlier Result Example X h = 6 B A h = 5 E C D h = 4 G F H Y K J I M L h = 3 Q h = 2 U h = 1 P N S R h = 0 Z T never expanded states: { X } M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 13/34

  23. Introduction High-Water Marks Benches Craters Conclusion Benches M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 14/34

  24. Introduction High-Water Marks Benches Craters Conclusion Bench Exit States Definition (bench exit state) Bench exit state is a state which has a successor that has lower high-water mark or that is a goal state. M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 15/34

  25. Introduction High-Water Marks Benches Craters Conclusion Bench Exit States Example h = 6 X B A h = 5 E C D h = 4 G F H h = 3 Y K J I M L Q h = 2 U h = 1 P N S R h = 0 Z T M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 16/34

  26. Introduction High-Water Marks Benches Craters Conclusion Bench Exit States Example h = 6 X B A h = 5 E C D h = 4 G F H h = 3 Y K J I M L Q h = 2 U h = 1 P N S R h = 0 Z T M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 16/34

  27. Introduction High-Water Marks Benches Craters Conclusion Bench Exit Property Theorem (bench exit property) Whenever GBFS expands a bench exit state, all previously generated states will never be expanded for the rest of the algorithm run. Note: GBFS makes progress when bench exit state is expanded. M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 17/34

  28. Introduction High-Water Marks Benches Craters Conclusion Bench Exit Property Example h = 6 A h = 5 h = 4 h = 3 h = 2 h = 1 h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 18/34

  29. Introduction High-Water Marks Benches Craters Conclusion Bench Exit Property Example h = 6 X B A h = 5 C D h = 4 h = 3 h = 2 h = 1 h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 18/34

  30. Introduction High-Water Marks Benches Craters Conclusion Bench Exit Property Example h = 6 X B h = 5 C D h = 4 h = 3 h = 2 h = 1 h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 18/34

  31. Introduction High-Water Marks Benches Craters Conclusion Bench Exit Property Example h = 6 X B h = 5 E C D h = 4 h = 3 h = 2 h = 1 h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 18/34

  32. Introduction High-Water Marks Benches Craters Conclusion Bench Exit Property Example h = 6 X B h = 5 E C D h = 4 G F h = 3 h = 2 h = 1 h = 0 M. Heusner , T. Keller, M. Helmert (Basel) Understandig the Search Behaviour of Greedy Best-First Search 18/34

Recommend


More recommend