ArticleslgStudy

computer science

Parameterized complexity

Parameterized complexity is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Parameterized complexity rather than just read about it. In short: 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.

Key takeaways

  • Parameterized complexity belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Parameterized complexity to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Parameterized complexity from memory before moving on to harder problems.

Reference excerpt

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, 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 (in the context of databases) and Regan (in finite model theory). Gurevich, Stockmeyer & Vishkin 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 by classifying families of relations. In a series of papers, Downey and Fellows, sometimes with co-authors, 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.. 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 or treewidth. 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 k. Hence, if k is fixed at a small value and the growth of the function over k 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 FPT, 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. 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 x and a nonnegative integer k, does x have some property that depends on k? 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. 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 k, 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:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Parameterized complexity

Start with the simplest possible case. Write down what Parameterized complexity claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Parameterized complexity before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Parameterized complexity ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Parameterized complexity

In research
Parameterized complexity appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Parameterized complexity in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Parameterized complexity is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational complexity theory, Parameterized complexity, so understanding it makes those chapters shorter.
In everyday life
Look for Parameterized complexity outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Parameterized complexity” →

How to study Parameterized complexity in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Parameterized complexity means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Parameterized complexity out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Parameterized complexity in simple terms?

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 functi…

Why does Parameterized complexity matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Parameterized complexity?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Parameterized complexity.

Tags

  • Computational complexity theory
  • Parameterized complexity

Keep exploring