36
Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions An extended tree-width notion for directed graphs related to the computation of permanents Klaus Meer Brandenburgische Technische Universit¨ at, Cottbus, Germany CSR St.Petersburg, June 16, 2011 Klaus Meer An extended tree-width notion

Csr2011 june16 15_45_meer

  • View
    287

  • Download
    1

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

An extended tree-width notion for directed graphsrelated to the computation of permanents

Klaus Meer

Brandenburgische Technische Universitat, Cottbus, Germany

CSR St.Petersburg, June 16, 2011

Klaus Meer An extended tree-width notion

Page 2: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Outline

1 Introduction

2 Basics; triangular tree-width

3 Permanents of bounded ttw matrices

4 Conclusion

Klaus Meer An extended tree-width notion

Page 3: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

1. Introduction

Restriction of many hard graph-theoretic problems to subclasses ofbounded tree-width graphs becomes efficiently solvable

Well known examples important here, see Courcelle, Makowsky,Rotics:

permanent of square matrix M = (mij) of bounded tree-width;here, the tree-width of M is the tree-width of the underlyinggraph GM which has an edge (i , j) iff mij 6= 0Valiant: computing permanent of general 0-1 matrices is#P-hard; if matrices have entries from field K of characteristic6= 2 the permanent polynomials build a VNP-complete family

Hamiltonian cycle decision problem

Klaus Meer An extended tree-width notion

Page 4: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

1. Introduction

Restriction of many hard graph-theoretic problems to subclasses ofbounded tree-width graphs becomes efficiently solvable

Well known examples important here, see Courcelle, Makowsky,Rotics:

permanent of square matrix M = (mij) of bounded tree-width;here, the tree-width of M is the tree-width of the underlyinggraph GM which has an edge (i , j) iff mij 6= 0Valiant: computing permanent of general 0-1 matrices is#P-hard; if matrices have entries from field K of characteristic6= 2 the permanent polynomials build a VNP-complete family

Hamiltonian cycle decision problem

Klaus Meer An extended tree-width notion

Page 5: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Important: though above GM is directed its tree-width is taken asthat of the undirected graph, i.e., an edge (i , j) is present if atleast one entry mij or mji is non-zero;

thus, tree-width of GM does not reflect a case of lacking symmetrywhere mij 6= 0 but mji = 0.However, that might have impact on computation of thepermanent

Example: for an upper triangular (n, n)-matrix M the tree-width ofGM is n − 1; its permanent nevertheless is easy to compute.

Klaus Meer An extended tree-width notion

Page 6: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Goal: introduce new tree-width notion called triangular tree-widthfor directed graphs such that

for square matrices M bounding the triangular tree-width ofGM allows to compute perm(M) efficiently

the (undirected) tree-width of GM is greater than or equal toits triangular tree-width; examples where the former isunbounded whereas the latter is not do exist.

Klaus Meer An extended tree-width notion

Page 7: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

2. Triangular tree-widthTree-width measures how close a graph is to a tree; on trees manyotherwise hard problems are easy

Definition (Tree-width)

G = 〈V ,E 〉 graph, k-tree-decomposition of G is a treeT = 〈VT ,ET 〉 such that:

(i) For each t ∈ VT a subset Xt ⊆ V of size at most k + 1.

(ii) For each edge (u, v) ∈ E there is a t ∈ VT s.t. {u, v} ⊆ Xt .

(iii) For each vertex v ∈ V the set {t ∈ VT |v ∈ XT} forms a(connected) subtree of T .

twd(G ) : smallest k such that there exists a k-tree-decomposition

Trees have tree-width 1, cycles have twd 2

Klaus Meer An extended tree-width notion

Page 8: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

2. Triangular tree-widthTree-width measures how close a graph is to a tree; on trees manyotherwise hard problems are easy

Definition (Tree-width)

G = 〈V ,E 〉 graph, k-tree-decomposition of G is a treeT = 〈VT ,ET 〉 such that:

(i) For each t ∈ VT a subset Xt ⊆ V of size at most k + 1.

(ii) For each edge (u, v) ∈ E there is a t ∈ VT s.t. {u, v} ⊆ Xt .

(iii) For each vertex v ∈ V the set {t ∈ VT |v ∈ XT} forms a(connected) subtree of T .

twd(G ) : smallest k such that there exists a k-tree-decomposition

Trees have tree-width 1, cycles have twd 2

Klaus Meer An extended tree-width notion

Page 9: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

2. Triangular tree-widthTree-width measures how close a graph is to a tree; on trees manyotherwise hard problems are easy

Definition (Tree-width)

G = 〈V ,E 〉 graph, k-tree-decomposition of G is a treeT = 〈VT ,ET 〉 such that:

(i) For each t ∈ VT a subset Xt ⊆ V of size at most k + 1.

(ii) For each edge (u, v) ∈ E there is a t ∈ VT s.t. {u, v} ⊆ Xt .

(iii) For each vertex v ∈ V the set {t ∈ VT |v ∈ XT} forms a(connected) subtree of T .

twd(G ) : smallest k such that there exists a k-tree-decomposition

Trees have tree-width 1, cycles have twd 2

Klaus Meer An extended tree-width notion

Page 10: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Tree-width of a matrix M = (mij) over K : (undirected) tree-widthof (directed) incidence graph GM

(i , j) edge in GM ⇔ mij 6= 0

weight of edge (i , j) = mij ;

cycle cover of GM : subset of edges s.t. each vertex incident withexactly one edge as outgoing and one as ingoing edge;

partial cycle cover: subset of a cycle cover

weight of a (partial) cycle cover: product of weights ofparticipating edgesPermanent perm(M) :=

∑e cycle cover

∏m

ei,j

i ,j

Valiant’s conjecture: Computation of permanent hard

Klaus Meer An extended tree-width notion

Page 11: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Tree-width of a matrix M = (mij) over K : (undirected) tree-widthof (directed) incidence graph GM

(i , j) edge in GM ⇔ mij 6= 0

weight of edge (i , j) = mij ;

cycle cover of GM : subset of edges s.t. each vertex incident withexactly one edge as outgoing and one as ingoing edge;

partial cycle cover: subset of a cycle cover

weight of a (partial) cycle cover: product of weights ofparticipating edges

Permanent perm(M) :=∑

e cycle cover

∏m

ei,j

i ,j

Valiant’s conjecture: Computation of permanent hard

Klaus Meer An extended tree-width notion

Page 12: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Tree-width of a matrix M = (mij) over K : (undirected) tree-widthof (directed) incidence graph GM

(i , j) edge in GM ⇔ mij 6= 0

weight of edge (i , j) = mij ;

cycle cover of GM : subset of edges s.t. each vertex incident withexactly one edge as outgoing and one as ingoing edge;

partial cycle cover: subset of a cycle cover

weight of a (partial) cycle cover: product of weights ofparticipating edgesPermanent perm(M) :=

∑e cycle cover

∏m

ei,j

i ,j

Valiant’s conjecture: Computation of permanent hard

Klaus Meer An extended tree-width notion

Page 13: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Basic idea for defining triangular tree-width

Let GM = (V ,E ) with V = {1, . . . , n} and consider an order onthe vertices, f.e., 1 < 2 < . . . < n;

if a cycle contains an increasing edge w.r.t. the order, it mustcontain as well a decreasing edge.

for computation of permanent more important than twd(GM) isthe tree-width of both the graph of increasing and that ofdecreasing edges

find optimal order with respect to bounding both tree-widthparameters

Klaus Meer An extended tree-width notion

Page 14: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Definition (Triangular tree-width ttw)

M square matrix, GM = (V ,E ) with V = {1, . . . , n}, σ : V → V apermutation;

a) G incσ = (V ,E inc

σ ) graph of increasing edges w.r.t. orderdefined by σ, Gdec

σ accordingly; loops are located in Edecσ

b) GM has a triangular tree-decomposition of width k ∈ N iffthere exists a σ s.t. both G inc

σ ,Gdecσ have tree-width at most k

c) ttw(GM) := minσ∈Sn

max{twd(G incσ ), twd(Gdec

σ )} .

Klaus Meer An extended tree-width notion

Page 15: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Definition (Triangular tree-width ttw)

M square matrix, GM = (V ,E ) with V = {1, . . . , n}, σ : V → V apermutation;

a) G incσ = (V ,E inc

σ ) graph of increasing edges w.r.t. orderdefined by σ, Gdec

σ accordingly; loops are located in Edecσ

b) GM has a triangular tree-decomposition of width k ∈ N iffthere exists a σ s.t. both G inc

σ ,Gdecσ have tree-width at most k

c) ttw(GM) := minσ∈Sn

max{twd(G incσ ), twd(Gdec

σ )} .

Klaus Meer An extended tree-width notion

Page 16: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Definition (Triangular tree-width ttw)

M square matrix, GM = (V ,E ) with V = {1, . . . , n}, σ : V → V apermutation;

a) G incσ = (V ,E inc

σ ) graph of increasing edges w.r.t. orderdefined by σ, Gdec

σ accordingly; loops are located in Edecσ

b) GM has a triangular tree-decomposition of width k ∈ N iffthere exists a σ s.t. both G inc

σ ,Gdecσ have tree-width at most k

c) ttw(GM) := minσ∈Sn

max{twd(G incσ ), twd(Gdec

σ )} .

Klaus Meer An extended tree-width notion

Page 17: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Basic observations:

if M has a symmetric structure of non-zero entries, i.e.,mij 6= 0 ⇔ mji 6= 0, then ttw(GM) = twd(GM)

computation of the triangular tree-width of a directed graph isNP-hard

triangular tree-width extends the tree-width notion; inparticular, there are families of graphs for which the former isbounded whereas the latter is not

Klaus Meer An extended tree-width notion

Page 18: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Basic observations:

if M has a symmetric structure of non-zero entries, i.e.,mij 6= 0 ⇔ mji 6= 0, then ttw(GM) = twd(GM)

computation of the triangular tree-width of a directed graph isNP-hard

triangular tree-width extends the tree-width notion; inparticular, there are families of graphs for which the former isbounded whereas the latter is not

Klaus Meer An extended tree-width notion

Page 19: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Basic observations:

if M has a symmetric structure of non-zero entries, i.e.,mij 6= 0 ⇔ mji 6= 0, then ttw(GM) = twd(GM)

computation of the triangular tree-width of a directed graph isNP-hard

triangular tree-width extends the tree-width notion; inparticular, there are families of graphs for which the former isbounded whereas the latter is not

Klaus Meer An extended tree-width notion

Page 20: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

rrrrrr

v61

v51

v41

v31

v21

v11

rrrrrr

v62

v52

v42

v32

v22

v12

rrrrrr

v63

v53

v43

v33

v23

v13

rrrrrr

v64

v54

v44

v34

v24

v14

rrrrrr

v65

v55

v45

v35

v25

v15

rrrrrr

v66

v56

v46

v36

v26

v16

The grid graph Gn for n = 6; direction of edges from left to rightand from top to bottom

twd(Gn) tends to ∞ for n→∞ Thomassen

Klaus Meer An extended tree-width notion

Page 21: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

rrrrrr

v61

v51

v41

v31

v21

v11

rrrrrr

v62

v52

v42

v32

v22

v12

rrrrrr

v63

v53

v43

v33

v23

v13

rrrrrr

v64

v54

v44

v34

v24

v14

rrrrrr

v65

v55

v45

v35

v25

v15

rrrrrr

v66

v56

v46

v36

v26

v16

The grid graph Gn for n = 6; direction of edges from left to rightand from top to bottom

twd(Gn) tends to ∞ for n→∞ Thomassen

Klaus Meer An extended tree-width notion

Page 22: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

rrrrrr

v61

v51

v41

v31

v21

v11

rrrrrr

v62

v52

v42

v32

v22

v12

rrrrrr

v63

v53

v43

v33

v23

v13

rrrrrr

v64

v54

v44

v34

v24

v14

rrrrrr

v65

v55

v45

v35

v25

v15

rrrrrr

v66

v56

v46

v36

v26

v16

order vertices from left to right and from bottom to top; the rededges are increasing, blue ones are decreasing and ttw(Gn,σ) = 1.

Klaus Meer An extended tree-width notion

Page 23: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

3. Permanents of bounded ttw matrices

Theorem (Main theorem)

Let {Mi}i∈I be a family of matrices of bounded triangulartree-width at most k ∈ N. For every member M of the family,given corresponding tree-decompositions of the graphs ofincreasing and of decreasing edges, perm(M) can be computed inpolynomial time in the size of M. The computation is fixedparameter tractable w.r.t. k.

Klaus Meer An extended tree-width notion

Page 24: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Typically, proving such theorems employs climbing atree-decomposition bottom up, see, f.e., Flarup & Koiran &Lyaudet;

once a vertex has been removed during this process from a bag ofthe tree-decomposition it has not to be considered any longer

Main problem: we have to deal with two tree-decompositions. Ingeneral, a vertex that has been removed in one can occur furtherup in the other. Thus, it cannot be removed in the usual way andbacktracking cannot be avoided.

Klaus Meer An extended tree-width notion

Page 25: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Typically, proving such theorems employs climbing atree-decomposition bottom up, see, f.e., Flarup & Koiran &Lyaudet;

once a vertex has been removed during this process from a bag ofthe tree-decomposition it has not to be considered any longer

Main problem: we have to deal with two tree-decompositions. Ingeneral, a vertex that has been removed in one can occur furtherup in the other. Thus, it cannot be removed in the usual way andbacktracking cannot be avoided.

Klaus Meer An extended tree-width notion

Page 26: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Solution of this problem: guarantee that one of the twodecompositions bounds the number of occurences of each vertex ina bag to say 10 · k many.

Definition (Perfect decompositions)

G = (V ,E ) directed has a perfect triangular tree-decomposition ofwidth k if there is a permutation σ and two correspondingtree-decompositions T inc

σ ,T decσ of width k for G inc

σ ,Gdecσ ,

respectively, and none of the vertices of G occurs in more than 10kmany bags of T dec

σ .

Klaus Meer An extended tree-width notion

Page 27: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

STEP 1: Show main theorem for perfect decompositions

Climb decomposition T incσ of G inc

σ bottom up and construct partialcycle covers together with their weights;

to each node of T incσ there correspond f (k) many types of partial

cycle covers; here a type represents the information about howvertices occur in the cover; f only depends on k ;

each time a vertex i disappears when climbing up in T incσ all

information about i given in T decσ is incorporated; since i occurs in

at most 10 · k bags of T decσ again this results in at most f (k) many

types;

thus, i can be removed in both decompositions

Klaus Meer An extended tree-width notion

Page 28: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

STEP 1: Show main theorem for perfect decompositions

Climb decomposition T incσ of G inc

σ bottom up and construct partialcycle covers together with their weights;

to each node of T incσ there correspond f (k) many types of partial

cycle covers; here a type represents the information about howvertices occur in the cover; f only depends on k ;

each time a vertex i disappears when climbing up in T incσ all

information about i given in T decσ is incorporated; since i occurs in

at most 10 · k bags of T decσ again this results in at most f (k) many

types;

thus, i can be removed in both decompositions

Klaus Meer An extended tree-width notion

Page 29: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

STEP 1: Show main theorem for perfect decompositions

Climb decomposition T incσ of G inc

σ bottom up and construct partialcycle covers together with their weights;

to each node of T incσ there correspond f (k) many types of partial

cycle covers; here a type represents the information about howvertices occur in the cover; f only depends on k ;

each time a vertex i disappears when climbing up in T incσ all

information about i given in T decσ is incorporated; since i occurs in

at most 10 · k bags of T decσ again this results in at most f (k) many

types;

thus, i can be removed in both decompositions

Klaus Meer An extended tree-width notion

Page 30: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

STEP 1: Show main theorem for perfect decompositions

Climb decomposition T incσ of G inc

σ bottom up and construct partialcycle covers together with their weights;

to each node of T incσ there correspond f (k) many types of partial

cycle covers; here a type represents the information about howvertices occur in the cover; f only depends on k ;

each time a vertex i disappears when climbing up in T incσ all

information about i given in T decσ is incorporated; since i occurs in

at most 10 · k bags of T decσ again this results in at most f (k) many

types;

thus, i can be removed in both decompositions

Klaus Meer An extended tree-width notion

Page 31: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

STEP 2: Removing the perfectness assumption

Theorem

For M,GM and permutation σ with triangular tree-decompositionT incσ ,T dec

σ one can construct a new matrix M, a correspondinggraph GM and a permutation σ such that

perm(M) = perm(M),GM is of bounded triangular tree-width

witnessed by σ and (T incσ , T dec

σ ) is a perfect triangulardecomposition.

Proof: New graph is obtained by adding at most linearly manyvertices and edges in such a way that original vertices occurringtoo often in bags of T dec

σ are partially replaced by new ones;replacement can be done in such a way that the cycle covers of theold and those of the new graph are in a 1-1 correspondencemaintaining the weights

Klaus Meer An extended tree-width notion

Page 32: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

STEP 2: Removing the perfectness assumption

Theorem

For M,GM and permutation σ with triangular tree-decompositionT incσ ,T dec

σ one can construct a new matrix M, a correspondinggraph GM and a permutation σ such that

perm(M) = perm(M),GM is of bounded triangular tree-width

witnessed by σ and (T incσ , T dec

σ ) is a perfect triangulardecomposition.

Proof: New graph is obtained by adding at most linearly manyvertices and edges in such a way that original vertices occurringtoo often in bags of T dec

σ are partially replaced by new ones;replacement can be done in such a way that the cycle covers of theold and those of the new graph are in a 1-1 correspondencemaintaining the weights

Klaus Meer An extended tree-width notion

Page 33: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Theorem

The Hamiltonian cycle decision problem is efficiently solvable forfamilies of matrices that are of bounded triangular tree-width k.Here, a corresponding tree-decomposition has to be given.

Proof: Main difference is in removing the perfectness assumption;here, the transformation leads to a slight modification of the HCproblem.

Klaus Meer An extended tree-width notion

Page 34: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

Theorem

The Hamiltonian cycle decision problem is efficiently solvable forfamilies of matrices that are of bounded triangular tree-width k.Here, a corresponding tree-decomposition has to be given.

Proof: Main difference is in removing the perfectness assumption;here, the transformation leads to a slight modification of the HCproblem.

Klaus Meer An extended tree-width notion

Page 35: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

4. Conclusions

Triangular tree-width notion tailored to permanent problem;

are there other graph related problems for which the result holds?

More general: does it hold for all monadic-second order definableproblems?

We conjecture not

Is triangular tree-width related to other parameters for directedgraphs?Such parameters are for example directed tree-width (Johnson &Robertson & Seymour & Thomas) and entanglement (Berwanger& Gradel)

Klaus Meer An extended tree-width notion

Page 36: Csr2011 june16 15_45_meer

Introduction Triangular tree-width Permanents of bounded ttw matrices Conclusions

4. Conclusions

Triangular tree-width notion tailored to permanent problem;

are there other graph related problems for which the result holds?

More general: does it hold for all monadic-second order definableproblems?

We conjecture not

Is triangular tree-width related to other parameters for directedgraphs?Such parameters are for example directed tree-width (Johnson &Robertson & Seymour & Thomas) and entanglement (Berwanger& Gradel)

Klaus Meer An extended tree-width notion