lower bounds based on seth

41
Fine-Grained Complexity and Algorithm Design Boot Camp Lower Bounds Based on SETH Dániel Marx (slides by Daniel Lokshtanov) Simons Ins;tute, Berkeley, CA September 4, 2015

Upload: others

Post on 07-May-2022

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lower Bounds Based on SETH

Fine-GrainedComplexityandAlgorithmDesignBootCamp

LowerBoundsBasedonSETH

DánielMarx(slidesbyDanielLokshtanov)

SimonsIns;tute,Berkeley,CA

September4,2015

Insert «Academic unit» on every page: 1 Go to the menu «Insert» 2 Choose: Date and time 3 Write the name of your faculty or department in the field «Footer» 4 Choose «Apply to all"

Page 2: Lower Bounds Based on SETH

Tightlowerbounds

HaveseenthatETHcangiveCghtlowerbounds

HowCght?ETH«ignores»constantsinexponent

HowtodisCnguish1.85nfrom1.0001

n?

Page 3: Lower Bounds Based on SETH

SAT

Input:Formula!withmclausesovernboolean

variables.

Ques;on:Doesthereexistanassignmenttothe

variablesthatsaCsfiesallclauses?

Note:Inputcanhavesizesuperpolynomialinn!

FastestalgorithmforSAT:2npoly(m)

Page 4: Lower Bounds Based on SETH

d-SAT

Hereallclauseshavesize≤d

Inputsize≤nd

Fastestalgorithmfor2-SAT: n+m

Fastestalgorithmfor3-SAT: 1.31n

Fastestalgorithmfor4-SAT: 1.47n

Fastestalgorithmford-SAT: 2↑(1− %⁄' )* FastestalgorithmforSAT: 2↑* 

Page 5: Lower Bounds Based on SETH

StrongETH

Let +↓' =inf{% :d-SAThasa2↑%* algorithm}

Know:0≤s

d≤ s↓∞ ≤1

ETH:s3>0 SETH: s↓∞ =1

Let +↓∞ = lim┬'→∞  +↓'  

Page 6: Lower Bounds Based on SETH

ShowingLowerBoundsunderSETH

YourProblem

Toofastalgorithm?

d-SAT

1.99999↑* 

Thenumberof9’sMUST

beindependentofd

Page 7: Lower Bounds Based on SETH

DominaCngSet

Input:nverCces,integerkQues;on:IsthereasetSofatmostkverCces

suchthatN[S]=V(G)?

Naive:nk+1

Smarter:nk+o(1)

AssumingETH:nof(k)no(k)

nk/10

?

nk-1?

Page 8: Lower Bounds Based on SETH

SATàk-DominaCngSet

Variables

SAT-formula

kgroups,eachon

n/kvariables.

Onevertexforeachofthe2n/k

assignmentstothevariables

inthegroup.

Page 9: Lower Bounds Based on SETH

x y

x yx y x y

x y

Variables

SAT-formula

kgroups,eachon

n/kvariables.

SelecCngonevertexfromeach

cloudcorrspondstoselecCng

anassignmenttothevariables.

Cliques

Page 10: Lower Bounds Based on SETH

x y

x yx y x y

x y

Variables

SAT-formula

kgroups,eachon

n/kvariables.

Onevertexperclauseintheformula

EdgeiftheparCalassignment

saCsfiestheclause

Page 11: Lower Bounds Based on SETH

SATàk-DominaCngSetanalysis

Toofastalgorithmfork-DominaCngSet:nk-0.01

Foranyfixedk(likek=3)

Theoutputgraphhas

k2n/k+m≤2k⋅2n/kverCces

Ifm≥2n/kthen2nisatmostmk,

whichispolynomial!

Som≤2n/k

( 22⋅2↑*/2 )↑2−0.01 

≤ (22)↑2 ⋅ 2↑*2−0.01/2  

=3( 1.999↑* )

Page 12: Lower Bounds Based on SETH

DominaCngSet,wrappingup

AO(n2.99

)algorithmfor3-DominaCngSet,or

aO(n3.99

)algorithmfor4-DominaCngSet,ora

aO(n4.99

)algorithmfor5-DominaCngSet,ora…

…wouldviolateSETH.

Page 13: Lower Bounds Based on SETH

Treewidth

•  Wehaveseen:2tnO(1)

,3tnO(1)

,etc.algorithmsandno

2o(t)nO(1)

algorithmsassumingETH.

Page 14: Lower Bounds Based on SETH

IndependentSet/Treewidth

Input:GraphG,integerk,tree-decomposiConof

Gofwidth≤t.

Ques;on:DoesGhaveanindependentsetofsizeatleastk?

DP:O(2tn)Cmealgorithm

Canwedoitin1.99tpoly(n)Cme?

Next:Ifyes,thenSETHfails!

Page 15: Lower Bounds Based on SETH

IndependentSet/Treewidth

Willreducen-variabled-SATtoIndependentSet

ingraphsoftreewidtht,wheret≤ n+d.

Soa1.99tpoly(N)algorithmforIndependentSet

givesa1.99n+d

poly(n)≤O(1.999n)Cmealgorithm

ford-SAT.

Page 16: Lower Bounds Based on SETH

IndependentSetsonanEvenPath

t f t f t f t f t f

True

False

Inindependentset:

NotinsoluCon:

first

True

then

False

Page 17: Lower Bounds Based on SETH

d-SAT≤IndependentSetproofbyexample

!=(a∨b∨c)∧(a∨c∨d)∧(b∨c∨d)=(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

Page 18: Lower Bounds Based on SETH

IndependentSets↔Assignments

!=(a∨b∨c)∧(a∨c∨d)∧(b∨c∨d)=(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

Butwhataboutthe

firsttruethenfalseindependentsets?

Page 19: Lower Bounds Based on SETH

Dealingwithtrueàfalse

a

b

c

d

Clause

gadgets

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

Everyvariableflipstrueàfalseatmostonce!

Page 20: Lower Bounds Based on SETH

TreewidthBoundbypicture

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

Formalproof-exercise

Page 21: Lower Bounds Based on SETH

IndependentSet/Treewidth

wrapup

Reducedn-variabled-SATtoIndependentSetin

graphsoftreewidtht,wheret≤ n+d.

A1.99tpoly(N)algorithmforIndependentSet

givesa1.99n+d

poly(n)≤O(1.999n)Cmealgorithm

ford-SAT.

Thus,no1.99talgorithmfor

IndependentSetassumingSETH

Page 22: Lower Bounds Based on SETH

AssumingSETH,thefollowingalgorithmsare

opCmal:

–  2t⋅poly(n)forIndependentSet–  3t⋅poly(n)forDominaCngSet

–  ct⋅poly(n)forc-Coloring–  3t⋅poly(n)forOddCycleTransversal–  2t⋅poly(n)forParCConIntoTriangles–  2t⋅poly(n)forMaxCut

–  2t⋅poly(n)for#PerfectMatching

– …

Page 23: Lower Bounds Based on SETH

3tlowerboundforDominaCngSet?

Needtoreducek-SATformulasonn-variablesto

DominaCngSetingraphsoftreewidtht,where

3↑4 ≈2↑* 

Sot≈*⁄log 3  ≈0.58*

Page 24: Lower Bounds Based on SETH

HiongSet/n

Input:FamilyF={S1,…,S

m}ofsetsoveruniverse

U={v1,…,v

n},integerk.

Ques;on:DoesthereexistasetX⊆Uofsizeat

mostksuchthatforeverySi∈F,S

i∩ X≠∅?

Naivealgorithmrunsin O(2↑n nm)Cme.

Next: 1.41↑n poly(n,m)impliesthatSETHfails

Page 25: Lower Bounds Based on SETH

d-SAT≤HiongSet

a

a 

!=(a∨b∨c)∧(a∨c∨d)∧(b∨c∨d)=(a∨b∨c)∧(a∨c∨d)∧(b∨c∨d)

b

b 

c

c 

d

d Budget=4

Page 26: Lower Bounds Based on SETH

d-SATvsHiongSet

AcnalgorithmforHiongSetmakesac

2n

algorithmford-SAT.

Since1.412n<1.9999

n,a1.41

nalgorithmfor

HiongSetviolatestheSETH.

Havea2n

algorithmanda1.41nlowerbound.

Next:2n

lowerbound

Page 27: Lower Bounds Based on SETH

HiongSet

Foranyfixedϵ>0,willreducek-SATwithnvariablestoHiongSetwithuniversewithat

most(1+5)nelements.)nelements.

Soa1.99nalgorithmforHiongSetgivesa

1.99n(1+5)≤1.999nCmealgorithmfork-SAT

)≤1.999nCmealgorithmfork-SAT

Page 28: Lower Bounds Based on SETH

Somedeepmath

Forevery5>0thereexistsanaturalnumberg

suchthat,fort= ⌊g(1+ϵ)⌋↓odd wehave:(4¦⌈4⁄2 ⌉ )≥ 2↑; 

Whyisthisrelevant?

Page 29: Lower Bounds Based on SETH

d-SAT≤HiongSet

Groupthevariablesintogroupsofsizeg,andset

t=⌊;(1+ϵ)⌋↓odd .Variables:

g gg g

g

t

t tt t

Elements≤(1+ϵ)⋅variables

Elements:

SoluConbudget⌈4⁄2 ⌉fromeachgroup

Willforce≥⌈4⁄2 ⌉fromeachgroup

àExactly⌈4⁄2 ⌉fromeachgroup

Page 30: Lower Bounds Based on SETH

Analyzingagroup

Groupofgvariables

Groupoftelements

2gassignmentstovariables

(4¦⌈4⁄2 ⌉ )subsetsofelementsofsize

exactly⌈4⁄2 ⌉.

InjecCon

Page 31: Lower Bounds Based on SETH

ForcingsoluCon⌈4⁄2 ⌉verCcesinagroup?

Addallsubsetsofthegroupofsize⌈4⁄2 ⌉tothefamilyF.

Anysetthatpickslessthan⌈4⁄2 ⌉elementsthegroupmissesaguard.

Anysetthatpicksatleast⌈4⁄2 ⌉elementsfrom

eachgrouphitsalltheguards

Letscallthesesetsguards

Page 32: Lower Bounds Based on SETH

Analyzingagroup

Groupofgvariables

Groupoftelements

assignmentstovariables

subsetsofelementsofsizeexactly⌈4⁄2 ⌉.

InjecCon

Whatabouttheelementsubsetsofsize⌈4⁄2 ⌉thatdonotcorrespondtoassignments?

Page 33: Lower Bounds Based on SETH

Setsofsize⌊4⁄2 ⌋Addingasetofsize⌊4⁄2 ⌋tothefamilyF

ensuresthatthe«groupcomplement»setisnot

picked.

Allothersetsofsize⌈4⁄2 ⌉inthegroupmaysCll

bepickedinsoluCon.

Forbidsetsofsize⌈4⁄2 ⌉thatdonotcorrespondtoassignments.

Page 34: Lower Bounds Based on SETH

d-SAT≤HiongSet

Variables:g g

g gg

t

t tt t

Elements:

potenCal

soluCons

assignments

Want:SoluCons↔SaCsfyingassignments

Page 35: Lower Bounds Based on SETH

ForbiddingparCalassignments

Pickanydgroupsofvariables,andconsider

someassignmenttothesevariables.

Ifthisassignmentfalsifies!wewanttoforbidthecorrespondingsetintheHiongSetinstance

frombeingselected.

Page 36: Lower Bounds Based on SETH

ForbiddingparCalassignments

Variables

Badassignment

SetaddedtoFtoforbidthebadassignment

Page 37: Lower Bounds Based on SETH

ForbiddingparCalassignments

Foreachbadassignmenttoatmostdgroups,

forbiditbyaddinga«badassignmentguard»

ThisaddsO(nd2gd)=O(n

d)setstoF.

Page 38: Lower Bounds Based on SETH

SaCsfyingAssignments↔HiongSets

AsaCsfyingassignmenthasnobad

sub-assignmentsàcorrespondstoahiongset.

Ahiongsetcorrespondstoanassignment.

IfthisassignmentfalsifiedaclauseC,the

assignmentwouldbebadforthe≤dgroupsC

livesin,andmissabadassignmentguard.

Page 39: Lower Bounds Based on SETH

HiongSetwrapup

Canreducenvariabled-SATton(1+ϵ)element

HiongSet.

SoacnalgorithmforHiongSetyieldsa(c+5)n)n

algorithmford-SAT.

A1.99nalgorithmforHiongSetwouldviolate

SETH.

Page 40: Lower Bounds Based on SETH

Conclusions

SETHcanbeusedtogiveveryCghtrunningCme

bounds.

SETHrecentlyhasbeenusedtogivelower

boundsforpolynomialCmesolvableproblems,

andforrunningCmeofapproximaCon

algorithms.

Page 41: Lower Bounds Based on SETH

ImportantOpenProblems

Canweshowa2nlowerboundforSetCover

assumingSETH?

Canweshowa1.00001lowerboundfor3-SAT

assumingSETH?