probabilistic computation
play

Probabilistic Computation Lecture 14 BPP, ZPP 1 Zoo NEXP EXP - PowerPoint PPT Presentation

Probabilistic Computation Lecture 14 BPP, ZPP 1 Zoo NEXP EXP NPSPACE PSPACE 2P NP P NL L 2 Zoo NEXP EXP NPSPACE PSPACE 2P NP RP P NL L 2 Zoo NEXP EXP NPSPACE PSPACE 2P NP BPP RP P NL L 2 Zoo NEXP EXP


  1. Probabilistic Computation Lecture 14 BPP, ZPP 1

  2. Zoo NEXP EXP NPSPACE PSPACE Σ 2P NP P NL L 2

  3. Zoo NEXP EXP NPSPACE PSPACE Σ 2P NP RP P NL L 2

  4. Zoo NEXP EXP NPSPACE PSPACE Σ 2P NP BPP RP P NL L 2

  5. Zoo NEXP EXP NPSPACE PSPACE Σ 2P NP BPP RP P NL L 2

  6. Zoo NEXP EXP NPSPACE PSPACE Σ 2P NP BPP RP P NL L 2

  7. BPP-Complete Problem? 3

  8. BPP-Complete Problem? Not known! 3

  9. BPP-Complete Problem? Not known! L = { (M,x,1 t ) | M(x)=yes in time t with probability > 2/3} ? 3

  10. BPP-Complete Problem? Not known! L = { (M,x,1 t ) | M(x)=yes in time t with probability > 2/3} ? Is indeed BPP-Hard 3

  11. BPP-Complete Problem? Not known! L = { (M,x,1 t ) | M(x)=yes in time t with probability > 2/3} ? Is indeed BPP-Hard But in BPP? 3

  12. BPP-Complete Problem? Not known! L = { (M,x,1 t ) | M(x)=yes in time t with probability > 2/3} ? Is indeed BPP-Hard But in BPP? Just run M(x) for t steps and accept if it accepts? 3

  13. BPP-Complete Problem? Not known! L = { (M,x,1 t ) | M(x)=yes in time t with probability > 2/3} ? Is indeed BPP-Hard But in BPP? Just run M(x) for t steps and accept if it accepts? If (M,x,1 t ) in L, we will indeed accept with prob. > 2/3 3

  14. BPP-Complete Problem? Not known! L = { (M,x,1 t ) | M(x)=yes in time t with probability > 2/3} ? Is indeed BPP-Hard But in BPP? Just run M(x) for t steps and accept if it accepts? If (M,x,1 t ) in L, we will indeed accept with prob. > 2/3 But M may not have a bounded gap. Then, if (M,x,1 t ) not in L, we may accept with prob. very close to 2/3. 3

  15. BPTIME-Hierarchy Theorem? 4

  16. BPTIME-Hierarchy Theorem? BPTIME(n) ⊊ BPTIME(n 100 )? 4

  17. BPTIME-Hierarchy Theorem? BPTIME(n) ⊊ BPTIME(n 100 )? Not known! 4

  18. BPTIME-Hierarchy Theorem? BPTIME(n) ⊊ BPTIME(n 100 )? Not known! But is true for BPTIME(T)/1 4

  19. Some Probabilistic Algorithmic Concepts 5

  20. Some Probabilistic Algorithmic Concepts Sampling to determine some probability 5

  21. Some Probabilistic Algorithmic Concepts Sampling to determine some probability Checking if determinant of a symbolic matrix is zero: Substitute random values for the variables and evaluate using Gaussian elimination in polynomial time 5

  22. Some Probabilistic Algorithmic Concepts Sampling to determine some probability Checking if determinant of a symbolic matrix is zero: Substitute random values for the variables and evaluate using Gaussian elimination in polynomial time Polynomial Identity Testing: polynomial given as an arithmetic circuit. Like above, but values can be too large. So work over a random modulus. 5

  23. Some Probabilistic Algorithmic Concepts Sampling to determine some probability Checking if determinant of a symbolic matrix is zero: Substitute random values for the variables and evaluate using Gaussian elimination in polynomial time Polynomial Identity Testing: polynomial given as an arithmetic circuit. Like above, but values can be too large. So work over a random modulus. Random Walks (for sampling) 5

  24. Some Probabilistic Algorithmic Concepts Sampling to determine some probability Checking if determinant of a symbolic matrix is zero: Substitute random values for the variables and evaluate using Gaussian elimination in polynomial time Polynomial Identity Testing: polynomial given as an arithmetic circuit. Like above, but values can be too large. So work over a random modulus. Random Walks (for sampling) Monte Carlo algorithms for calculations 5

  25. Some Probabilistic Algorithmic Concepts Sampling to determine some probability Checking if determinant of a symbolic matrix is zero: Substitute random values for the variables and evaluate using Gaussian elimination in polynomial time Polynomial Identity Testing: polynomial given as an arithmetic circuit. Like above, but values can be too large. So work over a random modulus. Random Walks (for sampling) Monte Carlo algorithms for calculations Reachability tests 5

  26. Random Walks 6

  27. Random Walks Which nodes does the walk touch and with what probability? 6

  28. Random Walks Which nodes does the walk touch and with what probability? How do these probabilities vary with number of steps 6

  29. Random Walks Which nodes does the walk touch and with what probability? How do these probabilities vary with number of steps Analyzing a random walk 6

  30. Random Walks Which nodes does the walk touch and with what probability? How do these probabilities vary with number of steps Analyzing a random walk Probability Vector: p 6

  31. Random Walks Which nodes does the walk touch and with what probability? How do these probabilities vary with number of steps Analyzing a random walk Probability Vector: p Transition probability matrix: M 6

  32. Random Walks Which nodes does the walk touch and with what probability? How do these probabilities vary with number of steps Analyzing a random walk Probability Vector: p Transition probability matrix: M One step of the walk: p’ = Mp 6

  33. Random Walks Which nodes does the walk touch and with what probability? How do these probabilities vary with number of steps Analyzing a random walk Probability Vector: p Transition probability matrix: M One step of the walk: p’ = Mp After t steps: p (t) = M t p 6

  34. Space-Bounded Probabilistic Computation 7

  35. Space-Bounded Probabilistic Computation PL, RL, BPL 7

  36. Space-Bounded Probabilistic Computation PL, RL, BPL Logspace analogues of PP, RP, BPP 7

  37. Space-Bounded Probabilistic Computation PL, RL, BPL Logspace analogues of PP, RP, BPP Note: RL ⊆ NL, RL ⊆ BPL 7

  38. Space-Bounded Probabilistic Computation PL, RL, BPL Logspace analogues of PP, RP, BPP Note: RL ⊆ NL, RL ⊆ BPL Recall NL ⊆ P (because PATH ∈ P) 7

  39. Space-Bounded Probabilistic Computation PL, RL, BPL Logspace analogues of PP, RP, BPP Note: RL ⊆ NL, RL ⊆ BPL Recall NL ⊆ P (because PATH ∈ P) So RL ⊆ P 7

  40. Space-Bounded Probabilistic Computation PL, RL, BPL Logspace analogues of PP, RP, BPP Note: RL ⊆ NL, RL ⊆ BPL Recall NL ⊆ P (because PATH ∈ P) So RL ⊆ P In fact BPL ⊆ P 7

  41. BPL ⊆ P 8

  42. BPL ⊆ P Consider the BPL algorithm, on input x, as a random walk over configurations 8

  43. BPL ⊆ P Consider the BPL algorithm, on input x, as a random walk over configurations Construct the transition matrix M 8

  44. BPL ⊆ P Consider the BPL algorithm, on input x, as a random walk over configurations Construct the transition matrix M Size of graph is poly(n), probability values are 0, 0.5 and 1 8

  45. BPL ⊆ P Consider the BPL algorithm, on input x, as a random walk over configurations Construct the transition matrix M Size of graph is poly(n), probability values are 0, 0.5 and 1 Calculate M t for t = max running time = poly(n) 8

  46. BPL ⊆ P Consider the BPL algorithm, on input x, as a random walk over configurations Construct the transition matrix M Size of graph is poly(n), probability values are 0, 0.5 and 1 Calculate M t for t = max running time = poly(n) Accept if (M t p start ) accept > 2/3 where p start is the probability distribution with all the weight on the start configuration 8

  47. Zoo NEXP EXP PSPACE NPSPACE Σ 2P NP P NL L 9

  48. Zoo NEXP EXP PSPACE NPSPACE Σ 2P NP RP P NL L 9

  49. Zoo NEXP EXP PSPACE NPSPACE Σ 2P NP RP P NL RL L 9

  50. Zoo NEXP EXP PSPACE NPSPACE Σ 2P NP BPP RP P NL RL L 9

  51. Zoo NEXP EXP PSPACE NPSPACE Σ 2P NP BPP RP P NL RL L 9

  52. Zoo NEXP EXP PSPACE NPSPACE Σ 2P NP BPP RP P NL RL L 9

  53. Zoo NEXP EXP PSPACE NPSPACE Σ 2P NP BPP RP P NL BPL RL L 9

  54. Zoo NEXP EXP PSPACE NPSPACE Σ 2P NP BPP RP P NL BPL RL L 9

  55. Zoo NEXP EXP PSPACE NPSPACE Σ 2P NP BPP RP P NL BPL RL L 9

  56. Expected Running Time 10

  57. Expected Running Time Running time is a random variable too 10

  58. Expected Running Time Running time is a random variable too As is the outcome of yes/no 10

  59. Expected Running Time Running time is a random variable too As is the outcome of yes/no May ask for running time to be polynomial only in expectation, or with high probability 10

  60. Expected Running Time Running time is a random variable too As is the outcome of yes/no May ask for running time to be polynomial only in expectation, or with high probability Las Vegas algorithms: only expected running time is polynomial; but when it terminates, it produces the correct answer 10

  61. Expected Running Time Running time is a random variable too As is the outcome of yes/no May ask for running time to be polynomial only in expectation, or with high probability Las Vegas algorithms: only expected running time is polynomial; but when it terminates, it produces the correct answer Zero error probability 10

  62. Zero-Error Computation 11

  63. Zero-Error Computation e.g. A simple algorithm for finding median in expected linear time 11

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend