| Pp (complexity) |
Article Index for Pp |
Information AboutPp (complexity) |
|
If a decision problem is in PP, then there is an algorithm for it that is allowed to flip coins and make random decisions. It is guaranteed to run in polynomial time. If the answer is YES, the algorithm will answer YES with probability more than 1/2. If the answer is NO, the algorithm will answer YES with probability at most 1/2. In more practical terms, it is the class of problems that can be solved to any fixed degree of accuracy by running a randomized, polynomial-time algorithm a sufficient (but unbounded) number of times. An alternative characterization of PP is the set of problems that can be solved by a Nondeterministic Turing Machine in polynomial time where the acceptance condition is that a majority (more than half) of computation paths accept. Because of this some authors have suggested the alternative name ''Majority-P''. PP VS '''BPP''' BPP is a subset of '''PP'''; it can be seen as the subset for which there are efficient probabilistic algorithms. The distinction is in the error probability that is allowed: in BPP, a YES instance must be accepted with probability exceeding some fixed constant ''c'' greater than 1/2, such as 2/3 or 501/1000. If this is the case, then we can run the algorithm a constant number of times and take a majority vote to achieve any desired probability of correctness less than 1, using the Chernoff Bound . This number increases if ''c'' becomes closer to 1/2, but it does not depend on ''n''. The important thing is that this constant ''c'' is not allowed to depend on the input. A PP algorithm is permitted, on the other hand, to do something like the following:
Because these two probabilities are so close together, especially for large ''n'', even if we run it a large number of times it is very difficult to tell whether we are operating on a YES instance or a NO instance. Attempting to achieve a fixed desired probability level using a majority vote and the Chernoff bound requires a number of repetitions that is exponential in ''n''. This may be compared roughly to the problem of trying to figure out which side of a slightly-biased coin is more likely by flipping it many times. PP COMPARED TO OTHER COMPLEXITY CLASSES PP contains '''BPP''', since probabilistic algorithms described in the definition of '''BPP''' form a subset of those in the definition of PP. PP also contains ''' NP '''. To prove that, we show that the NP-complete Satisfiability problem belongs to PP. Consider a probabilistic algorithm that, given a formula ''F(x1, x2, ..., xn)'' chooses an assignment ''x1, x2, ..., xn'' uniformly at random. Then, the algorithm checks if the assignment makes the formula F true. If yes, it outputs YES. Otherwise, it outputs YES with probability 1/2 and NO with probability 1/2. If the formula is unsatisfiable, the algorithm will always output YES with probability 1/2. If there exists a satisfying assignment, it will output YES with probability more than 1/2 (exactly 1/2 if it picked an unsatisfying assignement and 1 if it picked a satisfying assignment, averaging to some number greater than 1/2). Thus, this algorithm puts satisfiability in PP. As '''SAT''' in NP-complete, and we can prefix any deterministic Polynomial-time Many-one Reduction onto the PP algorithm, '''NP''' is contained in PP. Because PP is closed under complement, it also contains co-'''NP'''. PP also contains ''' BQP ''', the class of decision problems solvable by efficient polynomial time Quantum Computer s. In fact, BQP is Low for PP, meaning that a PP machine achieves no benefit from being able to solve '''BQP''' problems instantly. A polynomial time Turing machine with a PP Oracle (PPP) can solve all problems in ''' PH ''', the entire Polynomial Hierarchy . This result was shown by Seinosuke Toda in 1989 and is known as Toda's Theorem . This is evidence of how hard it is to solve problems in '''PP'''. The class #P is in some sense about as hard, since '''P''''''#P''' also contains '''PH'''. PP is contained in ''' PSPACE '''. This can be easily shown by exhibiting a polynomial-space algorithm for '''MAJSAT''', defined below; simply try all assignments and count the number of satisfying ones. COMPLETE PROBLEMS AND OTHER PROPERTIES Unlike BPP, '''PP''' is a syntactic, rather than semantic class. Any probabilistic machine recognizes some language in '''PP'''. In contrast, given a description of a probabilistic machine, it is hard to determine if it recognizes a language in BPP. PP has natural complete problems, for example, '''MAJSAT'''. '''MAJSAT''' is a decision problem in which one is given a Boolean formula F. The answer must be YES if more than half of all assignments ''x1, x2, ..., xn'' make F true and NO otherwise. PP is closed under Complement and Symmetric Difference , and also under Union and Intersection . The proof of the latter two closures is significantly more difficult than the former two, and was an Open Problem for 14 years. REFERENCES # C. Papadimitriou. Computational Complexity, chapter 11. Addison-Wesley, 1994. EXTERNAL LINK |
|
|