An Analysis of Merge Strategies for Merge-and-Shrink...
Transcript of An Analysis of Merge Strategies for Merge-and-Shrink...
![Page 1: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/1.jpg)
Background Evaluation
An Analysis of Merge Strategies forMerge-and-Shrink Heuristics
Silvan Sievers Martin Wehrle Malte Helmert
University of BaselSwitzerland
June 15, 2016
![Page 2: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/2.jpg)
Background Evaluation
Outline
1 Background
2 EvaluationAll Merge StrategiesRandom Merge StrategiesDFPA New Strategy
![Page 3: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/3.jpg)
Background Evaluation
Setting
Classical planning as heuristic searchMerge-and-shrink: abstraction heuristic
![Page 4: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/4.jpg)
Background Evaluation
Merge Strategy
Binary tree over state variables
v1 v2
v3
v4
v5
v1
v2 v3
v4 v5
![Page 5: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/5.jpg)
Background Evaluation
Motivation
Recent development allows (efficient) non-linear mergestrategiesPresumably (and theoretically) large potential for bettermerge strategiesOnly little research on merge strategies
![Page 6: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/6.jpg)
Background Evaluation
Outline
1 Background
2 EvaluationAll Merge StrategiesRandom Merge StrategiesDFPA New Strategy
![Page 7: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/7.jpg)
Background Evaluation
All Merge Strategies – Zenotravel #5
0 50 100 150 200 250
60
80
100
expansions until last f -layer
%of
strategies
with
≤expansions
ALL
CGGL/MIASM/MIASM-SYMM
DFP/RL/CGGL-SYMM/DFP-SYMM/L-SYMM/RL-SYMM
L
![Page 8: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/8.jpg)
Background Evaluation
All Merge Strategies – Zenotravel #5
0 50 100 150 200 250
60
80
100
expansions until last f -layer
%of
strategies
with
≤expansions
ALL
CGGL/MIASM/MIASM-SYMM
DFP/RL/CGGL-SYMM/DFP-SYMM/L-SYMM/RL-SYMM
L
![Page 9: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/9.jpg)
Background Evaluation
Random Merge Strategies
Sample of 1000 random merge strategies per task on theentire benchmark set
Expected coverage: 680.17 (baseline: 710 – 757)72 tasks in 19 domains solved by strategies from theliterature, but no random one21 tasks in 9 domains solved by at least one random strategy,but none from the literature
![Page 10: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/10.jpg)
Background Evaluation
Random Merge Strategies
Sample of 1000 random merge strategies per task on theentire benchmark setExpected coverage: 680.17 (baseline: 710 – 757)72 tasks in 19 domains solved by strategies from theliterature, but no random one
21 tasks in 9 domains solved by at least one random strategy,but none from the literature
![Page 11: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/11.jpg)
Background Evaluation
Random Merge Strategies
Sample of 1000 random merge strategies per task on theentire benchmark setExpected coverage: 680.17 (baseline: 710 – 757)72 tasks in 19 domains solved by strategies from theliterature, but no random one21 tasks in 9 domains solved by at least one random strategy,but none from the literature
![Page 12: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/12.jpg)
Background Evaluation
Random Merge Strategies – NoMystery-2011 #9
104 105 106 107
0
10
20
30
uns.
expansions until last f -layer
%of
strategies
with
≤expansions RND (278/1000)
CGGL/MIASM
MIASM-SYMM
CGGL-SYMM
DFP/RL
RL-SYMM
DFP-SYMM
L/L-SYMM/RND (722/1000)
![Page 13: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/13.jpg)
Background Evaluation
Random Merge Strategies – NoMystery-2011 #9
104 105 106 107
0
10
20
30
uns.
expansions until last f -layer
%of
strategies
with
≤expansions RND (278/1000)
CGGL/MIASM
MIASM-SYMM
CGGL-SYMM
DFP/RL
RL-SYMM
DFP-SYMM
L/L-SYMM/RND (722/1000)
![Page 14: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/14.jpg)
Background Evaluation
DFP
Score-based merge strategy: prefer transition systems withcommon labels synchronizing close to abstract goal statesProblem: many merge candidates with equal scores
Use tie-breaking:Prefer atomic or composite transition systemsAdditionally: variable order (L or RL or RND)Alternatively: fully randomized
![Page 15: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/15.jpg)
Background Evaluation
DFP
Score-based merge strategy: prefer transition systems withcommon labels synchronizing close to abstract goal statesProblem: many merge candidates with equal scoresUse tie-breaking:
Prefer atomic or composite transition systemsAdditionally: variable order (L or RL or RND)Alternatively: fully randomized
![Page 16: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/16.jpg)
Background Evaluation
DFP – Results
Prefer atomic Prefer composite Ran-
RL L RND RL L RND dom
Coverage 726 760 723 745 729 697 706Linear (%) 10.8 10.9 10.6 81.7 86.5 84.3 13.2
Performance (coverage) strongly susceptible to tie-breakingStrategies ranging from mostly linear to mostly non-linear
![Page 17: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/17.jpg)
Background Evaluation
A New Strategy
Based on the causal graph (CG)Compute SCCs of the CGUse DFP for merging within and between SCCsMixture of precomputed and score-based strategies
![Page 18: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/18.jpg)
Background Evaluation
A New Strategy (SCC-DFP) – Results
Prefer atomic Prefer composite Ran-
RL L RND RL L RND dom
Coverage 751(+25)
760(+0)
732(+9)
776(+31)
751(+22)
741(+44)
736(+30)
Linear (%) 8.2(-2.6)
8.4(-2.5)
8.2(-2.4)
58.2(-23.5)
58.7(-27.9)
61.6(-23.2)
11.5(-1.7)
Complementary to MIASM
![Page 19: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/19.jpg)
Background Evaluation
Conclusions
Random merge strategies show the potential for devisingbetter merge strategiesDFP strongly susceptible to tie-breakingNew state-of-the-art non-linear merge-strategyMore details: paper or poster
![Page 20: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/20.jpg)
Background Evaluation
Appendix – MIASM
Precomputed (sampling-based) merge strategy which aims at“maximizing pruning”: partitioning of state variables based onsearching the space of variable subsets
Simpler score-based variant:Compute all potential mergesChoose the one allowing the highest amount of pruning
Performance not far from original MIASM(best coverage: 747)
![Page 21: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/21.jpg)
Background Evaluation
Appendix – MIASM
Precomputed (sampling-based) merge strategy which aims at“maximizing pruning”: partitioning of state variables based onsearching the space of variable subsetsSimpler score-based variant:
Compute all potential mergesChoose the one allowing the highest amount of pruning
Performance not far from original MIASM(best coverage: 747)
![Page 22: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/22.jpg)
Background Evaluation
Appendix – MIASM
Precomputed (sampling-based) merge strategy which aims at“maximizing pruning”: partitioning of state variables based onsearching the space of variable subsetsSimpler score-based variant:
Compute all potential mergesChoose the one allowing the highest amount of pruningPerformance not far from original MIASM(best coverage: 747)
![Page 23: An Analysis of Merge Strategies for Merge-and-Shrink ...ai.cs.unibas.ch/papers/sievers-et-al-icaps2016-slides.pdf · Background Evaluation AllMergeStrategies–Zenotravel#5 0 50 100](https://reader034.fdocuments.us/reader034/viewer/2022051601/5abfabb17f8b9a7e418e7343/html5/thumbnails/23.jpg)
Background Evaluation
Appendix – Score Based MIASM
Prefer atomic Prefer composite Ran-
RL L RND RL L RND dom
Coverage 743 746 745 747 724 730 726Linear (%) 10.4 10.5 11.9 45.2 53.2 51.2 11.8