Formal Language Techniques for Space Lower Bounds Philipp Kuinke - - PowerPoint PPT Presentation

formal language techniques for space lower bounds
SMART_READER_LITE
LIVE PREVIEW

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-1
SLIDE 1

Formal Language Techniques for Space Lower Bounds

Philipp Kuinke February 23, 2018

slide-2
SLIDE 2

Contained in S´ anchez Villaamil’s Phd Thesis 2017

slide-3
SLIDE 3

Treewidth

slide-4
SLIDE 4

Dynamic Programming

Use treewidth structure to traverse the graph

slide-5
SLIDE 5

Dynamic Programming

slide-6
SLIDE 6

Dynamic Programming

slide-7
SLIDE 7

Dynamic Programming

slide-8
SLIDE 8

Dynamic Programming

slide-9
SLIDE 9

Dynamic Programming

slide-10
SLIDE 10

Dynamic Programming

The runtime of dynamic programming algorithms depends on the table sizes!

slide-11
SLIDE 11

Dynamic Programming

Common properties of DP-algorithms we formalize

slide-12
SLIDE 12

Dynamic Programming

Common properties of DP-algorithms we formalize

  • 1. They do a single pass over the decomposition;
slide-13
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
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
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
SLIDE 16

Boundaried Graphs

Definition

An s-boundaried graph G is a graph with s distinguished vertices, called the boundary.

slide-17
SLIDE 17

Boundaried Graphs

Definition

G1 ⊕ G2 is the disjoint union of two s-boundaried graphs merged at the boundary.

slide-18
SLIDE 18

Boundaried Graphs

Definition

Gs is the set of all s-boundaried graphs.

slide-19
SLIDE 19

Formal Languages

Interpret Problem as a language Π, i.e. G ∈ Π if and only if G is a yes-instance.

slide-20
SLIDE 20

Myhill-Nerode Families

slide-21
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
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
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
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
SLIDE 25

Myhill-Nerode Families

GI ⊕ H1 ∈ Π GI ⊕ H2 ∈ Π

slide-26
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
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
SLIDE 28

3-Coloring

◮ Input: A Graph G ◮ k: The treewidth of G ◮ Question: Can G be colored with 3 colors?

slide-29
SLIDE 29

Coloring Gadget

slide-30
SLIDE 30

Coloring Gadget

slide-31
SLIDE 31

Coloring Gadget

slide-32
SLIDE 32

Coloring Gadget

slide-33
SLIDE 33

Coloring Gadget

slide-34
SLIDE 34

Coloring Gadget

slide-35
SLIDE 35

The Graph ΓX

slide-36
SLIDE 36

Enforcing Colorings with HX

slide-37
SLIDE 37

No-Instances

slide-38
SLIDE 38

No-Instances

This is not 3-colorable.

slide-39
SLIDE 39

Yes-Instances

This is 3-colorable.

slide-40
SLIDE 40

Yes-Instances

This is 3-colorable.

slide-41
SLIDE 41

Myhill-Nerode Families

◮ ΓX ⊕ HX ∈ Π

slide-42
SLIDE 42

Myhill-Nerode Families

◮ ΓX ⊕ HX ∈ Π ◮ ΓX ⊕ HX ′ ∈ Π, for (X = X ′)

slide-43
SLIDE 43

Myhill-Nerode Families

◮ ΓX ⊕ HX ∈ Π ◮ ΓX ⊕ HX ′ ∈ Π, for (X = X ′) ◮ GI = ⊕HX ∈IΓX

slide-44
SLIDE 44

Myhill-Nerode Families

◮ ΓX ⊕ HX ∈ Π ◮ ΓX ⊕ HX ′ ∈ Π, for (X = X ′) ◮ GI = ⊕HX ∈IΓX ◮ GI ⊕ HX ∈ Π ⇔ HX ∈ Π

slide-45
SLIDE 45

Myhill-Nerode Families

slide-46
SLIDE 46

Myhill-Nerode Families

slide-47
SLIDE 47

Myhill-Nerode Families

slide-48
SLIDE 48

Myhill-Nerode Families

slide-49
SLIDE 49

Myhill-Nerode Families

  • GI ⊕ HX ∈ Π ⇔ HX ∈ Π
slide-50
SLIDE 50

Myhill-Nerode Families

  • We can generate 3w/6 such graphs.
slide-51
SLIDE 51

Myhill-Nerode Families

  • We can generate a Myhill-Nerode family of index 3w/6.
slide-52
SLIDE 52

Myhill-Nerode Families

  • We cannot use O((3 − ǫ)w · log n) space for a dynamic

programming algorithm.

slide-53
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
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
SLIDE 55

Not Captured

◮ Compression. ◮ Algebraic techniques. ◮ Preprocessing to compute optimal traversal. ◮ Branching instead of DP

slide-56
SLIDE 56

The end