PLS (complexity)

1

In computational complexity theory, Polynomial Local Search (PLS) is a complexity class that models the difficulty of finding a locally optimal solution to an optimization problem. The main characteristics of problems that lie in PLS are that the cost of a solution can be calculated in polynomial time and the neighborhood of a solution can be searched in polynomial time. Therefore it is possible to verify whether or not a solution is a local optimum in polynomial time. Furthermore, depending on the problem and the algorithm that is used for solving the problem, it might be faster to find a local optimum instead of a global optimum.

Description

When searching for a local optimum, there are two interesting issues to deal with: First how to find a local optimum, and second how long it takes to find a local optimum. For many local search algorithms, it is not known, whether they can find a local optimum in polynomial time or not. So to answer the question of how long it takes to find a local optimum, Johnson, Papadimitriou and Yannakakis introduced the complexity class PLS in their paper "How easy is local search?". It contains local search problems for which the local optimality can be verified in polynomial time. A local search problem is in PLS, if the following properties are satisfied: With these properties, it is possible to find for each solution s the best neighboring solution or if there is no such better neighboring solution, state that s is a local optimum.

Example

Consider the following instance I of the Max-2Sat Problem:. The aim is to find an assignment, that maximizes the sum of the satisfied clauses. A solution s for that instance is a bit string that assigns every x_{i} the value 0 or 1. In this case, a solution consists of 3 bits, for example s=000, which stands for the assignment of x_{1} to x_{3} with the value 0. The set of solutions F_{L}(I) is the set of all possible assignments of x_{1}, x_{2} and x_{3}. The cost of each solution is the number of satisfied clauses, so because the second and third clause are satisfied. The Flip-neighbor of a solution s is reached by flipping one bit of the bit string s, so the neighbors of s are with the following costs: There are no neighbors with better costs than s, if we are looking for a solution with maximum cost. Even though s is not a global optimum (which for example would be a solution s'=111 that satisfies all clauses and has ), s is a local optimum, because none of its neighbors has better costs. Intuitively it can be argued that this problem lies in PLS, because: If we are simply counting the number of satisfied clauses, the problem can be solved in polynomial time since the number of possible costs is polynomial. However, if we assign each clause a positive integer weight (and seek to locally maximize the sum of weights of satisfied clauses), the problem becomes PLS-complete (below).

Formal Definition

A local search problem L has a set D_L of instances which are encoded using strings over a finite alphabet \Sigma. For each instance I there exists a finite solution set F_L(I). Let R be the relation that models L. The relation is in PLS if: An instance D_L has the structure of an implicit graph (also called Transition graph ), the vertices being the solutions with two solutions connected by a directed arc iff. A local optimum is a solution s, that has no neighbor with better costs. In the implicit graph, a local optimum is a sink. A neighborhood where every local optimum is a global optimum, which is a solution with the best possible cost, is called an exact neighborhood.

Alternative Definition

The class PLS is the class containing all problems that can be reduced in polynomial time to the problem Sink-of-DAG (also called Local-Opt ): Given two integers n and m and two Boolean circuits such that and, find a vertex such that S(x)\neq x and either or.

Example neighborhood structures

Example neighborhood structures for problems with boolean variables (or bit strings) as solution: Example neighborhood structures for problems on graphs:

The standard Algorithm

Consider the following computational problem: Given some instance I of a PLS problem L, find a locally optimal solution such that for all . Every local search problem can be solved using the following iterative improvement algorithm: Unfortunately, it generally takes an exponential number of improvement steps to find a local optimum even if the problem L can be solved exactly in polynomial time. It is not necessary always to use the standard algorithm, there may be a different, faster algorithm for a certain problem. For example a local search algorithm used for Linear programming is the Simplex algorithm. The run time of the standard algorithm is pseudo-polynomial in the number of different costs of a solution. The space the standard algorithm needs is only polynomial. It only needs to save the current solution s, which is polynomial bounded by definition.

Reductions

A Reduction of one problem to another may be used to show that the second problem is at least as difficult as the first. In particular, a PLS-reduction is used to prove that a local search problem that lies in PLS is also PLS-complete, by reducing a PLS-complete Problem to the one that shall be proven to be PLS-complete.

PLS-reduction

A local search problem L_1 is PLS-reducible to a local search problem L_2 if there are two polynomial time functions and such that: It is sufficient to only map the local optima of f(I_1) to the local optima of I_1, and to map all other solutions for example to the standard solution returned by A_{1}. PLS-reductions are transitive.

Tight PLS-reduction

Definition Transition graph

The transition graph T_I of an instance I of a problem L is a directed graph. The nodes represent all elements of the finite set of solutions F_L(I) and the edges point from one solution to the neighbor with strictly better cost. Therefore it is an acyclic graph. A sink, which is a node with no outgoing edges, is a local optimum. The height of a vertex v is the length of the shortest path from v to the nearest sink. The height of the transition graph is the largest of the heights of all vertices, so it is the height of the largest shortest possible path from a node to its nearest sink.

Definition Tight PLS-reduction

A PLS-reduction (f, g) from a local search problem L_1 to a local search problem L_2 is a tight PLS-reduction if for any instance I_1 of L_1, a subset R of solutions of instance of L_2 can be chosen, so that the following properties are satisfied:

Relationship to other complexity classes

PLS lies between the functional versions of P and NP: FPPLS ⊆ FNP. PLS also is a subclass of TFNP, that describes computational problems in which a solution is guaranteed to exist and can be recognized in polynomial time. For a problem in PLS, a solution is guaranteed to exist because the minimum-cost vertex of the entire graph is a valid solution, and the validity of a solution can be checked by computing its neighbors and comparing the costs of each one to another. It is also proven that if a PLS problem is NP-hard, then NP = co-NP.

PLS-completeness

Definition

A local search problem L is PLS-complete, if The optimization version of the circuit problem under the Flip neighborhood structure has been shown to be a first PLS-complete problem.

List of PLS-complete Problems

This is an incomplete list of some known problems that are PLS-complete. The problems here are the weighted versions; for example, Max-2SAT/Flip is weighted even though Max-2SAT ordinarily refers to the unweighted version. Notation: Problem / Neighborhood structure

[center

Syntax: Optimization-Problem/Neighborhood structure. Dotted arrow: PLS-reduction from a problem L to a problem . Black arrow: Tight PLS-reduction. | upload.wikimedia.org/wikipedia/commons/a/a9/PLS-complete///Problems///Overview.svg]

Relations to other complexity classes

Fearnley, Goldberg, Hollender and Savani proved that a complexity class called CLS is equal to the intersection of PPAD and PLS.

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

Edit article