Presentation is loading. Please wait.

Presentation is loading. Please wait.

Conditional Lower Bounds for Dynamic Programming Problems Karl Bringmann Max Planck Institute for Informatics Saarbrücken, Germany.

Similar presentations


Presentation on theme: "Conditional Lower Bounds for Dynamic Programming Problems Karl Bringmann Max Planck Institute for Informatics Saarbrücken, Germany."— Presentation transcript:

1 Conditional Lower Bounds for Dynamic Programming Problems Karl Bringmann Max Planck Institute for Informatics Saarbrücken, Germany

2 42:00 ??:00 18:40 29:00 Conditional Lower Bounds (in P) Easy Proof Example Conclusion I. II. III. IV. 28:00 Beyond Conditional Lower Bounds

3 NP-hardness suppose we want to solve some problem we do not find any efficient algorithm prove NP-hardness! an efficient algorithm would show P=NP we may assume that no efficient algorithm exists relax the problem: should we search further? approximation algorithms, fixed parameter tractability, average case, heuristics…

4 What about polynomial time? suppose we want to solve another problem which barriers prevent subquadratic algorithms should we search for faster algorithms? this is polynomial time = efficient = easy ? ? find relations to other hard problems!

5 Strong Exponential Time Hypothesis a hard problem: SAT: Strong Exponential Time Hypothesis (SETH) ≈ [Impagliazzo, Paturi,Zane’01]

6 More hard problems 3SUM: compute the distance between any pair of vertices APSP: does it contain a triangle? Triangle:

7 Reductions = Relations transfer hardness of one problem to another one by reductions problem P’ time reduction instance I’ I is a ‘yes’-instanceI’ is a ‘yes’-instance problem P instance I

8 Reductions = Relations transfer hardness of one problem to another one by reductions problem P’ reduction instance I 1 problem P instance I instance I k … …

9 Dynamic Programming Problems abbcad acdaabd = max{ T[i-1,j], T[i,j-1], match ✔ optimal substructure T[i,j] = abbcad a111111 c111222 d111223 a111233 a111233 b122233 d122234 longest common subsequence (LCS): ✔ overlapping subproblems T[i,j]

10 Dynamic Programming Problems longest common subseq. [B.,Künnemann FOCS’15, Abboud,Backurs,V-Williams FOCS’15] edit distance, longest palindromic subsequence, Fréchet distance,... we can stop searching for faster algorithms! in this sense, conditional lower bounds replace NP-hardness if you believe in faster algorithms for these problems: start with SAT! improvements are at least as hard as a breakthrough for SAT

11 Dynamic Programming Problems bitonic TSP [de Berg,Buchin,Jansen,Woeginger’15+] longest common subseq. [B.,Künnemann FOCS’15, Abboud,Backurs,V-Williams FOCS’15] edit distance, longest palindromic subsequence, Fréchet distance,... longest increasing subsequence, matrix chain multiplication,...

12 Dynamic Programming Problems bitonic TSP [de Berg,Buchin,Jansen,Woeginger’15+] maximum submatrix [Kozma,V-Williams’15+] longest common subseq. [B.,Künnemann FOCS’15, Abboud,Backurs,V-Williams FOCS’15] edit distance, longest palindromic subsequence, Fréchet distance,... longest increasing subsequence, matrix chain multiplication,... -32-20 57 131 3-200

13 Dynamic Programming Problems bitonic TSP [de Berg,Buchin,Jansen,Woeginger’15+] maximum submatrix [Kozma,V-Williams’15+] CFG parsing [Abboud,Backurs,V-Williams FOCS’15][Valiant’74] longest common subseq. [B.,Künnemann FOCS’15, Abboud,Backurs,V-Williams FOCS’15] edit distance, longest palindromic subsequence, Fréchet distance,... longest increasing subsequence, matrix chain multiplication,...

14 Dynamic Programming Problems bitonic TSP [de Berg,Buchin,Jansen,Woeginger’15+] maximum submatrix [Kozma,V-Williams’15+] CFG parsing [Abboud,Backurs,V-Williams FOCS’15][Valiant’74] language edit distance [B.,Grandoni,Saha,V-Williams’16+] longest common subseq. [B.,Künnemann FOCS’15, Abboud,Backurs,V-Williams FOCS’15] edit distance, longest palindromic subsequence, Fréchet distance,... longest increasing subsequence, matrix chain multiplication,...

15 Dynamic Programming Problems bitonic TSP [de Berg,Buchin,Jansen,Woeginger’15+] maximum submatrix [Kozma,V-Williams’15+] CFG parsing [Abboud,Backurs,V-Williams FOCS’15][Valiant’74] language edit distance [B.,Grandoni,Saha,V-Williams’16+] longest common subseq. [B.,Künnemann FOCS’15, Abboud,Backurs,V-Williams FOCS’15] edit distance, longest palindromic subsequence, Fréchet distance,... longest increasing subsequence, matrix chain multiplication,... Open:...

16 Complexity Inside P SATEDITLCSFréchetdiameterOVCollinearityNegative TriangleRadius 3SUM-hard APSP equivalent SETH-hard classification of polynomial time problems APSP Triangle-hard 3SUM

17 Conditional Lower Bounds (in P) Easy Proof Example Conclusion I. II. III. IV. Beyond Conditional Lower Bounds

18 Proof Example: NFA Acceptance start T[0] := {starting state}

19 Proof Example: NFA Acceptance start for simplicity we assume: Thm: [Impagliazzo]

20 Proof Example: Preparations Proof: Thm:

21 Proof Example: Preparations Proof: Thm:

22 Proof Example: Clause Gadgets Proof: Thm:

23 Proof Example: Clause Gadgets Proof: Thm:

24 Proof Example: Complete Construction start … … ✔ equivalent to SAT instance

25 Conditional Lower Bounds (in P) Easy Proof Example Beyond Conditional Lower Bounds Conclusion I. II. III. IV.

26 Hardness Motivates New Algorithms Are conditional lower bounds purely negative results? No! lower bounds motivate relaxing the goal: approximation algorithms: in subquadratic time! “parameterized complexity”: multi-variate analysis (average case / smoothed analysis) thus conditional lower bounds motivate new algorithms!

27 Approximation Algorithms [Andoni,Krauthgamer,Onak FOCS’10] Is this the best possible approximation factor? Thm: we know: ?

28 Approximation for Fréchet Distance [B.,Mulzer SoCG‘15] Thm: [B.,Mulzer SoCG‘15] Thm: open problem: close this gap! [B. FOCS‘14] Thm:

29 Multi-variate Runtime Analysis.. number of dominant pairs longest common subsequence has been studied w.r.t many parameters:.. length of longer string.. length of shorter string.. length of LCS.. number of matching pairs abbcad a111111 c111222 d111223 a111233 a111233 b122233 d122234

30 Known Algorithms [Hunt,Szymanski’77] Is this optimal? [Hirschberg’77] [Apostolico’86] [Wu,Manber,Myers,Miller’90] [Wagner,Fischer’74] logfactor improvements: [Masek,Paterson’80], [Apostolico,Guerra’87], [Eppstein,Galil,Giancarlo, Italiano’92], [Bille,Farach-Colton’08], [Iliopoulos,Rahman’09] Best algorithm:

31 Parameter Setting let etc. We have to understand the interdependencies of parameters first!

32 Parameter Relations This list is complete. for any target values satisfying these inequalities, etc. values up to constant factors, i.e.,

33 Results Thm: unless SETH fails, any algorithm takes time at least Best algorithm: [B.,Künnemann’16+] a parameter setting is nontrivial if it contains infinitely many instances iff the target values satisfy our parameter relations (for ) we also have tight bounds for any constant alphabet size

34 Conditional Lower Bounds (in P) Easy Proof Example Beyond Conditional Lower Bounds Conclusion I. II. III. IV.

35 Conditional Lower Bounds … … allow to classify polynomial time problems 3SUMSATEDITLCSFréchetdiameterOVCollinearityNegative TriangleRadiusAPSP

36 Conditional Lower Bounds … … allow to classify polynomial time problems … replace NP-hardness yield good reasons to stop searching for faster algorithms should belong to the basic toolbox of theoretical computer scientists … allow to search for new algorithms with better focus improve SAT before EDIT/LCS/Fréchet/… non-matching lower bounds suggest better algorithms relax the problem and study approximation algorithms, … motivate new algorithms parameterized running time, …


Download ppt "Conditional Lower Bounds for Dynamic Programming Problems Karl Bringmann Max Planck Institute for Informatics Saarbrücken, Germany."

Similar presentations


Ads by Google