Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.

Slides:



Advertisements
Similar presentations
1 Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs Accepted for presentation at SWAT 2010.
Advertisements

From Approximative Kernelization to High Fidelity Reductions joint with Michael Fellows Ariel Kulik Frances Rosamond Technion Charles Darwin Univ. Hadas.
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?
Introduction to Kernel Lower Bounds Daniel Lokshtanov.
Generalization and Specialization of Kernelization Daniel Lokshtanov.
Theory of Computing Lecture 18 MAS 714 Hartmut Klauck.
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-completeness Lecture 2: Jan P The class of problems that can be solved in polynomial time. e.g. gcd, shortest path, prime, etc. There are many.
Approximative Kernelization: On the Trade-off between Fidelity and Kernel Size joint with Michael Fellows and Frances Rosamond Charles Darwin University.
1 Steiner Tree on graphs of small treewidth Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
Fixed Parameter Complexity Algorithms and Networks.
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.
Preprocessing Graph Problems When Does a Small Vertex Cover Help? Bart M. P. Jansen Joint work with Fedor V. Fomin & Michał Pilipczuk June 2012, Dagstuhl.
NP-complete and NP-hard problems Transitivity of polynomial-time many-one reductions Concept of Completeness and hardness for a complexity class Definition.
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 
The Power of Preprocessing Bart M. P. Jansen September 29th, Algorithms & Visualization seminar, TU Eindhoven.
Approximation Algorithms Chapter 5: k-center. Overview n Main issue: Parametric pruning –Technique for approximation algorithms n 2-approx. algorithm.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Vertex Cover, Dominating set, Clique, Independent set
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Michael Bender - SUNY Stony Brook Dana Ron - Tel Aviv University Testing Acyclicity of Directed Graphs in Sublinear Time.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 23 Instructor: Paul Beame.
Analysis of Algorithms CS 477/677
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Coloring Algorithms and Networks. Coloring2 Graph coloring Vertex coloring: –Function f: V  C, such that for all {v,w}  E: f(v)  f(w) Chromatic number.
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.
Linear Programming and Parameterized Algorithms. Linear Programming n real-valued variables, x 1, x 2, …, x n. Linear objective function. Linear (in)equality.
Kernelization for a Hierarchy of Structural Parameters Bart M. P. Jansen Third Workshop on Kernelization 2-4 September 2011, Vienna.
Hardness Results for Problems
Data reduction lower bounds: Problems without polynomial kernels Hans L. Bodlaender Joint work with Downey, Fellows, Hermelin, Thomasse, Yeo.
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.
Fixed Parameter Complexity Algorithms and Networks.
Programming & Data Structures
Fixed Parameter Complexity Algorithms and Networks.
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.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Complexity Classes (Ch. 34) The class P: class of problems that can be solved in time that is polynomial in the size of the input, n. if input size is.
Kernel Bounds for Structural Parameterizations of Pathwidth Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch July 6th 2012, SWAT 2012,
1 Treewidth, partial k-tree and chordal graphs Delpensum INF 334 Institutt fo informatikk Pinar Heggernes Speaker:
Uib.no UNIVERSITY OF BERGEN A Near-Optimal Planarization Algorithm Bart M. P. Jansen Daniel Lokshtanov University of Bergen, Norway Saket Saurabh Institute.
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.
1 Bart Jansen Independent Set Kernelization for a Refined Parameter: Upper and Lower bounds TACO Day, Utrecht January 12 th, 2011 Joint work with Hans.
IPEC Kernelization1 A tutorial on Kernelization Hans L. Bodlaender.
1 Bart Jansen Independent Set Kernelization for a Refined Parameter: Upper and Lower bounds ALGORITMe Staff Colloquium, Utrecht September 10 th, 2010 Joint.
FPT is Characterized by Useful Obstruction Sets Bart M. P. Jansen Joint work with Michael R. Fellows, Charles Darwin Univ. June 21st 2013, WG 2013, Lübeck.
Tree Spanners on Chordal Graphs: Complexity, Algorithms, Open Problems A. Brandstaedt, F.F. Dragan, H.-O. Le and V.B. Le University of Rostock, Germany.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Uib.no UNIVERSITY OF BERGEN On Sparsification for Computing Treewidth Bart M. P. Jansen Insert «Academic unit» on every page: 1 Go to the menu «Insert»
CSC 413/513: Intro to Algorithms
Kernel Bounds for Path and Cycle Problems Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch September 8 th 2011, Saarbrucken.
COMPLEXITY. Satisfiability(SAT) problem Conjunctive normal form(CNF): Let S be a Boolean expression in CNF. That is, S is the product(and) of several.
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.
Fixed Parameter Tractability for Graph Drawing Sue Whitesides Computer Science Department.
Complexity Classes.
Kernelization: The basics
Joint work with Hans Bodlaender
Constrained Bipartite Vertex Cover: The Easy Kernel is Essentially Tight Bart M. P. Jansen June 4th, WORKER 2015, Nordfjordeid, Norway.
Parameterised Complexity
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs
Constrained Bipartite Vertex Cover: The Easy Kernel is Essentially Tight Bart M. P. Jansen February 18th, STACS 2016, Orléans, France.
The Power of Preprocessing: Gems in Kernelization
Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs
Approximation and Kernelization for Chordal Vertex Deletion
REDUCESEARCH Polynomial Kernels for Hitting Forbidden Minors under Structural Parameterizations Bart M. P. Jansen Astrid Pieterse ESA 2018 August.
Bart M. P. Jansen Jesper Nederlof
Graphs and Algorithms (2MMD30)
Hamiltonicity below Dirac’s condition
Parameterized Complexity of Conflict-free Graph Coloring
Presentation transcript:

Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo

Vertex Coloring of Graphs Given an undirected graph G and integer q, can we assign each vertex a color from {1, 2, …, q} such that adjacent vertices have different colors? – If q is part of the input: Chromatic Number – If q is constant: q-Coloring 3-Coloring is NP-complete 2

Data reduction by preprocessing First line of attack for hard graph coloring problems Desired: polynomial-time preprocessing algorithm – Input: instance x of a coloring problem – Parameter:value k which measures some property of x – Output:instance y such that x is yes iff y is yes |y| is bounded by f(k) This is a kernelization or kernel – If |y| is polynomial in k: polynomial kernel We study how small y can be 3

Data reduction for graph coloring How small can we make an instance of a coloring problem in polynomial time, without changing the answer? Express the output size in terms of a parameter of the input Which parameter should we use? – Not clear a priori – We study a spectrum of parameters and find the limits of what is possible Next: examples of three different parameters 4

Parameter 1: # allowed colors Use the desired number of colors q as the parameter Can we reduce to bitsize f(q), for some function f? Not unless P=NP since 3-Coloring is NP-complete – On input x, compute instance y in polynomial time – |y| = f(q) = f(3) = O(1) – Solve the constant-size instance in constant time Polynomial-time procedure for an NP-complete problem 5

Parameter 2: Treewidth Well-known structural graph measure Behavior of Chromatic Number parameterized by treewidth: – Preprocess to size f( TW ) in polynomial time Exponential function f [Implied by FPT status] – Cannot preprocess to size poly( TW ) unless the polynomial hierarchy collapses Not even for 3-Coloring [BDFH’09,JK’11] 6

Parameter 3: Vertex Cover Nr A vertex cover of a graph G is a set of vertices which contains an endpoint of every edge The vertex cover number is the size of a smallest vertex cover – TW(G) ≤ VC(G) [Folklore] Cannot preprocess Chromatic Number to bitsize poly(VC(G)), unless the polynomial hierarchy collapses [BJK’11] Difficulty of an instance depends on q – Size of a processed instance needs to depend on q Sample of our results: – An instance of q-Coloring on graph G be reduced in polynomial time to an equivalent instance on O(VC(G) q ) vertices 7

Preprocessing algorithm parameterized by Vertex Cover Nr Input: instance G of q-Coloring 1.Compute a 2-approximate vertex cover X of G 2.For each set S of q vertices in X, mark a vertex v S which is adjacent to all vertices of S (if one exists) 3.Delete all vertices which are not in X, and not marked Output the resulting graph G’ on n’ vertices – n’ ≤ |X| + |X| q – ≤ 2k + (2k) q 8 X q=3 Claim: Algorithm runs in polynomial time Claim: Algorithm runs in polynomial time Claim: n’ is O(k q ), with k = VC (G) Claim: n’ is O(k q ), with k = VC (G)

Correctness: (G)≤q  (G’)≤q (  ) Trivial since G’ is a subgraph of G (  ) Take a q-coloring of G’ – For each deleted vertex v: If there is a color in {1, …, q} which does not appear on a neighbor of v, give v that color – Proof by contradiction: we cannot fail when failing: q neighbors of v each have a different color let S ⊆ X be a set of these neighbors look at v S we marked for set S all colors occur on S  v S has neighbor with same color 9 X

Result The reduction procedure gives the following: What we know about q-Coloring so far: – parameter treewidth does not allow a polynomial kernel – parameter vertex cover does allow one Now consider parameters which are “sandwiched” in between 10 q-Coloring parameterized by vertex cover number has a kernel with O(k q ) vertices

A HIERARCHY OF PARAMETERS 11

Structural graph parameters Let  be a class of graphs For a graph G, the deletion distance to  is the minimum number of vertex deletions needed to transform G into a graph in  Parameterize by this deletion distance for various  Using a hierarchy of graph classes , we obtain a hierarchy of parameters – Guides the search for the boundary of good preprocessing 12

Hierarchy of structural parameters 13 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect Distance to an independent set Distance to a forest Distance to bipartite Linear forest: union of paths

Hierarchy of structural parameters 14 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect Let G be a graph with feedback vertex set of size k. Can we reduce G in polynomial time to G’ such that: |G’| ∈ poly(k) (G)≤q  (G’)≤q Let G be a graph with feedback vertex set of size k. Can we reduce G in polynomial time to G’ such that: |G’| ∈ poly(k) (G)≤q  (G’)≤q Let G be a graph with a vertex cover of size k. Can we reduce G in polynomial time to G’ such that: |G’| ∈ poly(k) (G)≤q  (G’)≤q Let G be a graph with a vertex cover of size k. Can we reduce G in polynomial time to G’ such that: |G’| ∈ poly(k) (G)≤q  (G’)≤q Let G be a graph of treewidth at most k. Can we reduce G in polynomial time to G’ such that: |G’| ∈ poly(k) (G)≤q  (G’)≤q Let G be a graph of treewidth at most k. Can we reduce G in polynomial time to G’ such that: |G’| ∈ poly(k) (G)≤q  (G’)≤q

What can we say about these parameters? Situation for Chromatic Number is simple: no polynomial kernel for any parameter ≤ vertex cover, unless the polynomial hierarchy collapses [BJK’11] More interesting situation for q-Coloring Related earlier work: – FPT algorithms parameterized by edge and vertex deletion distance to several graph classes [Cai’03,Marx’06] – FPT algorithm parameterized by Max Leaf Number [FellowsLMMRS’09] 15

Data reduction for q-Coloring 16 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect

Data reduction for q-Coloring 17 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect NP-complete for k=2 [Cai’03] No kernel unless P=NP NP-complete for k=2 [Cai’03] No kernel unless P=NP

Data reduction for q-Coloring 18 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect

Data reduction for q-Coloring 19 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect Fixed-Parameter Tractable parameterized by treewidth Polynomial-time reduction to size f(k) possible, for exponential f Fixed-Parameter Tractable parameterized by treewidth Polynomial-time reduction to size f(k) possible, for exponential f

Data reduction for q-Coloring 20 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect

Data reduction for q-Coloring 21 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect Fixed-Parameter Tractable, for fixed q Using bounded treewidth Fixed-Parameter Tractable, for fixed q Using bounded treewidth

Data reduction for q-Coloring 22 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect

Data reduction for q-Coloring 23 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect Polynomial kernel: Reduction to G’ on O(k q ) vertices [JansenK’11] Polynomial kernel: Reduction to G’ on O(k q ) vertices [JansenK’11]

Data reduction for q-Coloring 24 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect

Data reduction for q-Coloring 25 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect Polynomial kernel: Reduction to G’ with k+k q vertices [JansenK’11] Polynomial kernel: Reduction to G’ with k+k q vertices [JansenK’11] Polynomial kernels through classification theorem (next) [JansenK’11]

Data reduction for q-Coloring 26 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect

Data reduction for q-Coloring 27 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect No polynomial kernel unless the polynomial hierarchy collapses [JansenK’11]

Data reduction for q-Coloring 28 Vertex Cover Distance to linear forest Distance to Split graph components Distance to Cograph Feedback Vertex Set Distance to Interval Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect Reduction to size poly(k) Reduction to size f(k) No poly(k) unless No reduction to size f(k) unless P=NP

Classification theorem All positive results are implied by a general theorem Gives a sufficient condition for existence of polynomial kernels for q-Coloring parameterized by distance to  Expressed using q-List Coloring: – Given an undirected graph G and a list of allowed colors L(v) ⊆ {1,…,q} for each vertex v, can we assign each vertex v a color in L(v) such that adjacent vertices have different colors? 29 {1,2,3} {2,3} {1} {1,2} {1,3}

General classification theorem Let  be a hereditary class of graphs for which there is a function g:  →  such that: – for any no-instance (G,L) of q-List Coloring on a graph G in , – there is a no-subinstance (G’,L’) on at most g(q) vertices. 30 q-Coloring parameterized by distance to  admits a polynomial kernel with O(k q·g(q) ) vertices for every fixed q  that work Independent sets Cographs Graphs where each component is a split graph  that fail Paths 3-coloring by distance to a path does not admit a poly kernel (unless the polynomial hierarchy collapses) 3-coloring by distance to a path does not admit a poly kernel (unless the polynomial hierarchy collapses)

Summary of results 31 Polynomial kernel of bitsize O(k q )  O(k q-1- ) lower bound (assuming PH does not collapse) q-Coloring by Vertex Cover Polynomial kernels for deletion distance to: Cographs Unions of split graphs Classification theorem for q-Coloring no polynomial kernel unless PH collapses 3-Coloring by distance to a path 3-coloring parameterized by a Dominating Set: in FPT, no polynomial kernel unless PH collapses Parameters relating to domination-structure

Conclusion Study the potential of preprocessing by considering a hierarchy of structural parameters For q-Coloring we located the threshold of polynomial kernelizability in the considered hierarchy Open problems: – Use edge deletions as a parameter – Complexity parameterized by distance to P 5 -free graphs? 32