Jump to content

Parameterized complexity

From Wikipedia, the free encyclopedia

Template:Short description In computer science, parameterized complexity is a branch of computational complexity theory that focuses on classifying computational problems according to their inherent difficulty with respect to multiple parameters of the input or output. The complexity of a problem is then measured as a function of those parameters. Then the theory analyses how the running time (or space) for solutions to the problem  behave as the parameters get larger. To illustrate the idea, the for a fixed k we can solve instances of vertex cover problem (vertices cover edges) in linear time, whereas the only known algorithms for dominating set problem (vertices cover vertices) is more or less search all possible size k subsets and hence require about Ω(n^k) time. When this idea is made formal, the first behaviour is called fixed parameter tractability, since, although both are polynomial time algorithms, the former is of the form O(n^c) independent of the parameter, and the latter is of the form Ω(n^{f(k)).

Researchers had often studied restrictions of problems by restricting parameters such as maximum vertex degree, cutwidth, treewidth,  or genus. Several authors had noted that there might be a general method of attacking intractability obtained through understanding the complexity  as a function of parameters, including Vardi [1](in the context of databases) and  Regan[2] (in finite model theory). Gurevich, Stockmeyer & Vishkin[3] explicitly noted this: ``The message there is that although it is convenient in theory to express the size of a problem instance as a single number, the size of an instance is sometimes more accurately expressed in termsof several independent parameters, and it may be useful to know the running time of an algorithm as a function of more than one parameter.''

None of these approaches identified the key idea which is classifying problems according to  how the exponent of the running time is affected as the parameters increased. The main idea in parameterized complexity is to stratify a problem by (collections of) parameters and then and to classify in terms of how running times grow with the parameter, typically f(k)n^c vs n^{f(k)}.

This idea was first proposed by Abrahamson, Fellows, Ellis and Mata[4] by classifying families of relations. In a series of papers, Downey and Fellows[5][6][7][8], sometimes with co-authors[9][10][11], laid the foundations of this area. For a computational complexity theory, we need a notion of what it means to be tractable, methods of comparing problems (reductions), and classes we regard as intractable, along with evidence for this belief. These were first identified in these basic papers.[12].

Although  the theory of fixed parameter tractability is most often applied to analyse NP-complete and NP-hard languages, it also can be applied more generally. For example, the  definition of fixed-parameter tractability can be applied to (unparameterized) languages of arbitrary complexity, meaning that there are languages L which are not, for example, elementary recursive yet have parameterizations which are fixed parameter tractable. Similarly, problems like Graph Isomorphism which are likely not NP-hard admit tractable parameterizations by fixing maximum degree of a vertex[13] or treewidth[14].

The existence of efficient, exact, and deterministic solving algorithms for NP-complete, or otherwise NP-hard, problems is considered unlikely, if input parameters are not fixed; all known solving algorithms for these problems require time that is exponential (so in particular super-polynomial) in the total size of the input. However, some problems can be solved by algorithms that are exponential only in the size of a fixed parameter while polynomial in the size of the input.

Under the assumption that P ≠ NP, there exist many natural problems that require super-polynomial running time when complexity is measured in terms of the input size only but that are computable in a time that is polynomial in the input size and exponential or worse in a parameter Template:Mvar. Hence, if Template:Mvar is fixed at a small value and the growth of the function over Template:Mvar is relatively small then such problems can still be considered "tractable" despite their traditional classification as "intractable".

Such an algorithm is called a fixed-parameter tractable (FPT) algorithm, because the problem can be solved efficiently (i.e., in polynomial time and where the exponent of the polynomial does not increase with the increase of the parameters) for constant values of the fixed parameter. A parameterized problem that allows for such an FPT algorithm is said to be a fixed-parameter tractable problem and belongs to the class Template:Sans-serif, and the early name of the theory of parameterized complexity was fixed-parameter tractability.

The parameterised complexity approach has led to the discover of a large number of new exact algorithmic techniques for problems[15][16][17][18][19]. These include the method of bounded search trees, color-coding, Courcelle's Theorem, Kernelization, iterative compression, and many others.

Setup

Many problems have the following form: given an object Template:Mvar and a nonnegative integer Template:Mvar, does Template:Mvar have some property that depends on Template:Mvar? Other problems are similarly of the form given an object x and another one y can y be found within x where that property depends only on y. For example, if x and y are graphs, is y a minor of x?

For instance, for the vertex cover problem, the parameter can be the number of vertices in the cover. The minimal vertex cover problem asks:

In many applications, for example when modelling error correction, one can assume the parameter to be "small" compared to the total input size. Then it is challenging to find an algorithm that is exponential only in Template:Mvar, and not in the input size.

In this way, parameterized complexity can be seen as two-dimensional complexity theory. This concept is formalized as follows:

A parameterized problem is a language <math>L \subseteq \Sigma^* \times \N</math>, where <math>\Sigma</math> is a finite alphabet. The second component is called the parameter of the problem. Note that the parameter might itself be a structure rather than a number. Also k might code several parameters at once.
A parameterized problem Template:Mvar is fixed-parameter tractable if the question "<math>(x, k) \in L</math>?" can be decided in running time <math>f(k) \cdot |x|^{O(1)}</math>, where Template:Mvar is an arbitrary function depending only on Template:Mvar. The corresponding complexity class is called FPT.
A parameterized problem uses the natural parameter when its parameter is the size of the solution to the problem.

For example, there is an algorithm that solves the vertex cover problem in <math>O(kn + 1.274^k)</math> time,[20] where Template:Mvar is the number of vertices and Template:Mvar is the size of the vertex cover. This means that vertex cover is fixed-parameter tractable with the size of the solution as the parameter (its natural parameter). It is also possible to show vertex cover is in the parameterised version of Logspace, called logspace plus advice, parameterised problems solvable in space <math>O(\log |x|)+ f(k)</math>[10][11].

Complexity classes

FPT

FPT (fixed parameter tractable) is the class of decision problems decidable in deterministic time <math>f(k) \cdot {|x|}^{O(1)}</math>, where Template:Mvar is a computable function. Typically, this function is thought of as single exponential, such as <math>2^{O(k)}</math>, but the definition admits functions that grow even faster. This is essential for a large part of the early history of this class. The crucial part of the definition is to exclude functions of the form <math>f(n,k)</math>, such as n^k or worse.

Strictly speaking this definition is what is called strongly uniform FPT. More general definitions allow for languages L where membership of (x,k) in L is decided by a machine M but f no longer has to be computable and this is called uniformly FPT, and finally L is called nonuniformly FPT if there is a series of algorithms M_k which decide membership in time <math>f(k) \cdot {|x|}^{O(1)}</math>. For most practical purposes, we can take <math>f(k)</math> as being computable, but examples of uniform and nonuniform FPT problems have arisen from the Graph Minor Theorem.

The class FPL (fixed parameter linear) (or LFPT) is the class of problems solvable in time <math>f(k) \cdot |x|</math> for some computable function Template:Mvar.[21] FPL is thus a subclass of FPT. An example is the Boolean satisfiability problem, parameterised by the number of variables. A given formula of size Template:Mvar with Template:Mvar variables can be checked by brute force in time <math>O(2^km)</math>. A vertex cover of size Template:Mvar in a graph of order Template:Mvar can be found in time <math>O(2^kn)</math>, so the vertex cover problem is also in FPL. Recent developments[22] have identified the class TLFPT (true linear FPT) of problems solvable in time <math>c \cdot |x|+f(k)</math> to be important. TLFPT does not equal LFPT by diagonalization. The model for both LFPT and TLFPT is the Word RAM model.

An example of a problem that is thought not to be in FPT is graph coloring parameterised by the number of colors. It is known that 3-coloring is NP-hard, and an algorithm for graph Template:Mvar-coloring in time <math>f(k)n^{O(1)}</math> for <math>k=3</math> would run in polynomial time in the size of the input. Thus, if graph coloring parameterised by the number of colors were in FPT, then P = NP.

There are a number of alternative definitions of FPT. For example, the running-time requirement can be replaced by <math>f(k) + |x|^{O(1)}</math>. Also, a parameterised problem is in FPT if it has a so-called kernel. Kernelization is a preprocessing technique that reduces the original instance to its "hard kernel", a possibly much smaller instance that is equivalent to the original instance but has a size that is bounded by a function in the parameter.

FPT is closed under a parameterised notion of reductions called fpt-reductions. We say that one parameterized problem <math>L</math> fpt-reduces to <math>L'</math> iff there exists two functions <math>(x, k) \mapsto x', k \mapsto k' </math>, such that

  • <math>(x, k) \in L </math> iff <math>(x', k') \in L' </math>
  • <math>(x, k) \mapsto x'</math> is itself fixed parameter tractable.
    • That is, there exists a constant <math>c </math>, and a function <math>k \mapsto k </math>, such that <math>(x, k) \mapsto x'</math> is computable in time <math>\leq k|x|^c </math>

Obviously, FPT contains all polynomial-time computable problems. Moreover, it contains all optimisation problems in NP that allow an efficient polynomial-time approximation scheme (EPTAS)[23]. Here <math>k=\frac{1}{\epsilon} </math> is the parameter, and showing a PTAS is hard according to one of the hierarchies below (e.g. W[1]-hard) and this parameter implies that the problem. likely has no EPTAS, and hence no fully polynomial time approximatin scheme.

XP

XP is the class of parameterized problems that can be solved in time <math>n^{f(k)}</math> for some computable function Template:Mvar.

These problems are called slicewise polynomial, in the sense that each "slice" of fixed k has a polynomial-time algorithm, although with a possibly different exponent for each k. Compare this with FPT, which merely allows a different constant prefactor for each value of k.

XP strictly contains FPT by diagonalization. There are some natural problems which are complete for XP such as determining winning strategies for the Pebble Game Problem for each parameter k[18].

para-NP is the class of decision problems decidable in nondeterministic time <math>f(k) \cdot |x|^{O(1)}</math> for some computable function Template:Mvar.

<math>\textsf{FPT}=\textsf{para-NP}</math> if and only if <math>\textsf{P}=\textsf{NP}</math>.Template:Sfnp

A problem is para-NP-hard if it is <math>\textsf{NP}</math>-hard already for a constant value of the parameter. That is, there is a "slice" of fixed Template:Mvar that is <math>\textsf{NP}</math>-hard. A parameterized problem that is <math>\textsf{para-NP}</math>-hard cannot belong to the class <math>\textsf{XP}</math>, unless <math>\textsf{P}=\textsf{NP}</math>. A classic example of a <math>\textsf{para-NP}</math>-hard parameterized problem is graph coloring, parameterized by the number Template:Mvar of colors, which is already <math>\textsf{NP}</math>-hard for <math>k=3</math> (see Template:Slink).

Hierarchies

In the parameterized complexity theory, there are some hierarchies of complexity classes. Each such class is closed under fpt-reduction. The most important ones are the W hierarchy and the A hierarchy.[24]

Preliminary definitions

In general, there are two ways to define a complexity class: machine-theoretically and logically. In machine theory, a class is defined as the set of decision problems solvable by a class of machines. In logic, a class is defined as the set of decision problems definable by a class of logical formulas.

Boolean circuits

The Hamming weight (weight for short) of a binary string is the number of ones appearing in it.

A Boolean circuit is an acyclic directed graph where the nodes are one of the following gates: AND, OR, NOT. A small gate is a gate with fan-in 0, 1, or 2. Other gates are big. The weft is the largest number of big gates achievable on any path from an input to the output. The depth is the largest number of gates (small or big) achievable on any path from an input to the output. By definition, weft ≤ depth.

A Boolean circuit is monotone iff it uses no NOT gate. A Boolean circuit is antimonotone iff it is of the form <math>\phi(\neg x_1, \dots, \neg x_n)</math> where <math>x_1, \dots, x_n</math> are all its inputs, and <math>\phi</math> is monotone.

Finite model theory

Given any:

we define <math>\operatorname{p-MC}(\Gamma)</math> to be the parameterized model checking problem for this tuple. Each problem instance is:

  • Input: <math>\phi \in \Gamma</math>, and a finite model <math>A</math> for the language <math>\mathcal L</math>
  • Parameter: <math>|\phi|</math>
  • Output: Whether <math>A \models \phi</math>

A <math>\Sigma_t</math> formula is of the form <math>\exists x_{1,1:m_1}\forall x_{2,1:m_2}\dots Q x_{t,1:m_t} \psi(x)</math>, such that the quantifiers are alternating between existence and for-all, and the formula inside <math>\psi(x)</math> is quantifier-free (that is, written with just variables, Boolean connectives, and relations).[25][26]

A <math>\Sigma_{t, s}</math> formula is of the form <math>\exists x_{1,1:m_1}\forall x_{2,1:m_2}\dots Q x_{t,1:m_t} \psi(x)</math>, with the extra condition that <math>m_2 \leq s, m_3 \leq s, \dots, m_t \leq s</math>.

Definition

Machine-theoretically, a parameterized problem is in the class W[w][d], if there is a fpt-reduction of the problem as follows:

  • There exists constant integers <math>w, d </math>, such that
  • every instance <math>(x, k)</math> is transformed in fpt-time to a Boolean circuit that has weft at most w, and depth at most d,
  • <math>(x, k)\in L</math> if and only if the circuit has a satisfying assignment of weight k.

Here we see that "W" stands for "weight". Note that in the above definition, <math>w, d </math> are independent of <math>(x, k) </math>, but the circuit itself depends on <math>(x, k) </math>, and may change if one changes either <math>x </math> or <math>k </math>.

The class W[w] is then defined as their union:<math display="block">W[w][1] \subset W[w][2]\subset \dots \subset W[w] := \bigcup_{d \geq 1} W[w][d]</math>More succinctly, W[w] is the set of problems fpt-reducible to a family of instance-specific Boolean circuits with weft <math>\leq w </math> and depth bounded by some problem-specific constant.

A normalized circuit of weft w and depth d is a circuit, where the first <math>d-w </math> layers contain only small gates, and the last <math>w </math> layers contain alternating big gates of AND and OR. One can iterate the associative laws and de Morgan distribution laws to normalize the circuit in fpt-time. Therefore, without loss of generality, we can consider only normalized circuits.[27]

Model-theoretically, the class W[t] is defined as the class of problems fpt-reducible to <math>\operatorname{p-MC}(\Sigma_{t, 1})</math>.

While the W hierarchy is a hierarchy contained in NP, the A hierarchy more closely mimics the polynomial-time hierarchy from classical complexity. Machine-theoretically, the A hierarchy of problems are defined as problems that are fpt-reducible to computations by certain kinds of alternating Turing machines. The "A" stands for "alternating".[26]

Model-theoretically, the class A[t] is defined as the class of problems fpt-reducible to <math>\operatorname{p-MC}(\Sigma_{t})</math>.

For example, the k-clique problem can be specified as a model checking problem. The language has a single binary relation <math>E</math>, where <math>E(x, y)</math> means "<math>x, y</math> share an edge". Then, a finite model <math>A</math> is a graph, and it has a k-clique iff <math>A \models \phi_k</math>, where<math display="block">\phi_k := \exists x_{1:k}, \bigwedge_{1 \leq i < j \leq n} E(x_i, x_j)</math>This shows that the k-clique problem is in <math>A[1]</math>.

A problem is A[i]-complete if it is A[i], and any A[i] problem fpt-reduces to it.

Basic properties

By definition,<math display="block">W[0] \subset W[1] \subset \cdots, \quad W[i] \subset A[i], \quad A[0] \subset A[1] \subset \cdots</math><math>\mathsf{FPT} = W[0] = A[0]</math>:

  • <math>W[0] = A[0]</math> since <math>\Sigma_0</math> has no quantifiers at all, so there is no difference between <math>\Sigma_0</math> and <math>\Sigma_{0, 1}</math>.
  • <math>\mathsf{FPT} \subset W[0]</math>. For any FPT problem <math>L</math> can be trivially fpt-reduced thus: Solve the problem <math>(x, k) \in L</math> in fpt-time, then output a trivial Yes/No circuit that does nothing except output the correct Boolean.
  • <math>\mathsf{FPT} \supset W[0]</math>. For any W[0] problem <math>L</math>, and any problem-instance <math>c \in L</math>, the circuitry <math>c</math> has 0 weft and <math>\leq d</math> depth, where <math>d</math> is fixed. Therefore, the output is determined by up to <math>2^d</math> inputs. All other inputs are free for use. Therefore, one simply brute-force compute all <math>2^{2^d}</math> possible inputs. If a certain input has weight k' and makes the circuit output True, then check if there are still enough inputs to fill the weight: <math>\#(\text{inputs of }c) - 2^d \geq k - k' </math>.

<math>W[1] = A[1]</math>.[26]

W[1]

Template:Redirect Intuitively, problems in W[1] class can be interpreted of the form: Is there an object of size k with a certain locally-checkable property? In formula, it would be of the form <math display="block">\bigvee_{u_1, \dots, u_k}(\text{object constructed according to } u_1, \dots, u_k \text{ has a certain local property})</math>In fact, W[1] collapses to W[1, 2], the class of problems fpt-reducible to Boolean circuits of the form <math>\bigwedge_i (x_{i, 1} \or x_{i, 2})</math>. That is, a big AND over many OR of fan-in 2.[28]

Examples of W[1]-complete problems include:[28]

  • Independent set
    • Input: a graph G
    • Parameter: an integer k
    • Output: Whether G contains an independent set of size k
  • Clique
    • Input: a graph G
    • Parameter: an integer k
    • Output: Whether G contains a clique of size k
  • Bipartite nonblocker
    • Input: a bipartite graph <math>(V_1, V_2, E)</math>
    • Parameter: an integer k
    • Output: Whether there exists a subset <math>S \subset V_1</math> of size k, such that any <math>v \in V_2</math> has a neighbor <math>u \not\in S</math>. In other words, <math>S</math> does not block <math>V_2</math>.
  • Weight-k 2-satisfiability
    • Input: a conjunctive normal formula of form <math>\bigwedge_i (p_{i, 1} \or p_{i, 2})</math>, where i ranges over clauses.
    • Parameter: an integer k
    • Output: Whether there exists a weight-k satisfying assignment to the formula.
  • Short Turing machine problem.
    • Input: nondeterministic Turing machine M, a string x, an integer k.
    • Output: Whether there exists one computational path, with which M accepts x in at most k steps.

Note that the plain nonblocker problem is FPT.[29]

Note on the nondeterministic Turing machine. The machine may be specified by one of any of the standard formulations. One usually considers the one-tape Turing machine, but the short Turing machine problem remains W[1] even if we allow with f(k) tapes and even f(k) of f(k)-dimensional tapes, but even with this extension, the restriction to f(k) tape alphabet size is FPT. Crucially, because the machine M itself is part of the problem input, the input size n is bigger than the number of states of M. In this way, the Turing machine can take one of <math>n</math> possible computation paths per step, accessing <math>n^{O(k)}</math> steps in total within time k. Thus, we see that W[1] is not obviously contained within FPT. Downey and Fellows[6] argue that the Short Turing Machine problem is the natural analog of the Cook-Levin Theorem that the satisfiability problem is NP-complete and gives as compelling evidence that W[1] is not FPT as the Cook-Levin Theorem does that P does not equal NP.

The independent set problem can be encoded thus. Given each graph <math>(V, E)</math>, its independent set problem is encoded by the following weft-1 Boolean circuit:<math display="block">\Phi_{\text{IS}}(V, E) := \bigwedge_{\{u, v\}\in E} (\neg x_u \or \neg x_v)</math>where <math>E</math> is the set of edges in the graph. The graph has an independent set of size k iff there is a weight-k input to its Boolean circuit, such that it outputs 1.

The clique problem can be coded as <math display="block">\Phi_{\text{clique}}(V, E) := \bigwedge_{\{u, v\} \subset V, u \neq v, \{u, v\}\not\in E} (\neg x_u \or \neg x_v)</math>It checks that any pair vertices that don't make an edge cannot be chosen, so any chosen set of vertices is forced to be a clique.

The short Turing machine problem can be converted to a Boolean formula using the same proof idea as of the Cook–Levin theorem, which shows SAT is NP-complete by coding Turing machine computational traces as Boolean formulas. The following proof is from.[28][30] Specifically, define the propositional variables:

  • <math>s_{t, i, j, a, b}</math>: at time t, the Turing machine is in state i, and transitions to state j, reading a, and writing b,
  • <math>y_{t, p, a, b}</math>: at time t, the tape position p has symbol a, and at time (t+1) has symbol b.

Of the indices, time t and tape position p range over 1:k, The ranges of the indices to the Turing machine state i, j, transition m, and symbols a, b are determined by the description of the machine M, but they are both bounded within 1:n.

Then, the formula <math>\Phi_{\text{STM}, k}(M, x)</math> is a conjunction of clauses enforcing the following constraints:

  • Every Turing machine state transition is not disallowed by the nondeterministic transition rule. These look like <math>s_{t, i, j, a, b} \to \neg s_{t+1, i', j', a', b'}</math>, in other words, <math>\neg s_{t, i, j, a, b} \or \neg s_{t+1, i', j', a', b'}</math>. There are <math>O(kn^4)</math> such clauses.
  • The Turing machine cannot be at two positions at a time, and cannot make two transitions at a time.
  • Every tape cell state transition is not disallowed by the nondeterministic transition rule.
  • Every tape cell state cannot have two symbols at a time.
  • At time 0, the Turing machine is not out of its initial state and position, and x is not unwritten on the tape.
  • The Turing machine is not in an unaccepting state at time k.

A computational trace through the Turing machine is then fully specified by setting k variables of <math>s_{t, i, j, a, b}</math> to True to indicate the Turing machine state transitions at each time, and setting <math>k^2 </math> variables of <math>y_{t, p, a, b}</math> to True to indicate the tape state transition at each time. This reduces the short Turing machine problem to a problem of finding a weight-<math>(k+k^2) </math> satisfying assignment to a weft-1, depth-2, antimonotone Boolean circuit.

One example showing how parameterised analysis differs from classical analysis is provided by Vapnik-Chervonenkis Dimension, which is known not to be NP-complete unless NP is a subset of DTIME<math>(n^{\log n}) </math> , and yet the parameterized version is W[1]-complete[15][31].

W[2]

W[2] problems are intuitively of the form: Guess an object of size k, perform some local processing on the object, then perform one global processing.

Examples of W[2]-complete problems include

  • deciding if a given graph contains a dominating set of size k.
  • deciding if a given nondeterministic multi-tape Turing machine accepts within k steps ("short multi-tape Turing machine acceptance" problem). Crucially, the branching is allowed to depend on n (like the W[1] variant), as is the number of tapes[32]. An alternate W[2]-complete formulation allows only single-tape Turing machines, but the alphabet size may depend on n.

The dominating set problem has formula <math>\Psi_{\text{dom}}(V, E) = \bigwedge_{u \in V} \bigvee_{v \in \operatorname{Neighbor}[u]} x_v</math>.

W[i]

Some problems are known to be W[i]-complete, though they are in a computationally generic form, and are usually studied within parameterized complexity theory itself. Empirically, as of 2026, almost all naturally-occurring parameterized problems that they have studied, turned out to be W[0]-complete, W[1]-complete, or W[2]-complete. In this way it is similar to the Polynomial Hierarchy[33] where few natural problems are at higher finite levels of the hierarchy. The following are usually used:[24]

  • Weighted i-Normalized Satisfiability:[27][24]Template:Reference page Given a Boolean formula, written as an AND of ORs of ANDs of ... of possibly negated variables, with <math>i+1</math> layers of alternating ANDs or ORs, can it be satisfied by setting exactly k variables to 1?
    • Proof sketch: Any W[i]-circuit can be normalized in fpt-time by iterating association law and de Morgan distributive law, thus showing this problem is W[i]-complete.
  • If i>0 is even, then
    • <math>\text{monotone-}W[i] = W[i]</math>.
    • Weighted Monotone i-Normalized Satisfiability is W[i]-complete.
    • Weighted Monotone (i+1)-Normalized Satisfiability is in W[i].
  • If i>0 is odd, then
    • <math>\text{antimonotone-}W[i] = W[i]</math>
    • Weighted Antionotone i-Normalized Satisfiability is W[i]-complete.
    • If <math>i \geq 3</math>, then Weighted Antimonotone (i+1)-Normalized Satisfiability is in W[i].

These problems are essentially "artificial", in that they are not studied except within the context of parameterized complexity. The literature reports few naturally occurring problems that are W[i]-complete for <math>i \geq 3</math>:

  • Detection of inclusion dependencies in relational databases is W[3]-complete.
  • Certain problems in supply-chain models are W[3]-complete or W[4]-complete.[34]

W[SAT]

W[SAT] is the class of problems fpt-reducible to weighted SAT problems:[35]

  • Input: a Boolean formula
  • Parameter: k
  • Output: Whether the formula has a weight-k satisfying assignment.

It contains all W[t].

W[P]

W[P] is the class of problems fpt-reducible to the problem of weighted Boolean circuit problems:[35]

  • Input: a Boolean circuit
  • Parameter: k
  • Output: Whether there exists a weight-k input such that the circuit outputs True.

It contains W[SAT], since a Boolean formula can be efficiently converted to a Boolean circuit. Note that the opposite is not true in general, since the equivalent Boolean formula to a Boolean circuit may be necessarily exponentially larger than the circuit.

Equivalently, it is the class of problems that can be decided by a nondeterministic <math>h(k) \cdot {|x|}^{O(1)}</math>-time Turing machine that makes at most <math>O(f(k)\cdot \log n)</math> nondeterministic choices in the computation on <math>(x,k)</math> (a k-restricted Turing machine).[36][24]

It is known that FPT is contained in W[P], and the inclusion is believed to be strict. However, proving that that inclusion is strict, would imply a solution to the P versus NP problem. It is possible that FPT coincides with W[P], and yet P is distinct from NP, but. this would imply much faster running times for NP problems then we currently believe.

Other connections to unparameterised computational complexity are that FPT equals W[P] if and only if circuit satisfiability can be decided in time <math>\exp(o(n))m^{O(1)}</math>, or if and only if there is a computable, nondecreasing, unbounded function f such that all languages recognised by a nondeterministic polynomial-time Turing machine using Template:Tmath nondeterministic choices are in P.

W[P] can be loosely thought of as the class of problems where we have a set Template:Mvar of Template:Mvar items, and we want to find a subset <math>T \subset S</math> of size Template:Mvar such that a certain property holds. We can encode a choice as a list of Template:Mvar integers, stored in binary. Since the highest any of these numbers can be is Template:Mvar, <math>\lceil\log_2 n\rceil</math> bits are needed for each number. Therefore <math>k \cdot \lceil\log_2 n\rceil </math> total bits are needed to encode a choice. Therefore we can select a subset <math>T\subset S</math> with <math>O(k\cdot \log n)</math> nondeterministic choices.

Other classes

The W* hierarchy is similar to the W hierarchy, but it parameterizes depth, rather than holding it constant. The W*[t] class is defined as the class of problems fpt-reducible to this problem:[25]

  • Input: a Boolean circuit of weft at most t, and depth at most k,
  • Parameter: k
  • Output: Whether the Boolean circuit has a weight-k satisfying assignment.

It is related to W by:[24]<math display="block">W^*[1] = W[1], \; W^*[2] = W[2], \; W[t] \subset W^*[t] \subset W[t+2], \quad \forall t \geq 1</math>The AW hierarchy is obtained by adding alternation to the W hierarchy. The AW[t] class is defined as the class of problems fpt-reducible to this problem:[25][26]

  • Input: a Boolean circuit of weft at most t, and a partition of its inputs to <math>I_1 \cup I_2 \cup \cdots \cup I_r</math>
  • Parameter: <math>(r, k_1, \dots, k_r)</math>
  • Output: Whether the Boolean circuit is satisfiable under alternating weight-<math>(k_1, \dots, k_r)</math> conditions.

The alternating weight-<math>(k_1, \dots, k_r)</math> is defined as follows:

  • There exists a subset <math>J_1

\subset I_1</math> of size <math>k_1</math>, such that if we set exactly those inputs to True and the others to False, then,

  • for any subset <math>J_2 \subset I_2</math> of size <math>k_2</math>, such that if we set exactly those inputs to True and the others to False, then,
  • ...
  • the Boolean circuit outputs True.

One can interpret this as a 2-player game, with the first player trying to make the circuit output True, and the second player trying to make the circuit output False. The first player makes a move by setting exactly <math>k_1</math> inputs of <math>I_1</math> to True and the others to False, then the second player makes a move on <math>I_2</math>, etc. The circuit is under alternating weight-<math>(k_1, \dots, k_r)</math> conditions iff player 1 has a winning strategy.

It turns out that the finite levels of this hierarchy collapses: <math>AW[1] = AW[2] = \cdots</math>. Thus, the literature writes just a common symbol for them: <math>AW[\ast] := AW[1] = AW[2]=\cdots</math>. Above this class remain two classes, AW[SAT] and AW[P], the first allows boolean formulas in the circuit and the second arbitrary ones. Notably, deciding if a nondeterministic Turing machine has an accepting computation visiting at most k tape squares is put hard for AW[SAT] and lies in AW[P][18].

Abrahamson, Downey and Fellows[9] observe that many problem complete for PSPACE have parameterized versions in this class. For instance asking if an instance of the Generalised Geography problem has a k-move winning strategy is complete for this class[9].

There are a number of other hierarchies for parameterized complexity such as counting versions analogous to #P[37][38], as well as the M-hierarchy based around parameterizing the size of the problem rather than some aspect of the problem. For example, the problem of MiniCircuitSat_t takes inputs k and n in unary and a weft t circuit of size at most k log n, and asks if has a satisfying assignment. This problem is in FPT iff n variable 3 Sat is in DTIME(2^{o(n)}), that is, the Exponential Time Hypothesis fails. This observation allowed Cai and Juedes[39] to give sharp lower bounds on parameterized exponential algorithms, assuming the ETH, and demonstrated a very close connection between parameterized complexity and subexponential complexity[40]. Yijia Chen and Martin Grohe demonstrated that in fact there is an underlying isomorphism.[41].

See also

Notes

  1. ↑ Template:Cite journal
  2. ↑ Template:Cite book
  3. ↑ Template:Cite journal
  4. ↑ Template:Cite journal
  5. ↑ R. Downey, M. Fellows, Fixed-parameter tractability and completeness. Congr. Numer. 87, 161–178 (1992)
  6. ↑ 6.0 6.1 Template:Cite journal
  7. ↑ R. Downey, M. Fellows, Fixed-parameter tractability and completeness. III. Some structural aspects of the W hierarchy, in Complexity Theory: Current Research, Dagstuhl Work- shop, February 2–8, 1992, ed. by K. Ambos-Spies, S. Homer, U. Schöning (Cambridge University Press, Cambridge, 1993), pp. 191–225
  8. ↑ Template:Cite journal
  9. ↑ 9.0 9.1 9.2 Template:Cite journal
  10. ↑ 10.0 10.1 Template:Cite journal
  11. ↑ 11.0 11.1 Template:Cite journal
  12. ↑ Template:Cite book
  13. ↑ Template:Cite journal
  14. ↑ Template:Cite journal
  15. ↑ 15.0 15.1 Template:Citation
  16. ↑ Template:Citation
  17. ↑ Template:Citation
  18. ↑ 18.0 18.1 18.2 Template:Cite journal
  19. ↑ Template:Cite book
  20. ↑ Template:Harvnb
  21. ↑ Template:Harvtxt
  22. ↑ Template:Citation
  23. ↑ Template:Cite journal
  24. ↑ 24.0 24.1 24.2 24.3 24.4 Template:Cite book
  25. ↑ 25.0 25.1 25.2 Template:Cite journal
  26. ↑ 26.0 26.1 26.2 26.3 Template:Cite journal
  27. ↑ 27.0 27.1 Template:Cite journal
  28. ↑ 28.0 28.1 28.2 Template:Citation
  29. ↑ Template:Citation
  30. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  31. ↑ Template:Cite book
  32. ↑ Template:Cite journal
  33. ↑ Template:Cite journal
  34. ↑ Template:Citation
  35. ↑ 35.0 35.1 Template:Citation
  36. ↑ Template:Harvtxt
  37. ↑ Template:Cite journal
  38. ↑ Template:Cite journal
  39. ↑ Template:Citation
  40. ↑ Template:Cite journal
  41. ↑ Template:Cite journal

References

Textbooks