Fixed Parameter Algorithms

Similar documents
W[1]-hardness. Dániel Marx. Recent Advances in Parameterized Complexity Tel Aviv, Israel, December 3, 2017

W[1]-hardness. Dániel Marx 1. Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary

Parameterized Reductions

Parameterized Complexity - an Overview

Exact Algorithms Lecture 7: FPT Hardness and the ETH

The Square Root Phenomenon in Planar Graphs

NP-Hardness. We start by defining types of problem, and then move on to defining the polynomial-time reductions.

NP-Completeness. Algorithms

Recent Advances in FPT and Exact Algorithms for NP-Complete Problems

Parameterized graph separation problems

Introduction to Parameterized Complexity

Fixed-Parameter Algorithms, IA166

Computability Theory

Common Induced Subgraph Isomorphism Structural Parameterizations and Exact Algorithms

Hardness of Subgraph and Supergraph Problems in c-tournaments

Hardness of r-dominating set on graphs of diameter (r + 1)

FEDOR V. FOMIN. Lectures on treewidth. The Parameterized Complexity Summer School 1-3 September 2017 Vienna, Austria

Vertex Cover is Fixed-Parameter Tractable

P and NP (Millenium problem)

Copyright 2000, Kevin Wayne 1

Umans Complexity Theory Lectures

Fixed-parameter tractable canonization and isomorphism test for graphs of bounded treewidth

Minimizing Movement: Fixed-Parameter Tractability

4.1 Review - the DPLL procedure

Treewidth and graph minors

Some Hardness Proofs

Complexity of clique coloring and related problems

Chordal deletion is fixed-parameter tractable

The Dominating Set Problem in Intersection Graphs

Exercises Computational Complexity

Chordal deletion is fixed-parameter tractable

Important separators and parameterized algorithms

NP-Complete Reductions 2

Paths, Flowers and Vertex Cover

Multicut is FPT. Lyon Cedex 07, France

Best known solution time is Ω(V!) Check every permutation of vertices to see if there is a graph edge between adjacent vertices

KERNELIZATION. Polynomial time preprocessing - data reduction

The Satisfiability Problem [HMU06,Chp.10b] Satisfiability (SAT) Problem Cook s Theorem: An NP-Complete Problem Restricted SAT: CSAT, k-sat, 3SAT

W4231: Analysis of Algorithms

Kernelization Upper Bounds for Parameterized Graph Coloring Problems

Complexity of unique list colorability

Fixed-Parameter Algorithms

Communication Complexity and Parallel Computing

The strong chromatic number of a graph

Preventing Unraveling in Social Networks: The Anchored k-core Problem

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Algorithms For Inference Fall 2014

Important separators and parameterized algorithms

Minimum sum multicoloring on the edges of trees

Paths, Flowers and Vertex Cover

On Structural Parameterizations of the Matching Cut Problem

A Minimizing Movement: Fixed-Parameter Tractability 1

Preprocessing for treewidth

arxiv: v1 [cs.db] 23 May 2016

arxiv: v1 [cs.ds] 7 Jul 2017

Solving Dominating Set in Larger Classes of Graphs: FPT Algorithms and Polynomial Kernels

In this lecture we discuss the complexity of approximation problems, and show how to prove they are NP-hard.

On Hardness of Approximating the Parameterized Clique Problem

Decision Problems. Observation: Many polynomial algorithms. Questions: Can we solve all problems in polynomial time? Answer: No, absolutely not.

Treewidth: Preprocessing and Kernelization

arxiv: v1 [cs.ds] 7 Apr 2018

Recitation 4: Elimination algorithm, reconstituted graph, triangulation

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18

Fixed-Parameter Algorithm for 2-CNF Deletion Problem

On the Complexity of k-sat

The Robust Set problem: parameterized complexity and approximation

Connecting face hitting sets in planar graphs

Complexity results for Minimum Sum Edge Coloring

NP-complete Reductions

arxiv: v1 [cs.ds] 19 Feb 2014

An exact characterization of tractable demand patterns for maximum disjoint path problems

CSE 417 Branch & Bound (pt 4) Branch & Bound

Example of a Demonstration that a Problem is NP-Complete by reduction from CNF-SAT

Reductions. Linear Time Reductions. Desiderata. Reduction. Desiderata. Classify problems according to their computational requirements.

Complexity Results on Graphs with Few Cliques

Parameterized Approximation Schemes Using Graph Widths. Michael Lampis Research Institute for Mathematical Sciences Kyoto University

Lecture 6: Arithmetic and Threshold Circuits

Parameterized Complexity of Eulerian Deletion Problems

Logic in Algorithmic Graph Structure Theory

Necessary edges in k-chordalizations of graphs

Lossy Kernelization. Daniel Lokshtanov 1 Fahad Panolan 2 M. S. Ramanujan 3 Saket Saurabh 1,2. Simon Institute, November 5th, 2015.

Optimal parameterized algorithms for planar facility location problems using Voronoi diagrams

Genus Characterizes the Complexity of Certain Graph Problems: Some Tight Results

Matching Algorithms. Proof. If a bipartite graph has a perfect matching, then it is easy to see that the right hand side is a necessary condition.

Bipartite Roots of Graphs

Packing Edge-Disjoint Triangles in Given Graphs

NP and computational intractability. Kleinberg and Tardos, chapter 8

Graph Editing to a Given Degree Sequence,

Parameterized Complexity of Finding Subgraphs with Hereditary Properties

arxiv: v3 [cs.ds] 26 Sep 2013

CS 151 Complexity Theory Spring Final Solutions. L i NL i NC 2i P.

8 Colouring Planar Graphs

Solutions for the Exam 6 January 2014

Theorem 2.9: nearest addition algorithm

9. Parameter Treewidth

Parameterized Complexity of Independence and Domination on Geometric Graphs

Chapter 8. NP-complete problems

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14

Introduction to Algorithms

Eulerian disjoint paths problem in grid graphs is NP-complete

Faster parameterized algorithm for Cluster Vertex Deletion

Transcription:

Fixed Parameter Algorithms Dániel Marx Tel Aviv University, Israel Open lectures for PhD students in computer science January 9, 2010, Warsaw, Poland Fixed Parameter Algorithms p.1/41

Parameterized complexity Parameterized problem: a parameter k is associated with each input instance. A parameterized problem is fixed-parameter tractable (FPT) if it can be solved in time f (k) n c for some function f depending only on k and constant c not depending on k. For some important parameterized problems, for example k-clique and k-independent SET, no FPT algorithm is known. Can we show that these problems are not FPT? This would require to show that P NP: if P = NP, then k-clique is polynomial-time solvable, hence FPT. Can we give some evidence that certain problems are not FPT? Fixed Parameter Algorithms p.2/41

Classical complexity Nondeterministic Turing Machine (NTM): single tape, finite alphabet, finite state, head can move left/right only one cell. In each step, the machine can branch into an arbitrary number of directions. Run is successful if at least one branch is successful. NP: The class of all languages that can be recognized by a polynomial-time NTM. Polynomial-time reduction from problem P to problem Q: a function φ with the following properties: φ(x) can be computed in time x O(1), φ(x) is a yes-instance of Q if and only if x is a yes-instance of P. Definition: Problem Q is NP-hard if any problem in NP can be reduced to Q. If an NP-hard problem can be solved in polynomial time, then every problem in NP can be solved in polynomial time (i.e., P = NP). Fixed Parameter Algorithms p.3/41

Part I: Reductions and the W-hierarchy Fixed Parameter Algorithms p.4/41

Parameterized complexity To build a complexity theory for parameterized problems, we need two things: An appropriate notion of reduction. An appropriate hypothesis. Polynomial-time reduction is not good for our purposes. Example: Graph G has an independent set k if and only if it has a vertex cover of size n k. Transforming an INDEPENDENT SET instance (G, k) into a VERTEX COVER instance (G, n k) is a correct polynomial-time reduction. However, VERTEX COVER is FPT, but INDEPENDENT SET is not known to be FPT. Fixed Parameter Algorithms p.5/41

Parameterized reduction Parameterized reduction from problem P to problem Q: a function φ with the following properties: φ(x) can be computed in time f (k) x O(1), where k is the parameter of x, φ(x) is a yes-instance of Q if and only if x is a yes-instance of P. If k is the parameter of x and k is the parameter of φ(x), then k g(k) for some function g. Fact: If there is a parameterized reduction from problem P to problem Q and Q is FPT, then P is also FPT. Example: Transforming an INDEPENDENT SET instance (G, k) into a VERTEX COVER instance (G, n k) is not a parameterized reduction. Example: Transforming an INDEPENDENT SET instance (G, k) into a CLIQUE instance (G, k) is a parameterized reduction. Fixed Parameter Algorithms p.6/41

A reduction Fact: There is a parameterized reduction from INDEPENDENT SET to DOMINATING SET. Proof: Let G be a graph with n vertices, m edges, and let k be an integer. We construct a graph H such that G has an independent set of size k if and only if H has a dominating set of size k. The dominating set has to contain one vertex from each of the k cliques. Additional vertices ensure that these selections describe an independent set. (See the blackboard.) Fixed Parameter Algorithms p.7/41

Basic hypotheses Parameterized complexity theory cannot be built on assuming P NP we have to assume something stronger. Let us choose a basic hypothesis: Engineers Hypothesis: k-clique cannot be solved in time f (k) n O(1). Theorists Hypothesis: k-step HALTING PROBLEM (is there a branch of the given NTM that stops in k steps?) cannot be solved in time f (k) n O(1). Exponential Time Hypothesis (ETH): n-variable 3SAT cannot be solved in time 2 o(n). Which hypothesis is the most plausible? Fixed Parameter Algorithms p.8/41

Basic hypotheses Parameterized complexity theory cannot be built on assuming P NP we have to assume something stronger. Let us choose a basic hypothesis: Engineers Hypothesis: k-clique cannot be solved in time f (k) n O(1). Theorists Hypothesis: k-step HALTING PROBLEM (is there a branch of the given NTM that stops in k steps?) cannot be solved in time f (k) n O(1). Exponential Time Hypothesis (ETH): n-variable 3SAT cannot be solved in time 2 o(n). Which hypothesis is the most plausible? Fixed Parameter Algorithms p.8/41

INDEPENDENT SET and k-step HALTING PROBLEM Fact: There is a parameterized reduction from INDEPENDENT SET to the k-step HALTING PROBLEM. Proof: Given a graph G and an integer k, we construct a Turing machine M and an integer k = O(k 2 ) such that M halts in k steps if and only if G has an independent set of size k. The alphabet of M is the vertices of G. In the first k steps, M nondeterministically writes k vertices to the first k cells. For every 1 i k, M moves to the i-th cell, stores the vertex in the internal state, and goes through the tape to check that every other vertex is nonadjacent with the i-th vertex (otherwise M loops). M does k checks and each check can be done in 2k steps k = O(k 2 ). (See the blackboard.) Fixed Parameter Algorithms p.9/41

INDEPENDENT SET and k-step HALTING PROBLEM Fact: There is a parameterized reduction from the k-step HALTING PROBLEM to INDEPENDENT SET. Proof: Given a Turing machine M and an integer k, we construct a graph G that has an independent set of size k := k 2 if and only if M halts in k steps. G consists of k 2 cliques, thus a k -independent set has to contain one vertex from each. The selected vertex from clique K i,j describes what happens in Step i at cell j: what is written there, is the head there, and if so, what is the state. We add edges between the cliques to rule out inconsistencies: head is at more than one location at the same time, wrong character is written, head moves in the wrong direction etc. (See the blackboard.) Fixed Parameter Algorithms p.10/41

Summary INDEPENDENT SET and k-step HALTING PROBLEM can be reduced to each other Engineers Hypothesis and Theorists Hypothesis are equivalent! INDEPENDENT SET and k-step HALTING PROBLEM can be reduced to DOMINATING SET. Is there a parameterized reduction from DOMINATING SET to INDEPENDENT SET? Probably not. Unlike in NP-completeness, where most problems are equivalent, here we have a hierarchy of hard problems. Does not matter if we only care about whether a problem is FPT or not! Fixed Parameter Algorithms p.11/41

Boolean circuit A Boolean circuit consists of input gates, negation gates, AND gates, OR gates, and a single output gate. x 2 x 4 x 1 x 3 x 6 x 7 CIRCUIT SATISFIABILITY: Given a Boolean circuit C, decide if there is an assignment on the inputs of C such that the output is true. WEIGHTED CIRCUIT SATISFIABILITY: Given a Boolean circuit C and an integer k, decide if there is an assignment of weight k such that the output is true. Weight of an assignment: number of true values. Fixed Parameter Algorithms p.12/41

WEIGHTED CIRCUIT SATISFIABILITY INDEPENDENT SET can be reduced to WEIGHTED CIRCUIT SATISFIABILITY: x 1 x 2 x 3 x 4 x 6 x 7 DOMINATING SET can be reduced to WEIGHTED CIRCUIT SATISFIABILITY: x 1 x 2 x 3 x 4 x 6 x 7 Fixed Parameter Algorithms p.13/41

WEIGHTED CIRCUIT SATISFIABILITY INDEPENDENT SET can be reduced to WEIGHTED CIRCUIT SATISFIABILITY: x 1 x 2 x 3 x 4 x 6 x 7 DOMINATING SET can be reduced to WEIGHTED CIRCUIT SATISFIABILITY: x 1 x 2 x 3 x 4 x 6 x 7 To express DOMINATING SET, we need more complicated circuits. Fixed Parameter Algorithms p.13/41

Depth and weft The depth of a circuit is the maximum length of a path from an input to the output. A gate is large if it has more than 2 inputs. The weft of a circuit is the maximum number of large gates on a path from an input to the output. INDEPENDENT SET: weft 1, depth 3 x 1 x 2 x 3 x 4 x 6 x 7 DOMINATING SET: weft 2, depth 2 x 1 x 2 x 3 x 4 x 6 x 7 Fixed Parameter Algorithms p.14/41

The W-hierarchy Let C[t, d] be the set of all circuits having weft at most t and depth at most d. Definition: A problem P is in the class W[t] if there is a constant d and a parameterized reduction from P to WEIGHTED CIRCUIT SATISFIABILITY of C[t, d]. We have seen that INDEPENDENT SET is in W[1] and DOMINATING SET is in W[2]. Fact: INDEPENDENT SET is in W[1]-complete. Fact: DOMINATING SET is in W[2]-complete. If any W[1]-complete problem is FPT, then FPT = W[1] and every problem in W[1] is FPT. If any W[2]-complete problem is in W[1], then W[1] = W[2]. If there is a parameterized reduction from DOMINATING SET to INDEPENDENT SET, then W[1] = W[2]. Fixed Parameter Algorithms p.15/41

MULTICOLORED CLIQUE A useful variant of CLIQUE: MULTICOLORED CLIQUE: The vertices of the input graph G are colored with k colors and we have to find a clique containing one vertex from each color. Fact: MULTICOLORED CLIQUE is W[1]-hard. Proof by reduction from CLIQUE (see blackboard). Fixed Parameter Algorithms p.16/41

LIST COLORING LIST COLORING is a generalization of ordinary vertex coloring: given a graph G, a set of colors C, and a list L(v) C for each vertex v, the task is to find a coloring c where c(v) L(v) for every v. Fact: VERTEX COLORING is FPT parameterized by treewidth. However, list coloring is more difficult: Fact: LIST COLORING is W[1]-hard parameterized by treewidth. Fixed Parameter Algorithms p.17/41

LIST COLORING Fact: LIST COLORING is W[1]-hard parameterized by treewidth. Proof: By reduction from MULTICOLORED CLIQUE. Let G be a graph with color classes V 1,..., V k. In the LIST COLORING instance, the set C of colors is the set of vertices of G. The colors of vertices u 1,..., u k select the k vertices of the clique, hence we set L(u i ) = V i. If x V i and y V j are not adjacent in G, then we need to ensure that c(u i ) = x and c(u j ) = y are not true at the same time we add a vertex adjacent to u i and u j whose list is {x, y}. Fixed Parameter Algorithms p.18/41

LIST COLORING Fact: LIST COLORING is W[1]-hard parameterized by treewidth. Proof: By reduction from MULTICOLORED CLIQUE. Let G be a graph with color classes V 1,..., V k. In the LIST COLORING instance, the set C of colors is the set of vertices of G. The colors of vertices u 1,..., u k select the k vertices of the clique, hence we set L(u i ) = V i. If x V i and y V j are not adjacent in G, then we need to ensure that c(u i ) = x and c(u j ) = y are not true at the same time we add a vertex adjacent to u i and u j whose list is {x, y}. What about planar graphs? Fixed Parameter Algorithms p.18/41

MULTICOLORED GRID MULTICOLORED GRID: Given a graph G partitioned into k 2 color classes V i,j (1 i, j k), find a k k grid subgraph such that vertex v i,j appears in V i,j. Fact: MULTICOLORED GRID is W[1]-hard. Proof: By reduction from MULTICOLORED CLIQUE. Let G be a graph with color classes V 1,..., V k. Each vertex of the constructed graph H is labeled by a pair of vertices of G. The color class V i,j contains vertex (x, y), x V i, y V j if i = j and x = y, i j and x, y are adjacent. Edges: (x, y) V i,j and (x, y ) V i+1,j are adjacent if x = x. (x, y) V i,j and (x, y ) V i,j+1 are adjacent if y = y. Fixed Parameter Algorithms p.19/41

LIST COLORING for planar graphs Fact: LIST COLORING for planar graphs is W[1]-hard parameterized by treewidth. Proof is the same as the reduction from MULTICOLORED CLIQUE to LIST COLORING, but now the resulting graph is planar. Fixed Parameter Algorithms p.20/41

Part II: Exponential Time Hypothesis Fixed Parameter Algorithms p.21/41

Exponential Time Hypothesis Engineers Hypothesis: k-clique cannot be solved in time f (k) n O(1). Theorists Hypothesis: k-step HALTING PROBLEM (is there a branch of the NTM that stops in k steps?) cannot be solved in time f (k) n O(1). Exponential Time Hypothesis (ETH): n-variable 3SAT cannot be solved in time 2 o(n). What do we have to show to prove that ETH implies Engineers Hypothesis? Fixed Parameter Algorithms p.22/41

Exponential Time Hypothesis Engineers Hypothesis: k-clique cannot be solved in time f (k) n O(1). Theorists Hypothesis: k-step HALTING PROBLEM (is there a branch of the NTM that stops in k steps?) cannot be solved in time f (k) n O(1). Exponential Time Hypothesis (ETH): n-variable 3SAT cannot be solved in time 2 o(n). What do we have to show to prove that ETH implies Engineers Hypothesis? We have to show that an f (k) n O(1) algorithm implies that there is a 2 o(n) time algorithm for n-variable 3SAT. Fixed Parameter Algorithms p.22/41

Exponential Time Hypothesis Engineers Hypothesis: k-clique cannot be solved in time f (k) n O(1). Theorists Hypothesis: k-step HALTING PROBLEM (is there a branch of the NTM that stops in k steps?) cannot be solved in time f (k) n O(1). Exponential Time Hypothesis (ETH): n-variable 3SAT cannot be solved in time 2 o(n). What do we have to show to prove that ETH implies Engineers Hypothesis? We have to show that an f (k) n O(1) algorithm implies that there is a 2 o(n) time algorithm for n-variable 3SAT. We show something much stronger: Fact: If there is an f (k) n o(k) time algorithm for k-clique, then ETH fails. Fixed Parameter Algorithms p.22/41

Lower bound on the exponent Fact: If there is an f (k) n o(k) time algorithm for k-clique, then ETH fails. We use the following result: Fact: [Sparsification Lemma] n-variable 3SAT can be solved in time 2 o(n) m-clause 3SAT can be solved in time 2 o(m) 3-COLORING is NP-complete and there is a polynomial-time reduction from m-clause 3SAT to O(m)-vertex 3-COLORING, thus: Fact: If n-vertex 3-COLORING can be solved in time 2 o(n), then m-clause 3SAT can be solved in time 2 o(m) and ETH fails. Fixed Parameter Algorithms p.23/41

Lower bound on the exponent Fact: If there is an f (k) n o(k) time algorithm for k-clique, then ETH fails. Suppose that k-clique can be solved in time f (k) n k/s(k), where s(k) is a monotone increasing unbounded function. We use this algorithm to solve 3-COLORING on an n-vertex graph G in time 2 o(n). Let f 1 (n) be the largest integer i such that f (i) n. Function f 1 (n) is monotone increasing and unbounded. Let k := f 1 (n). Split the vertices of G into k groups. Let us build a graph H where each vertex corresponds to a proper 3-coloring of one of the groups. Connect two vertices if they are not conflicting. A k-clique of H corresponds to a proper 3-coloring of G. A 3-coloring of G can be found in time f (k) n k/s(k) n (3 n/k ) k/s(k) = n 3 n/s(f 1 (n)) = 2 o(n). Fixed Parameter Algorithms p.24/41

Transferring lower bounds If we have a lower bound for problem P and there is a parameterized reduction from P to Q, then we get a lower bound for Q as well. Parameterized reduction from problem P to problem Q: a function φ with the following properties: φ(x) can be computed in time f (k) x O(1), where k is the parameter of x, φ(x) is a yes-instance of Q if and only if x is a yes-instance of P. If k is the parameter of x and k is the parameter of φ(x), then k g(k) for some function g. Suppose there is no f (k) n o(k) algorithm for P. If g(k) = O(k), then we know that there is no f (k) n o(k) time algorithm for Q. If g(k) = O(k 2 ), then we know that there is no???? algorithm for Q. Fixed Parameter Algorithms p.25/41

Transferring lower bounds If we have a lower bound for problem P and there is a parameterized reduction from P to Q, then we get a lower bound for Q as well. Parameterized reduction from problem P to problem Q: a function φ with the following properties: φ(x) can be computed in time f (k) x O(1), where k is the parameter of x, φ(x) is a yes-instance of Q if and only if x is a yes-instance of P. If k is the parameter of x and k is the parameter of φ(x), then k g(k) for some function g. Suppose there is no f (k) n o(k) algorithm for P. If g(k) = O(k), then we know that there is no f (k) n o(k) time algorithm for Q. If g(k) = O(k 2 ), then we know that there is no f (k) n o( k) algorithm for Q. Fixed Parameter Algorithms p.25/41

Lower bounds for FPT algorithms We know that VERTEX COVER can be solved in time O (c k ). Can we do it much faster, for example in time O (c k ) or O (c k/log k )? Fact: If VERTEX COVER can be solved in time 2 o(k) n O(1), then ETH fails. Proof: There is a polynomial-time reduction from m-clause 3SAT to O(m)-vertex VERTEX COVER. The assumed algorithm would solve the latter problem in time 2 o(m) n O(1), violating ETH. Fixed Parameter Algorithms p.26/41

Lower bounds for planar FPT algorithms Yesterday we have seen that VERTEX COVER, INDEPENDENT SET, DOMINATING SET can be solved in time 2 O( k) n O(1) on planar graphs. Can we get much better dependence on k? Fact: if VERTEX COVER, INDEPENDENT SET, or DOMINATING SET can be solved in time 2 o( k) n O(1) for planar graphs, then ETH fails. Proof: There are polynomial-time reductions from m-clause 3SAT to O(m 2 )-vertex instances of these problems. Thus a 2 o( k) n O(1) time algorithm would solve m-clause 3SAT in time 2 o( m 2) n O(1) = 2 o(m), violating ETH. Fixed Parameter Algorithms p.27/41

Part III: Approximation schemes Fixed Parameter Algorithms p.28/41

Approximation schemes Polynomial-time approximation scheme (PTAS): Input: Instance x, ǫ > 0 Output: Running time: (1 + ǫ)-approximate solution polynomial in x for every fixed ǫ PTAS: running time is x f (1/ǫ) EPTAS: (Efficient PTAS) running time is f (1/ǫ) x O(1) FPTAS: (Fully polynomial approximation scheme) running time is (1/ǫ) O(1) x O(1) Yesterday, we have seen an EPTAS for INDEPENDENT SET on planar graphs. For some problems, there is a PTAS, but no EPTAS is known. Can we show that no EPTAS is possible? Fixed Parameter Algorithms p.29/41

Standard parameterization Given an optimization problem we can turn it into a decision problem: the input is a pair (x, k) and we have to decide if there is a solution for x with cost at least/at most k. The standard parameterization of an optimization problem is the associated decision problem, with the value k appearing in the input being the parameter. Example: VERTEX COVER Input: (G, k) Parameter: k Question: Is there a vertex cover of size at most k? If the standard parameterization of an optimization problem is FPT, then (intuitively) it means that we can solve it efficiently if the optimum is small. Fixed Parameter Algorithms p.30/41

No EPTAS Fact: If the standard parameterization of an optimization problem is W[1]-hard, then there is no EPTAS for the optimization problem, unless FPT = W[1]. Proof: Suppose an f (1/ǫ) n O(1) time EPTAS exists. Running this EPTAS with ǫ := 1/(k + 1) decides if the optimum is at most/at least k. Fixed Parameter Algorithms p.31/41

No EPTAS Fact: If the standard parameterization of an optimization problem is W[1]-hard, then there is no EPTAS for the optimization problem, unless FPT = W[1]. Proof: Suppose an f (1/ǫ) n O(1) time EPTAS exists. Running this EPTAS with ǫ := 1/(k + 1) decides if the optimum is at most/at least k. Thus W[1]-hardness results immediately show that (assuming W[1] FPT) No EPTAS for INDEPENDENT SET for unit disks/squares. No EPTAS for DOMINATING SET for unit disks/squares. No EPTAS for planar TMIN, TMAX, MPSAT. No EPTAS for CLOSEST STRING. Fixed Parameter Algorithms p.31/41

Part IV: Lower bounds for kernels Fixed Parameter Algorithms p.32/41

Kernelization Definition: Kernelization is a polynomial-time transformation that maps an instance (I,k) to an instance (I, k ) such that (I,k) is a yes-instance if and only if (I, k ) is a yes-instance, k k, and I f (k) for some function f (k). Fixed Parameter Algorithms p.33/41

Kernelization Definition: Kernelization is a polynomial-time transformation that maps an instance (I,k) to an instance (I, k ) such that (I,k) is a yes-instance if and only if (I, k ) is a yes-instance, k k, and I f (k) for some function f (k). Simple fact: If a problem has a kernelization algorithm, then it is FPT. Proof: Solve the instance (I, k ) by brute force. Fixed Parameter Algorithms p.33/41

Kernelization Definition: Kernelization is a polynomial-time transformation that maps an instance (I,k) to an instance (I, k ) such that (I,k) is a yes-instance if and only if (I, k ) is a yes-instance, k k, and I f (k) for some function f (k). Simple fact: If a problem has a kernelization algorithm, then it is FPT. Proof: Solve the instance (I, k ) by brute force. Converse: Every FPT problem has a kernelization algorithm. Proof: Suppose there is an f (k)n c algorithm for the problem. If f (k) n, then solve the instance in time f (k)n c n c+1, and output a trivial yes- or no-instance. If n < f (k), then we are done: a kernel of size f (k) is obtained. Fixed Parameter Algorithms p.33/41

Polynomial kernels Asking which problems have kernels is not interesting: it is the same as asking which problems are FPT. A more relevant question: which problems have polynomial kernels (i.e., the size of instance I is O(k c ) for some constant c)? We have seen some polynomial kernels: 3k-vertex kernel for VERTEX COVER k 2 kernel for COVERING POINTS WITH LINES k d kernel for d -HITTING SET But if the problem is FPT by some other technique (color coding, iterative compression, etc.), then it is not clear whether it has a polynomial kernel. Fixed Parameter Algorithms p.34/41

Kernel lower bounds Recall: k-path can be solved in (randomized) time O ((2e) k ) by color coding. Very recent result (2008): k-path has no poly kernel, unless conp NP/poly and the polynomial hierarchy collapses. Similar results for other problems: under the same assumption, no polynomial kernel for k-cycle STEINER TREE CONNECTED VERTEX COVER VERTEX DISJOINT PATHS... Very-very recent result: VERTEX COVER has no O(k 2 ǫ ) kernel, unless... Note: The 3k-vertex kernel has size O(k 2 ). Fixed Parameter Algorithms p.35/41

k-path Intuition why k-path has no polynomial kernel (not a proof!). Suppose that k-path has a kernel of size k c. Set t = k c + 1 and consider t instances (G 1, k),..., (G t, k) with the same parameter k. The instance (G 1... G t, k) is a yes-instance if and only if at least one (G i, k) is a yes-instance. Kernelization gives an instance of k c < t bits. Less than one bit per original instance. Intuitively, we managed to solve at least one instance. Fixed Parameter Algorithms p.36/41

OR-distillation algorithms An OR-distillation algorithm for a problem P is an algorithm with the following properties: The input is a sequence I 1,..., I t of instances of P. The running time is polynomial. The output is an instance O of P with O max t i=1 poly( I 1 ) O is a yes-instance at least one I i is a yes instance. We are able to compress arbitrarily many instances into a single instance. Should not be possible for NP-hard problems. Fact: If an NP-hard problem has an OR-distillation algorithm, then conp NP/poly and the polynomial hierarchy collapses. Fixed Parameter Algorithms p.37/41

Proof for k-path Fact: k-path has no poly kernel, unless conp NP/poly and the polynomial hierarchy collapses. We show that if k-path has a polynomial kernel, then it has an OR-distillation. Suppose we have t instances, each of size n. Group them by the parameter. Make each group a single graph (with many components) n instances. Kernelize each group n instance, each of size poly(n). Asking if at least one instance is YES is a problem in NP As k-path is NP-complete, we can construct a k-path instance of size poly(n) answering this question OR-distillation. Fixed Parameter Algorithms p.38/41

OR-composition What properties of k-path were used in the proof? It is NP-hard. By taking the union, we can join instances with the same parameter into a single instance. Fixed Parameter Algorithms p.39/41

OR-composition What properties of k-path were used in the proof? It is NP-hard. By taking the union, we can join instances with the same parameter into a single instance. An OR-composition algorithm formalizes the second property: The input is a sequence I 1,..., I t of instances with the same parameter k. The running time is polynomial. The output is an instance O with parameter k and k poly(k) O is a yes-instance at least one I i is a yes instance. Fact: NP-hard + OR-composition OR-distillation No poly kernel, unless... Fixed Parameter Algorithms p.39/41

AND-composition We can define AND-composition and AND-distillation in a similar way: they create one instance that is a yes-instance if and only if every input instance is a yes-instance. Example: TREEWIDTH (given a graph G and an integer k, is the treewidth of G at most k?) has an AND-composition: The union of graphs G 1,..., G t has treewidth at most k if and only if every G i has treewidth at most k. It is conjectured that NP-complete problems have no AND-distillation, but currently no result similar to OR-distillation is known. Such a result could be used to show that TREEWIDTH has no polynomial kernel. Fixed Parameter Algorithms p.40/41

Parameterized complexity Possibility to give evidence that certain problems are not FPT. Parameterized reduction. The W-hierarchy. ETH gives much stronger and tighter lower bounds. PTAS vs. EPTAS Kernel lower bounds. Fixed Parameter Algorithms p.41/41