Arithmetic Circuits of the Noisy-Or Models Jirka Vomlel and Petr - - PowerPoint PPT Presentation

arithmetic circuits of the noisy or models
SMART_READER_LITE
LIVE PREVIEW

Arithmetic Circuits of the Noisy-Or Models Jirka Vomlel and Petr - - PowerPoint PPT Presentation

Arithmetic Circuits of the Noisy-Or Models Jirka Vomlel and Petr Savick y Academy of Sciences of the Czech Republic PGM08, Hirtshals, Denmark y (AV J. Vomlel and P. Savick CR) ACs of BN2O PGM08, Hirtshals, Denmark 1 / 21


slide-1
SLIDE 1

Arithmetic Circuits of the Noisy-Or Models

Jirka Vomlel and Petr Savick´ y

Academy of Sciences of the Czech Republic

PGM’08, Hirtshals, Denmark

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 1 / 21

slide-2
SLIDE 2

Contents

BN2O models.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 2 / 21

slide-3
SLIDE 3

Contents

BN2O models. Methods exploiting the local structure of noisy-or models.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 2 / 21

slide-4
SLIDE 4

Contents

BN2O models. Methods exploiting the local structure of noisy-or models. Arithmetic circuits - a measure of inference complexity.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 2 / 21

slide-5
SLIDE 5

Contents

BN2O models. Methods exploiting the local structure of noisy-or models. Arithmetic circuits - a measure of inference complexity. Results of experiments.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 2 / 21

slide-6
SLIDE 6

BN2O model

Bipartite graph with two levels of Boolean variables: Xj, j = 1, . . . , x and Yi, i = 1, . . . , y.

Y4 X2 X3 X4 Y1 Y2 Y3 X1

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 3 / 21

slide-7
SLIDE 7

BN2O model

Bipartite graph with two levels of Boolean variables: Xj, j = 1, . . . , x and Yi, i = 1, . . . , y.

Y4 X2 X3 X4 Y1 Y2 Y3 X1

CPT of Yi is a noisy-or gate: P(Yi = 0|XPa(i) = xPa(i)) =

n

  • j∈Pa(i)

(pi,j)xj ,

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 3 / 21

slide-8
SLIDE 8

BN2O model

Bipartite graph with two levels of Boolean variables: Xj, j = 1, . . . , x and Yi, i = 1, . . . , y.

Y4 X2 X3 X4 Y1 Y2 Y3 X1

CPT of Yi is a noisy-or gate: P(Yi = 0|XPa(i) = xPa(i)) =

n

  • j∈Pa(i)

(pi,j)xj , where pi,j is the inhibition probability for the parent Xj of Yi.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 3 / 21

slide-9
SLIDE 9

BN2O model

Bipartite graph with two levels of Boolean variables: Xj, j = 1, . . . , x and Yi, i = 1, . . . , y.

Y4 X2 X3 X4 Y1 Y2 Y3 X1

CPT of Yi is a noisy-or gate: P(Yi = 0|XPa(i) = xPa(i)) =

n

  • j∈Pa(i)

(pi,j)xj , where pi,j is the inhibition probability for the parent Xj of Yi. Yi is false only if all its parents with value true are inhibited.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 3 / 21

slide-10
SLIDE 10

Compilation of a noisy-or gate - the standard BN approach

Lauritzen and Spiegelhalter (1988), Jensen et al. (1990), Shafer and Shenoy (1990)

X1 X2 X3 X4 Y

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 4 / 21

slide-11
SLIDE 11

Compilation of a noisy-or gate - the standard BN approach

Lauritzen and Spiegelhalter (1988), Jensen et al. (1990), Shafer and Shenoy (1990)

X1 X2 X3 X4 Y Y X2 X3 X4 X1

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 4 / 21

slide-12
SLIDE 12

Compilation of a noisy-or gate - the standard BN approach

Lauritzen and Spiegelhalter (1988), Jensen et al. (1990), Shafer and Shenoy (1990)

X1 X2 X3 X4 Y Y X2 X3 X4 X1

The total table size is 25 = 32.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 4 / 21

slide-13
SLIDE 13

Compilation of a noisy-or gate - parent divorcing

Olesen et al. (1989)

X1 X2 X3 X4 Y

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 5 / 21

slide-14
SLIDE 14

Compilation of a noisy-or gate - parent divorcing

Olesen et al. (1989)

X1 X2 X3 X4 Y X3 X1 X2 Y X4 A1 A3

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 5 / 21

slide-15
SLIDE 15

Compilation of a noisy-or gate - parent divorcing

Olesen et al. (1989)

X1 X2 X3 X4 Y X3 X1 X2 Y X4 A1 A3 X3 X1 X2 Y X4 A1 A3

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 5 / 21

slide-16
SLIDE 16

Compilation of a noisy-or gate - parent divorcing

Olesen et al. (1989)

X1 X2 X3 X4 Y X3 X1 X2 Y X4 A1 A3 X3 X1 X2 Y X4 A1 A3

The total table size is 3 · 23 = 24.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 5 / 21

slide-17
SLIDE 17

Rank-one decomposition

D´ ıez and Gal´ an (2003), Vomlel (2002), Savick´ y and Vomlel (2007)

P(Yi = yi|XPa(i) = xPa(i)) = (1 − 2yi)

  • j∈Pa(i)

pxj

i,j + yi n

  • i=1

1

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 6 / 21

slide-18
SLIDE 18

Rank-one decomposition

D´ ıez and Gal´ an (2003), Vomlel (2002), Savick´ y and Vomlel (2007)

P(Yi = yi|XPa(i) = xPa(i)) = (1 − 2yi)

  • j∈Pa(i)

pxj

i,j + yi n

  • i=1

1 =

1

  • bi=0

ξ(bi, yi) ·

  • j∈Pa(i)

ϕi,j(bi, xj)

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 6 / 21

slide-19
SLIDE 19

Rank-one decomposition

D´ ıez and Gal´ an (2003), Vomlel (2002), Savick´ y and Vomlel (2007)

P(Yi = yi|XPa(i) = xPa(i)) = (1 − 2yi)

  • j∈Pa(i)

pxj

i,j + yi n

  • i=1

1 =

1

  • bi=0

ξ(bi, yi) ·

  • j∈Pa(i)

ϕi,j(bi, xj)

p4 X1 X2 X3 X4 B Y 1 1 −1 1 1 1 p1 1 1 1 p2 1 1 1 p3 1 1 1

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 6 / 21

slide-20
SLIDE 20

Correspondence to tensor rank-one decomposition

Savick´ y and Vomlel (2007)

A decomposition of a conditional probability table P(Y |X1, . . . , Xn) using the auxiliary variable B P(Yi|XPa(i)) =

  • B

ξ(B, Yi) ·

  • j∈Pa(i)

ϕi,j(B, Xj) that has the minimal number of states of B

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 7 / 21

slide-21
SLIDE 21

Correspondence to tensor rank-one decomposition

Savick´ y and Vomlel (2007)

A decomposition of a conditional probability table P(Y |X1, . . . , Xn) using the auxiliary variable B P(Yi|XPa(i)) =

  • B

ξ(B, Yi) ·

  • j∈Pa(i)

ϕi,j(B, Xj) that has the minimal number of states of B is in fact a (minimal) tensor rank-one decomposition of tensor P(Yi|XPa(i)).

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 7 / 21

slide-22
SLIDE 22

Correspondence to tensor rank-one decomposition

Savick´ y and Vomlel (2007)

A decomposition of a conditional probability table P(Y |X1, . . . , Xn) using the auxiliary variable B P(Yi|XPa(i)) =

  • B

ξ(B, Yi) ·

  • j∈Pa(i)

ϕi,j(B, Xj) that has the minimal number of states of B is in fact a (minimal) tensor rank-one decomposition of tensor P(Yi|XPa(i)).

Definition (Tensor of rank one)

A tensor has rank one if it is the outer product of vectors.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 7 / 21

slide-23
SLIDE 23

Compilation of a noisy-or gate - rank-one decomposition

X1 X2 X3 X4 Y

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 8 / 21

slide-24
SLIDE 24

Compilation of a noisy-or gate - rank-one decomposition

X1 X2 X3 X4 Y X1 X2 X3 X4 B Y

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 8 / 21

slide-25
SLIDE 25

Compilation of a noisy-or gate - rank-one decomposition

X1 X2 X3 X4 Y X1 X2 X3 X4 B Y

The total table size is 5 · 22 = 20.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 8 / 21

slide-26
SLIDE 26

Comparisons for the noisy-or gate

10 100 1000 10000 100000 1e+06 4 6 8 10 12 14 the total table size |Pa(i)| the standard BN approach parent divorcing rank-one decomposition

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 9 / 21

slide-27
SLIDE 27

Arithmetic circuits

Definition (Arithmetic circuit (AC))

An AC is a rooted, directed acyclic graph whose leaf nodes correspond to its inputs and whose other nodes are labeled with multiplication and addition operations. The root node corresponds to the output of the AC.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 10 / 21

slide-28
SLIDE 28

Arithmetic circuits

Definition (Arithmetic circuit (AC))

An AC is a rooted, directed acyclic graph whose leaf nodes correspond to its inputs and whose other nodes are labeled with multiplication and addition operations. The root node corresponds to the output of the AC. Circuit inputs:

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 10 / 21

slide-29
SLIDE 29

Arithmetic circuits

Definition (Arithmetic circuit (AC))

An AC is a rooted, directed acyclic graph whose leaf nodes correspond to its inputs and whose other nodes are labeled with multiplication and addition operations. The root node corresponds to the output of the AC. Circuit inputs: BN parameters θx|u = P(X = x|U = u)

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 10 / 21

slide-30
SLIDE 30

Arithmetic circuits

Definition (Arithmetic circuit (AC))

An AC is a rooted, directed acyclic graph whose leaf nodes correspond to its inputs and whose other nodes are labeled with multiplication and addition operations. The root node corresponds to the output of the AC. Circuit inputs: BN parameters θx|u = P(X = x|U = u) evidence indicators λx = 1 if state x of X is consistent with evidence e

  • therwise.

If there is no evidence for X, then λx = 1 for all states x of X.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 10 / 21

slide-31
SLIDE 31

Arithmetic circuits

Definition (Arithmetic circuit (AC))

An AC is a rooted, directed acyclic graph whose leaf nodes correspond to its inputs and whose other nodes are labeled with multiplication and addition operations. The root node corresponds to the output of the AC. Circuit inputs: BN parameters θx|u = P(X = x|U = u) evidence indicators λx = 1 if state x of X is consistent with evidence e

  • therwise.

If there is no evidence for X, then λx = 1 for all states x of X. Circuit output: probability of evidence P(e).

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 10 / 21

slide-32
SLIDE 32

AC of a noisy-or gate

× λ¯

xj

λxj pj αj βj + × + × θ¯

xj

θxj

+ × + × αn α1 . . . . . . βn β1 λ¯ y −1 λy ×

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 11 / 21

slide-33
SLIDE 33

Arithmetic circuits (ACs) - Part I

After an upward pass through the AC we get P(e) in the root node.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 12 / 21

slide-34
SLIDE 34

Arithmetic circuits (ACs) - Part I

After an upward pass through the AC we get P(e) in the root node. When it is followed by a downward pass through the AC we get P(X, e) for all BN variables X.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 12 / 21

slide-35
SLIDE 35

Arithmetic circuits (ACs) - Part I

After an upward pass through the AC we get P(e) in the root node. When it is followed by a downward pass through the AC we get P(X, e) for all BN variables X. An AC may be used to represent the computations in a junction tree.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 12 / 21

slide-36
SLIDE 36

Arithmetic circuits (ACs) - Part I

After an upward pass through the AC we get P(e) in the root node. When it is followed by a downward pass through the AC we get P(X, e) for all BN variables X. An AC may be used to represent the computations in a junction tree. An AC may also represent more efficient computations due to specific properties of the initial BN (e.g., determinism, context specific independence).

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 12 / 21

slide-37
SLIDE 37

Arithmetic circuits (ACs) - Part I

After an upward pass through the AC we get P(e) in the root node. When it is followed by a downward pass through the AC we get P(X, e) for all BN variables X. An AC may be used to represent the computations in a junction tree. An AC may also represent more efficient computations due to specific properties of the initial BN (e.g., determinism, context specific independence). The size of an AC (i.e. number of its edges) can be used as a measure of inference complexity

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 12 / 21

slide-38
SLIDE 38

Arithmetic circuits (ACs) - Part II

Darwiche et al. proposed two different methods for constructing ACs

  • f BNs - c2d and tabular - both are implemented in a BN compiler

Ace (by Chavira and Darwiche).

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 13 / 21

slide-39
SLIDE 39

Arithmetic circuits (ACs) - Part II

Darwiche et al. proposed two different methods for constructing ACs

  • f BNs - c2d and tabular - both are implemented in a BN compiler

Ace (by Chavira and Darwiche). Ace uses the parent divorcing method for preprocessing noisy-or models.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 13 / 21

slide-40
SLIDE 40

Arithmetic circuits (ACs) - Part II

Darwiche et al. proposed two different methods for constructing ACs

  • f BNs - c2d and tabular - both are implemented in a BN compiler

Ace (by Chavira and Darwiche). Ace uses the parent divorcing method for preprocessing noisy-or models. We use the size of ACs to compare the effect of preprocessing Bayesian networks by Ace’s parent divorcing giving (what we call) the

  • riginal model and by rank-one decomposition giving the transformed

model.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 13 / 21

slide-41
SLIDE 41

Experiments

Experiments were performed by Ace running on

aligator.utia.cas.cz: 8x AMD Opteron 8220, 64GB RAM

but the maximum possible memory for 32 bit Ace is 3.6 GB RAM.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 14 / 21

slide-42
SLIDE 42

Experiments

Experiments were performed by Ace running on

aligator.utia.cas.cz: 8x AMD Opteron 8220, 64GB RAM

but the maximum possible memory for 32 bit Ace is 3.6 GB RAM. We carried out experiments with BN2O models of various sizes:

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 14 / 21

slide-43
SLIDE 43

Experiments

Experiments were performed by Ace running on

aligator.utia.cas.cz: 8x AMD Opteron 8220, 64GB RAM

but the maximum possible memory for 32 bit Ace is 3.6 GB RAM. We carried out experiments with BN2O models of various sizes: x is the number of nodes in the top level,

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 14 / 21

slide-44
SLIDE 44

Experiments

Experiments were performed by Ace running on

aligator.utia.cas.cz: 8x AMD Opteron 8220, 64GB RAM

but the maximum possible memory for 32 bit Ace is 3.6 GB RAM. We carried out experiments with BN2O models of various sizes: x is the number of nodes in the top level, y is the number of nodes in the bottom level,

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 14 / 21

slide-45
SLIDE 45

Experiments

Experiments were performed by Ace running on

aligator.utia.cas.cz: 8x AMD Opteron 8220, 64GB RAM

but the maximum possible memory for 32 bit Ace is 3.6 GB RAM. We carried out experiments with BN2O models of various sizes: x is the number of nodes in the top level, y is the number of nodes in the bottom level, e is the total number of edges in the BN2O model, and e/y defines the number of parents for each node from the bottom level.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 14 / 21

slide-46
SLIDE 46

Experiments

Experiments were performed by Ace running on

aligator.utia.cas.cz: 8x AMD Opteron 8220, 64GB RAM

but the maximum possible memory for 32 bit Ace is 3.6 GB RAM. We carried out experiments with BN2O models of various sizes: x is the number of nodes in the top level, y is the number of nodes in the bottom level, e is the total number of edges in the BN2O model, and e/y defines the number of parents for each node from the bottom level. For each x-y-e type (x, y = 10, 20, 30, 40, 50 and e/y = 2, 5, 10, 20, excluding those with e/y > x) we generated randomly ten models.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 14 / 21

slide-47
SLIDE 47

Experiments

Experiments were performed by Ace running on

aligator.utia.cas.cz: 8x AMD Opteron 8220, 64GB RAM

but the maximum possible memory for 32 bit Ace is 3.6 GB RAM. We carried out experiments with BN2O models of various sizes: x is the number of nodes in the top level, y is the number of nodes in the bottom level, e is the total number of edges in the BN2O model, and e/y defines the number of parents for each node from the bottom level. For each x-y-e type (x, y = 10, 20, 30, 40, 50 and e/y = 2, 5, 10, 20, excluding those with e/y > x) we generated randomly ten models. For every node from the bottom level we randomly selected e/y nodes from the top level as its parents.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 14 / 21

slide-48
SLIDE 48

Experiments

Experiments were performed by Ace running on

aligator.utia.cas.cz: 8x AMD Opteron 8220, 64GB RAM

but the maximum possible memory for 32 bit Ace is 3.6 GB RAM. We carried out experiments with BN2O models of various sizes: x is the number of nodes in the top level, y is the number of nodes in the bottom level, e is the total number of edges in the BN2O model, and e/y defines the number of parents for each node from the bottom level. For each x-y-e type (x, y = 10, 20, 30, 40, 50 and e/y = 2, 5, 10, 20, excluding those with e/y > x) we generated randomly ten models. For every node from the bottom level we randomly selected e/y nodes from the top level as its parents. All models and results are available at: http://www.utia.cz/vomlel/ac/

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 14 / 21

slide-49
SLIDE 49

Transformed vs. original model AC size

3 4 5 6 7 8 9 3 4 5 6 7 8 9

log10 of the original model AC size log10 of the transformed model AC size

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 15 / 21

slide-50
SLIDE 50

Dependence of the AC size on the size of a largest clique

for the original and the transformed models

5 10 15 20 25 3 4 5 6 7 8 9

max cluster size log10 of the AC size

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 16 / 21

slide-51
SLIDE 51

Dependence of the AC size on the total table size

for the original and the transformed models

3 4 5 6 7 8 3 4 5 6 7 8 9

log10 of the total table size log10 of the AC size

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 17 / 21

slide-52
SLIDE 52

Dependence of the AC size reduction

  • n the relative number of edges

0.0 0.5 1.0 1.5 −1 1 2 3 log10(e/x) log10(o/t)

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 18 / 21

slide-53
SLIDE 53

Dependence of the AC size reduction

  • n the ratio of the number of nodes in the first and the

second levels

−0.6 −0.4 −0.2 0.0 0.2 0.4 0.6 −1 1 2 3 log10(x/y) log10(o/t)

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 19 / 21

slide-54
SLIDE 54

Summary of the experiments

The AC of the transformed model was smaller in 88% of the BN2O models solved by Ace for both - the original and the transformed models.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 20 / 21

slide-55
SLIDE 55

Summary of the experiments

The AC of the transformed model was smaller in 88% of the BN2O models solved by Ace for both - the original and the transformed models. In several cases we got significant reductions in the AC size - in a few cases multiple order of magnitude.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 20 / 21

slide-56
SLIDE 56

Summary of the experiments

The AC of the transformed model was smaller in 88% of the BN2O models solved by Ace for both - the original and the transformed models. In several cases we got significant reductions in the AC size - in a few cases multiple order of magnitude. There are also eleven cases where the AC of the transformed model is at least three times larger - we will comment on these cases on the next slide.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 20 / 21

slide-57
SLIDE 57

Summary of the experiments

The AC of the transformed model was smaller in 88% of the BN2O models solved by Ace for both - the original and the transformed models. In several cases we got significant reductions in the AC size - in a few cases multiple order of magnitude. There are also eleven cases where the AC of the transformed model is at least three times larger - we will comment on these cases on the next slide. For some of larger models Ace ran out of memory – for 26% of the

  • riginal models and 21% of the transformed models.
  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 20 / 21

slide-58
SLIDE 58

Summary of the experiments

The AC of the transformed model was smaller in 88% of the BN2O models solved by Ace for both - the original and the transformed models. In several cases we got significant reductions in the AC size - in a few cases multiple order of magnitude. There are also eleven cases where the AC of the transformed model is at least three times larger - we will comment on these cases on the next slide. For some of larger models Ace ran out of memory – for 26% of the

  • riginal models and 21% of the transformed models.

For 85% of the tested BN2O models the tabular method led to smaller ACs than c2d.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 20 / 21

slide-59
SLIDE 59

Summary of the experiments

The AC of the transformed model was smaller in 88% of the BN2O models solved by Ace for both - the original and the transformed models. In several cases we got significant reductions in the AC size - in a few cases multiple order of magnitude. There are also eleven cases where the AC of the transformed model is at least three times larger - we will comment on these cases on the next slide. For some of larger models Ace ran out of memory – for 26% of the

  • riginal models and 21% of the transformed models.

For 85% of the tested BN2O models the tabular method led to smaller ACs than c2d. The AC size depends on the total table size in the resulting model.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 20 / 21

slide-60
SLIDE 60

Comments to the eleven cases with a significant loss

The transformed model is a graph minor of the original model.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 21 / 21

slide-61
SLIDE 61

Comments to the eleven cases with a significant loss

The transformed model is a graph minor of the original model. Hence, the treewidth of the transformed model is never larger than the treewidth of the original model.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 21 / 21

slide-62
SLIDE 62

Comments to the eleven cases with a significant loss

The transformed model is a graph minor of the original model. Hence, the treewidth of the transformed model is never larger than the treewidth of the original model. However, if a heuristic method is used for triangulation then it may happen that we get larger treewidth for the triangulated graph of the transformed model.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 21 / 21

slide-63
SLIDE 63

Comments to the eleven cases with a significant loss

The transformed model is a graph minor of the original model. Hence, the treewidth of the transformed model is never larger than the treewidth of the original model. However, if a heuristic method is used for triangulation then it may happen that we get larger treewidth for the triangulated graph of the transformed model. We believe this is the main reason behind the few large losses of the transformed model.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 21 / 21

slide-64
SLIDE 64

Comments to the eleven cases with a significant loss

The transformed model is a graph minor of the original model. Hence, the treewidth of the transformed model is never larger than the treewidth of the original model. However, if a heuristic method is used for triangulation then it may happen that we get larger treewidth for the triangulated graph of the transformed model. We believe this is the main reason behind the few large losses of the transformed model. We conducted additional experiments with all eleven models with significant loss in the AC size.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 21 / 21

slide-65
SLIDE 65

Comments to the eleven cases with a significant loss

The transformed model is a graph minor of the original model. Hence, the treewidth of the transformed model is never larger than the treewidth of the original model. However, if a heuristic method is used for triangulation then it may happen that we get larger treewidth for the triangulated graph of the transformed model. We believe this is the main reason behind the few large losses of the transformed model. We conducted additional experiments with all eleven models with significant loss in the AC size. In all of these cases we were able to reduce the deterioration factor to less than three using a better triangulation method provided by Hugin.

  • J. Vomlel and P. Savick´

y (AV ˇ CR) ACs of BN2O PGM’08, Hirtshals, Denmark 21 / 21