Fine-Grained Parameterized Complexity Analysis of Graph Coloring Problems
Lars Jaffke, Bart M. P. Jansen

TL;DR
This paper provides a detailed complexity analysis of the graph coloring problem, showing how the parameterization affects the problem's computational difficulty and establishing bounds based on popular complexity hypotheses.
Contribution
It introduces a fine-grained parameterized complexity framework for q-Coloring, revealing how the parameter choice influences algorithmic feasibility and establishing tight bounds.
Findings
q-Coloring complexity depends on graph parameters like vertex cover and modulator size.
Existence of algorithms with base q - ε for certain graph classes under specific parameters.
No universal base q - ε algorithm exists for paths unless SETH fails.
Abstract
The -Coloring problem asks whether the vertices of a graph can be properly colored with colors. Lokshtanov et al. [SODA 2011] showed that -Coloring on graphs with a feedback vertex set of size cannot be solved in time , for any , unless the Strong Exponential-Time Hypothesis (SETH) fails. In this paper we perform a fine-grained analysis of the complexity of -Coloring with respect to a hierarchy of parameters. We show that even when parameterized by the vertex cover number, must appear in the base of the exponent: Unless ETH fails, there is no universal constant such that -Coloring parameterized by vertex cover can be solved in time for all fixed . We apply a method due to Jansen and Kratsch [Inform. & Comput. 2013] to prove that there are ā¦
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research Ā· Optimization and Search Problems
Fine-Grained Parameterized Complexity Analysis of
Graph Coloring Problems111This research was partially funded by the Networks programme via the Dutch Ministry of Education, Culture and Science through the Netherlands Organisation for Scientific Research. The second author was supported by NWO Veni grant āFrontiers in Parameterized Preprocessingā.
Lars Jaffke The research was done while this author was at CWI, Amsterdam. Department of Informatics
University of Bergen
Postboks 7803, N-5020 Bergen, Norway
Bart M.Ā P.Ā Jansen
Department of Mathematics and Computer Science
Eindhoven University of Technology
P.O. Box 513, 5600 MB Eindhoven, The Netherlands
Abstract
The -Coloring problem asks whether the vertices of a graph can be properly colored with colors. Lokshtanov et al. [SODA 2011] showed that -Coloring on graphs with a feedback vertex set of size cannot be solved in time , for any , unless the Strong Exponential-Time Hypothesis () fails. In this paper we perform a fine-grained analysis of the complexity of -Coloring with respect to a hierarchy of parameters. We show that even when parameterized by the vertex cover number, must appear in the base of the exponent: Unless fails, there is no universal constant such that -Coloring parameterized by vertex cover can be solved in time for all fixed . We apply a method due to Jansen and Kratsch [Inform. & Comput. 2013] to prove that there are time algorithms where is the vertex deletion distance to several graph classes for which -Coloring is known to be solvable in polynomial time. We generalize earlier ad-hoc results by showing that if is a class of graphs whose -colorable members have bounded treedepth, then there exists some such that -Coloring can be solved in time when parameterized by the size of a given modulator to . In contrast, we prove that if is the class of paths ā some of the simplest graphs of unbounded treedepth ā then no such algorithm can exist unless fails.
1 Introduction
In an influential paper from 2011, Lokshtanov et al.Ā showed that for several problems, straightforward dynamic programming algorithms for graphs of bounded treewidth are essentially optimal unless the Strong Exponential Time Hypothesis () fails [13]. (Section 2.2 gives the definitions of the two Exponential Time Hypotheses, see [4, Chapter 14] or the survey [16] for further details.) Some of the lower bounds, as the one for -Coloring, even hold for parameters such as the feedback vertex number, which form an upper bound on the treewidth but may be arbitrarily much larger. For other problems such as Dominating Set, the tight lower bound of holds for the parameterization pathwidth, but is not known for the parameterization feedback vertex set. In general, moving to a parameterization that takes larger values might enable running times with a smaller base of the exponent. In this paper, we therefore investigate the parameterized complexity of the -Coloring and -List-Coloring problems from a more fine-grained perspective.
In particular, we consider a hierarchy of graph parameters ā ordered by their expressive strength ā which is a common method in parameterized complexity, see e.g.Ā [7] for an introduction. One of the strongest parameters for a graph problem is the number of vertices in a graph, in the following denoted by . Bjƶrklund et al.Ā showed that the chromatic number (the smallest number of colors such that is -colorable) of a graph can be computed in time [2], so the base of the exponent in the runtime of the algorithm is independent of the value of . We show that if you consider a slightly weaker parameter, the size of a vertex cover of , it is very unlikely that there is a constant , such that -Coloring can be solved in time for all fixed : It would imply that is false.
However, we show that there is a simple algorithm that solves -Coloring parameterized by vertex cover, and for which the base of the exponential in its runtime is strictly smaller than the base that is potentially optimal for the treewidth parameterization. (A proof of the following proposition is deferred to the beginning of Section 3.)
Proposition 1**.**
There is an algorithm which decides whether a graph is -colorable and runs in time , where denotes the size of a given vertex cover of .
On the other hand, the above algorithm does not obviously generalize to other parameterizations. To derive more general results about obtaining non-trivial runtime bounds for parameterized -Coloring, we study graph classes with small vertex modulators to several graph classes : Given a graph , a vertex modulator to is a subset of its vertices such that if we remove from the resulting graph is a member of , i.e.Ā . If , we say that . (For example, graphs that have a vertex cover of size at most are graphs.) Hence, we study the following problems which were first investigated in this parameterized setting by Cai [3].
-(List-)Coloring on Graphs
Input: An undirected graph and a modulator such that (and lists ).
Parameter: , the size of the modulator.
Question: Can we assign each vertex a color (from its list ) such that adjacent vertices have different colors?
Given a No-instance of -List-Coloring we call a No-subinstance of , if is an induced subgraph of and for all vertices : such that is also No. We show that if a graph class has small No-certificates for -List-Coloring then -(List-)Coloring on graphs can be solved in time , for some . This notion was introduced by Jansen and Kratsch to prove the existence of polynomial kernels for said parameterizations [11].
In addition to that, we give some further structural insight into hereditary graph classes , for which graphs have non-trivial algorithms: We show that if the -colorable members of have bounded treedepth, then has time algorithms for -Coloring when parameterized by the size of a given modulator, for some . We prove that this treedepth-boundary is in some sense tight: Arguably the most simple graphs of unbounded treedepth are paths. We show that -Coloring cannot be solved in time for any on graphs, unless fails ā strengthening the lower bound for graphs [13] via a somewhat simpler construction. Using this strengthened lower bound, we prove that if a hereditary graph class excludes a complete bipartite graph for some constant , then has time algorithms for -(List-)Coloring if and only if the -colorable members of have bounded treedepth.
The rest of the paper is organized as follows: In Section 2 we give some fundamental definitions used throughout the paper. We present some upper bounds in the hierarchy in Section 3 and lower bounds in Section 4. In Section 5 we present the aforementioned tight relationship between the parameter treedepth and the existence of algorithms for -Coloring with nontrivial runtime and we give concluding remarks in Section 6.
2 Preliminaries
We assume the reader to be familiar with the basic notions in graph theory and parameterized complexity and refer to [4, 5, 6, 8] for an introduction. We now give the most important definitions which are used throughout the paper.
We use the following notation: For with , and . The -notation suppresses polynomial factors in the input size , i.e.Ā . For a function , we denote by the restriction of to .
2.1 Graphs and Parameters
Throughout the paper a graph with vertex set and edge set is finite and simple. We sometimes shorthand () to () if it is clear from the context. For graphs , we denote by that is a subgraph of , i.e.Ā and . We often use the notation and . For a vertex , we denote by (or simply , if is clear from the context) the set of neighbors of in , i.e.Ā .
For a vertex set , we denote by the subgraph induced by , i.e.Ā . A graph class is called hereditary, if it is closed under taking induced subgraphs.
We now list a number of graph classes which will be important for the rest of the paper. A graph is independent, if . A cycle is a connected graph all of whose vertices have degree two. A graph is a forest, if it does not contain a cycle as an induced subgraph and a linear forest if additionally its maximum degree is at most two. A connected forest is a tree and a tree of maximum degree at most two is a path. A graph is a split graph, if its vertex set can be partitioned into sets such that is a clique and is independent. We define the class Split containing all graphs that are disjoint unions of split graphs. A graph is a cograph if it does not contain , a path on four vertices, as an induced subgraph. A graph is chordal, if it does not have a cycle of length at least four as an induced subgraph. A cochordal graph is the edge complement of a chordal graph and the class Cochordal contains all graphs that are disjoint unions of cochordal graphs.
Definition 2** (Parameterized Problem).**
Let be an alphabet. A parameterized problem is a set , the second component being the parameter which usually expresses a structural measure of the input. A parameterized problem is (strongly uniform) fixed-parameter tractable (fpt) if there exists an algorithm to decide whether in time where is a computable function.
The main focus of our research is how the function behaves for -Coloring w.r.t.Ā different structural graph parameters, such as the size of a vertex cover.
In this paper we study a hierarchy of parameters, a term which we will now discuss. For a detailed introduction we refer to [7, Section 3]. For notational convenience, we denote by a parameterized problem with parameterization . Suppose we have a graph problem and two parameterizations and regarding some structural graph measure. We call parameterization larger than if there is a function , such that for all graphs . Modulo some technicalities, we can then observe that if a problem is fpt, then is also fpt. This induces a partial ordering on all parameterizations based on which a hierarchy can be defined.
2.2 Exponential-Time Hypotheses
In 2001, Impagliazzo et al.Ā made two conjectures about the complexity of -SAT ā the problem of finding a satisfying assignment for a Boolean formula in conjunctive normal form with clauses of size at most [9, 10]. These conjectures are known as the Exponential-Time Hypothesis () and Strong Exponential-Time Hypothesis (), formally defined below. For a survey of conditional lower bounds based on such conjectures, see [16].
Conjecture 3** ( [9]).**
There is an , such that 3-SAT on variables cannot be solved in time .
Conjecture 4** ( [9, 10]).**
For every , there is a such that -SAT on variables cannot be solved in time .
3 Upper Bounds
In this section we present upper bounds for parameterized -Coloring. In particular, in Section 3.1 we show that if a graph class has No-certificates of constant size, then there exist time algorithms for -Coloring on graphs for some depending on . In Section 3.2 we show that if the -colorable members of a hereditary graph class have bounded treedepth, then has No-certificates of small size.
We begin by proving Proposition 1 and repeat its statement.
Proposition**.**
There is an algorithm which decides whether a graph is -colorable and runs in time , where denotes the size of a given vertex cover of .
Proof.
Let be the given vertex cover of of size . We observe that if is -colorable, then any valid -coloring of can be extended from a valid -coloring of . We know that in any -coloring there is a color class that contains at most vertices in . The algorithm now works as follows. We enumerate all sets of size at most and check whether they are independent. If so, let denote the set consisting of together with all vertices in that do not have a neighbor in . Note that is independent. We then recurse on the instance with decreased by one (and the size of the modulator decreased by ). Once , we check whether the remaining graph is -colorable (or equivalently, bipartite) in linear time.
We now compute the exponential dependence of the runtime by induction on . As base cases we consider . The cases and are trivial, since the problem can be solved in polynomial time. For , the number of generated subproblems is bounded by , which is at most , where is the binary entropy [8, page 427]. Since , the algorithm generates at most subproblems, all of which can be solved in polynomial time. For the induction step, let and assume for the induction hypothesis that for , the exponential dependence of the running time is upper bounded by . Since the algorithm enumerates all subsets of of size for each , and the size of the parameter decreases by in each call, using the induction hypothesis we find that the exponential term in the running time is upper bounded by
[TABLE]
since by the Binomial Theorem.
We now argue the correctness of the algorithm, again by induction on . The base cases, and are again trivially correct. For the induction step, consider and assume for the induction hypothesis that the recursive calls to solve -Coloring are correct. Suppose has a -coloring and let denote the color class with the fewest vertices from . Then, , so the algorithm guesses the set . Since the corresponding set contains all vertices in that do not have a neighbor in and is a proper coloring, we can conclude that . Hence, is a subgraph of the -colorable graph induced by the other color classes of which the algorithm detects correctly by the induction hypothesis. Conversely, any -coloring for can be lifted to a -coloring of by giving all vertices in the independent set the same, new, color. ā
3.1 Small No-Certificates
In earlier work [11], Jansen and Kratsch studied the kernelizability of -Coloring and established a generic method to prove the existence of polynomial kernels for several parameterizations of -Coloring. We now show that we can use their method to prove the existence of time algorithms, for some , for several graph classes as well.
We first introduce the necessary terminology. Let be an instance of -List-Coloring. We call a subinstance of , if is an induced subgraph of and for all .
Definition 5** (-size No-certificates).**
Let be a function. A graph class is said to have -size No-certificates for -List-Coloring if for all No-instances of -List-Coloring with there is a No-subinstance on at most vertices.
Theorem 6**.**
Let be a graph class with -size No-certificates for -List-Coloring. Then, there is an , such that -List-Coloring (and hence, -Coloring) on graphs can be solved in time given a modulator to of size at most . In particular, the algorithm runs in time , where the degree of the hidden polynomial depends on .
Proof.
Let with vertex modulator , such that has -size No-certificates for -List-Coloring. The idea of the algorithm is to enumerate partial colorings of , except some colorings for which it is clear that they cannot be extended to a proper coloring of the entire instance. The latter can occur as follows: After choosing a coloring for some vertices of and removing the chosen colors from the lists of their neighbors, a No-subinstance appears in the graph . If the minimal No-subinstances have constant size, then for any given instance, either all proper colorings on can be extended onto , or there is a way to find a constant-size set of vertices for which at least one of the colorings would trigger a No-subinstance and can therefore be discarded. Branching on the remaining relevant colorings for then gives a nontrivial running time. An outline is given in Algorithm 1.
The main condition (line 1) checks whether the input graph contains the graph of a minimal No-instance as an induced subgraph. If so, we look for a neighborhood of in (the sets ), which can block the colors that are on the lists but not on the lists of the minimal No-instance. If these conditions are satisfied, then we know that we can exclude the coloring on which assigns each vertex the color (for all ): This coloring induces a No-subinstance on . It suffices to use sets of at most vertices each. To induce the No-instance, in the worst case we need a different vertex in for each of the vertices in that do not have on their list. Hence, as described from line 1 on, we enumerate all colorings (where ) except the one we just identified as not being extendible to . For each such , we make a copy of the current instance and āassignā each vertex corresponding to a vertex in the color : We remove from the lists of its neighbors and then remove from the copy instance. In the worst case we therefore recurse on instances with the size of the vertex modulator decreased by . If during a branch in the computation, the condition in line 1 is not satisfied, then we know that there is no coloring on the modulator that cannot be extended to the vertices outside the modulator and hence it is sufficient to compute whether is -list-colorable using the standard algorithm for computing the chromatic number [2]. As soon as one branch returns Yes, we can terminate the algorithm, since we found a valid list coloring.
Claim 7**.**
If the condition of lineĀ 1 does not hold, thenĀ is -list-colorable if and only ifĀ is -list-colorable.
Proof.
The forward direction is trivial since any proper coloring ofĀ yields a proper coloring of its induced subgraphĀ . To prove the reverse direction, we show that if the condition of lineĀ 1 fails, any proper -list-coloring ofĀ can be extended to a proper -list-coloring of the entire graph.
Suppose thatĀ is a proper -list-coloring ofĀ . Define a -list-coloring instanceĀ on the graphĀ , where for each vertexĀ the list of allowed colors isĀ . IfĀ has a proper -list-coloringĀ , then we can obtain a proper -list-coloring forĀ by followingĀ on the vertices inĀ andĀ on the vertices outsideĀ . The fact that the colors for vertices inĀ are removed from the -lists of their neighbors ensures that the resulting coloring is proper, and since each list ofĀ is a subset of the corresponding list inĀ , the coloring satisfies the list requirements. We therefore complete the proof by showing thatĀ must be a Yes-instance. Assume for a contradiction thatĀ has answer No. SinceĀ , which hasĀ -size No-certificates, there is an induced subinstanceĀ ofĀ on at mostĀ vertices, whereĀ is an induced subgraph ofĀ and therefore ofĀ . SinceĀ is a No-instance on at mostĀ vertices, the instanceĀ is contained in the set of enumerated small No-instances. For eachĀ , for each colorĀ that belongs toĀ but not toĀ we haveĀ for someĀ , by definition ofĀ . InitializeĀ as empty vertex sets. For eachĀ and colorĀ , add such a vertexĀ toĀ . SinceĀ satisfies the list constraints, for each vertexĀ withĀ we haveĀ . Hence these structures satisfy the conditions of lineĀ 1; a contradiction. ā
Claim 8**.**
If the condition of lineĀ 1 holds, then the coloringĀ cannot be extended to a proper -list-coloring ofĀ .
Proof.
To extend the coloringĀ to the entire graphĀ , each vertexĀ ofĀ has to receive a color ofĀ , since the color ofĀ must differ from that of its neighbors. For each vertexĀ in the subgraphĀ , for each colorĀ inĀ there is a neighbor ofĀ inĀ (by conditionĀ 3 of lineĀ 1) that is coloredĀ (by lineĀ 1). Hence the colors available forĀ in an extension form a subset ofĀ . But sinceĀ is isomorphic toĀ , andĀ is a No-instance, no such extension is possible as it would yield a proper -list-coloring ofĀ . ā
Using these claims we prove correctness by induction on the nesting depth of recursive calls in which the condition of lineĀ 1 is satisfied. If lineĀ 1 is not satisfied (which includes the base case of the induction), then the algorithm is correct by ClaimĀ 7 and the fact that we invoke a correct algorithm in line 1 as a subroutineĀ [2]. Now, suppose that the condition of lineĀ 1 is satisfied, and assume by the induction hypothesis that the recursive calls (line 1) are correct. Let with modulator be the current instance. We recurse on each possible proper -list-coloring of the set , except the one described in the condition in line 1 for which ClaimĀ 8 shows it cannot be extended to a proper -list-coloring. IfĀ has a proper -list-coloringĀ , then in the branch where we correctly guess the restriction ofĀ onto the vertices inĀ we find a Yes-answer: the restriction ofĀ onĀ is a proper -list-coloring ofĀ since the colors we removed from the lists were not used onĀ (they were used on their neighbors inĀ ). Conversely, if some recursive call yields a Yes-answer, then since we restricted the lists before going into recursion, we can extend a proper -list-coloring on the smaller instance with the coloringĀ onĀ to obtain a proper -list-coloring ofĀ .
We now analyze the runtime. Since is a constant, is constant as well and computing the set in line 1 can be done in constant time. Using the same argument we observe that the condition in line 1 checks a polynomial number of options: The size of and the size of its elements are constant and hence there is a polynomial number (at mostĀ ) of subgraphs of to consider. Since , we can enumerate all isomorphisms and all sets with an additional polynomial overhead. Hence the work in each iteration, excluding the recursive calls and lineĀ 1, is polynomial.
Line 1 can be done in timeĀ , which isĀ for constantĀ , using theĀ algorithm for Chromatic NumberĀ [2] and the following classic reduction from -list-coloring to -coloring. InstanceĀ has a proper -list-coloring if and only if the following graph is -colorable: starting fromĀ , add a -clique whose vertices represent theĀ colors, and edges between everyĀ and the clique-vertices whose colors do not appear onĀ .
Using these facts we bound the total runtime. In the worst case we branch on instances in which the size of the modulator decreased by . By standard techniquesĀ [15, Proposition 8.1], this branching vector can be shown to generate a search tree withĀ nodes. If the work at each node of the tree is polynomial, we therefore get a total runtime bound matching the theorem statement. If we do not execute lineĀ 1, then indeed a single iteration takes polynomial time. If lineĀ 1 is executed, then we spendĀ time on the iteration. However, in that case we do not recurse further, so the time spent solving the problem onĀ can be discounted against the fact that we do not explore a search tree of sizeĀ forĀ . The time bound follows.
This concludes the proof of Theorem 6, noting that we can apply any algorithm for -List-Coloring to solve an instance of -Coloring by giving each vertex in a given instance of -Coloring a full list. ā
In the light of [11, Lemmas 2-4] we can apply Theorem 6 to a number of graph classes.
Corollary 9** **(of Thm. 6 and
Cor. 1 and 2 and Lemmas 2, 3 and 4 in [11]).
There is an , such that the -Coloring and -List-Coloring problems on graphs can be solved in time given a modulator to of size , where is one of the following classes: Independent, Split, Cochordal and Cograph.
Remark*.*
Rather than on the maximum size of any minimal No-instance of a graph class , the runtime of the algorithm described in Theorem 6 depends on their maximum deficiency, defined as (as we need one vertex in the modulator for each color we want to block from the list of a vertex in the No-instance). We would like to note that the runtime of Algorithm 1 can be improved when analyzing the deficiency of the No-instances constructed in the proofs of [11, Lemmas 2-4].
3.2 Bounded Treedepth
We now show that if the -colorable members of a hereditary graph class have treedepth at most , then has -size No-certificates. For a detailed introduction to the parameter treedepth and its applications, we refer to [14, Chapter 6].
Definition 10** (Treedepth).**
Let be a connected graph. A treedepth decomposition is a rooted tree on the vertex set of such that the following holds. For , let denote the set of ancestors of in . Then, for each edge , either or .
The depth of is the number of vertices on a longest path from the root to a leaf. The treedepth of a connected graph is the minimum depth of all its treedepth decompositions. The treedepth of a disconnected graph is the maximum treedepth of its connected components.
The main result of this section is the following.
Lemma 11**.**
Let be a hereditary graph class whose -colorable members have treedepth at most . Then, has -size No-certificates for -List-Coloring.
Proof.
Consider an arbitrary No-instance of -List-Coloring for a graph . If is not -colorable (ignoring the lists ), then remove an arbitrary vertex from . Since this lowers the chromatic number by at most one, the resulting graph will still be a No-instance of -Coloring and therefore of -List-Coloring. Repeat this step until arriving at a subinstance that is -colorable. By assumption, has treedepth at most . Fix an arbitrary treedepth decomposition for of depth at most . We use the decomposition to find a No-subinstance by a recursive algorithm. Given a No-instance and a treedepth decomposition of of depth at most , it marks a set such that the subinstance induced by is still a No-instance and .
If the treedepth decomposition has depth one, then mark a vertex with an empty list (which must exist if the answer is No). When the decomposition has depth , then do the following. Let be a tree of the decomposition that represents a connected component that cannot be list colored. Let be its root. For each color , create a list coloring instanceĀ on a graph of treedepth as follows. The graph is and its decomposition consists of minus its root (which therefore splits into a forest), and the lists equal the old lists except that we remove from the lists of all of ās neighbors. Observe that the subinstance has answer No, since otherwise the component has a proper coloring. Recursively call the algorithm on this smaller instance to get a set that preserves the fact that has answer No. After getting the answers from all the recursive calls, mark the vertices in the set containing the root together with the union of the sets for all .
To bound the size of the set , let denote the maximum number of marked vertices in a treedepth decomposition of depth . Clearly, . If , we recurse in at most ways on instances of treedepth , hence the number of marked vertices is described by the recurrence which resolves to and hence , as claimed.
We now prove that the above described marking procedure preserves the No-answer of an instance of -List-Coloring. We use induction on , the depth of a treedepth decomposition (with root ) of the graph of a -List-Coloring No-instance . The base case is trivially correct: A graph has treedepth one if and only if it is independent and since a graph is -list-colorable if and only if its connected components are -list-colorable, the only minimal No-instance of treedepth one is a single vertex with an empty list, which we marked in the procedure. Now suppose for the induction hypothesis that and for all , the marking procedure is correct. Consider a treedepth decomposition of a connected component of (a subgraph of) and the set of currently marked vertices. Suppose for the sake of a contradiction that is a Yes-instance with proper list-coloring . Let denote the connected component of we branched on for color and the set of marked vertices in . By the induction hypothesis (which applies since has treedepth at most ), we know that is a No-instance of -List-Coloring. ButĀ is a valid solution for that instance ifĀ is a proper coloring: the color ofĀ cannot appear on its neighbors inĀ , and thereforeĀ satisfies the list constraints ofĀ . This contradicts the fact thatĀ is a No-instance. ā
To see the versatility of Lemma 11, observe that the vertices of a -colorable split graph can be partitioned into a clique of size at most and an independent set, which makes it easy to see that they have treedepth at most . Since the treedepth of a disconnected graph equals the maximum of the treedepth of its connected components, we then get a finite () bound on the size of minimal No-instances for -List-Coloring on graphs. An ad-hoc argument was needed for this in earlier work [11, Lemma 2], albeit resulting in a better bound ().
4 Lower Bounds
In this section we prove lower bounds for -Coloring in the parameter hierarchy. Since in the following, the āā-notation is more convenient for the presentation of our results, we will mostly refer to graphs which have a vertex cover of size as graphs and graphs that have a feedback vertex set of size as graphs.
In Section 4.1 we show that there is no universal constant , such that -Coloring on graphs can be solved in time for all fixed , unless fails. We generalize the lower bound modulo for graphs [13] to (and ) graphs in Section 4.2. Note that by the constructions we give in their proofs, the lower bounds also hold in case a modulator of size to the respective graph class is given.
4.1 No Universal Constant for Independent+kv graphs
The following theorem shows that, unless fails, the runtime of any algorithm for -Coloring parameterized by vertex cover (equivalently, on graphs), always has a term depending on in the base of the exponent.
Theorem 12**.**
There is no (universal) constant , such that for all fixed , -Coloring on graphs can be solved in time , unless fails.
Proof.
Assume we can solve -Coloring on graphs in time . We will use this hypothetical algorithm to solve 3-SAT in time for arbitrarily small , contradicting . We present a way to reduce an instance of 3-SAT to an instance of -List-Coloring for an arbitrary power of . The larger is, the smaller the vertex cover of the constructed graph will be. It will be useful to think of a color ( for some ) as a bitstring of length , which naturally encodes a truth assignment to variables. The entire color rangeĀ partitions into three consecutive blocks ofĀ colors, so that the same truth assignment toĀ variables can be encoded by three distinct colorsĀ , andĀ for someĀ . The reason for the threefold redundancy is that clauses in have size three and will become clear in the course of the proof.
Given an instance of 3-SAT, we create a graph and lists as follows. First, we add vertices (where ) to , whose colorings will correspond to the truth assignments of the variablesĀ in . We let for all these vertices. In particular, the variable will be encoded by vertex . We add two more layers of vertices (where ) to whose lists will be and , respectively (for all ). Throughout the proof, we denote the set of all these variable vertices by , where and .
For each and we do the following. For each pair of colors and such that , we add a vertex with list and make it adjacent to both and . Note that this way, we add and hence a constant number of vertices for each such and . We denote the set of all vertices for all and by .
Claim 13**.**
Let and . In any proper list-coloring of , the color appears on if and only if the color appears on . If colorĀ appears onĀ andĀ appears onĀ , then all verticesĀ can be assigned a color from their list that does not appear on a neighbor.
Proof.
We first observe that the lists of and are and , respectively. Suppose that appears on . Then, for every color with there is a neighbor of with list . Since already appears on a neighbor of , we know that in each proper coloring, must be colored , blocking this color for its neighborĀ . As this prevents any colorĀ from appearing onĀ , in any proper list-coloring that vertex is coloredĀ . (A proof of the converse works the same way.)
Now supposeĀ appears onĀ andĀ appears onĀ . Then any vertexĀ created by the process above hasĀ by construction. HenceĀ can safely be assigned a color ofĀ , which does not appear on any of its neighbors. ā
Claim 13 shows that in any proper list-coloring ofĀ , there is a threefold redundancy: If color appears on , then color appears on and appears on . We associate a proper list-coloring ofĀ with the truth assignment whose True/False assignment to the -th block of consecutive variables follows the -bit pattern in the least significant bits of the binary expansion of the color of vertex . Conversely, given a truth assignment toĀ we associate it to the coloring ofĀ where the color of vertexĀ is given by the number whose least significantĀ bits match the truth assignment to the -th block ofĀ variables, and any remaining bits are set toĀ [math]. The colors ofĀ andĀ areĀ andĀ higher than the color ofĀ .
For each clause we will now add a number of clause vertices to ensure that if is not satisfied by a given truth assignment of its variables, then the corresponding coloring of the vertices cannot be extended to (at least) one of these clause vertices.
Let be a clause with variables , and . Then, , and denote the vertices whose colorings encode the truth assignments of the respective variables. In the following, let for . Note that there is precisely one truth assignment of the variables , and that does not satisfy . Choose such that if and only if the -th variable in appears negated. ForĀ let be those colors whose binary expansion differs from at the -th least significant bit, and defineĀ andĀ . This implies that the truth assignment encoded by a proper list-coloring ofĀ falsifies the -th literal of if and only if it uses a color from on vertex . By ClaimĀ 13, this happens if and only if it uses a color fromĀ on vertexĀ , which happens if and only if it uses a color ofĀ on vertexĀ . Hence the assignment encoded by a proper list-coloring satisfies clause if and only if the colors appearing on do not belong to the set . To encode the requirement that be satisfied into the graph , for each we add a vertex to that is adjacent to , and and whose list is . The threefold redundancy we incorporated ensures that the three colors in each forbidden triple are all distinct. Therefore, if one of the three neighbors ofĀ does not receive its forbidden color, thenĀ can properly receive that color. This would not hold if there could be duplicates among the forbidden colors.
The reduction is finished by adding these vertices for each clause . We denote the set of clause vertices byĀ . For an illustration see Figure 1.
Claim 14**.**
The formula has a satisfying assignment, if and only if the graph obtained via the above reduction is -list-colorable.
Proof.
Suppose has a satisfying assignment . LetĀ be the corresponding proper coloring ofĀ , as described above. We argue that can be extended to the vertices as well. Let be a clause on variables , and and let be a vertex we introduced in the construction above for . For , let .
Since encodes a satisfying assignment, we know that there exists an , such that (since otherwise, is not a satisfying assignment to ). Hence, the color is not blocked from the list of vertex which can then be properly colored. By Claim 13 we know that the remaining vertices can be properly list-colored as well.
Conversely, suppose that is properly list-colored. We show that each proper coloring must correspond to a truth assignment that satisfies . For the sake of a contradiction, suppose that there is a proper list-coloring which encodes a truth assignment that does not satisfy . Let denote a clause which is not satisfied by on variables , and . For , we denote by the colors of the variable vertices encoding the truth assignment of the variables in . Since does not satisfy we know that we added a vertex to , which is adjacent to , , and . This means that the colors , and appear on a vertex which is adjacent to and hence the coloring is improper, a contradiction. ā
We have shown how to reduce an instance of 3-SAT to an instance of -List-Coloring. We modify the graph to obtain an instance of -Coloring which preserves the correctness of the reduction. We add a clique of vertices to , each of whose vertices represents one color. We make each vertex in adjacent to each vertex in that represents a color which does not appear onĀ ās list in the list-coloring instance. (The same trick was used in the proof of Theorem 6.1 in [13].) It follows that the graph withoutĀ has a proper list-coloring if and only if the new graph has a proper -coloring.
We now compute the size of in terms of and and give a bound on the size of a vertex cover of . We observe that , , and clearly, . To bound the size of , we observe that for each clause , we added vertices (since we considered all triples of bitstrings of length where one character is fixed in each string) and hence withĀ the number of clauses inĀ . It is easy to see that is a vertex cover of and hence has a vertex cover of size .
Assuming there is an algorithm that solves -Coloring on graphs in time together with an application of the above reduction (whose correctness follows from Claim 14) would yield an algorithm for 3-SAT that runs in time
[TABLE]
Hence, for any we can choose a constant large enough such that and Theorem 12 follows. ā
4.2 No Nontrivial Runtime Bound for Path+kv
Graphs
We now strengthen the lower bound for graphs due to [13] to the more restrictive class of graphs. The key idea in our reduction is that we treat the clause size in a satisfiability instance as a constant, which allows for constructing a graph of polynomial size. The following lemma describes the clause gadget that will be used in the reduction.
Lemma 15**.**
For eachĀ there is a polynomial-time algorithm that, givenĀ , outputs a -list-coloring instanceĀ whereĀ is a path of sizeĀ containing distinguished verticesĀ , such that the following holds. For eachĀ there is a proper list-coloringĀ ofĀ in whichĀ for allĀ , if and only ifĀ .
Proof.
The pathĀ consists of consecutive verticesĀ . VertexĀ is the source andĀ is the sink. The remainingĀ vertices are split intoĀ groupsĀ consisting of six consecutive verticesĀ () each. We first add some colors to the lists of these vertices which are allowed regardless ofĀ . Later we will add some more colors to the lists of selected vertices to obtain the desired behavior.
Initialize the ādefaultā list of vertexĀ forĀ to contain the two colorsĀ , so that the first few lists areĀ ,Ā ,Ā , and so on. InitializeĀ . With these lists, there is no proper list-coloring ofĀ . The color for the source vertex is fixed toĀ , forcing the color ofĀ toĀ , which forcesĀ toĀ , and generally forcesĀ to colorĀ . HenceĀ is forced toĀ , creating a conflict with the sinkĀ which is also forced to colorĀ .
We now introduce additional colors on some lists, and identify the distinguished vertices among the verticesĀ (whereĀ ), to allow proper list-colorings under the stated conditions. (Note that in the rest of the proof, we will make use of two symbols for any distinguished vertex, depending on which is more convenient at the time:Ā whereĀ andĀ where .) For a groupĀ of six consecutive vertices, the interior of the group consists of the middle four vertices. For each indexĀ , chooseĀ as a vertex from the interior of groupĀ such thatĀ is not on the default list of colors forĀ . Since there is no color that appears on all of the default lists of the four interior vertices, this is always possible. AddĀ to the list of allowed colors forĀ . This completes the construction of the list-coloring instanceĀ . For an illustration see Figure 2.
It is easy to see that the construction can be performed in polynomial time. To conclude the proof, we argue thatĀ has the desired properties. Observe that ifĀ , then a proper list-coloringĀ ofĀ in whichĀ for allĀ would in fact be a proper list-coloring ofĀ under the default lists before augmentation, which is impossible as we argued earlier. It remains to argue that whenĀ differs fromĀ in at least one position, thenĀ has a proper list-coloringĀ withĀ for allĀ . To construct such a list-coloring, for each indexĀ withĀ , assign vertexĀ the colorĀ . Since the verticesĀ are interior vertices of their groups, the distinguished vertices are pairwise nonadjacent and this does not result in any conflicts. For distinguished verticesĀ withĀ , we will assignĀ a color from the default list of vertexĀ ; sinceĀ is not on the default list this results in the desired color-avoidance. We therefore conclude by verifying that the remaining vertices can be assigned a proper color from their default list.
To do so, assign the source vertex its forced color and propagate the coloring as described above, until we reach the first distinguished vertexĀ withĀ (whereĀ ). LetĀ denote the index ofĀ among all vertices of , i.e.Ā . In the current partial coloring,Ā received colorĀ which is a color on the default list ofĀ . Hence, we do not create a conflict between verticesĀ andĀ as we gaveĀ the colorĀ which was not onĀ ās default list by construction. The other color on the default list ofĀ isĀ , which is also on the list ofĀ , asĀ . Hence, assigningĀ colorĀ does not create a conflict betweenĀ andĀ , again since we assigned a color which was not on its default list.
IfĀ was the last index for whichĀ , then, for all we continue giving vertexĀ colorĀ . This way the sink can be properly list-colored.
- -
If not, we giveĀ colorĀ . Note that since all distinguished vertices are interior vertices of the groups, cannot be a distinguished vertex and hence has not been previously assigned a color. We now propagate this coloring along the path as before until we reach the next distinguished vertex which has already been assigned a color.
We repeat the construction until all vertices are properly list-colored. ā
Theorem 16**.**
For any and constant , -Coloring on graphs cannot be solved in time , unless fails.
Proof.
To prove the theorem, we will first show that if -List-Coloring on graphs can be solved in time for and some , then -SAT can be solved in time for some and any , contradicting . By the same argument as in the proof of Theorem 12, we then extend the lower bound to -Coloring.
Suppose we have an instance of -SAT on variables . We construct a graph and lists , such that is properly list-colorable if and only if is satisfiable. The first part of the reduction is inspired by the reduction of Lokshtanov et al.Ā [13, Theorem 6.1], which we repeat here for completeness. We choose an integer constant depending on and and group the variables of into groups of size each. We call a truth assignment for the variables in a group assignment. We say that a group assignment satisfies clause if contains at least one literal which is set to True by the group assignment. For each group , we add a set of vertices to , in the following denoted by with for all and . Each coloring of the vertices will encode one group assignment of . We fix some efficiently computable injection that assigns to each group assignment for a distinct -tuple of colors. This is possible since there are possible colorings ofĀ vertices. For a variable we can identify the set of vertices whose colorings encode the assignment of the group containing . Since each group has size , the truth assignments of a variable are encoded by (some) colorings of the vertices in , where .
We now construct the main part of the graph . Let be a clause on variables , where . The truth assignments of these variables are encoded by the colorings of the vertices in . We say that a coloringĀ is a bad coloring forĀ if there is a group for which the coloring does not represent a group assignment, or if the group assignments encoded byĀ do not satisfy clauseĀ .
For each bad coloring we construct a path using Lemma 15 which ensures that is not properly list-colorable ifĀ appears onĀ . LetĀ and consider the following vector of colors induced by :
[TABLE]
We add to a path constructed according to Lemma 15 with as the input vector of colors. LetĀ denote the distinguished vertices of . We make each variable vertexĀ (whereĀ andĀ ) adjacent to the distinguished vertexĀ in , intending to ensure that if all vertices inĀ are colored according toĀ , then this partial list-coloring onĀ cannot be extended toĀ . Adding such a path for each clause inĀ and each bad coloring finishes the construction ofĀ .
We first count the number of vertices inĀ and then prove the correctness of the reduction. There areĀ variable vertices and for each of theĀ clauses, there are at mostĀ bad colorings, each of which adds a path on at mostĀ vertices to , by Lemma 15. Hence, the number of vertices in is at most
[TABLE]
asĀ andĀ .
Claim 17**.**
* is properlyĀ -list-colorable if and only ifĀ has a satisfying assignment.*
Proof.
SupposeĀ has a satisfying assignmentĀ . For each groupĀ the assignmentĀ dictates a group assignment, which corresponds to a coloring onĀ by the chosen injectionĀ . LetĀ denote the coloring of the variable vertices that encodesĀ . We argue thatĀ can be extended to the rest ofĀ , respecting the listsĀ . For everyĀ on variablesĀ and every bad coloringĀ w.r.t.Ā (whereĀ ), we added a pathĀ toĀ , constructed according to Lemma 15, whose distinguished vertices we denote byĀ . Note that denotes the vector representation of the coloring as in (1). LetĀ denote the vector representation ofĀ restricted to the variable verticesĀ , appearing in the same order as inĀ . SinceĀ encodes a satisfying assignment ofĀ , . Hence, by Lemma 15, we can extendĀ toĀ without creating a conflict; it asserts that there is a proper list-coloring on such thatĀ for allĀ andĀ . Hence, every pair of adjacent vertices between the vertices ofĀ and the vertices encoding the truth assignments of the variables inĀ can be list-colored properly and we can conclude thatĀ can be extended toĀ and subsequently, to all ofĀ .
Now supposeĀ has a proper list-coloringĀ and assume for the sake of a contradiction that does not have a satisfying assignment. Then, the restriction of any list-coloring ofĀ to (some of) the variable verticesĀ must be a bad coloring for some clause inĀ . LetĀ denote such a clause for and let denote the corresponding vector of colors, restricted to the variable vertex groups that encode the truth assignments to the variables in . We added a pathĀ to which by Lemma 15 cannot be properly list-colored such that each distinguished vertex gets a color which is different from the color of the variable vertex it is adjacent to. Hence, one of the distinguished vertices of creates a conflict and we have a contradiction. ā
Since consists of the variable vertices attached to a set of disjoint paths, we observe the following.
Observation 18**.**
* is a modulator to Linear Forest.*
The previous observation can easily be verified, since consists of the variable vertices attached to a set of disjoint paths. By Claim 17 and Observation 18 we can now finish the proof in the same way as the proof of [13, Theorem 6.1], in particular Lemma 6.4 yields the claim.
Claim 19** (Cf.Ā Lemma 6.4 in [13]).**
If -List-Coloring on graphs can be solved in time for some , then -SAT can be solved in time, for some and any .
Proof.
LetĀ , such thatĀ . Note that by (2), the size of is polynomial in , the number of variables of . We choose a sufficiently large such that . Given an instance of -SAT, we use the above reduction to obtain , an instance of -List-Coloring. Correctness follows from Claim 17. By Observation 18 we know that has a modulator to Linear Forest of size . By the choice of we have . Hence, -SAT can be solved inĀ time for some which does not depend on . ā
We have given a reduction from -SAT to -List-Coloring on graphs. As in the proof of Theorem 12, we can make the reduction work for -Coloring as well by adding a clique of vertices to the graph, each of which represents one color and then making each vertex in adjacent to each vertex in which represents a color that is not on its list. Since this increases the size of the modulator by , which is a constant, this does not affect asymptotic runtime bounds and completes the proof of Theorem 16. ā
Note that we can modify the reduction in the proof of Theorem 16 to give a lower bound for graphs as well: We simply connect all paths that we added to the graph to one long path, adding a vertex with a full list between each pair of adjacent paths.
Corollary 20**.**
For any and constant , -Coloring on graphs cannot be solved in time , unless fails.
5 A Tighter Treedepth Boundary
In Lemma 11 we showed that if the -colorable members of a hereditary graph class have bounded treedepth, then has constant-size No-certificates for -List-Coloring and hence has nontrivial algorithms for -(List-)Coloring parameterized by the size of a given modulator to . One might wonder whether a graph class has nontrivial algorithms for -Coloring parameterized by a given modulator to if and only if all -colorable members in have bounded treedepth. However, this is not the case. In [11, Lemma 4] the authors showed that -Coloring parameterized by the size of a modulator to the class Cograph has nontrivial algorithms. Clearly, complete bipartite graphs are cographs and it is easy to see that (the 2-colorable balanced biclique) has treedepth . In this section we show that, unless fails, bicliques are in some sense the only obstruction to this treedepth boundary.
We use a combinatorial theorem which in combination with Corollary 20 will yield the result.
Theorem 21** (Corollary 3.6 in [12], Theorem 1 in [1]).**
For any there is a such that any graph with a path of length either contains an induced path of length , or a subgraph, or an induced subgraph.
Theorem 22**.**
Let be a hereditary class of graphs for which there exists a such that is not contained in , letĀ , and suppose is true. Then, -Coloring parameterized by a given vertex modulator to of size has time algorithms for some , if and only if all -colorable graphs in have bounded treedepth.
Proof.
Assume the stated conditions hold forĀ andĀ . In one direction, if all theĀ -colorable graphs inĀ have their treedepth bounded by a constant, then there are constant-size No-certificates for -List-Coloring onĀ by LemmaĀ 11, implying the existence of nontrivial algorithms by TheoremĀ 6.
For the other direction, suppose that there is no finite bound on the treedepth ofĀ -colorable graphs inĀ . We claim thatĀ contains all paths, which will prove this direction using CorollaryĀ 20. If the longest (simple) path in a graphĀ has lengthĀ , thenĀ has treedepth at mostĀ since any depth-first search tree forms a valid treedepth decomposition, and has depth at mostĀ since all its root-to-leaf paths are paths inĀ . Hence a graph of treedepth more thanĀ contains a path of length more thanĀ . Since the -colorable graphs inĀ have arbitrarily large treedepth, the preceding argument shows that for anyĀ there is a -colorable graph inĀ containing a path of length more thanĀ . In particular, for anyĀ there is a -colorable graphĀ inĀ containing a (not necessarily induced) path of lengthĀ , the Ramsey number of TheoremĀ 21. Hence graphĀ contains an induced path of lengthĀ , a clique of sizeĀ , or an induced biclique with sets of sizeĀ . Since aĀ -clique is notĀ -colorable,Ā contains no such clique. IfĀ contains an induced biclique subgraph with sets of sizeĀ , then sinceĀ is hereditary it would containĀ , which contradicts our assumption onĀ . HenceĀ contains an induced path of lengthĀ , implying thatĀ contains the induced path of lengthĀ since it is hereditary. As this holds for allĀ , classĀ contains all paths, implying by CorollaryĀ 20 and SETH that there are no nontrivial algorithms for -List-Coloring parameterized by the size of a given vertex modulator toĀ . ā
6 Conclusion
In this paper we have presented a fine-grained parameterized complexity analysis of the -Coloring and -List-Coloring problems. We showed that if a graph class has No-certificates for -List-Coloring of bounded size or if the -colorable members of (where is hereditary) have bounded treedepth, then there is an algorithm that solves -Coloring on graphs in (graphs with vertex modulators of size to ) in time for some (depending on ). The parameter treedepth revealed itself as a boundary in some sense: We showed that graphs do not have time algorithms for any unless is false ā and paths are arguably the simplest graphs of unbounded treedepth. Furthermore we proved that if a graph class does not have large bicliques, then graphs have time algorithms, for some , if and only if has bounded treedepth.
Treedepth is an interesting graph parameter which in many cases also allows for polynomial space algorithms where e.g.Ā for treewidth this is typically exponential. It would be interesting to see how the problems studied by Lokshtanov et al.Ā [13] behave when parameterized by treedepth. Naturally, a fine-grained parameterized complexity analysis as we did might be interesting for other problems as well.
Open Problem*.*
Consider a different problem than -Coloring, for example another problem studied in [13]. For which parameters in the hierarchy can we improve upon the base of the exponent of the -based lower bound? Does the parameter treedepth establish a diving line in this sense as well?
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Aistis Atminas, Vadim V. Lozin, and Igor Razgon. Linear time algorithm for computing a small biclique in graphs without long induced paths. In SWAT , pages 142ā152. Springer, 2012.
- 2[2] Andreas Bjƶrklund, Thore Husfeldt, and Mikko Koivisto. Set partitioning via inclusion-exclusion. SIAM Journal on Computing , 39(2):546ā563, 2009. Based on two extended abstracts appearing in FOCS ā06.
- 3[3] Leizhen Cai. Parameterized complexity of vertex colouring. Discrete Applied Mathematics , 127(3):415ā429, 2003.
- 4[4] Marek Cygan, Fedor V. Fomin, š« š« \mathsf{L} ukasz Kowalik, Daniel Lokshtanov, Daniel Marx, Marcin Pilipczuk, MichaÅ Pilipczuk, and Saket Saurabh. Parameterized Algorithms . Springer, 1st edition, 2015.
- 5[5] Reinhard Diestel. Graph Theory , volume 173 of Graduate Texts in Mathematics . Springer, 4th edition, 2010. Corrected reprint 2012.
- 6[6] Rodney G. Downey and Michael R. Fellows. Fundamentals of Parameterized Complexity . Texts in Computer Science. Springer, 2013.
- 7[7] Michael R. Fellows, Bart M. P. Jansen, and Frances Rosamond. Towards fully multivariate algorithmics: Parameter ecology and the deconstruction of computational complexity. European Journal of Combinatorics , 34(3):541ā566, 2013. Previously app. in IWOCA ā09.
- 8[8] Jƶrg Flum and Martin Grohe. Parameterized Complexity Theory , volume XIV of Texts in Theoretical Computer Science . Springer, 2006.
