circuit lower bounds
play

Circuit Lower-bounds Lecture 24 Weak circuits are indeed weak 1 - PowerPoint PPT Presentation

Circuit Lower-bounds Lecture 24 Weak circuits are indeed weak 1 Circuit Lower-bounds 2 Circuit Lower-bounds Today: 2 Circuit Lower-bounds Today: PARITY AC 0 2 Circuit Lower-bounds Today: PARITY AC 0 Two different proofs! (Latter


  1. Switching Lemma Random restriction. With positive probability: can switch bottom levels, staying poly sized with high probability for each node above the leaf level (switching lemma); then union bound computes PARITY for n 2/3 variables (Chernoff) Depth d-1, poly-sized circuit family for PARITY Contradiction: started with minimal depth! 8

  2. Razborov-Smolensky 9

  3. Razborov-Smolensky An alternate proof that PARITY ∉ AC 0 9

  4. Razborov-Smolensky An alternate proof that PARITY ∉ AC 0 Generalizes to ACC 0 (p) for odd primes p 9

  5. Razborov-Smolensky An alternate proof that PARITY ∉ AC 0 Generalizes to ACC 0 (p) for odd primes p Plan: 9

  6. Razborov-Smolensky An alternate proof that PARITY ∉ AC 0 Generalizes to ACC 0 (p) for odd primes p Plan: Given a circuit C, can find a polynomial s.t. 9

  7. Razborov-Smolensky An alternate proof that PARITY ∉ AC 0 Generalizes to ACC 0 (p) for odd primes p Plan: Given a circuit C, can find a polynomial s.t. Polynomial has “low degree” 9

  8. Razborov-Smolensky An alternate proof that PARITY ∉ AC 0 Generalizes to ACC 0 (p) for odd primes p Plan: Given a circuit C, can find a polynomial s.t. Polynomial has “low degree” Polynomial agrees with C on most inputs 9

  9. Razborov-Smolensky An alternate proof that PARITY ∉ AC 0 Generalizes to ACC 0 (p) for odd primes p Plan: Given a circuit C, can find a polynomial s.t. Polynomial has “low degree” Polynomial agrees with C on most inputs Show that no low degree polynomial can agree with PARITY on that many inputs 9

  10. Polynomial from Circuit 10

  11. Polynomial from Circuit Assume circuit has OR, NOT gates 10

  12. Polynomial from Circuit Assume circuit has OR, NOT gates Replace gates by polynomials (over some field), and compose together into one big polynomial 10

  13. Polynomial from Circuit Assume circuit has OR, NOT gates Replace gates by polynomials (over some field), and compose together into one big polynomial If we do this faithfully, degree will be large 10

  14. Polynomial from Circuit Assume circuit has OR, NOT gates Replace gates by polynomials (over some field), and compose together into one big polynomial If we do this faithfully, degree will be large Large enough to evaluate PARITY 10

  15. Polynomial from Circuit Assume circuit has OR, NOT gates Replace gates by polynomials (over some field), and compose together into one big polynomial If we do this faithfully, degree will be large Large enough to evaluate PARITY So allow polynomials which err on some inputs 10

  16. Polynomial from Circuit Assume circuit has OR, NOT gates Replace gates by polynomials (over some field), and compose together into one big polynomial If we do this faithfully, degree will be large Large enough to evaluate PARITY So allow polynomials which err on some inputs At each gate will pick polynomial from a distribution 10

  17. Polynomial from Circuit Assume circuit has OR, NOT gates Replace gates by polynomials (over some field), and compose together into one big polynomial If we do this faithfully, degree will be large Large enough to evaluate PARITY So allow polynomials which err on some inputs At each gate will pick polynomial from a distribution Composed polynomial will be good with prob. > 0 10

  18. Polynomials for OR, NOT and PARITY 11

  19. Polynomials for OR, NOT and PARITY Want that PARITY is complex (high degree) while OR, NOT are simple (low degree) 11

  20. Polynomials for OR, NOT and PARITY Want that PARITY is complex (high degree) while OR, NOT are simple (low degree) If over GF(2), PARITY is just sum (degree 1)! 11

  21. Polynomials for OR, NOT and PARITY Want that PARITY is complex (high degree) while OR, NOT are simple (low degree) If over GF(2), PARITY is just sum (degree 1)! We will work over GF(q), q>2 11

  22. Polynomials for OR, NOT and PARITY Want that PARITY is complex (high degree) while OR, NOT are simple (low degree) If over GF(2), PARITY is just sum (degree 1)! We will work over GF(q), q>2 PARITY = [1-(1-2x 1 )(1-2x 2 )....(1-2x n )]/2 (if 2 ≠ 0) 11

  23. Polynomials for OR, NOT and PARITY Want that PARITY is complex (high degree) while OR, NOT are simple (low degree) If over GF(2), PARITY is just sum (degree 1)! We will work over GF(q), q>2 PARITY = [1-(1-2x 1 )(1-2x 2 )....(1-2x n )]/2 (if 2 ≠ 0) NOT = 1-x. 11

  24. Polynomials for OR, NOT and PARITY Want that PARITY is complex (high degree) while OR, NOT are simple (low degree) If over GF(2), PARITY is just sum (degree 1)! We will work over GF(q), q>2 PARITY = [1-(1-2x 1 )(1-2x 2 )....(1-2x n )]/2 (if 2 ≠ 0) NOT = 1-x. OR = 1- (1-x 1 )...(1-x n ) 11

  25. Polynomials for OR, NOT and PARITY Want that PARITY is complex (high degree) while OR, NOT are simple (low degree) If over GF(2), PARITY is just sum (degree 1)! We will work over GF(q), q>2 PARITY = [1-(1-2x 1 )(1-2x 2 )....(1-2x n )]/2 (if 2 ≠ 0) NOT = 1-x. OR = 1- (1-x 1 )...(1-x n ) But high degree! Need OR to be simple! 11

  26. Approximate Polynomials 12

  27. Approximate Polynomials Consider (random) polynomial p(x 1 ,...,x n ) = (a 1 x 1 +...+ a n x n ) q-1 where a i are picked at random from the field 12

  28. Approximate Polynomials Consider (random) polynomial p(x 1 ,...,x n ) = (a 1 x 1 +...+ a n x n ) q-1 where a i are picked at random from the field If OR(x 1 ,...,x n )=0 then p(x 1 ,...,x n )=0 12

  29. Approximate Polynomials Consider (random) polynomial p(x 1 ,...,x n ) = (a 1 x 1 +...+ a n x n ) q-1 where a i are picked at random from the field If OR(x 1 ,...,x n )=0 then p(x 1 ,...,x n )=0 If OR(x 1 ,...,x n )=1 12

  30. Approximate Polynomials Consider (random) polynomial p(x 1 ,...,x n ) = (a 1 x 1 +...+ a n x n ) q-1 where a i are picked at random from the field If OR(x 1 ,...,x n )=0 then p(x 1 ,...,x n )=0 If OR(x 1 ,...,x n )=1 Pr a [ a 1 x 1 +...+ a n x n = 0 ] ≤ 1/q (why?) 12

  31. Approximate Polynomials Consider (random) polynomial p(x 1 ,...,x n ) = (a 1 x 1 +...+ a n x n ) q-1 where a i are picked at random from the field If OR(x 1 ,...,x n )=0 then p(x 1 ,...,x n )=0 If OR(x 1 ,...,x n )=1 Pr a [ a 1 x 1 +...+ a n x n = 0 ] ≤ 1/q (why?) Recall in GF(q), u q-1 = 1 unless u=0 (since non-0 elements form a group of order q-1 under multiplication) 12

  32. Approximate Polynomials Consider (random) polynomial p(x 1 ,...,x n ) = (a 1 x 1 +...+ a n x n ) q-1 where a i are picked at random from the field If OR(x 1 ,...,x n )=0 then p(x 1 ,...,x n )=0 If OR(x 1 ,...,x n )=1 Pr a [ a 1 x 1 +...+ a n x n = 0 ] ≤ 1/q (why?) Recall in GF(q), u q-1 = 1 unless u=0 (since non-0 elements form a group of order q-1 under multiplication) i.e. Pr a [ (a 1 x 1 +...+ a n x n ) q-1 = 1 ] ≥ 1-1/q 12

  33. Approximate Polynomials Consider (random) polynomial p(x 1 ,...,x n ) = (a 1 x 1 +...+ a n x n ) q-1 where a i are picked at random from the field If OR(x 1 ,...,x n )=0 then p(x 1 ,...,x n )=0 If OR(x 1 ,...,x n )=1 Pr a [ a 1 x 1 +...+ a n x n = 0 ] ≤ 1/q (why?) Recall in GF(q), u q-1 = 1 unless u=0 (since non-0 elements form a group of order q-1 under multiplication) i.e. Pr a [ (a 1 x 1 +...+ a n x n ) q-1 = 1 ] ≥ 1-1/q Can boost probability by doing (exact) OR t times: deg < qt 12

  34. Approximate Polynomials 13

  35. Approximate Polynomials OR: a random polynomial of degree O(log 1/ ε ), such that it is correct with prob. > 1- ε 13

  36. Approximate Polynomials OR: a random polynomial of degree O(log 1/ ε ), such that it is correct with prob. > 1- ε Composing gate-polynomials into circuit-polynomial 13

  37. Approximate Polynomials OR: a random polynomial of degree O(log 1/ ε ), such that it is correct with prob. > 1- ε Composing gate-polynomials into circuit-polynomial Substitute child polynomials as variables 13

  38. Approximate Polynomials OR: a random polynomial of degree O(log 1/ ε ), such that it is correct with prob. > 1- ε Composing gate-polynomials into circuit-polynomial Substitute child polynomials as variables Degree multiplies: depth d circuit gives deg O(log 1/ ε ) d 13

  39. Approximate Polynomials OR: a random polynomial of degree O(log 1/ ε ), such that it is correct with prob. > 1- ε Composing gate-polynomials into circuit-polynomial Substitute child polynomials as variables Degree multiplies: depth d circuit gives deg O(log 1/ ε ) d Error adds (by union bound): size s circuit gives error < s ε 13

  40. Approximate Polynomials OR: a random polynomial of degree O(log 1/ ε ), such that it is correct with prob. > 1- ε Composing gate-polynomials into circuit-polynomial Substitute child polynomials as variables Degree multiplies: depth d circuit gives deg O(log 1/ ε ) d Error adds (by union bound): size s circuit gives error < s ε Using ε =1/(4s), degree O(log s) d polynomial, correct w.p. > 3/4 13

  41. Approximate Polynomials OR: a random polynomial of degree O(log 1/ ε ), such that it is correct with prob. > 1- ε Composing gate-polynomials into circuit-polynomial Substitute child polynomials as variables Degree multiplies: depth d circuit gives deg O(log 1/ ε ) d Error adds (by union bound): size s circuit gives error < s ε Using ε =1/(4s), degree O(log s) d polynomial, correct w.p. > 3/4 One polynomial, correct on > 3/4 fraction of inputs (why?) 13

  42. How about PARITY? 14

  43. How about PARITY? Can PARITY also be approximated (i.e., calculated for some large input set S) by a low-degree polynomial? 14

  44. How about PARITY? Can PARITY also be approximated (i.e., calculated for some large input set S) by a low-degree polynomial? PARITY is essentially Π i=1 to n x i , for inputs from {+1,-1} n 14

  45. How about PARITY? Can PARITY also be approximated (i.e., calculated for some large input set S) by a low-degree polynomial? PARITY is essentially Π i=1 to n x i , for inputs from {+1,-1} n If can calculate Π i=1 to n x i (for S ⊆ {+1,-1} n ) using degree D, then can calculate (for S) any polynomial using degree D+n/2 polynomial (why?) 14

  46. How about PARITY? Can PARITY also be approximated (i.e., calculated for some large input set S) by a low-degree polynomial? PARITY is essentially Π i=1 to n x i , for inputs from {+1,-1} n If can calculate Π i=1 to n x i (for S ⊆ {+1,-1} n ) using degree D, then can calculate (for S) any polynomial using degree D+n/2 polynomial (why?) But if S large, too many polynomials, distinct for S 14

  47. How about PARITY? Can PARITY also be approximated (i.e., calculated for some large input set S) by a low-degree polynomial? PARITY is essentially Π i=1 to n x i , for inputs from {+1,-1} n If can calculate Π i=1 to n x i (for S ⊆ {+1,-1} n ) using degree D, then can calculate (for S) any polynomial using degree D+n/2 polynomial (why?) But if S large, too many polynomials, distinct for S Need D = Ω ( √ n) to have enough degree D+n/2 polys. 14

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