SLIDE 1
Formal Language Techniques for Space Lower Bounds Philipp Kuinke - - PowerPoint PPT Presentation
Formal Language Techniques for Space Lower Bounds Philipp Kuinke - - PowerPoint PPT Presentation
Formal Language Techniques for Space Lower Bounds Philipp Kuinke February 23, 2018 Contained in S anchez Villaamils Phd Thesis 2017 Treewidth
SLIDE 2
SLIDE 3
Treewidth
SLIDE 4
Dynamic Programming
Use treewidth structure to traverse the graph
SLIDE 5
Dynamic Programming
SLIDE 6
Dynamic Programming
SLIDE 7
Dynamic Programming
SLIDE 8
Dynamic Programming
SLIDE 9
Dynamic Programming
SLIDE 10
Dynamic Programming
The runtime of dynamic programming algorithms depends on the table sizes!
SLIDE 11
Dynamic Programming
Common properties of DP-algorithms we formalize
SLIDE 12
Dynamic Programming
Common properties of DP-algorithms we formalize
- 1. They do a single pass over the decomposition;
SLIDE 13
Dynamic Programming
Common properties of DP-algorithms we formalize
- 1. They do a single pass over the decomposition;
- 2. they use O(f (w) logO(1) n) space; and
SLIDE 14
Dynamic Programming
Common properties of DP-algorithms we formalize
- 1. They do a single pass over the decomposition;
- 2. they use O(f (w) logO(1) n) space; and
- 3. they do not modify or rearrange the decomposition.
SLIDE 15
Dynamic Programming
Definition (DPTM)
A Dynamic Programming Turing Machine (DPTM) is a Turing Machine with an input read-only tape, whose head moves only in one direction and a separate working tape. It only accepts well-formed instances as inputs.
SLIDE 16
Boundaried Graphs
Definition
An s-boundaried graph G is a graph with s distinguished vertices, called the boundary.
SLIDE 17
Boundaried Graphs
Definition
G1 ⊕ G2 is the disjoint union of two s-boundaried graphs merged at the boundary.
SLIDE 18
Boundaried Graphs
Definition
Gs is the set of all s-boundaried graphs.
SLIDE 19
Formal Languages
Interpret Problem as a language Π, i.e. G ∈ Π if and only if G is a yes-instance.
SLIDE 20
Myhill-Nerode Families
SLIDE 21
Myhill-Nerode Families
Definition (Myhill-Nerode family)
A set H ⊆ Gs is an s-Myhill-Nerode family for a DP language Π if
SLIDE 22
Myhill-Nerode Families
Definition (Myhill-Nerode family)
A set H ⊆ Gs is an s-Myhill-Nerode family for a DP language Π if
- 1. For every subset I ⊆ H there exists an s-boundaried
graph GI with bounded size, such that for every H ∈ H it holds that GI ⊕ H ∈ Π ⇔ H ∈ I
SLIDE 23
Myhill-Nerode Families
Definition (Myhill-Nerode family)
A set H ⊆ Gs is an s-Myhill-Nerode family for a DP language Π if
- 1. For every subset I ⊆ H there exists an s-boundaried
graph GI with bounded size, such that for every H ∈ H it holds that GI ⊕ H ∈ Π ⇔ H ∈ I
- 2. For every H ∈ H it holds that H has bounded size.
SLIDE 24
Myhill-Nerode Families
Definition (Myhill-Nerode family)
A set H ⊆ Gs is an s-Myhill-Nerode family for a DP language Π if
- 1. For every subset I ⊆ H there exists an s-boundaried
graph GI with |GI| = |H| logO(1) H, such that for every H ∈ H it holds that GI ⊕ H ∈ Π ⇔ H ∈ I
- 2. For every H ∈ H it holds that |H| = |H| logO(1) H.
SLIDE 25
Myhill-Nerode Families
GI ⊕ H1 ∈ Π GI ⊕ H2 ∈ Π
SLIDE 26
DPTM bounds
Lemma ([S´ anchez Villaamil ’17])
Let ǫ > 0 and Π be a DP decision problem such that for every s there exists an s-Myhill-Nerode family H for Π of size cs and width tw(H) = s. Then no DPTM can decide Π using space O((c − ǫ)k log n), where n is the size of the input and k the treewidth of the input.
SLIDE 27
DPTM bounds
Lemma ([S´ anchez Villaamil ’17])
Let ǫ > 0 and Π be a DP decision problem such that for every s there exists an s-Myhill-Nerode family H for Π of size cs/f (s), where f (s) = sO(1) ∩ Θ(1) and width tw(H) = s + o(s). Then no DPTM can decide Π using space O((c − ǫ)k logO(1) n), where n is the size of the input and k the treewidth of the input.
SLIDE 28
3-Coloring
◮ Input: A Graph G ◮ k: The treewidth of G ◮ Question: Can G be colored with 3 colors?
SLIDE 29
Coloring Gadget
SLIDE 30
Coloring Gadget
SLIDE 31
Coloring Gadget
SLIDE 32
Coloring Gadget
SLIDE 33
Coloring Gadget
SLIDE 34
Coloring Gadget
SLIDE 35
The Graph ΓX
SLIDE 36
Enforcing Colorings with HX
SLIDE 37
No-Instances
SLIDE 38
No-Instances
This is not 3-colorable.
SLIDE 39
Yes-Instances
This is 3-colorable.
SLIDE 40
Yes-Instances
This is 3-colorable.
SLIDE 41
Myhill-Nerode Families
◮ ΓX ⊕ HX ∈ Π
SLIDE 42
Myhill-Nerode Families
◮ ΓX ⊕ HX ∈ Π ◮ ΓX ⊕ HX ′ ∈ Π, for (X = X ′)
SLIDE 43
Myhill-Nerode Families
◮ ΓX ⊕ HX ∈ Π ◮ ΓX ⊕ HX ′ ∈ Π, for (X = X ′) ◮ GI = ⊕HX ∈IΓX
SLIDE 44
Myhill-Nerode Families
◮ ΓX ⊕ HX ∈ Π ◮ ΓX ⊕ HX ′ ∈ Π, for (X = X ′) ◮ GI = ⊕HX ∈IΓX ◮ GI ⊕ HX ∈ Π ⇔ HX ∈ Π
SLIDE 45
Myhill-Nerode Families
SLIDE 46
Myhill-Nerode Families
SLIDE 47
Myhill-Nerode Families
SLIDE 48
Myhill-Nerode Families
SLIDE 49
Myhill-Nerode Families
- GI ⊕ HX ∈ Π ⇔ HX ∈ Π
SLIDE 50
Myhill-Nerode Families
- We can generate 3w/6 such graphs.
SLIDE 51
Myhill-Nerode Families
- We can generate a Myhill-Nerode family of index 3w/6.
SLIDE 52
Myhill-Nerode Families
- We cannot use O((3 − ǫ)w · log n) space for a dynamic
programming algorithm.
SLIDE 53
Obtained result
Theorem ([S´ anchez Villaamil ’17])
No DPTM solves 3-Coloring on a treewidth-decomposition
- f width w with space bounded by O((3 − ǫ)w · logO(1) n).
SLIDE 54
Further results
Theorem ([S´ anchez Villaamil ’17])
No DPTM solves Vertex Cover on a treewidth-decomposition of width w with space bounded by O((2 − ǫ)w · logO(1) n).
Theorem ([S´ anchez Villaamil ’17])
No DPTM solves Dominating Set on a treewidth-decomposition of width w with space bounded by O((3 − ǫ)w · logO(1) n).
SLIDE 55
Not Captured
◮ Compression. ◮ Algebraic techniques. ◮ Preprocessing to compute optimal traversal. ◮ Branching instead of DP
SLIDE 56