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

Slides:



Advertisements
Similar presentations
Bart Jansen 1.  Problem definition  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least k leaves?
Advertisements

Counting the bits Analysis of Algorithms Will it run on a larger problem? When will it fail?
Bart Jansen, Utrecht University. 2  Max Leaf  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least.
Approximative Kernelization: On the Trade-off between Fidelity and Kernel Size joint with Michael Fellows and Frances Rosamond Charles Darwin University.
Bart Jansen, Utrecht University. 2  Max Leaf  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least.
The Theory of NP-Completeness
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
Theory of Computing Lecture 16 MAS 714 Hartmut Klauck.
Umans Complexity Theory Lectures Lecture 2a: Reductions & Completeness.
Approximation Algorithms Chapter 5: k-center. Overview n Main issue: Parametric pruning –Technique for approximation algorithms n 2-approx. algorithm.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
1 Polynomial Church-Turing thesis A decision problem can be solved in polynomial time by using a reasonable sequential model of computation if and only.
1 Polynomial Church-Turing thesis A decision problem can be solved in polynomial time by using a reasonable sequential model of computation if and only.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
1 Maximum matching Max Flow Shortest paths Min Cost Flow Linear Programming Mixed Integer Linear Programming Worst case polynomial time by Local Search.
The Theory of NP-Completeness
Analysis of Algorithms CS 477/677
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Time Complexity.
Chapter 11: Limitations of Algorithmic Power
Toward NP-Completeness: Introduction Almost all the algorithms we studies so far were bounded by some polynomial in the size of the input, so we call them.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
1 Slides by Asaf Shapira & Michael Lewin & Boaz Klartag & Oded Schwartz. Adapted from things beyond us.
Hardness Results for Problems
10/31/02CSE Greedy Algorithms CSE Algorithms Greedy Algorithms.
Data reduction lower bounds: Problems without polynomial kernels Hans L. Bodlaender Joint work with Downey, Fellows, Hermelin, Thomasse, Yeo.
10/31/02CSE Greedy Algorithms CSE Algorithms Greedy Algorithms.
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
Complexity Classes Kang Yu 1. NP NP : nondeterministic polynomial time NP-complete : 1.In NP (can be verified in polynomial time) 2.Every problem in NP.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Scott Perryman Jordan Williams.  NP-completeness is a class of unsolved decision problems in Computer Science.  A decision problem is a YES or NO answer.
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Closest String with Wildcards ( CSW ) Parameterized Complexity Analysis for the Closest String with Wildcards ( CSW ) Problem Danny Hermelin Liat Rozenberg.
The Complexity of Optimization Problems. Summary -Complexity of algorithms and problems -Complexity classes: P and NP -Reducibility -Karp reducibility.
Theory of Computing Lecture 17 MAS 714 Hartmut Klauck.
Prabhas Chongstitvatana1 NP-complete proofs The circuit satisfiability proof of NP- completeness relies on a direct proof that L  p CIRCUIT-SAT for every.
Cs3102: Theory of Computation Class 24: NP-Completeness Spring 2010 University of Virginia David Evans.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
Unit 9: Coping with NP-Completeness
Non-Approximability Results. Summary -Gap technique -Examples: MINIMUM GRAPH COLORING, MINIMUM TSP, MINIMUM BIN PACKING -The PCP theorem -Application:
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Computer Science Background for Biologists CSC 487/687 Computing for Bioinformatics Fall 2005.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
Chapter 15 P, NP, and Cook’s Theorem. 2 Computability Theory n Establishes whether decision problems are (only) theoretically decidable, i.e., decides.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Kernel Bounds for Path and Cycle Problems Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch September 8 th 2011, Saarbrucken.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Approximation algorithms
P & NP.
Optimization problems such as
Haim Kaplan and Uri Zwick
NP-Completeness Yin Tat Lee
Computability and Complexity
Analysis and design of algorithm
Chapter 11 Limitations of Algorithm Power
Prabhas Chongstitvatana
“(More) Consequences of Falsifying SETH
NP-Completeness Yin Tat Lee
Complexity Theory in Practice
Clustering.
Algorithms CSCI 235, Spring 2019 Lecture 36 P vs
Presentation transcript:

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

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

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…

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!

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

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

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

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 … …

Dynamic Programming Problems abbcad acdaabd = max{ T[i-1,j], T[i,j-1], match ✔ optimal substructure T[i,j] = abbcad a c d a a b d longest common subsequence (LCS): ✔ overlapping subproblems T[i,j]

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

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,...

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,

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,...

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,...

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:...

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

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

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

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

Proof Example: Preparations Proof: Thm:

Proof Example: Preparations Proof: Thm:

Proof Example: Clause Gadgets Proof: Thm:

Proof Example: Clause Gadgets Proof: Thm:

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

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

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!

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

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

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 a c d a a b d122234

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:

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

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

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

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

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

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, …