ArticleslgStudy

computer science

Approximation-preserving reduction

Approximation-preserving reduction 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 Approximation-preserving reduction rather than just read about it. In short: In computability theory and computational complexity theory, especially the study of approximation algorithms, an approximation-preserving reduction is an algorithm for transforming one optimization problem into another problem, such that the distance of solutions from optimal is preserved to some degree. Approximation-preserving reductions are special cases of the general reductions in complexity theory; the differ…

Approximation-preserving reduction — main illustration
Approximation-preserving reduction — illustration

Key takeaways

  • Approximation-preserving reduction 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 Approximation-preserving reduction to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Approximation-preserving reduction from memory before moving on to harder problems.

Reference excerpt

In computability theory and computational complexity theory, especially the study of approximation algorithms, an approximation-preserving reduction is an algorithm for transforming one optimization problem into another problem, such that the distance of solutions from optimal is preserved to some degree. Approximation-preserving reductions are special cases of the general reductions in complexity theory; the difference is that approximation-preserving reductions usually make statements on approximation problems or optimization problems, as opposed to decision problems. Intuitively, problem A is reducible to problem B via an approximation-preserving reduction if, given an instance of problem A and a (possibly approximate) solver for problem B, one can convert the instance of problem A into an instance of problem B, apply the solver for problem B, and recover a solution for problem A that also has some guarantee of approximation.

Background on optimisation problems

First we recall some concepts of optimization problems, illustrated with the travelling salesman problem (TSP). First an instance is the input of the problem, i.e. the information we need to compute a solution. An instance for TSP is a finite set of cities and the distances between them. A solution is a tour that visits all the cities. In the case of TSP, the cost of a solution is the length of the tour. We write OPTTSP(x) to be the cost of an optimal solution, i.e. the length of a shortest tour. Let A and B be optimization problems and cA and cB their respective cost functions.

Definition Unlike reductions on decision problems, an approximation-preserving reduction must preserve more than the truth of the problem instances when reducing from one problem to another. It must also maintain some guarantee on the relationship between the cost of the solution to the cost of the optimum in both problems. To formalize: Let A and B be optimization problems. Let x be an instance of problem A, with optimal solution OPT(x). Let cA(x,y) denote the cost of a solution y to an instance x of problem A. This is also the metric used to determine which solutions are considered optimal. An approximation-preserving reduction is a pair of functions (f,g) (which often must be computable in polynomial time), such that:

f maps an instance x of A to an instance x′ of B. g maps a solution y′ of B to a solution y of A. g preserves some guarantee of the solution's performance, or approximation ratio, defined as RA(x,y)=max⁡(cA(x,OPT(x))cA(x,y),cA(x,y)cA(x,OPT(x))).

Types There are many different types of approximation-preserving reductions, all of which have a different guarantee (the third point in the definition above). However, unlike with other reductions, approximation-preserving reductions often overlap in what properties they demonstrate on optimization problems (e.g. complexity class membership or completeness, or inapproximability). The different types of reductions are used instead as varying reduction techniques, in that the applicable reduction which is most easily adapted to the problem is used. Not all types of approximation-preserving reductions can be used to show membership in all approximability complexity classes, the most notable of which are PTAS and APX. A reduction below preserves membership in a complexity class C if, given a problem A that reduces to problem B via the reduction scheme, and B is in C, then A is in C as well. Some reductions shown below only preserve membership in APX or PTAS, but not the other. Because of this, careful choice must be made when selecting an approximation-preserving reductions, especially for the purpose of proving completeness of a problem within a complexity class. Crescenzi suggests that the three most ideal styles of reduction, for both ease of use and proving power, are PTAS reduction, AP reduction, and L-reduction. The reduction descriptions that follow are from Crescenzi's survey of approximation-preserving reductions.

Strict reduction Strict reduction is the simplest type of approximation-preserving reduction. In a strict reduction, the approximation ratio of a solution y' to an instance x' of a problem B must be at most as good as the approximation ratio of the corresponding solution y to instance x of problem A. In other words:

RA(x,y)≤RB(x′,y′) for x′=f(x),y=g(y′). Strict reduction is the most straightforward: if a strict reduction from problem A to problem B exists, then problem A can always be approximated to at least as good a ratio as problem B. Strict reduction preserves membership in both PTAS and APX. There exists a similar concept of an S-reduction, for which cA(x,y)=cB(x′,y′), and the optima of the two corresponding instances must have the same cost as well. S-reduction is a very special case of strict reduction, and is even more constraining. In effect, the two problems A and B must be in near-perfect correspondence with each other. The existence of an S-reduction implies not only the existence of a strict reduction but every other reduction listed here.

L-reduction

L-reductions preserve membership in PTAS as well as APX (but only for minimization problems in the case of the latter). As a result, they cannot be used in general to prove completeness results about APX, Log-APX, or Poly-APX, but nevertheless they are valued for their natural formulation and ease of use in proofs.

PTAS-reduction

PTAS-reduction is another commonly used reduction scheme. Though it preserves membership in PTAS, it does not do so for APX. Nevertheless, APX-completeness is defined in terms of PTAS reductions. PTAS-reductions are a generalization of P-reductions, shown below, with the only difference being that the function g is allowed to depend on the approximation ratio r.

A-reduction and P-reduction A-reduction and P-reduction are similar reduction schemes that can be used to show membership in APX and PTAS respectively. Both introduce a new function c, defined on numbers greater than 1, which must be computable. In an A-reduction, we have that

RB(x′,y′)≤r→RA(x,y)≤c(r). In a P-reduction, we have that

RB(x′,y′)≤c(r)→RA(x,y)≤r. The existence of a P-reduction implies the existence of a PTAS-reduction.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Approximation-preserving reduction

Start with the simplest possible case. Write down what Approximation-preserving reduction 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 Approximation-preserving reduction 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 Approximation-preserving reduction 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 Approximation-preserving reduction

In research
Approximation-preserving reduction 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 Approximation-preserving reduction 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
Approximation-preserving reduction is common in secondary-school and first-year university syllabi. It links to neighbouring topics Approximation algorithms, Reduction (complexity), so understanding it makes those chapters shorter.
In everyday life
Look for Approximation-preserving reduction 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 “Approximation-preserving reduction” →

How to study Approximation-preserving reduction in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Approximation-preserving reduction 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 Approximation-preserving reduction out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Approximation-preserving reduction in simple terms?

In computability theory and computational complexity theory, especially the study of approximation algorithms, an approximation-preserving reduction is an algorithm for transforming one optimization problem into another problem, such that the distance of solutions from optimal is preserved to some…

Why does Approximation-preserving reduction 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 Approximation-preserving reduction?

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 Approximation-preserving reduction.

Tags

  • Approximation algorithms
  • Reduction (complexity)

Keep exploring