Fixed Parameter Tractability

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

Introduction to Kernel Lower Bounds Daniel Lokshtanov.
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.
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.
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
1 Polynomial Time Reductions Polynomial Computable function : For any computes in polynomial time.
The Theory of NP-Completeness
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Reducing WCNF-3SAT to WCNF-2SAT - (among other things) A presentation of results in: Rod G. Downey and Michael R. Fellows Fixed-parameter tractability.
1 Refined Search Tree Technique for Dominating Set on Planar Graphs Jochen Alber, Hongbing Fan, Michael R. Fellows, Henning Fernau, Rolf Niedermeier, Fran.
Hardness Results for Problems
Data reduction lower bounds: Problems without polynomial kernels Hans L. Bodlaender Joint work with Downey, Fellows, Hermelin, Thomasse, Yeo.
Fixed Parameter Complexity Algorithms and Networks.
Lecture 22 More NPC problems
1 Bart Jansen Vertex Cover Kernelization Revisited: Upper and Lower Bounds for a Refined Parameter STACS 2011, Dortmund March 10 th, 2011 Joint work with.
The Graph Minor Theorem CS594 GRAPH THEORY PRESENTATION SPRING 2014 RON HAGAN.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
The Dominating Set and its Parametric Dual  the Dominated Set  Lan Lin prepared for theory group meeting on June 11, 2003.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
Algorithms for hard problems Parameterized complexity – definitions, sample algorithms Juris Viksna, 2015.
Algorithms for hard problems Introduction Juris Viksna, 2015.
Algorithms for hard problems WQO theory and applications to parameterized complexity Juris Viksna, 2015.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
Computability Examples. Reducibility. NP completeness. Homework: Find other examples of NP complete problems.
TU/e Algorithms (2IL15) – Lecture 10 1 NP-Completeness, II.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
NP-Completeness A problem is NP-complete if: It is in NP
NP-Completeness (2) NP-Completeness Graphs 4/13/2018 5:22 AM x x x x x
P & NP.
Chapter 10 NP-Complete Problems.
Joint work with Hans Bodlaender
Richard Anderson Lectures NP-Completeness
Richard Anderson Lecture 26 NP-Completeness
Computability and Complexity
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness Proofs
Richard Anderson Lecture 26 NP-Completeness
Hard Problems Introduction to NP
Algorithms for hard problems
NP-Completeness Yin Tat Lee
CS21 Decidability and Tractability
CS154, Lecture 16: More NP-Complete Problems; PCPs
ICS 353: Design and Analysis of Algorithms
Complexity 6-1 The Class P Complexity Andrei Bulatov.
Constrained Bipartite Vertex Cover: The Easy Kernel is Essentially Tight Bart M. P. Jansen June 4th, WORKER 2015, Nordfjordeid, Norway.
Parameterised Complexity
NP-Completeness (2) NP-Completeness Graphs 11/23/2018 2:12 PM x x x x
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
Richard Anderson Lecture 25 NP-Completeness
Richard Anderson Lecture 28 NP-Completeness
Chapter 34: NP-Completeness
NP-Complete Problems.
Prabhas Chongstitvatana
Graphs and Algorithms (2MMD30)
NP-Completeness Yin Tat Lee
CSE 6408 Advanced Algorithms.
CS154, Lecture 16: More NP-Complete Problems; PCPs
CS21 Decidability and Tractability
CSE 589 Applied Algorithms Spring 1999
Complexity Theory in Practice
Hamiltonicity below Dirac’s condition
Integrating Class Hierarchies
NP-Completeness (2) NP-Completeness Graphs 7/9/2019 6:12 AM x x x x x
Presentation transcript:

Fixed Parameter Tractability Ron Hagan

Prehistory Neil Robertson, Paul Seymour published a series of papers in the Journal of Combinatorial Theory Series B. Beginning with Graph Minors.I.Excluding a Forest, appearing and 1983 and currently up to Graph Minors.XXIII.Nash-Williams’ Immersion Conjecture. The most recent appearing in 2012. One of the main intended results culminated in Graph Minors.XX.Wagner’s Conjecture, in a proof of what is now known as The Graph Minor Theorem.

Prehistory In 1985 Mike Fellows was hired at Washington State University where he and Mike Langston began exploring the practical implications of Robertson and Seymour’s work and well quasi orderings.

Prehistory If a family of graphs is closed under taking minors, then membership in that family can be tested in polynomial time. Problems: 1) The algorithm is non-constructive. (requires knowledge of obstruction set) 2) It hides huuuuuuuuge constants of proportionality.

Prehistory Dr. Langston and Mike Fellows pioneering work in applications included proofs that: For every fixed k, gate matrix layout is solvable in polynomial time. As well as analogs for: Disk dimension Minimum cut linear arrangement Topological bandwidth Crossing number Maximum leaf spanning tree Search number Two dimensional grid load factor

Prehistory Their work would lay the foundation for what would be formalized as a new field of study – fixed parameter tractability. R.G. Downey and M.R. Fellows. Parameterized Complexity. Springer-Verlag 1999.

Other Early Players J. Flum and M. Grohe: Parameterized Complexity Theory, Springer, 2006 R. Niedermeier: Invitation to Fixed-Parameter Algorithms, Oxford University Press, 2006

Motivation Classical complexity theory is very coarsely grained. Focuses on worst case behavior. Only takes into account the size of the problem.

Motivation Parametric complexity adopts a more fine grained approach. Seeks to acknowledge and make use of aspects in the structure of the inputs that may affect complexity. FPT algorithms seek to confine the combinatorial explosion to some parameter independent of the input size.

Motivation All NP-complete problems are not created equally. Dominating set, still 𝑂( 𝑛 𝑘+1 ) by brute force. Vertex cover 𝑂( 2 𝑘 𝑛) via simple search tree. Current best is 𝑂( 1.2738 𝑘 +𝑘𝑛) due to Chen, Kanj, and Xia.

Parametric Complexity A parameterized problem is a language , where is a finite alphabet. The second component is called the parameter of the problem. A parameterized problem is fixed-parameter tractable if membership can be determined in time, where f is a computable function depending only on k. The corresponding complexity class is called FPT.

Parametric Complexity The class of problems which are fixed-parameter tractable is denoted by FTP. Vertex cover – trivially FPT by brute force. Dominating Set, Clique, and Independent set are not FPT (when parameterized by the size of the solution).

Parametric Complexity – Reductions Definition: Let be two parameterized problems. is said to reduce to by a standard parameterized reduction if there are functions and from ℕ to ℕ and a function from to such that: is computable in time for some constant c, and if and only if .

Parametric Complexity – The W-Hierarchy A Boolean formula is in conjunctive normal from CNF if it is written as a product of sums – an AND of ORs ( 𝑥 1 ∨𝑥 2 )∧( 𝑥 2 ∨𝑥 3 ∨𝑥 4 ) An assignment of variables can be weighted by the number of variables set to true. The example above has a minimum weight 1 satisfying assignment.

Parametric Complexity –The W-Hierarchy WEIGHTED CNF-SATISFIABILITY Input: A Boolean formula F in CNF and a nonnegative integer k. Question: Is there a satisfying assignment with weight exactly k? The Weighted 2-CNF-SAT problem is not known to be FPT – if it is, it implies the collapse of the W-hierarchy.

Parametric Complexity –The W-Hierarchy Definition: A boolean formula is t-normalized if it can be written in the form of a “product-of-sums-of-products-…” of literals with t-1 alternations between products and sums. 2-CNF formulas are 1-normalized CNF formulas are 2-normalized t is the weft of the associated boolean circuit

Parametric Complexity –The W-Hierarchy 𝑊 𝑡 for 𝑡≥1 is the class of all parameterized problems that can be reduced to WEIGHTED t-NORMALIZED SATISFIABILITY by a parameterized reduction. 𝑊[𝑆𝐴𝑇] is the class of parameterized problems that are fpt reduceable to weighted satisfiability for boolean formulas. 𝑊[𝑃] is the class of parameterized problems that are fpt reduceable to weighted satisfiability for boolean circuits. 𝑊 𝑋𝑃 is the class of parameterized problems that are solvable in 𝑓(𝑘)⋅ 𝑥 𝑔(𝑘) time. 𝐹𝑃𝑇⊆𝑊 1 ⊆𝑊 2 ⊆…𝑊 𝑡 ⊆…𝑊[𝑆𝐴𝑇]⊆𝑊[𝑋𝑃]

Parametric Complexity Hardness and completeness are defined analogously to classical complexity. Theorem: WEIGHTED 2-CNF-SATISFIABILITY is fpt-reduceable to WEIGHTED ANTIMONOTONE 2-CNF-SATISFIABILITY. So WEIGHTED ANTIMONOTONE 2-CNF-SATISFIABILITY is W[1]- complete.

Parametric Complexity - Examples A graph G=(V,E) with V={1,2,…,n} has an independent set of size k if and only if the antimonotone 2-CNF formula has a weight-k satisfying truth assignment. It follows that Independent Set is W[1]-complete.

Parametric Complexity - Examples A graph G=(V,E) with V={1,2,…,n} has a dominating set of size k if and only if the CNF formula has a weight-k satisfying truth assignment. It follows that Dominating Set is in W[2]. It is actually W[2]-complete.

Fixed-Parameter Tractability From the perspective of algorithm design, there are two avenues to attack a problem that has been shown to be FPT. Reduce the cost of the dependence on k. Reduce the cost of the remaining dependence on the size of the problem. This can be approached many ways, but two of the main techniques are through kernelization and bounded search trees.

Kernelization A kernelization for a parameterized problem L is an algorithm that maps in polynomial time an instance x with parameter k to an instance x’ with parameter k’ such that x is in L if and only if x’ is in L and k’ and the size of x’ are both bounded by computable functions of k. It can be shown that being FPT is equivalent to admitting a kernel.

Kernelization – Vertex Cover Reduction Rules Remove all isolated vertices. Degree 1 rule: Remove all degree one vertices, add their neighbors to the solution set and remove them and all their incident edges from the graph, reduce k by one for each vertex added to the solution set. High degree rule: If a vertex has degree greater than k, add it to the solution set, remove it from the graph, and reduce k by one. Exhaustively applying these rules leads to a kernel of size at most 𝑘 2 (first observed by Sam Buss). If more than 𝑘 2 vertices remain, the graph can’t have a cover of size 𝑘.

Branching – Vertex Cover Branching by either including a node or including all of it’s neighbors gives a 𝑂( 5 𝑘 4 ⋅𝑛) algorithm. Niedermeier used a set of simple branching rules to bound the search tree above by 𝑂( 1.47 𝑘 ). More involved rules for exploring the local structure in neighborhoods produce the running time of 𝑂( 1.2738 𝑘 ) for the branching in the algorithm of Chen et. al.

Vertex Cover Combining the kernelization and branching strategies we can produce an algorithm for vertex cover which runs in 𝑂( 1.2738 𝑘 ) 𝑘 2 time. The performance can be further improved through techniques such as interleaving by rekernelizing children at set levels in the search tree.

Current Research FPT algorithms and parameterized complexity are an active area of research. A webpage is maintained at http://fpt.wikidot.com/ containing everything from the current state of fpt races to a list of open problems.

References Langston, Michael A. "Fixed-parameter tractability, a prehistory." The Multivariate Algorithmic Revolution and Beyond. Springer Berlin Heidelberg, 2012. 3-16. Niedermeier, Rolf. "Invitation to fixed-parameter algorithms, volume 31 of Oxford Lecture Series in Mathematics and its Applications." (2006). Downey, Rodney G., and Michael Ralph Fellows. Parameterized complexity. Springer Science & Business Media, 2012.

References J. Flum, M. Grohe, Parameterized Complexity Theory, Springer-Verlag, 2006. Chen, Jianer, Iyad A. Kanj, and Ge Xia. "Improved upper bounds for vertex cover." Theoretical Computer Science 411.40 (2010): 3736- 3756. Buss, Jonathan F., and Judy Goldsmith. "Nondeterminism within P^*." SIAM Journal on Computing 22.3 (1993): 560-572.

Homework Prove that maximum clique parameterized by the size of the solution is W[1]-complete. Recall that maximum clique can be solved by finding the minimum vertex cover in the complement of a graph. Explain clearly and succinctly why this fact is not in conflict with vertex cover being FPT. Let G = (V,E) be a simple connected graph with |V|>1. Prove that if G has treewidth 1, the vertex cover problem parameterized by k = the size of the cover is solvable by kernelization alone for any k.