potential heuristics in satisficing planning
play

Potential Heuristics in Satisficing Planning Alexander Rovner - PowerPoint PPT Presentation

Definitions DDA Complexity Approximation Algorithms Results Conclusion Potential Heuristics in Satisficing Planning Alexander Rovner University of Basel February 12, 2020 Definitions DDA Complexity Approximation Algorithms Results


  1. Definitions DDA Complexity Approximation Algorithms Results Conclusion Potential Heuristics in Satisficing Planning Alexander Rovner University of Basel February 12, 2020

  2. Definitions DDA Complexity Approximation Algorithms Results Conclusion Classical Planning SAS + Planning Task Π = � V , I , γ, O � :

  3. Definitions DDA Complexity Approximation Algorithms Results Conclusion Classical Planning SAS + Planning Task Π = � V , I , γ, O � : state variables V = { player-pos , box-pos }

  4. Definitions DDA Complexity Approximation Algorithms Results Conclusion Classical Planning SAS + Planning Task Π = � V , I , γ, O � : state variables V = { player-pos , box-pos } goal state s ⋆ ⊇ γ initial state I

  5. Definitions DDA Complexity Approximation Algorithms Results Conclusion Classical Planning SAS + Planning Task Π = � V , I , γ, O � : state variables V = { player-pos , box-pos } goal state s ⋆ ⊇ γ initial state I set of operators O , where each o ∈ O has a precondition , effect , and a cost

  6. Definitions DDA Complexity Approximation Algorithms Results Conclusion Classical Planning SAS + Planning Task Π = � V , I , γ, O � : state variables V = { player-pos , box-pos } goal state s ⋆ ⊇ γ initial state I set of operators O , where each o ∈ O has a precondition , effect , and a cost Goal: find a sequence of actions that transforms I into a goal state

  7. Definitions DDA Complexity Approximation Algorithms Results Conclusion Potential Heuristics Task induces a graph called transition system/state space . Use search algorithm (e.g. A*, GBFS) to find a path from the initial state to some goal state. Search algorithms are guided towards the goal by heuristic functions .

  8. Definitions DDA Complexity Approximation Algorithms Results Conclusion Potential Heuristics Task induces a graph called transition system/state space . Use search algorithm (e.g. A*, GBFS) to find a path from the initial state to some goal state. Search algorithms are guided towards the goal by heuristic functions . In this thesis: potential heuristics .

  9. Definitions DDA Complexity Approximation Algorithms Results Conclusion Potential Heuristics Definition: Potential Heuristics Linear combination of features F ∈ F that are present in the given state s : h pot ( s ) := � w ( F )[ F ⊆ s ] F ∈F where w ( F ) is the weight of feature F and F is a set of facts.

  10. Definitions DDA Complexity Approximation Algorithms Results Conclusion Potential Heuristics Definition: Potential Heuristics Linear combination of features F ∈ F that are present in the given state s : h pot ( s ) := � w ( F )[ F ⊆ s ] F ∈F where w ( F ) is the weight of feature F and F is a set of facts. Central Question: how to select weights w ( F ) for each F ∈ F ?

  11. Definitions DDA Complexity Approximation Algorithms Results Conclusion Potential Heuristics Definition: Potential Heuristics Linear combination of features F ∈ F that are present in the given state s : h pot ( s ) := � w ( F )[ F ⊆ s ] F ∈F where w ( F ) is the weight of feature F and F is a set of facts. Central Question: how to select weights w ( F ) for each F ∈ F ? In Optimal Planning: choose w ( F ) such that h pot is admissible

  12. Definitions DDA Complexity Approximation Algorithms Results Conclusion Potential Heuristics Definition: Potential Heuristics Linear combination of features F ∈ F that are present in the given state s : h pot ( s ) := � w ( F )[ F ⊆ s ] F ∈F where w ( F ) is the weight of feature F and F is a set of facts. Central Question: how to select weights w ( F ) for each F ∈ F ? In Optimal Planning: choose w ( F ) such that h pot is admissible In Satisficing Planning: we focus on heuristics that are descending and dead-end avoiding (DDA)

  13. Definitions DDA Complexity Approximation Algorithms Results Conclusion DDA Heuristics s 0 start s 1 s 2 s 3 s 6 s 4 s 5

  14. Definitions DDA Complexity Approximation Algorithms Results Conclusion DDA Heuristics s 0 start s 1 s 2 s 3 s 6 s 4 s 5 States that are reachable and solvable are called alive .

  15. Definitions DDA Complexity Approximation Algorithms Results Conclusion DDA Heuristics start 5 6 3 6 0 4 0 A heuristic is descending if every alive non-goal state has an improving successor.

  16. Definitions DDA Complexity Approximation Algorithms Results Conclusion DDA Heuristics start 5 6 3 6 0 4 3 A heuristic is dead-end avoiding if only alive successors are improving.

  17. Definitions DDA Complexity Approximation Algorithms Results Conclusion Complexity of Computing DDA Heuristics Central Question: How hard is it to come up with a DDA heuristic?

  18. Definitions DDA Complexity Approximation Algorithms Results Conclusion Complexity of Computing DDA Heuristics Central Question: How hard is it to come up with a DDA heuristic? Definition: IsDDA decision problem Given: heuristic h and task Π Question: is h DDA in task Π?

  19. Definitions DDA Complexity Approximation Algorithms Results Conclusion Complexity of Computing DDA Heuristics Central Question: How hard is it to come up with a DDA heuristic? Definition: IsDDA decision problem Given: heuristic h and task Π Question: is h DDA in task Π? Claim IsDDA is a PSPACE-complete problem.

  20. Definitions DDA Complexity Approximation Algorithms Results Conclusion Complexity of Computing DDA Heuristics Central Question: How hard is it to come up with a DDA heuristic? Definition: IsDDA decision problem Given: heuristic h and task Π Question: is h DDA in task Π? Claim IsDDA is a PSPACE-complete problem. Proof idea: show that NotDDA (complement of IsDDA ) is PSPACE-complete and use the fact that PSPACE=coPSPACE.

  21. Definitions DDA Complexity Approximation Algorithms Results Conclusion PSPACE-hardness of NotDDA Key Observations 1 If task Π is unsolvable then it has no alive states. 2 In tasks without alive states, any heuristic is DDA. Proof: NotDDA is PSPACE-hard Reduction from PlanEx : given task Π...

  22. Definitions DDA Complexity Approximation Algorithms Results Conclusion PSPACE-hardness of NotDDA Key Observations 1 If task Π is unsolvable then it has no alive states. 2 In tasks without alive states, any heuristic is DDA. Proof: NotDDA is PSPACE-hard Reduction from PlanEx : given task Π... construct a heuristic that is never DDA (e.g. ˆ h ( s ) = 0 ∀ s )

  23. Definitions DDA Complexity Approximation Algorithms Results Conclusion PSPACE-hardness of NotDDA Key Observations 1 If task Π is unsolvable then it has no alive states. 2 In tasks without alive states, any heuristic is DDA. Proof: NotDDA is PSPACE-hard Reduction from PlanEx : given task Π... construct a heuristic that is never DDA (e.g. ˆ h ( s ) = 0 ∀ s ) Π ∈ PlanEx iff � Π , ˆ h � ∈ NotDDA .

  24. Definitions DDA Complexity Approximation Algorithms Results Conclusion PSPACE-hardness of NotDDA Key Observations 1 If task Π is unsolvable then it has no alive states. 2 In tasks without alive states, any heuristic is DDA. Proof: NotDDA is PSPACE-hard Reduction from PlanEx : given task Π... construct a heuristic that is never DDA (e.g. ˆ h ( s ) = 0 ∀ s ) Π ∈ PlanEx iff � Π , ˆ h � ∈ NotDDA . Π �∈ PlanEx iff � Π , ˆ h � �∈ NotDDA .

  25. Definitions DDA Complexity Approximation Algorithms Results Conclusion PSPACE-membership of NotDDA PSPACE algorithm sketch For each state s of the planning task: 1 if s is not alive ⇒ continue 2 for all successors s ′ of s : if s ′ is not alive and h ( s ′ ) < h ( s ) ⇒ accept 1 3 if there exists no s ′ with h ( s ′ ) < h ( s ) ⇒ accept otherwise fail

  26. Definitions DDA Complexity Approximation Algorithms Results Conclusion PSPACE-membership of NotDDA PSPACE algorithm sketch For each state s of the planning task: 1 if s is not alive ⇒ continue 2 for all successors s ′ of s : if s ′ is not alive and h ( s ′ ) < h ( s ) ⇒ accept 1 3 if there exists no s ′ with h ( s ′ ) < h ( s ) ⇒ accept otherwise fail DDA computation is as hard as planning itself! ⇒ Need approximation algorithms.

  27. Definitions DDA Complexity Approximation Algorithms Results Conclusion Naive Approach Naive Approach: compute weights by solving a MIP model.

  28. Definitions DDA Complexity Approximation Algorithms Results Conclusion Naive Approach Naive Approach: compute weights by solving a MIP model. min 0 (1) � h ( s ′ ) + 1 ≤ h ( s ) s.t. for s ∈ S A (2) s ′ ∈ succ ( s ) h ( s ′ ) ≥ h ( s ) for � s , s ′ � ∈ T D (3) S A : set of all alive states T D : set of all transitions from an alive state to an unsolvable one

  29. Definitions DDA Complexity Approximation Algorithms Results Conclusion Naive Approach Naive Approach: compute weights by solving a MIP model. min 0 (1) � h ( s ′ ) + 1 ≤ h ( s ) s.t. for s ∈ S A (2) s ′ ∈ succ ( s ) h ( s ′ ) ≥ h ( s ) for � s , s ′ � ∈ T D (3) S A : set of all alive states T D : set of all transitions from an alive state to an unsolvable one Problem: Solver usually fails to find an initial solution. ⇒ Add slack variables to the model.

Recommend


More recommend