Clique is hard on average for regular resolution Ilario Bonacina, - - PowerPoint PPT Presentation

clique is hard on average for regular resolution
SMART_READER_LITE
LIVE PREVIEW

Clique is hard on average for regular resolution Ilario Bonacina, - - PowerPoint PPT Presentation

Clique is hard on average for regular resolution Ilario Bonacina, UPC Barcelona Tech July 27, 2018 Oxford Complexity Day Talk based on a joint work with: A. Atserias S. de Rezende M. Lauria J. Nordstr om A. Razborov 1 Motivations k


slide-1
SLIDE 1

Clique is hard on average for regular resolution

Ilario Bonacina, UPC Barcelona Tech July 27, 2018

Oxford Complexity Day

slide-2
SLIDE 2

Talk based on a joint work with:

  • A. Atserias
  • S. de Rezende
  • M. Lauria
  • J. Nordstr¨
  • m
  • A. Razborov

1

slide-3
SLIDE 3

Motivations

  • k-clique is a fundamental NP-complete problem
  • regular resolution captures state-of-the-art algorithms for

k-clique

  • for k small (say k ≪ √n) the standard tools from proof

complexity fail

2

slide-4
SLIDE 4

k-clique

Input: a graph G = (V , E) with n vertices and k ∈ N Output: yes if G contains a k-clique as a subgraph; no otherwise

3

slide-5
SLIDE 5

k-clique

Input: a graph G = (V , E) with n vertices and k ∈ N Output: yes if G contains a k-clique as a subgraph; no otherwise

3

slide-6
SLIDE 6

k-clique

Input: a graph G = (V , E) with n vertices and k ∈ N Output: yes if G contains a k-clique as a subgraph; no otherwise

3

slide-7
SLIDE 7

k-clique

Input: a graph G = (V , E) with n vertices and k ∈ N Output: yes if G contains a k-clique as a subgraph; no otherwise

3

slide-8
SLIDE 8

k-clique

Input: a graph G = (V , E) with n vertices and k ∈ N Output: yes if G contains a k-clique as a subgraph; no otherwise

3

slide-9
SLIDE 9

k-clique

Input: a graph G = (V , E) with n vertices and k ∈ N Output: yes if G contains a k-clique as a subgraph; no otherwise

  • k-clique can be solved in time nO(k),

e.g. by brute-force

  • k-clique is NP-complete
  • assuming ETH, there is no

f (k)no(k)-time algorithm for k-clique for any computable function f

3

slide-10
SLIDE 10

Resolution

clause1 ∨ clause2 clause1 ∨ var clause2 ∨ ¬var

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x

4

slide-11
SLIDE 11

Resolution

clause1 ∨ clause2 clause1 ∨ var clause2 ∨ ¬var

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x x ∨ y

4

slide-12
SLIDE 12

Resolution

clause1 ∨ clause2 clause1 ∨ var clause2 ∨ ¬var

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x x ∨ y y ∨ z

4

slide-13
SLIDE 13

Resolution

clause1 ∨ clause2 clause1 ∨ var clause2 ∨ ¬var

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x x ∨ y y ∨ z z

4

slide-14
SLIDE 14

Resolution

clause1 ∨ clause2 clause1 ∨ var clause2 ∨ ¬var

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x x ∨ y y ∨ z z x ∨ ¬z

4

slide-15
SLIDE 15

Resolution

clause1 ∨ clause2 clause1 ∨ var clause2 ∨ ¬var

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x x ∨ y y ∨ z z x ∨ ¬z ¬z

4

slide-16
SLIDE 16

Resolution

clause1 ∨ clause2 clause1 ∨ var clause2 ∨ ¬var

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x x ∨ y y ∨ z z x ∨ ¬z ¬z ⊥

4

slide-17
SLIDE 17

Resolution

clause1 ∨ clause2 clause1 ∨ var clause2 ∨ ¬var

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x x ∨ y y ∨ z z x ∨ ¬z ¬z ⊥

Tree-like = the proof DAG is a tree Regular = no variable resolved twice in any source-to-sink path Size = # of nodes in the proof DAG

4

slide-18
SLIDE 18

What is Resolution good for?

  • algorithms routinely used to solve SAT (CDCL-solvers) are

somewhat formalizable in resolution

  • the state-of-the-art algorithms to solve k-clique

(Bron-Kerbosch, ¨ Osterg˚ ard, Russian dolls algorithms, ...) are formalizable in regular resolution

5

slide-19
SLIDE 19

k-clique formula

Construct a propositional formula ΦG,k unsatisfiable if and only if “G does not contain a k-clique” xv,j ≡ “v is the j-th vertex of a k-clique in G”. The clique formula ΦG,k

  • v∈V

xv,i for i ∈ [k] and ¬xu,i ∨ ¬xv,i for i ∈ [k], u, v ∈ V and ¬xu,i ∨ ¬xv,j for i = j ∈ [k], u, v ∈ V , (u, v) / ∈ E

6

slide-20
SLIDE 20

Size

S(ΦG,k) = minimum size of a resolution refutation of ΦG,k Stree(ΦG,k) = minimum size of a tree-like resolution ref. of ΦG,k Sreg(ΦG,k) = minimum size of a regular resolution ref. of ΦG,k

  • S(ΦG,k) Sreg(ΦG,k) Stree(ΦG,k) nO(k)
  • if G is (k − 1)-colorable then Sreg(ΦG,k) 2kk2n2 [∼BGL13]

[BGL13] Beyersdorff, Galesi and Lauria 2013. Parameterized complexity of DPLL search procedures. 7

slide-21
SLIDE 21

Erd˝

  • s-R´

enyi random graphs

A graph G = (V , E) ∼ G(n, p) is such that |V | = n and each edge {u, v} ∈ E independently with prob. p ∈ [0, 1]

8

slide-22
SLIDE 22

Erd˝

  • s-R´

enyi random graphs

A graph G = (V , E) ∼ G(n, p) is such that |V | = n and each edge {u, v} ∈ E independently with prob. p ∈ [0, 1]

  • if p ≪ n−2/(k−1) then a.a.s. G ∼ G(n, p) has no k-cliques
  • A.a.s. G ∼ G(n, 1

2) has no clique of size ⌈2 log2 n⌉ 8

slide-23
SLIDE 23

Main Result (simplified)

Main Theorem (version 1) Let G ∼ G(n, p) be an Erd˝

  • s-R´

enyi random graph with, for simplicity, p = n−4/(k−1) and let k n1/2−ǫ for some arbitrary small ǫ. Then, Sreg(ΦG,k) a.a.s. = nΩ(k).

9

slide-24
SLIDE 24

Main Result (simplified)

Main Theorem (version 1) Let G ∼ G(n, p) be an Erd˝

  • s-R´

enyi random graph with, for simplicity, p = n−4/(k−1) and let k n1/2−ǫ for some arbitrary small ǫ. Then, Sreg(ΦG,k) a.a.s. = nΩ(k). the actual lower bound decreases smoothly w.r.t. p

9

slide-25
SLIDE 25

Main Result (simplified)

Main Theorem (version 1) Let G ∼ G(n, p) be an Erd˝

  • s-R´

enyi random graph with, for simplicity, p = n−4/(k−1) and let k n1/2−ǫ for some arbitrary small ǫ. Then, Sreg(ΦG,k) a.a.s. = nΩ(k). the actual lower bound decreases smoothly w.r.t. p Main Theorem (version 2) Let G ∼ G(n, 1

2), then

Sreg(ΦG,k) a.a.s. = nΩ(log n) for k = O(log n) and Sreg(ΦG,k) a.a.s. = nω(1) for k = o(log2 n) .

9

slide-26
SLIDE 26

How hard is to prove that a graph is Ramsey?

Open Problem Let G be a graph in n vertices with no set of k vertices forming a clique or independent set, where k = ⌈2 log n⌉. Is it true that S(reg)(ΦG,k) = nΩ(log n)? ([LPRT17] proved this but for a binary encoding of ΦG,k)

[LPRT17] Lauria, Pudl´ ak, R¨

  • dl, and Thapen, 2017. The complexity of proving that

a graph is Ramsey. 10

slide-27
SLIDE 27

Previous lower bounds

[BGL13] If G is the complete (k − 1)-partite graph, then Stree(ΦG,k) = nΩ(k). The same holds for G ∼ G(n, p) with suitable edge density p. [BIS07] for n5/6 ≪ k < n

3 and G ∼ G(n, p) (with suitable

edge density p), then S(ΦG,k) a.a.s. = 2nΩ(1) [LPRT17] if we encode k-clique using some other propositional encodings (e.g. in binary) we get nΩ(k) size lower bounds for resolution

[BIS07] Beame, Impagliazzo and Sabharwal, 2007. The resolution complexity of independent sets and vertex covers in random graphs. [LPRT17] Lauria, Pudl´ ak, R¨

  • dl, and Thapen, 2017. The complexity of proving that

a graph is Ramsey. 11

slide-28
SLIDE 28

Rest of the talk

Focus on k = ⌈2 log n⌉ and G ∼ G(n, 1

2), and how to prove

Sreg(ΦG,k) a.a.s. = nΩ(log n)

12

slide-29
SLIDE 29

Proof scheme

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000. 13

slide-30
SLIDE 30

Proof scheme

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000.

Theorem 2 Let k = ⌈2 log n⌉. For every G satisfying properties (1) and (2), Sreg(ΦG,k) = nΩ(log n)

13

slide-31
SLIDE 31

Proof scheme

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000.

Theorem 2 Let k = ⌈2 log n⌉. For every G satisfying properties (1) and (2), Sreg(ΦG,k) = nΩ(log n) Proof ideas: boosted Haken bottleneck counting. Bottlenecks are pair of nodes with special properties and a way of visiting them. The proof heavily uses regularity.

13

slide-32
SLIDE 32

Denseness I

W ⊆ V is (r, q)-dense if for every subset R ⊆ V of size r, it holds | NW (R)| q, where NW (R) is the set of common neighbors

  • f R in W

W

  • . . .
  • . . . •

14

slide-33
SLIDE 33

Denseness I

W ⊆ V is (r, q)-dense if for every subset R ⊆ V of size r, it holds | NW (R)| q, where NW (R) is the set of common neighbors

  • f R in W

W R

  • . . .
  • . . . •

14

slide-34
SLIDE 34

Denseness I

W ⊆ V is (r, q)-dense if for every subset R ⊆ V of size r, it holds | NW (R)| q, where NW (R) is the set of common neighbors

  • f R in W

W R

  • . . .
  • NW (R)
  • . . . •

14

slide-35
SLIDE 35

Denseness I

W ⊆ V is (r, q)-dense if for every subset R ⊆ V of size r, it holds | NW (R)| q, where NW (R) is the set of common neighbors

  • f R in W

W R

  • . . .
  • NW (R)
  • . . . •

In G ∼ G(n, 1

2),

  • |

NW (R)| ≈ |W R| · 2−|R|

  • V is ( k

50, Θ(n0.9))-dense,

where k = ⌈2 log n⌉.

14

slide-36
SLIDE 36

Denseness II

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000. 15

slide-37
SLIDE 37

Denseness II

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000.

W

15

slide-38
SLIDE 38

Denseness II

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000.

W S

15

slide-39
SLIDE 39

Denseness II

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000.

W S R

  • NW (R)

15

slide-40
SLIDE 40

Denseness II

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000.

W S R

  • NW (R)

15

slide-41
SLIDE 41

Denseness II

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000.

W S R

  • NW (R)

15

slide-42
SLIDE 42

Denseness II

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000.

W S R

  • NW (R)

15

slide-43
SLIDE 43

Denseness II

Theorem 1 Let k = ⌈2 log n⌉. A.a.s. G = (V , E) ∼ G(n, 1

2) is such that:

  • 1. V is ( k

50, Θ(n0.9))-dense; and

  • 2. For every (

k 10000, Θ(n0.9))-dense W ⊆ V there exists S ⊆ V ,

|S| √n s.t. for every R ⊆ V , with |R| k

50 and

| NW (R)| < Θ(n0.6) it holds that |R ∩ S|

k 10000.

W S R

  • NW (R)

15

slide-44
SLIDE 44

full paper

Thank you!

bonacina@cs.upc.edu

15

slide-45
SLIDE 45

Appendix

slide-46
SLIDE 46

Regular resolution ≡ Read-Once Branching Programs

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x x ∨ y y ∨ z z x ∨ ¬z ¬z ⊥

slide-47
SLIDE 47

Regular resolution ≡ Read-Once Branching Programs

x ∨ w ¬x ∨ z ¬y y ∨ ¬w ¬y ∨ ¬z ¬x c 1 z x 1 y 1 y 1 x 1 1

slide-48
SLIDE 48

Haken bottleneck counting idea

“Lemma 1” Every random path γ ∼ D in the ROBP passes through a bottleneck node. “Lemma 2” Given any bottleneck node b in the ROBP, Pr

γ∼D[b ∈ γ] n− Θ(k).

Then, it is trivial to conclude: 1 = Pr

γ∼D[∃b ∈ ROBP b bottleneck and b ∈ γ]

|ROBP| · max

b bottleneck in the ROBP

Pr

γ∼D[b ∈ γ]

|ROBP| · n− Θ(k)

slide-49
SLIDE 49

The random path

β(c) = max (partial) assignment contained in all paths from the source to c j ∈ [k] is forgotten at c if no sink reachable from c has label

  • v∈V xv,j

The random path γ

  • if j forgotten at c or

β(c) ∪ {xv,j = 1} falsifies a short clause of ΦG,k then continue with xv,j = 0

  • otherwise toss a coin and with prob. Θ(n−0.6)

continue with xv,j = 1

slide-50
SLIDE 50

The real bottleneck counting

V 0

j (a) = {v ∈ V : β(a)(xv,j) = 0}

Lemma 1 For every random path γ, there exists two nodes a, b in the ROBP s.t.

  • 1. γ touches a, sets ⌈ k

200⌉ variables to 1 and then touches b;

  • 2. there exists a j∗ ∈ [k] not-forgotten at b and such that

V 0

j∗(b) V 0 j∗(a) is ( k 10000, Θ(n0.9))-dense.

Lemma 2 For every pair of nodes (a, b) in the ROBP satisfying point (2) of Lemma 1, Pr

γ [γ touches a, sets

k 200

  • vars to 1 and then touches b] n− Θ(k)
slide-51
SLIDE 51

Proof sketch of Lemma 2

Let E=“γ touches a, sets ⌈k/200⌉ vars to 1 and then touches b” and let W = V 0

j∗(b) V 0 j∗(a)

Case 1: V 1(a) = {v ∈ V : ∃i ∈ [k] β(a)(xv,i) = 1} has large size ( k/20000). Then Pr[E] n−Θ(k) because of the prob. of 1s in the random path γ and a Markov chain argument. Case 2.1: V 1(a) is not large but many ( Θ(n0.6)) vertices in W are set to 0 by coin tosses. So Pr[E ∧ W has many coin tosses] n−Θ(k) again by a Markov chain argument as in Case 1. Case 2.2: V 1(a) is not large and not many vertices in W are set to 0 by coin tosses. Then many of the 1s set by the random path γ between a and b must belong to a set of size at most √n, by the new combinatorial property (2). So Pr[E ∧ W has not many coin tosses] n−Θ(k). ∼