Villanova CSC 8510 - Probabilistic algorithms

Unformatted text preview:

Probabilistic algorithmsDefinition of probabilistic Turing machinesPowerPoint PresentationThe class BPPThe amplification lemmaOpen problems ssurrounding BPPProbabilistic algorithmsProbabilistic algorithmsSection 10.2 Giorgi Japaridze Theory of ComputabilityDefinition of probabilistic Turing machines10.2.aGiorgi Japaridze Theory of ComputabilityDefinition 10.3 A probabilistic Turing machine M is a type of nondeterministic TMin which each nondeterministic step is called a coin-flip step and has two legal next moves. We assign a probability to each branch b of M’s computation on input w as follows. Define the probability of b to be Pr[b] = 2-k,where k is the number of coin-flip steps that occur on branch b. We define the probability that M accepts w to be Pr[M accepts w] =  Pr[b] b is an accepting branchIn other words, the probability that M accepts w is the probability that we would reachan accepting configuration if we simulated M on w by flipping a coin to determine which move to follow at each coin-flip step. We let Pr[M rejects w] = 1 - Pr[M accepts w]Example10.2.bGiorgi Japaridze Theory of Computabilitystart0R- Raccept- Rreject0 R0 R- RWhat is the probability that 0 is accepted?What is the probability that 00 is rejected?The language {0} is recognized with what error probability (see next slide)?Any other language is recognized with what error probability (see next slide)?75%100%25%100%The class BPP10.2.cGiorgi Japaridze Theory of ComputabilityFor 0 ≤  < ½, we say that M recognizes language A with error probability  if theprobability that we would obtain the wrong answer by simulating M is at most . I.e.: 1. wA implies Pr[M accepts w] ≥ 1-, and2. wA implies Pr[M rejects w] ≥ 1-.We also consider error probability bounds that depend on the input length n. For example, error probability =2-n indicates an exponentially small probability of error. Definition 10.4 BPP is the class of languages that are recognized by probabilistic polynomial time TMs with an error probability of 1/3. Instead of 1/3, any  strictly between 0 and ½ would yield an equivalent definition by virtue of the amplification lemma (on the next slide). It gives a simple way of making the error probability exponentially small. Note that a probabilistic algorithm with an error probability of 2-100 is far more likely to give an erroneous result because the computer on which it runs has a hardware failure than because of an unlucky toss of its coins.The amplification lemma10.2.dGiorgi Japaridze Theory of ComputabilityLemma 10.5 Let  be a fixed constant strictly between 0 and ½, and p(n) any polynomial. Then any probabilistic polynomial time TM M1 that operates with error probability  has an equivalent probabilistic polynomial time TM M2 that operates with an error probability of 2-p(n) . Proof idea: M2 simulates M1 by running it a polynomial number of times and takingthe majority vote of the outcomes. The probability of error decreases exponentially with the number of runs of M1 made.Open problems ssurrounding BPP 10.2.eGiorgi Japaridze Theory of ComputabilityBesides the problems in P, which are obviously in BPP, many problems were knownto be in BPP but not known to be in P. The number of such problems is decreasing, and it is conjectured that P = BPP.For a long time, one of the most famous problems that was known to be in BPP but not known to be in P was PRIMES. However, in 2002, Agrawal and his studentsshowed that PRIMESP.The relationship between BPP and NP is unknown: it is not known if BPP is a subset of NP, or if NP is a subset of BPP, or if they are incomparable.BPP is known to be a subset of PSPACE. It is however unknown whether vice versa also holds. It is also known that either P = BPP or P ≠ NP or


View Full Document

Villanova CSC 8510 - Probabilistic algorithms

Download Probabilistic algorithms
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Probabilistic algorithms and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Probabilistic algorithms 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?