TExcelTAD
Home › Parameterized & Fine-Grained Complexity › Kernel Lower Bounds and Cross-Composition

Kernel Lower Bounds and Cross-Composition

Every FPT problem has a kernel (Kernels and Buss's Rule for Vertex Cover), but the size may be exponential in kk. Vertex cover and dd-hitting set have polynomial kernels. Does every FPT problem? This lesson explains why the answer is believed to be no, with kk-PATH as the standard example: it is FPT by Color Coding and Long Paths, yet it has no polynomial kernel unless NP ⊆\subseteq coNP/poly. The proofs of the underlying theorems are beyond this course; the statements and the reductions that use them are not.

The intuition: the OR of many instances

Take tt graphs G1,…,GtG_1, \ldots, G_t, each with nn vertices, and ask whether at least one has a path on kk vertices. The disjoint union G=G1∪⋯∪GtG = G_1 \cup \cdots \cup G_t answers exactly this question, with the same parameter kk: a path is connected, so it lies inside a single GiG_i.

Now suppose kk-PATH had a kernel of size kck^c. Apply it to GG. The result has kck^c bits, however large tt is. For tt much larger than 2kc2^{k^c}, a polynomial-time procedure would have compressed the OR of tt instances of an NP-hard problem into far fewer bits than tt. Intuitively it must throw away information about which instance was the YES one, and yet keep the answer. Fortnow and Santhanam (2008) turned this intuition into a theorem.

The theorems

OR-distillation (Fortnow and Santhanam, 2008; stated). If an NP-hard language LL has a polynomial-time algorithm that maps any tt instances x1,…,xtx_1, \ldots, x_t to one instance yy of some language RR with ∣y∣≤poly(max⁡i∣xi∣)\lvert y \rvert \le \text{poly}(\max_i \lvert x_i \rvert), independent of tt, and y∈Ry \in R iff some xi∈Lx_i \in L, then NP ⊆\subseteq coNP/poly.

NP ⊆\subseteq coNP/poly would collapse the polynomial hierarchy to its third level (Yap, 1983), which is considered very unlikely.

Cross-composition (Bodlaender, Jansen and Kratsch, 2014; stated). Let LL be NP-hard and QQ a parameterized problem. An OR-cross-composition of LL into QQ is a polynomial-time algorithm that, given instances x1,…,xtx_1, \ldots, x_t of LL that are equivalent under a polynomial equivalence relation R\mathcal{R}, outputs an instance (y,k)(y, k) of QQ with

k≤poly(max⁡i∣xi∣+log⁡t)and(y,k)∈Q  ⟺  xi∈L for some i.k \le \text{poly}\left( \max_i \lvert x_i \rvert + \log t \right) \quad \text{and} \quad (y, k) \in Q \iff x_i \in L \text{ for some } i.

If such a composition exists, QQ has no polynomial kernel unless NP ⊆\subseteq coNP/poly.

A polynomial equivalence relation is one that can be decided in polynomial time and has at most poly(N)\text{poly}(N) classes on instances of size at most NN. It lets the composition assume that all inputs share simple features, such as the same number of vertices and the same target kk. The log⁡t\log t allowance means the composition may spend O(log⁡t)O(\log t) extra parameter on encoding which instance to pick, an "instance selector" gadget; this is what makes cross-composition flexible.

The proof idea in one line: a polynomial kernel for QQ applied after the composition, followed by a reduction from QQ's classical version back into an NP-complete language, would be an OR-distillation of LL.

Example: kk-PATH

The composition is the disjoint union. Relation R\mathcal{R}: two instances (G,k)(G, k) and (G′,k′)(G', k') are equivalent if k=k′k = k' (malformed instances form one class). Within a class, output the disjoint union with the common kk; then k≤max⁡i∣xi∣k \le \max_i \lvert x_i \rvert. The program builds the composition and checks that the union has a kk-path exactly when some input has one.

python · try it yourself
import random

def random_graph(n, p, rng):
    adj = {v: set() for v in range(n)}
    for a in range(n):
        for b in range(a + 1, n):
            if rng.random() < p:
                adj[a].add(b); adj[b].add(a)
    return adj

def has_k_path(adj, k):
    def dfs(v, seen):
        if len(seen) == k:
            return True
        return any(dfs(u, seen | {u}) for u in adj[v] if u not in seen)
    return any(dfs(v, {v}) for v in adj)

def disjoint_union(graphs):
    U = {}
    for i, g in enumerate(graphs):
        for v, nb in g.items():
            U[(i, v)] = {(i, u) for u in nb}
    return U

rng = random.Random(1)
k = 6
for trial in range(4):
    t = rng.randint(3, 6)
    graphs = [random_graph(8, 0.17, rng) for _ in range(t)]
    answers = [has_k_path(g, k) for g in graphs]
    U = disjoint_union(graphs)
    print(f"t = {t}: inputs {['Y' if a else 'N' for a in answers]}  OR = {any(answers)}  "
          f"union: {len(U)} vertices, k = {k}, has {k}-path = {has_k_path(U, k)}")
t = 4: inputs ['N', 'N', 'N', 'N']  OR = False  union: 32 vertices, k = 6, has 6-path = False
t = 4: inputs ['N', 'N', 'Y', 'Y']  OR = True  union: 32 vertices, k = 6, has 6-path = True
t = 5: inputs ['N', 'Y', 'N', 'Y', 'N']  OR = True  union: 40 vertices, k = 6, has 6-path = True
t = 6: inputs ['N', 'N', 'N', 'N', 'N', 'N']  OR = False  union: 48 vertices, k = 6, has 6-path = False

The size of the union grows with tt while the parameter stays kk. That is the whole trick: the parameter does not see how many instances were combined.

Counting bits

The program puts numbers on the intuition. Suppose a kernel of size k3k^3 bits existed for kk-PATH. Composing tt instances with 50 vertices each (about (502)=1225\binom{50}{2} = 1225 bits per graph) and k=10k = 10, the kernel would have to encode the OR of all of them in 1000 bits.

python · try it yourself
from math import comb

n, k = 50, 10
bits_per_instance = comb(n, 2)
kernel_bits = k ** 3
print(f"one instance: {bits_per_instance} bits; hypothetical kernel: {kernel_bits} bits")
for t in [1, 10, 1000, 10 ** 6]:
    print(f"t = {t:>7}: input {t * bits_per_instance:>13,} bits -> kernel {kernel_bits} bits,"
          f" compression factor {t * bits_per_instance / kernel_bits:,.0f}")
one instance: 1225 bits; hypothetical kernel: 1000 bits
t =       1: input         1,225 bits -> kernel 1000 bits, compression factor 1
t =      10: input        12,250 bits -> kernel 1000 bits, compression factor 12
t =    1000: input     1,225,000 bits -> kernel 1000 bits, compression factor 1,225
t = 1000000: input 1,225,000,000 bits -> kernel 1000 bits, compression factor 1,225,000

A compression factor in the millions is not impossible for one instance (a single graph can be summarized by its answer, one bit). What the theorem rules out is a polynomial-time procedure that does it for the OR of arbitrarily many instances of an NP-hard problem, unless NP ⊆\subseteq coNP/poly.

More consequences

Using cross-compositions and polynomial parameter transformations (reductions that keep the new parameter polynomial in the old one, which transfer kernel lower bounds), the following problems are known to have no polynomial kernel unless NP ⊆\subseteq coNP/poly (stated):

Problem Parameter FPT?
kk-PATH, kk-CYCLE solution size yes, 2O(k)2^{O(k)}
many problems parameterized by treewidth, such as independent set (via AND-compositions; Drucker, 2012) treewidth yes, see the treewidth section
SET COVER universe size yes, O∗(2n)O^*(2^{n})
CLIQUE vertex cover number of the input yes
CONNECTED VERTEX COVER solution size yes, single-exponential (lower bound: Dom, Lokshtanov and Saurabh, 2014)

The last row is striking because the plain vertex cover problem has a 2k2k-vertex kernel: asking the cover to be connected destroys polynomial kernelizability.

The same framework also bounds the degree of polynomial kernels. Dell and van Melkebeek (2010) showed that vertex cover has no kernel of size O(k2−ε)O(k^{2-\varepsilon}) bits unless NP ⊆\subseteq coNP/poly, so Buss's O(k2)O(k^2) edges are optimal up to the constant factor in this measure; the analogous bound for dd-hitting set is O(kd−ε)O(k^{d-\varepsilon}).

When a polynomial kernel is impossible, a Turing kernel (polynomially many small instances solved independently) can still exist; kk-PATH in planar graphs is an example studied in this direction.

Test yourself

Why is the disjoint union of graphs a valid composition for kk-PATH?

  1. Because the union has fewer vertices
  2. Because a path is connected, so the union has a kk-path exactly when some component graph has one, and the parameter kk is unchanged
  3. Because the union is always a tree
  4. Because kk becomes the number of graphs

Under which assumption do cross-compositions rule out polynomial kernels?

  1. P ≠\ne NP
  2. NP ⊈\not\subseteq coNP/poly
  3. ETH
  4. FPT ≠\ne W[1]

What does the polynomial equivalence relation in a cross-composition allow?

  1. Instances of different problems to be mixed
  2. The composition to assume that all inputs share simple features (such as size and target kk), as long as the relation has polynomially many classes
  3. Exponential running time
  4. The parameter to grow linearly in tt

Which problem is FPT but has no polynomial kernel unless NP ⊆\subseteq coNP/poly?

  1. Vertex cover parameterized by solution size
  2. kk-PATH parameterized by kk
  3. 3-hitting set parameterized by kk
  4. Cluster editing parameterized by kk