certifying planning systems witnesses for unsolvability
play

Certifying Planning Systems: Witnesses for Unsolvability Salom e - PowerPoint PPT Presentation

Certifying Planning Systems: Witnesses for Unsolvability Salom e Eriksson University of Basel, Switzerland April 26, 2019 Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Classical Planning


  1. Certifying Planning Systems: Witnesses for Unsolvability Salom´ e Eriksson University of Basel, Switzerland April 26, 2019

  2. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Classical Planning 1 / 26

  3. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Validating Planner Output Why? software bugs hardware faults malicious reasons . . . How? tests on known instances formal correctness proofs certifying algorithms 2 / 26

  4. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Certifying Algorithms generate a witness alongside answer: task plan validation tool Planner “valid”/“invalid” “solvable” plan 3 / 26

  5. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Certifying Algorithms generate a witness alongside answer: task plan validation tool verification tool Planner “valid”/“invalid” “valid”/“invalid” “unsolvable” “solvable” cert plan 3 / 26

  6. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Contribution Main Contributions two suitable witness types for unsolvable planning tasks: I Inductive Certificates II Proof System theoretical and experimental comparison suitability measures: soundness & completeness efficient generation and verification generality 4 / 26

  7. Witness I: Inductive Certificates [E, R¨ oger, Helmert, ICAPS 2017]

  8. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Inductive Sets 5 / 26

  9. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Inductive Sets 5 / 26

  10. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Inductive Sets 5 / 26

  11. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Inductive Sets 5 / 26

  12. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Inductive Sets 5 / 26

  13. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Inductive Sets can only reach states with “box in corner” Inductive Set A set of states is inductive if all action applications to a state in S lead to a state which is also in S . ( S [ A ] ⊆ S ). 5 / 26

  14. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Inductive Certificate Inductive Certificate set of states S with following properties: contains I contains no goal inductive S I G 6 / 26

  15. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Soundness & Completeness Theorem Inductive certificates are sound and complete. states reachable from I : contains I is inductive contains no goal if task solvable 7 / 26

  16. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Efficient Verification depends on how S is represented formalisms based on propositional logic Which logical operations are needed for efficient verification? several commonly used formalisms support needed operations 8 / 26

  17. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Composite Certificates not all sets can be compactely described � represent as union or intersection of sets r -disjunctive Certificates family F of sets with: I ∈ S for some S ∈ F no goal in any S ∈ F S ′ ∈F ′ S ′ for all a ∈ A , S ∈ F S [ a ] ⊆ � with F ′ ⊆ F and |F ′ | ≤ r . 9 / 26

  18. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Application to Heuristic Search heuristic can detect dead-ends � set of reachable states not explored fully 10 / 26

  19. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Application to Heuristic Search push-right . . . walk-up h = ∞ walk-right . . . push-up h = ∞ 10 / 26

  20. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Application to Heuristic Search heuristic can detect dead-ends � set of reachable states not explored fully Heuristic Search Certificate Union of: inductive set for each dead-end for each a ∈ A : leads to itself 10 / 26

  21. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Application to Heuristic Search push-right . . . walk-up h = ∞ walk-right . . . push-up h = ∞ 10 / 26

  22. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Application to Heuristic Search heuristic can detect dead-ends � set of reachable states not explored fully Heuristic Search Certificate Union of: inductive set for each dead-end for each a ∈ A : leads to itself one set for each expanded state for each a ∈ A : leads to one expanded or dead-end state � 1-disjunctive 10 / 26

  23. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Application to Heuristic Search push-right . . . walk-up h = ∞ walk-right . . . push-up h = ∞ 10 / 26

  24. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Generating Inductive Certificates certificates blind search yes heuristic search - single heuristic yes - several heuristics if same formalism h + yes h m yes h M&S yes Landmarks yes Trapper yes Iterative dead pairs no CLS yes 11 / 26

  25. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Weaknesses monolithic: find one inductive set cannot mix representations several heuristics cannot cover techniques not built on inductive sets iterative dead pairs 12 / 26

  26. Witness II: Proof System [E, R¨ oger, Helmert, ICAPS 2018]

  27. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Dead States incrementally rule out parts of the search space Definition A state s is dead if no plan traverses s . A set of states is dead if all its elements are dead. initial state / all goal states dead � task unsolvable 13 / 26

  28. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Proof Systems based on rules with premises A i and conclusion B : A 1 . . . A n B universally true 14 / 26

  29. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Rules showing that state sets are dead end proof set theory 15 / 26

  30. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Rules showing that state sets are dead end proof set theory S ′ dead S ⊆ S ′ S dead 15 / 26

  31. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Rules showing that state sets are dead end proof set theory S ′ dead S [ A ] ⊆ S ∪ S ′ S ∩ G dead S dead G S ′ S 15 / 26

  32. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Rules showing that state sets are dead end proof set theory I dead unsolvable G dead unsolvable 15 / 26

  33. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Rules showing that state sets are dead end proof set theory S ⊆ ( S ∪ S ′ ) S ′ ⊆ S ′′ S ⊆ S ′ S ⊆ S ′′ 15 / 26

  34. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Basic Statements show S ⊆ S ′ holds for concrete sets? � basic statements verified for concrete task establish ”initial” knowledge base 16 / 26

  35. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Soundness & Completeness Theorem Proofs in the proof system are sound and complete. (1) ∅ dead S [ A ] ⊆ S ∪ ∅ (2) inductive certificate S : (3) S ∩ G ⊆ ∅ no successor S ∩ G dead (4) (5) S dead containing I (6) I ∈ S no goal (7) I dead (8) unsolvable 17 / 26

  36. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Efficient Verification rule verification trivial � only depends on basic statements different forms of S ⊆ S ′ : S as a intersection of sets S ′ as a union of sets S and S ′ represented in different formalisms translated inductive certificates require same operations 18 / 26

  37. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Application to Heuristic Search Heuristic Search Proof proof structure: 1 each dead end is dead (inductive set) 19 / 26

  38. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Application to Heuristic Search push-right . . . walk-up h = ∞ walk-right . . . push-up h = ∞ 19 / 26

  39. Introduction Witness I: Inductive Certificates Witness II: Proof System Comparison Conclusion Application to Heuristic Search Heuristic Search Proof proof structure: 1 each dead end is dead (inductive set) 2 union of all dead ends is dead 19 / 26

Recommend


More recommend