Download presentation
Presentation is loading. Please wait.
1
Computing the Chromatic Number Using Graph Decompositions via Matrix Rank
Bart M. P. Jansen Jesper Nederlof Dagstuhl Seminar New Horizons in Param. Complexity January 21st 2018, Dagstuhl, Germany
2
Graph π-Coloring Input: An undirected graph πΊ Question: Can we assign each vertex a color π π£ β 1,β¦, π , such that π π’ β π(π£) for all edges π’,π£ βπΈ(πΊ) ? NP-complete for πβ₯3
3
Coloring algorithms using vertex separators
Parameterize the problem by measures of graph complexity Can π-Coloring be solved efficiently on graphs that are structurally simple? Parameterized by the treewidth π‘π€ of the graph, for πβ₯3: π-Coloring can be solved in time π β ( π π‘π€ ) π-Coloring can not be solved in time π β (πβπ π‘π€ ) (under SETH) [Lokshtanov, Marx & TALGβ18] β π β suppresses ππππ¦(π) factors Solid algorithmic understanding for parameterizations based on vertex separators Treewidth lower-bound extends to pathwidth & feedback vertex number. So complexity is understood quite well for parameterizations based on the width/size of vertex separators of the graph.
4
Coloring algorithms using edge separators
Parameterize the problem by measures of graph complexity Can π-Coloring be solved efficiently on graphs that are structurally simple? What about graphs decomposable by small edge separators? If the input graph has maximum degree π, is given with a path decomposition of width ππ€, and has at most π proper π-colorings, then with high probability: SWAT β16] Maximum degree π, pathwidth ππ€ implies cutwidth β€ πβ
ππ€ [Thilikos, Serna, J. Algorithms β05] π-Coloring can be solved in randomized time π β π/2 +1 ππ€ β
π Setting of bounded-degree graphs of bounded pathwidth is related to the graph width parameter cutwidth.
5
Decomposing graphs by small edge-cuts
The cutwidth of a linear ordering of π(πΊ) is: max. # edges intersected by a vertical line between vertices The cutwidth of a graph is min. cutwidth of any ordering of π(πΊ) For any graph πΊ: πππππ€πππ‘β πΊ β€πππππ€πππ‘β πΊ β€ππππ€πππ‘β(πΊ) Cutwidth gives an upper-bound on the size of edge cuts that decompose the graph linearly, similarly as how pathwidth upper-bounds the size of vertex separators that decompose the graph linearly. So: how fast can q-Coloring be solved parameterized by cutwidth? cutwidth 3
6
Results for cutwidth If the input graph is given with a layout of cutwidth ππ‘π€, then: πβ is the matrix multiplication constant; key ingredient is a new rank bound one-sided error caused by Isolation Lemma; key ingredient is communication protocol for any π>0, unless SETH fails Note: running time is independent of π using cutwidth running time π β π π‘π€ is SETH-optimal for treewidth π-Coloring can be solved deterministically in time π β ( 2 πβ
ππ‘π€ ) π-Coloring can be solved in time π β ( 2 ππ‘π€ ) w. high probability Planar 3-Coloring cannot be solved in time π β 2βπ ππ‘π€ SETH lower bound holds in the same setting, where a layout is given in the input. Isolation lemma is by Mulmuley, Vazirani and Vazirani [Combinatorica β87].
7
Results for bounded degree and pathwidth
If the input graph has maximum degree π, and is given with a path decomposition of width ππ€, then: Removes dependence on solution space from BjΓΆrklundβs algorithm [SWAT β16] Let πβ₯5 be odd, let π π β π/2 +1. Then: for any π>0, unless SETH fails π-Coloring can be solved in time π β π/2 +1 ππ€ w.h.p. π π -Coloring cannot be solved in time π β π/2 +1βπ ππ€ on graphs of maximum degree π
8
Deterministic ideas: a rank bound
Uses rank-based approach for dynamic programming [Bodlaender,Cygan,Kratsch & N β15; Cygan,Kratsch & N β13; Fomin,Lokshtanov,Panolan & Saurabh β16] Nr. of partial solutions needed in dynamic-programming table, can be reduced using rank bounds for βcompatibility matricesβ Our high-level insight: Compatibility matrix for partial π-colorings on two sides of a size-π vertex separator can have rank β π π size-π edge separator has rank β€ 2 π Yields π β ( 2 πβ
ππ’π‘π€ ) algorithm using rank-based approach Bodlaender Cygan Kratsch Nederlof; Cygan Kratsch Nederlof; Fomin Lokhstanov Panolan Saurabh.
9
A compatibility matrix for π-colorings
Consider a bipartite graph π» on π edges with bipartition πβͺπ Corresponds to the edges crossing a cut in the linear layout Fix an integer π and define a matrix π π» as follows: For each π-coloring πβ π π of π, there is a row in π π» For each π-coloring πβ π π of π, there is a column in π π» π π» [π,π]= 1 0 π π» is useful to prune partial solutions, but has too large rank if πβͺπ is a proper π-coloring of π» otherwise ⬀ ⬀ ⦠⬀ ⬀ ⬀ 1 ... π Intuitively, this is the compatibility matrix for partial solutions to q-coloring on two sides of a small edge separator. π
10
A related integer-valued matrix
Consider a bipartite graph π» on π edges with bipartition πβͺπ Orient edges from π to π Fix an integer π and define a matrix π π» β² as follows: For each π-coloring πβ π π of π, there is a row in π π» β² For each π-coloring πβ π π of π, there is a column in π π» β² π π» β² [π,π]= (π,π)βπΈ π» π₯ π β π¦ π π π» β² π,π β 0 β (πβͺπ) is a proper π-coloring of π» For all π: ππ π π» β² β€ 2 π for bipartite graphs π» on π edges 3 2 1 3 3 3 β¦ 1 2 3 2 1 2 2 -2 3 1 1 ... π π = 1β3 β
2β3 β
3β2 = β2 β1 1 =2 = 1β3 β
2β3 β
2β2 = β2 β1 0 =0 = 3β3 β
1β3 β
1β2 = 0 β2 β1 =0
11
Exploiting the rank bound algorithmically
Dynamic programming over a given linear layout From left to right, compute proper π-colorings of first π vertices Can safely restrict to a row-basis of the partial colorings At most ππ( πβ² π» )β€ 2 π rows π-Coloring can be solved deterministically in time π β ( 2 πβ
ππ‘π€ ) π-Coloring can be solved deterministically in time π β ( 2 πβ
ππ‘π€ ) e f β¦ b d β 0 ... Running time dominated by the maximum number of colorings stored simultaneously at any point in time.
12
Intermezzo: The lower bounds
Iβve heard Daniel Marx say that every talk should have a picture of a reduction no-one understands, and since heβs one of the organizers I feel obliged to comply. Reduction from CNF-SAT with n variables to Planar 3-Coloring instance of cutwidth n + O(1).
13
Randomized ideas: the graph polynomial
Let πΊ be an undirected graph on vertex set π The π-variate graph polynomial π πΊ is defined as follows: π πΊ π₯ 1 ,β¦, π₯ π β {π,π}βπΈ(πΊ) π<π π₯ π β π₯ π Extensively studied, i.e. in context of Alon-Tarsi Theorem [Combinatorica β92] For any π= π₯ 1 ,β¦, π₯ π β π π , we have: We analyze π-colorability of πΊ by summing the graph polynomial If πβ π π π πΊ (π) β 0, then πΊ is π-colorable; but converse may fail π is a proper π-coloring of πΊβ π πΊ π β 0 If π₯ is proper, then for each edge the endpoints have different colors, so π πΊ (π) is a product of nonzero terms, so nonzero. If π₯ is not proper, then there is an edge whose endpoints have the same color, which yields a 0-term in the product.
14
Isolating a coloring Pick random weight β[2ππ] for each (π£βπ(πΊ),πβ π ) pair Algorithmic implication: To get a Monte Carlo algorithm for π-Coloring, pick random weight function and test whether βπ§ββ such that: π πΊ π§ β πβ π π weight π =π§ π πΊ (π) β 0 If there is a unique weight-π§ proper π-coloring, then π πΊ π§ β 0 If π πΊ π§ β 0, then there is a proper π-coloring of weight π§ Isolation Lemma [Mulmuley, Vazirani, and Vazirani] If there is a proper π-coloring, then with probability β₯ 1 2 there is a unique proper π-coloring of minimum total weight
15
Rewriting the sum π πΊ π§ β πβ π π weight π =π§ π πΊ π = πβ π π weight π =π§ π,π βπΈ πΊ π<π π₯ π β π₯ π = πβ π π weight π =π§ πβπΈ(πΊ) π,π βπ π<π π₯ π π,π βπΈ πΊ βπ π<π β π₯ π For fixed π, degree of π₯ π in (β π₯ π )( β π₯ π ) equals sum of: number of edges βπ to neighbors π>π number of edges βπ to neighbors π<π Letβs look at the graph polynomial, summed over all colorings of weight z. For each way of choosing the left or right endpoint of an edge, you get a term in the expansion of the product. Degree consideration hints at connection between degree of (partial evaluations of) this polynomial, and cutwidth of the graph.
16
Evaluate the sum using a linear layout
π πΊ π§ = πβ π π weight π =π§ πβπΈ(πΊ) π,π βπ π<π π₯ π π,π βπΈ πΊ βπ π<π β π₯ π To solve π-Coloring on a graph with a bounded-cutwidth layout: Left-to-right dynamic programming over the layout, computing partial sums over colorings of the first π vertices Leave some terms un-evaluated to allow partial sum for prefix of length π+1 to be computed from partial sums for prefixes of length π Small cutwidth layout β degree of un-evaluated part is small
17
Main idea for the dynamic program
Communication protocol for evaluating polynomial sums Table entries stored in DP correspond to message that allows other player to find the answer Alice has univariate polynomial π π΄ (π₯) of degree π π΄ Bob has univariate polynomial π π΅ π₯ of degree π π΅ Both parties know π π΄ , π π΅ , and π Goal: Using little communication from Alice to Bob, enable Bob to output π₯β π π π΄ π₯ β
π π΅ π₯ Straight-forward communication strategy: Consider coefficients of π π΄ π₯ = π 0 π₯ 0 + π 1 π₯ 1 +β¦+ π π π΄ π₯ π π΄ Alice sends her π π΄ +1 coefficients ( π 0 , π 1 ,β¦, π π π΄ ) to Bob Summing evaluations of a polynomial that is split into two bounded-degree factors (one corresponding to edges already encountered in the linear layout, other corresponding to edges to-be encountered in the future).
18
Alternative communication strategy
Goal: Using little communication from Alice to Bob, enable Bob to output π₯β π π π΄ π₯ β
π π΅ π₯ Straight-forward communication strategy: Alice sends the π π΄ +1 coefficients ( π 0 , π 1 ,β¦, π π π΄ ) of π π΄ to Bob Alternative communication strategy: Consider coefficients of π π΅ π₯ = π 0 β² π₯ 0 + π 1 β² π₯ 1 +β¦+ π π π΅ β² π₯ π π΅ Desired output can be rewritten as: π₯β π π π΄ π₯ π 0 β² π₯ 0 + π 1 β² π₯ 1 +β¦+ π π π΅ β² π₯ π π΅ = π 0 β² π₯β π π π΄ π₯ π₯ 0 + π 1 β² π₯β π π π΄ π₯ π₯ 1 +β―+ π π π΅ β² π₯β π π π΄ π₯ π₯ π π΅ First split the single sum into π π΅ +1 sums, one for every power; within one such sum, we can move the coefficient in front. These π π΅ +1 partial evaluations allow Bob to compute the output!
19
Alternative communication strategy
Goal: Using little communication from Alice to Bob, enable Bob to output π₯β π π π΄ π₯ β
π π΅ π₯ Straight-forward communication strategy: Alice sends the π π΄ +1 coefficients ( π 0 , π 1 ,β¦, π π π΄ ) of π π΄ to Bob Alternative communication strategy: Alice sends π π΅ +1 evaluations π₯β π π π΄ π₯ π₯ π for 0β€πβ€ π π΅ Best protocol depends on which polynomial has larger degree Extends to multivariate polynomials for Alice and Bob Mix the two strategies, choosing most efficient one for each variable First split the single sum into π π΅ +1 sums, one for every power; within one such sum, we can move the coefficient in front.
20
From communication protocol to π-Coloring
From left to right in the linear layout, compute partial evaluations of π πΊ (π§) about the first π vertices π π Un-evaluated variables in the polynomial for π π correspond to: vertices incident to an edge in the cut after π Independently pick communication strategy for each vertex π£: does the majority of the neighbors occur at positions β€π, or at positions >π? π-Coloring can be solved in time π β ( 2 ππ‘π€ ) w. high probability π-Coloring can be solved in time π β π/2 +1 ππ€ w.h.p.
21
THANK YOU! Conclusion PhD & Postdoc
SETH-optimal algorithms for π-Coloring, using several parameterizations concerning edge separators Uniform approach works for both cutwidth / degree+pathwidth Running times for cutwidth parameterization independent of π Running time π β ( 2 ππ‘π€ ) is already optimal for Planar 3-Coloring Open problems: Derandomize the algorithms Experiment with the cut-based reduction of partial solutions PhD & Postdoc THANK YOU!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.