• Nem Talált Eredményt

Dániel Marx(slides by Daniel Lokshtanov)Tel Aviv, IsraelDecember 4, 2017

N/A
N/A
Protected

Academic year: 2022

Ossza meg "Dániel Marx(slides by Daniel Lokshtanov)Tel Aviv, IsraelDecember 4, 2017"

Copied!
56
0
0

Teljes szövegt

(1)

Recent Advances in Parameterized Complexity

The Strong Exponential-Time Hypothesis

Dániel Marx

(slides by Daniel Lokshtanov) Tel Aviv, Israel

December 4, 2017

(2)

Tight lower bounds

Have seen that ETH can give tight lower bounds How tight? ETH «ignores» constants in exponent How to distinguish 1.85n from 1.0001n?

(3)

SAT

Input: Formula with m clauses over n boolean variables.

Question: Does there exist an assignment to the variables that satisfies all clauses?

Note: Input can have size superpolynomial in n!

Fastest algorithm for SAT: 2npoly(m)

(4)

d-SAT

Here all clauses have size d Input size nd

Fastest algorithm for 2-SAT: n+m Fastest algorithm for 3-SAT: 1.31n Fastest algorithm for 4-SAT: 1.47n

Fastest algorithm for d-SAT:

Fastest algorithm for SAT:

(5)

Strong ETH

Let d-SAT has a algorithm

Know: 0 d 1

ETH: s

3

0 SETH: 1

Let

(6)

Showing Lower Bounds under SETH

Your Problem

Too fast algorithm?

d-SAT

1.99999

The number of 9’s MUST be independent of d

(7)

Dominating Set

Input: n vertices, integer k

Question: Is there a set S of at most k vertices such that N[S] = V(G)?

Naive: nk+1

Smarter: nk+o(1)

Assuming ETH: no f(k)no(k)

n

k/10

?

n

k-1

?

(8)

SAT  k-Dominating Set

Variables

SAT-formula

k groups, each on n/k variables.

One vertex for each of the 2n/k assignments to the variables in the group.

(9)

Variables SAT-formula

k groups, each on n/k variables.

Selecting one vertex from each cloud corrsponds to selecting an assignment to the variables.

Cliques Cliques

(10)

Variables SAT-formula

k groups, each on n/k variables.

One vertex per clause in the formula

Edge if the partial assignment satisfies the clause

(11)

SAT  k-Dominating Set

analysis

Too fast algorithm for k-Dominating Set: nk-0.01

For any fixed k (like k=3)

The output graph has k2n/k + m 2k 2n/k vertices If m 2n/k then 2n is at most mk,

which is polynomial!

So m

(2 )2� �

0.01

¿ (1.999

)

(12)

Dominating Set, wrapping up

A O(n2.99) algorithm for 3-Dominating Set, or a O(n3.99) algorithm for 4-Dominating Set, or a a O(n4.99) algorithm for 5-Dominating Set, or a …

… would violate SETH.

(13)

Independent Set / Treewidth

Input: Graph G, integer k, tree-decomposition of G of width t.

Question: Does G have an independent set of size at least k?

DP: O(2

t

n) time algorithm

Can we do it in 1.99t poly(n) time?

Next: If yes, then SETH fails!

(14)

Independent Set / Treewidth

Will reduce n-variable d-SAT to Independent Set in graphs of treewidth t, where t n+d.

So a 1.99tpoly(N) algorithm for Independent Set gives a 1.99n+dpoly(n) O(1.999n) time algorithm for d-SAT.

(15)

Independent Sets on an Even Path

t f t f t f t f t f

True False

In independent set:

Not in solution:

In independent set:

Not in solution:

first

True

then

False

(16)

d-SAT Independent Set

proof by example

= (a b c) (a c d) (b c d)

t f t f t f

t f t f t f

t f t f t f

t f t f t f

a b c d

a c

b

a d

c

b d

c

(17)

Independent Sets Assignments

= (a b c) (a c d) (b c d)

t f t f t f

t f t f t f

t f t f t f

t f t f t f

a b c d

a c

b

a d

c

b d

c

True

True False

False

But what about the

first true then false independent sets?

But what about the

first true then false independent sets?

(18)

Dealing with true  false

a b c d

Clause

gadgets

1 2 3 1 2 3 1 2 3 1 2 3 1 2 3

Every variable flips truefalse at most once!

(19)

Treewidth Bound

by picture

t f t f t f

t f t f t f

t f t f t f

t f t f t f

a b c d

a c

b

a d

c

b d

c

n d

Formal proof - exercise

(20)

Independent Set / Treewidth

wrap up

Reduced n-variable d-SAT to Independent Set in graphs of treewidth t, where t n+d.

A 1.99tpoly(N) algorithm for Independent Set

gives a 1.99n+dpoly(n) O(1.999n) time algorithm for d-SAT.

Thus, no 1.99t algorithm for

Independent Set assuming

SETH

(21)

Assuming SETH, the following algorithms are optimal:

2t poly(n) for Independent Set 3t poly(n) for Dominating Set ct poly(n) for c-Coloring

3t poly(n) for Odd Cycle Transversal 2t poly(n) for Partition Into Triangles 2t poly(n) for Max Cut

(22)

3

t

lower bound for Dominating Set?

Need to reduce k-SAT formulas on n-variables to Dominating Set in graphs of treewidth t, where

3

2

So

(23)

Conclusions

SETH can be used to give very tight running time bounds.

SETH recently has been used to give lower

bounds for polynomial time solvable problems, and for running time of approximation

algorithms.

(24)

Hitting Set / n

Input: Family F = {S1,…,Sm} of sets over universe U = {v1, …, vn}, integer k.

Question: Does there exist a set X U of size at most k such that for every Si F, Si X ?

Naive algorithm runs in time.

Next: implies that SETH fails

(25)

d-SAT Hitting Set

a a ´

= (a b c) (a c d) (b c d)

b

b´

c c ´

d

d´

Budget = 4

(26)

d-SAT vs Hitting Set

A cn algorithm for Hitting Set makes a c2n algorithm for d-SAT.

Since 1.412n < 1.9999n, a 1.41n algorithm for Hitting Set violates the SETH.

Have a

2 n

algorithm and a 1.41n lower bound.

Next:

2 n

lower bound

(27)

Hitting Set

For any fixed , will reduce k-SAT with n variables to Hitting Set with universe with at most (1+)n elements.

So a 1.99n algorithm for Hitting Set gives a 1.99n(1+) 1.999n time algorithm for k-SAT

(28)

Some deep math

For every there exists a natural number g such that, for t = we have:

(

⌈ �2

)

2

Why is this relevant?

(29)

d-SAT Hitting Set

Group the variables into groups of size g, and set t =.

Variables: g g g g g

t t t t t

Elements (1 + ) variables Elements:

Solution budget from each group Will force from each group

Exactly from each group

Solution budget from each group Will force from each group

Exactly from each group

(30)

Analyzing a group

Group of g variables

Group of t elements

2g assignments to variables

subsets of elements of size exactly .

Injection

(31)

Forcing solution vertices in a group?

Add all subsets of the group of size to the family F.

Any set that picks less than

elements the group misses a guard.

Any set that picks at least elements from each group hits all the guards

Lets call these sets guards

(32)

Analyzing a group

Group of g variables

Group of t elements

assignments to variables

subsets of elements of size exactly . Injection

What about the element subsets of size that do not correspond to assignments?

(33)

Sets of size

Adding a set of size to the family F ensures that the «group complement» set is not picked.

All other sets of size in the group may still be picked in solution.

Forbid sets of size that do not correspond to assignments.

(34)

d-SAT Hitting Set

Variables: g g g g g

t t t t t

Elements:

potential solutions

assignments

Want:

Solutions Satisfying assignments

(35)

Forbidding partial assignments

Pick any d groups of variables, and consider some assignment to these variables.

If this assignment falsifies we want to forbid the corresponding set in the Hitting Set instance

from being selected.

(36)

Forbidding partial assignments

Variables

Bad assignment

Set added to F to forbid the bad assignment

(37)

Forbidding partial assignments

For each bad assignment to at most d groups, forbid it by adding a «bad assignment guard»

This adds O(nd2gd) = O(nd) sets to F.

(38)

Satisfying Assignments Hitting Sets

A satisfying assignment has no bad

sub-assignments  corresponds to a hitting set.

A hitting set corresponds to an assignment.

If this assignment falsified a clause C, the

assignment would be bad for the d groups C lives in, and miss a bad assignment guard.

(39)

Hitting Set wrap up

Can reduce n variable d-SAT to n(1+) element Hitting Set.

So a cn algorithm for Hitting Set yields a (c+)n algorithm for d-SAT.

A 1.99n algorithm for Hitting Set would violate SETH.

(40)

Hitting Set / n

Input: Family F = {S1,…,Sm} of sets over universe U = {v1, …, vn}, integer k.

Question: Does there exist a set X U of size at most k such that for every Si F, Si X ?

Naive algorithm runs in time.

Next: implies that SETH fails

(41)

d-SAT Hitting Set

a a ´

= (a b c) (a c d) (b c d)

b

b´

c c ´

d

d´

Budget = 4

(42)

d-SAT vs Hitting Set

A cn algorithm for Hitting Set makes a c2n algorithm for d-SAT.

Since 1.412n < 1.9999n, a 1.41n algorithm for Hitting Set violates the SETH.

Have a

2 n

algorithm and a 1.41n lower bound.

Next:

2 n

lower bound

(43)

Hitting Set

For any fixed , will reduce k-SAT with n variables to Hitting Set with universe with at most (1+)n elements.

So a 1.99n algorithm for Hitting Set gives a 1.99n(1+) 1.999n time algorithm for k-SAT

(44)

Some deep math

For every there exists a natural number g such that, for t = we have:

(

⌈ �2

)

2

Why is this relevant?

(45)

d-SAT Hitting Set

Group the variables into groups of size g, and set t =.

Variables: g g g g g

t t t t t

Elements (1 + ) variables Elements:

Solution budget from each group Will force from each group

Exactly from each group

Solution budget from each group Will force from each group

Exactly from each group

(46)

Analyzing a group

Group of g variables

Group of t elements

2g assignments to variables

subsets of elements of size exactly .

Injection

(47)

Forcing solution vertices in a group?

Add all subsets of the group of size to the family F.

Any set that picks less than

elements the group misses a guard.

Any set that picks at least elements from each group hits all the guards

Lets call these sets guards

(48)

Analyzing a group

Group of g variables

Group of t elements

assignments to variables

subsets of elements of size exactly . Injection

What about the element subsets of size that do not correspond to assignments?

(49)

Sets of size

Adding a set of size to the family F ensures that the «group complement» set is not picked.

All other sets of size in the group may still be picked in solution.

Forbid sets of size that do not correspond to assignments.

(50)

d-SAT Hitting Set

Variables: g g g g g

t t t t t

Elements:

potential solutions

assignments

Want:

Solutions Satisfying assignments

(51)

Forbidding partial assignments

Pick any d groups of variables, and consider some assignment to these variables.

If this assignment falsifies we want to forbid the corresponding set in the Hitting Set instance

from being selected.

(52)

Forbidding partial assignments

Variables

Bad assignment

Set added to F to forbid the bad assignment

(53)

Forbidding partial assignments

For each bad assignment to at most d groups, forbid it by adding a «bad assignment guard»

This adds O(nd2gd) = O(nd) sets to F.

(54)

Satisfying Assignments Hitting Sets

A satisfying assignment has no bad

sub-assignments  corresponds to a hitting set.

A hitting set corresponds to an assignment.

If this assignment falsified a clause C, the

assignment would be bad for the d groups C lives in, and miss a bad assignment guard.

(55)

Hitting Set wrap up

Can reduce n variable d-SAT to n(1+) element Hitting Set.

So a cn algorithm for Hitting Set yields a (c+)n algorithm for d-SAT.

A 1.99n algorithm for Hitting Set would violate SETH.

(56)

Important Open Problems

Can we show a 2n lower bound for Set Cover assuming SETH?

Can we show a 1.00001 lower bound for 3-SAT assuming SETH?

Hivatkozások

KAPCSOLÓDÓ DOKUMENTUMOK

We construct variable jobs corresponding to variables, clause jobs corresponding to clauses, truth-assignment jobs corresponding to the truth assignment of the SAT instance.. Such

The normal product of two graphs is de- ned on set of pairs formed by the vertex set of the two base graphs, and we con- nect two pairs if the corresponding ele- ments are equal or

The claim follows because we can de- termine the parity of the number of hitting sets of size at most t in the set system F ϕ,p by running the best algorithm for the

In this work, we are attempting to expand the set of used acoustic parameters that could be helpful in the automatic classification of children with healthy voices from those with

• It is a good model if we want to know how the market price of cars changes if the income of the people changes.. • This model is not suitable if we want to know why does the

• This model is not suitable if we want to know why does the income change... The elasticity

If we use integration to compute the average distance of a point from a given (focal).. set in the plane, then the curves all of whose points have the same average distance from

Another results connected with Fermat’s equation in the set of matrices are described by Ribenboim in [5].. Important problem in these investigations is to give a necessary and