Subexponential time algorithms and
lower bounds for finding path and
tree decompositions with few bags
Joint work (in progress) with Hans Bodlaender.
Jesper Nederlof
Technical University Eindhoven
Treewidth
Refer to
as a
bag.
Definition
A treedecomposition of graph
is a pair
where
with
and a tree with vertex set such that:
1.
2.
3.
,
: All ,
containing induce a connected subtree.
Treewidth
Definition
A treedecomposition of graph
is a pair
where
with
and a tree with vertex set such that:
1.
2.
3.
,
: All Example
A
B
D
F
C
E
G
H
,
containing induce a connected subtree.
Treewidth
Definition
A treedecomposition of graph
is a pair
where
with
and a tree with vertex set such that:
1.
2.
3.
,
: All Example
A
B
D
F
C
E
G
H
,
containing induce a connected subtree.
AB
D
Treewidth
Definition
A treedecomposition of graph
is a pair
where
with
and a tree with vertex set such that:
1.
2.
3.
,
: All Example
A
B
D
F
C
E
G
H
,
containing induce a connected subtree.
AB
D
B
D
G
Treewidth
Definition
A treedecomposition of graph
is a pair
where
with
and a tree with vertex set such that:
1.
2.
3.
,
: All Example
A
B
D
F
C
E
G
H
,
containing induce a connected subtree.
AB
D
D
FG
B
D
G
Treewidth
Definition
A treedecomposition of graph
is a pair
where
with
and a tree with vertex set such that:
1.
2.
3.
,
: All Example
A
B
D
F
C
E
G
H
,
containing induce a connected subtree.
AB
D
D
FG
B
D
G
B
E
G
Treewidth
Definition
A treedecomposition of graph
is a pair
where
with
and a tree with vertex set such that:
1.
2.
3.
,
: All Example
A
B
D
F
C
E
G
H
,
containing induce a connected subtree.
AB
D
D
FG
B
D
G
B
E
G
BC
E
Treewidth
Definition
A treedecomposition of graph
is a pair
where
with
and a tree with vertex set such that:
1.
2.
3.
,
: All Example
A
B
D
F
C
E
G
H
,
containing induce a connected subtree.
AB
D
D
FG
Separates A, F
and CEH.
B
D
G
B
E
G
BC
E
E
GH
Treewidth
Definition
A treedecomposition of graph
is a pair
where
with
and a tree with vertex set such that:
1.
2.
3.
,
: All ,
containing induce a connected subtree.
Definition
The width of a treedecomposition is . The
treewidth of a graph is the minimum width among all possible
tree decompositions of G.
Pathwidth
Definition
Apath
treedecomposition of graph
is a pair
where
with
and a path
tree with vertex set such that:
1.
2.
3.
,
: All ,
containing induce a connected subtree.
Definition
The width of a path
treedecomposition is . The
path
treewidth
of a graph is the minimum width among all possible
path decompositions of G.
tree
Pathwidth
Definition
Apath
treedecomposition of graph
is a pair
where
with
and a path
tree with vertex set such that:
1.
2.
3.
,
: All Example
A
B
D
F
C
E
G
H
,
containing induce a connected subtree.
AB
D
D
FG
B
D
G
B
E
G
BC
E
E
GH
Pathwidth
Definition
Apath
treedecomposition of graph
is a pair
where
with
and a path
tree with vertex set such that:
1.
2.
3.
,
: All Example
A
AB
D
B
D
E
G
,
containing induce a connected subtree.
H
D
FG
Length: 4
B
D
G
B
E
G
BC
E
E
GH
Bounded length Path decompositions
β’ Given πΊ, π; find PD of width k and min. length.
β’ NP-complete for k β₯ 4 (Dereniowski et al.)
β `Para-NP-completeβ
β Poly-time for k<=3
n denotes |V|
β’ Today: Solvable in 2π(π/ log π) for fixed k. Not
solvable in 2π(π/ log π) under ETH.
The algorithm
Naïve branching algorithm
β’ Most naïve algorithm you can think of
π1
π2
π3
π4
Naïve branching algorithm
β’ Most naïve algorithm you can think of
π1
π2
π3
π4
Naïve branching algorithm
β’ Most naïve algorithm you can think of
π1
π2
π4
Not covered yet:
E β π1 βͺ X2
A
B
D
E
G
H
π3
Need:
Edges incident to π4 β π3
are contained in π3 or π4 .
Dealt with,
Not relevant
anymore!
Naïve branching algorithm
β’ Most naïve algorithm you can think of
π1
π2
π3
π4
A
B
D
E
G
H
Need:
Edges incident to π4 β π3
are contained in π3 or π4 .
Dealt with,
Not relevant
anymore!
Naïve branching algorithm
β’ Most naïve algorithm you can think of
β Plus a bit of memorization
π1
π2
π3
π4
A
B
Need:
Edges
π π4incident
\X3 β πto3 π
βͺ4πβ4 π3
are contained in π3 or π4 .
D
G
its incident edges
A bit of memorization
are contained in
β’ Subproblems can be described
the rightby
bags
β An πΏ β π that needs to be the last bag.
β A bit for every connected component of πΊ[π β πΏ]
indicating whether it has been covered already
β A vector indicating for every isomorphism class of a cc,
how many times it has been covered.
β’ #distinct subproblems β€ ππ 2π :not good enough.
A bit of memorization
β’ Subproblems can be described by
β An πΏ β π that needs to be the last bag.
β A bit for every connected component of πΊ[π β πΏ]
indicating whether it has been covered already
β A vector indicating for every isomorphism class of a cc,
how many times it has been covered.
β’ #distinct subproblems β€ ππ 2π :not good enough.
β’ #distinct subproblems β€ 2π(π/ log π) :good enough!
A bit of memorization
β’ A vector indicating for every isomorphism class of a cc,
how many times it has been covered.
1
lg π
8
β Large ccβs (size β₯
): only 8π/ lg π of them -> at
most 28π/ lg π possibilities.
There are at most 24ππ isomorphism classes of
graphs of graphs on N vertices with path width k.
1
lg π):
8
1
lg π
2
β Small ccβs (size β€
at most 2
=
π isomorphism classes-> at most π π possibilities.
β Need some isomorphism canonization+datastructure
The lower bound
β’ Exponential Time Hypothesis (ETH): we cannot
determine satisfiability of an n-variable CNF-formula
in 2π(π) time.
β’ Frequence β€ π, 3-DM not in 2π(π) time unless ETH
fails (cor. of van Rooij et al) .
β Given n-sized sets P,Q,R, and π β π × π × π
, find n
disjoint triples from T; any elements occurs at most thrice
in the triples.
β’ Disjoint strings not in 2π(π) time unless ETH fails.
β Given π΄, π΅, πΆ β {0,1}6 log π , find n disjoint triples
π, π, π β π΄ × π΅ × πΆ such that π + π + π βΌ 1.
Reducing freq.β€3 3-DM to disj. strings
β’ Unify P, π, π
with {1, β¦ , π};
β’ Construct A,B,C β {0,1}6 log π :
Added elements π +
π+π βΌ1
iff corresponding
π, π, π β T.
β Denote π(π₯) for the bin. representation
β Denote π β² π₯ = π π₯ π π₯
β For p β π, add πβ²(π) π π to A
β For q β π, add π|πβ²(π)|π to B
β For π, π, π β π, add π β² π |π β² π |π β² π to C
β If π β R has frequency f(r),
β’ Add f(r)-1 elements π|π|πβ²(π) to A
β’ Add f(r)-1 elements π|π|π to B
Clean up unused
elements added to C
Reducing disj.strings to min length pathwidth
K=199, length 5
πΎ50
πΎ50
πΎ50
πΎ50
πΎ50
πΎ50
πΎ50
πΎ50
πΎ50
πΎ50
πΎ50
π2
π1
1
0 0
π²ππ
πΎ50
πΎ50
πΎ50
πΎ50
πΎ50
πΎ99
1 0
π²ππ
πΎ50
πΎ50
πΎ50
0 0
πΎ50
πΎ50
π1
π2
6 log π
bags
6 log π
bags
πΎ50
1 0
πΎ50
πΎ50
π²ππ
πΎ50
πΎ50
πΎ99
1
πΎ50
π²ππ
πΎ50
πΎ50
π3
6 log π
bags
48
49
πΎ50
πΎ50
πΎ
π2
π1
1
0 0
π²ππ
πΎ13
πΎ13
πΎ13
πΎ13
π1 + π9
πΎ15
πΎ13
1 0
π²ππ
0 0
πΎ13
πΎ13
πΎ13
πΎ13
πΎ13
π2 + π4
1 0
πΎ13
πΎ13
π²ππ
πΎ13
πΎ13
1
πΎ13
π²ππ
πΎ13
πΎ13
π3 + π2
8
9
10
πΎ13
πΎ13
πΎ
π2
π1
1
0 0
π²ππ
πΎ3
πΎ5
πΎ3
πΎ3
1 0
πΎ3
π²π
πΎ3
π1 + π9 +π2
0π(π
0 lg1π)0vertices,
1
so
π(π/ lg π)
2 π² πΎ π²time
πΎ
πΎ
πΎ
πΎ algorithm
πΎ
πΎ
πΎ for
πΎ N-vertex
πΎ
πΎ
π(π)
MLPD implies 2
for
disj.
strings.
π2 + π4 + π4
π3 + π2 + π3
πΎ3
3
πΎ3
3
3
πΎ3
3
π
3
π
3
3
3
3
3
0
1
3
πΎ
Concluding Remarks
β’ Upper bound is quite similar to algorithm of
Bodlaender and van Rooij (TAPASβ11).
β’ Similar results for minimum length tree
decompositions and intervalizing colored
graphs.
β’ Thanks for listening!
© Copyright 2026 Paperzz