Nofar Carmeli Batya Kenig Benny Kimelfeld
1
Efficiently Enumerating Minimal Triangulations Nofar Carmeli Batya - - PowerPoint PPT Presentation
Efficiently Enumerating Minimal Triangulations Nofar Carmeli Batya Kenig Benny Kimelfeld Recent Trends in Knowledge Compilation 09/2017 1 Outline Short background TDs in probabilistic inference and knowledge compilation The
Nofar Carmeli Batya Kenig Benny Kimelfeld
1
2
Every edge is contained in some bag Tree Every node
connected subtree
Graph Tree decomposition
3
4
5
, , , , , ,
∈ ℰ iff ∩ ≠ ∅ = 2 = 2 = 1
(, ℰ′) is a TD of (, )
|
6
7
8
9
width time
BN: 100 vars Choosing the right TD can have a profound impact
What makes these so much better for the problem?
promise”
10
Graph Better tree decomposition
11
Tree decomposition Better tree decomposition
Avoid:
(bag equivalent) Proper
tree decompositions Minimal triangulations
12
13
Exponentially many minimal triangulations, what is an “efficient” algorithm?
[Johnson,Papadimitriou,Yannakakis 88]
14
incremental polynomial time
Delay before answer i is polynomial in input + i start time start time
polynomial delay
Delay between successive answers is poly(input)
15
minimal triangulations ↔ maximal sets of saturated non-crossing minimal vertex separators
16
17
Problem: The graph may be of exponential size! Challenge: Solve without generating the graph
Enumerating max independent sets can be done in polynomial delay [Johnson+88]
maximal
18
19
s-shift of T
Min-Fill MCS …
T
Maximal Independent set of non-crossing minimal separators Node
20
Algorithm Min-Sep Iterator next()
Repeat until Q is empty:
minimal separators s in (
triangulations T in P Validate that the s-extension is not already in Q or P
Output:
+-extension
21
22
LB-Triang [Berry+06] with min fill heuristics
2-19 nodes, 1-46 edges
60-1039 nodes, 135-1696 edges
30-200 nodes, 131-13955 edges
23
1000 2000 3000 4000 5000 6000 7000 5 10 15 20 25 30 35 40 45 50 5 10 15 20 25 30
fill width time (minutes)
500 1000 1500 2000 2500 3000 3500 4000 4500 5 10 15 20 25 30
number of results time (minutes)
46 39 6232 3934 all results Min width results ≤ results
24
25
Héctor Otero Mediero Rina Dechter
OR AND OR AND OR OR AND AND
26 A B B
1 1 1
F
1
G
1
G
1
F
1
G
1
G
1
C
1
E
0 1
D
0 1
E
0 1
D
0 1
C
1
E
0 1
D
0 1
E
0 1
D
0 1
C
1
E
0 1
D
0 1
E
0 1
D
0 1
C
1
E
0 1
D
0 1
E
0 1
D
0 1
F
1
G
1
G
1
F
1
G
1
G
1
A B C D E F G
Solution tree: corresponds to a complete configuration of all variables primal graph
A B C F G D E
pseudo tree
[Freuder and Quinn 1985] ℎ ≤ ∗ ⋅ log8
9 : ≤ 8 on
27
28
width width time time
BN: 100 vars, domain size: 2 Pedigree: 385 vars
29
width time time
Promedas: 1005 vars WCSP: 143 vars,
width time
30
answer the following decision problem efficiently
31
32
Does there exist a minimal triangulation ℎ(, + ) of (, ) such that:
Does there exist a chordal supergraph of , ℎ(, ℇ) such that: ∪ ; ⊆ ℇ ⊆ ( × ) ∖ < The chordal graph sandwich problem is NP-complete [Golumbick+1994]
33
34
35
36
37
38
, , , , , ,
∈ ℰ iff ∩ ≠ ∅ = 2 = 2 = 1
(, ℰ′) is a TD of (, )
|
Graph Tree decompositions
39
a) b)
Flexible Caching in Trie Joins [Kalinsky+16]
Query TD1 TD2
TD1 runs 100 times faster!
40
decompositions using machine learning [Abseher+15]
41
42
Graph Better tree decomposition
43
Tree decomposition Better tree decomposition
Avoid:
(bag equivalent) Proper
tree decompositions Minimal triangulations
classes of bag equivalent proper TDs ↔ min triangulations
44
Every cycle of length>3 has a chord
45
graph properties [Cohen+08]
Enumerate proper TDs Enumerate min triangulations Enumerate max independent sets
46
Minimal Triangulation algorithms