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 . Vertex cover and -hitting set have polynomial kernels. Does every FPT problem? This lesson explains why the answer is believed to be no, with -PATH as the standard example: it is FPT by Color Coding and Long Paths, yet it has no polynomial kernel unless NP 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 graphs , each with vertices, and ask whether at least one has a path on vertices. The disjoint union answers exactly this question, with the same parameter : a path is connected, so it lies inside a single .
Now suppose -PATH had a kernel of size . Apply it to . The result has bits, however large is. For much larger than , a polynomial-time procedure would have compressed the OR of instances of an NP-hard problem into far fewer bits than . 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 has a polynomial-time algorithm that maps any instances to one instance of some language with , independent of , and iff some , then NP coNP/poly.
NP 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 be NP-hard and a parameterized problem. An OR-cross-composition of into is a polynomial-time algorithm that, given instances of that are equivalent under a polynomial equivalence relation , outputs an instance of with
If such a composition exists, has no polynomial kernel unless NP coNP/poly.
A polynomial equivalence relation is one that can be decided in polynomial time and has at most classes on instances of size at most . It lets the composition assume that all inputs share simple features, such as the same number of vertices and the same target . The allowance means the composition may spend 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 applied after the composition, followed by a reduction from 's classical version back into an NP-complete language, would be an OR-distillation of .
Example: -PATH
The composition is the disjoint union. Relation : two instances and are equivalent if (malformed instances form one class). Within a class, output the disjoint union with the common ; then . The program builds the composition and checks that the union has a -path exactly when some input has one.
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 while the parameter stays . 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 bits existed for -PATH. Composing instances with 50 vertices each (about bits per graph) and , the kernel would have to encode the OR of all of them in 1000 bits.
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 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 coNP/poly (stated):
| Problem | Parameter | FPT? |
|---|---|---|
| -PATH, -CYCLE | solution size | yes, |
| 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, |
| 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 -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 bits unless NP coNP/poly, so Buss's edges are optimal up to the constant factor in this measure; the analogous bound for -hitting set is .
When a polynomial kernel is impossible, a Turing kernel (polynomially many small instances solved independently) can still exist; -PATH in planar graphs is an example studied in this direction.
Test yourself
Why is the disjoint union of graphs a valid composition for -PATH?
- Because the union has fewer vertices
- Because a path is connected, so the union has a -path exactly when some component graph has one, and the parameter is unchanged
- Because the union is always a tree
- Because becomes the number of graphs
Under which assumption do cross-compositions rule out polynomial kernels?
- P NP
- NP coNP/poly
- ETH
- FPT W[1]
What does the polynomial equivalence relation in a cross-composition allow?
- Instances of different problems to be mixed
- The composition to assume that all inputs share simple features (such as size and target ), as long as the relation has polynomially many classes
- Exponential running time
- The parameter to grow linearly in
Which problem is FPT but has no polynomial kernel unless NP coNP/poly?
- Vertex cover parameterized by solution size
- -PATH parameterized by
- 3-hitting set parameterized by
- Cluster editing parameterized by