formal language techniques for space lower bounds
play

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


  1. Formal Language Techniques for Space Lower Bounds Philipp Kuinke February 23, 2018

  2. Contained in S´ anchez Villaamil’s Phd Thesis 2017

  3. Treewidth � � � � � � � � � � � � � � � � � � � � � � � � � �

  4. Dynamic Programming Use treewidth structure to traverse the graph

  5. Dynamic Programming ���

  6. Dynamic Programming ���

  7. Dynamic Programming ���

  8. Dynamic Programming ���

  9. Dynamic Programming ���

  10. Dynamic Programming The runtime of dynamic programming algorithms depends on the table sizes!

  11. Dynamic Programming Common properties of DP-algorithms we formalize

  12. Dynamic Programming Common properties of DP-algorithms we formalize 1. They do a single pass over the decomposition;

  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 ) log O (1) n ) space; and

  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 ) log O (1) n ) space; and 3. they do not modify or rearrange the decomposition.

  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.

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

  17. Boundaried Graphs Definition G 1 ⊕ G 2 is the disjoint union of two s -boundaried graphs merged at the boundary.

  18. Boundaried Graphs Definition G s is the set of all s -boundaried graphs.

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

  20. Myhill-Nerode Families

  21. Myhill-Nerode Families Definition (Myhill-Nerode family) A set H ⊆ G s is an s-Myhill-Nerode family for a DP language Π if

  22. Myhill-Nerode Families Definition (Myhill-Nerode family) A set H ⊆ G s is an s-Myhill-Nerode family for a DP language Π if 1. For every subset I ⊆ H there exists an s-boundaried graph G I with bounded size, such that for every H ∈ H it holds that G I ⊕ H �∈ Π ⇔ H ∈ I

  23. Myhill-Nerode Families Definition (Myhill-Nerode family) A set H ⊆ G s is an s-Myhill-Nerode family for a DP language Π if 1. For every subset I ⊆ H there exists an s-boundaried graph G I with bounded size, such that for every H ∈ H it holds that G I ⊕ H �∈ Π ⇔ H ∈ I 2. For every H ∈ H it holds that H has bounded size.

  24. Myhill-Nerode Families Definition (Myhill-Nerode family) A set H ⊆ G s is an s-Myhill-Nerode family for a DP language Π if 1. For every subset I ⊆ H there exists an s-boundaried graph G I with | G I | = |H| log O (1) H , such that for every H ∈ H it holds that G I ⊕ H �∈ Π ⇔ H ∈ I 2. For every H ∈ H it holds that | H | = |H| log O (1) H .

  25. Myhill-Nerode Families G I ⊕ H 1 ∈ Π G I ⊕ H 2 �∈ Π

  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 c s 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.

  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 c s / f ( s ) , where f ( s ) = s O (1) ∩ Θ(1) and width tw ( H ) = s + o ( s ) . Then no DPTM can decide Π using space O (( c − ǫ ) k log O (1) n ) , where n is the size of the input and k the treewidth of the input.

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

  29. Coloring Gadget

  30. Coloring Gadget

  31. Coloring Gadget

  32. Coloring Gadget

  33. Coloring Gadget

  34. Coloring Gadget

  35. The Graph Γ X

  36. Enforcing Colorings with H X

  37. No-Instances

  38. No-Instances This is not 3-colorable.

  39. Yes-Instances This is 3-colorable.

  40. Yes-Instances This is 3-colorable.

  41. Myhill-Nerode Families ◮ Γ X ⊕ H X �∈ Π

  42. Myhill-Nerode Families ◮ Γ X ⊕ H X �∈ Π ◮ Γ X ⊕ H X ′ ∈ Π, for ( X � = X ′ )

  43. Myhill-Nerode Families ◮ Γ X ⊕ H X �∈ Π ◮ Γ X ⊕ H X ′ ∈ Π, for ( X � = X ′ ) ◮ G I = ⊕ H X ∈I Γ X

  44. Myhill-Nerode Families ◮ Γ X ⊕ H X �∈ Π ◮ Γ X ⊕ H X ′ ∈ Π, for ( X � = X ′ ) ◮ G I = ⊕ H X ∈I Γ X ◮ G I ⊕ H X ∈ Π ⇔ H X �∈ Π

  45. Myhill-Nerode Families

  46. Myhill-Nerode Families

  47. Myhill-Nerode Families ���

  48. Myhill-Nerode Families ���

  49. Myhill-Nerode Families ��� G I ⊕ H X ∈ Π ⇔ H X �∈ Π

  50. Myhill-Nerode Families ��� We can generate 3 w / 6 such graphs.

  51. Myhill-Nerode Families ��� We can generate a Myhill-Nerode family of index 3 w / 6.

  52. Myhill-Nerode Families ��� We cannot use O ((3 − ǫ ) w · log n ) space for a dynamic programming algorithm.

  53. Obtained result Theorem ([S´ anchez Villaamil ’17]) No DPTM solves 3-Coloring on a treewidth-decomposition of width w with space bounded by O ((3 − ǫ ) w · log O (1) n ) .

  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 · log O (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 · log O (1) n ) .

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

  56. The end

Recommend


More recommend