a proof system for unsolvable planning tasks
play

A Proof System for Unsolvable Planning Tasks Salom e Eriksson - PowerPoint PPT Presentation

Introduction Proof System Applications Experiments A Proof System for Unsolvable Planning Tasks Salom e Eriksson Gabriele R oger Malte Helmert University of Basel, Switzerland ICAPS 2018 Introduction Proof System Applications


  1. Introduction Proof System Applications Experiments A Proof System for Unsolvable Planning Tasks Salom´ e Eriksson Gabriele R¨ oger Malte Helmert University of Basel, Switzerland ICAPS 2018

  2. Introduction Proof System Applications Experiments Motivation validating correctness of planner output: Why? � software bugs, hardware faults, malicious reasons . . . How? (a) plan output: VAL/INVAL (b) unsolvability claim: inductive certificates [Eriksson et al. 2017]

  3. Introduction Proof System Applications Experiments Inductive Certificates find set S with G no successors I (written: S [ A ] ⊆ S ) containing I S no goal weakness: not compositional � new approach: proof system

  4. Introduction Proof System Applications Experiments Proof System collection of knowledge ( A ∩ C ) ⊂ B , a ∈ A . . . new knowledge gained through: A ⊂ B basic statements state facts about concrete objects need to be verified X ⊂ Y and Y ⊂ Z → X ⊂ Z derivation rules derive new knowledge from existing knowledge universally true (only verify correct application)

  5. Introduction Proof System Applications Experiments Unsolvability Proof System objects: state sets S in different formalisms BDDs Horn formulas 2CNF formulas explicit types of statements: S dead (no plan through any s ∈ S ) S ⊆ S ′ task unsolvable

  6. Introduction Proof System Applications Experiments Rules ∅ is dead D1 S dead, S ′ dead S ∪ S ′ dead D2 → S ′ ⊆ S , S dead S ′ dead → D3 D4 { I } dead → task unsolvable G dead → task unsolvable D5 S [ A ] ⊆ S ∪ S ′ , S ′ dead, G ∩ S dead D6 → S dead S [ A ] ⊆ S ∪ S ′ , S ′ dead, { I } ⊆ S → D7 S dead [ A ] S ⊆ S ∪ S ′ , S ′ dead, G ∩ S dead → S dead D8 [ A ] S ⊆ S ∪ S ′ , S ′ dead, { I } ⊆ S D9 → S dead

  7. Introduction Proof System Applications Experiments Rules ∅ is dead D1 S dead, S ′ dead S ∪ S ′ dead D2 → S ′ ⊆ S , S dead S ′ dead → D3 D4 { I } dead → task unsolvable G dead → task unsolvable D5 S [ A ] ⊆ S ∪ S ′ , S ′ dead, G ∩ S dead D6 → S dead S [ A ] ⊆ S ∪ S ′ , S ′ dead, { I } ⊆ S → D7 S dead [ A ] S ⊆ S ∪ S ′ , S ′ dead, G ∩ S dead → S dead D8 [ A ] S ⊆ S ∪ S ′ , S ′ dead, { I } ⊆ S D9 → S dead

  8. Introduction Proof System Applications Experiments Rules D1 ∅ is dead S dead, S ′ dead S ∪ S ′ dead → D2 S ′ ⊆ S , S dead S ′ dead D3 → { I } dead → D4 task unsolvable D5 G dead → task unsolvable S [ A ] ⊆ S ∪ S ′ , S ′ dead, G ∩ S dead → D6 S dead S [ A ] ⊆ S ∪ S ′ , S ′ dead, { I } ⊆ S → S dead D7 [ A ] S ⊆ S ∪ S ′ , S ′ dead, G ∩ S dead D8 → S dead [ A ] S ⊆ S ∪ S ′ , S ′ dead, { I } ⊆ S → D9 S dead I S S ′

  9. Introduction Proof System Applications Experiments Basic Statements currently restricted to certain subset relations: S ⊆ S ′ B1 S ⊆ S ′ ∪ S ′′ B2 S ∩ G ⊆ S ′ B3 B4 S [ A ] ⊆ S ∪ S ′ [ A ] S ⊆ S ∪ S ′ B5 S / S ′ : constants ( { I } , G , ∅ ), set variables or their complement Verification in polynomial time: B1-B5 if homogeneous (same representation for all S ) B1 for heterogeneous in some cases

  10. Introduction Proof System Applications Experiments Covered techniques blind search (explicit and symbolic) heuristic search with one heuristic: delete-relaxation ( h max , h LM-Cut , . . . ) h M&S with linear merge strategy h m (and h C ) trapper [Lipovetzky et al. 2016] not covered by old approach heuristic search with multiple heuristics h 2 -based preprocessing [Alc´ azar and Torralba 2015]

  11. Introduction Proof System Applications Experiments Translating Inductive Certificates ∅ dead (1) D1 (2) S [ A ] ⊆ S ∪ ∅ B4 inductive certificate S : S ∩ G ⊆ ∅ (3) B3 no successor (4) S ∩ G dead D3 (3),(1) (5) S dead D6 (2),(1),(4) containing I (6) { I } ⊆ S B1 no goal (7) { I } dead D3 (6),(5) (8) unsolvable D5 (7)

  12. Introduction Proof System Applications Experiments Heuristic Search How does heuristic search show unsolvability? dead-ends are dead expanded states lead only to expanded states or dead ends � showing deadness of dead states independently

  13. Introduction Proof System Applications Experiments Heuristic Search - Example S d 1 (1) ∅ dead D1 (2) S d 1 [ A ] ⊆ S d 1 ∪ ∅ B4 (3) S d 1 ∩ G ⊆ ∅ B3 d 1 d 2 (4) S d 1 ∩ G dead D3 (3),(1) (5) S d 1 dead D6 (2),(1),(4) (6) { d 1 } ⊆ S d 1 B1 (7) { d 1 } dead D3 (6),(5) I

  14. Introduction Proof System Applications Experiments Heuristic Search - Example S d 1 S d 2 (1) ∅ dead D1 (8) S d 2 [ A ] ⊆ S d 2 ∪ ∅ B4 (9) S d 2 ∩ G ⊆ ∅ B3 d 1 d 2 (10) S d 2 ∩ G dead D3 (9),(1) (11) S d 2 dead D6 (8),(1),(10) (12) { d 2 } ⊆ S d 2 B1 (13) { d 2 } dead D3 (12),(11) I

  15. Introduction Proof System Applications Experiments Heuristic Search - Example S d 1 S d 2 (7) { d 1 } dead (13) { d 2 } dead S D d 1 d 2 (14) { d 1 } ∪ { d 2 } dead D2 (7),(13) (15) S D ⊆ { d 1 } ∪ { d 2 } B2 (16) S D dead D3 (15),(14) I

  16. Introduction Proof System Applications Experiments Heuristic Search - Example (1) ∅ dead D1 S d 1 S d 2 (16) S D dead (17) S exp [ A ] ⊆ S exp ∪ S D B4 S D (18) S exp ∩ G ⊆ ∅ B3 d 1 d 2 (19) S exp ∩ G dead D3 (18),(1) (20) S exp dead D6 (17),(16),(19) (21) { I } ⊆ S exp B1 { I } dead (22) D3 (21),(20) (23) task unsolvable D4 (22) S exp I

  17. Introduction Proof System Applications Experiments Experimental evaluation implementation of proof generation and independent verifier 1 algorithms: A ∗ search with h max h M&S and h 2 A ∗ with maximum of h M&S and h 2 clause-learning state space search (DFS-CL) [Steinmetz and Hoffmann 2016] limits: proof generation: 30min, 2GiB proof verification: 4h, 2GiB 1 both available at https://doi.org/10.5281/zenodo.1196473

  18. Introduction Proof System Applications Experiments Coverage base certifying verifier FD- h max 211 168 (135)* 167 (125)* FD- h M&S 230 191 (200)* 184 (163)* FD- h 2 183 177 177 FD-max ( h M&S , h 2 ) 204 199 195 DFS-CL 385 386 383 *inductive certificates approach generate proofs in 92% within limits verify proofs in 99% within limits better coverage than certificates

  19. Introduction Proof System Applications Experiments Conclusion Compositional Proof System combination of different approaches possible covers wide area of planning techniques efficient generation and verification future work: partial order reduction flow & potential heuristics

  20. Introduction Proof System Applications Experiments Overhead failed certifying planner runtime (in s) 10 3 10 2 10 1 h max 10 0 h M&S h m 10 − 1 max( h M&S , h m ) DFS-CL 10 − 2 10 − 2 10 − 1 10 0 10 1 10 2 10 3 failed base planner runtime (in s)

  21. Introduction Proof System Applications Experiments Comparison Certificate Size failed h max 10 4 proof certificate size (in MiB) h M&S 10 3 10 2 10 1 10 0 10 − 1 10 − 2 10 − 2 10 − 1 10 0 10 1 10 2 10 3 10 4 failed inductive certificate size (in MiB)

Recommend


More recommend