non uniform computation circuits
play

Non-Uniform Computation & Circuits Lecture 10 Wherein every - PowerPoint PPT Presentation

Non-Uniform Computation & Circuits Lecture 10 Wherein every language can be decided 1 Non-Uniform Computation 2 Non-Uniform Computation Uniform: Same program for all (the infinitely many) inputs 2 Non-Uniform Computation Uniform: Same


  1. SIZE(T) SIZE(T): languages solved by circuit families of size T(n) P/poly = SIZE(poly) SIZE(poly) ⊆ P/poly: Size T circuit can be described in O(T log T) bits (advice). Universal TM can evaluate this circuit in poly time 11

  2. SIZE(T) SIZE(T): languages solved by circuit families of size T(n) P/poly = SIZE(poly) SIZE(poly) ⊆ P/poly: Size T circuit can be described in O(T log T) bits (advice). Universal TM can evaluate this circuit in poly time P/poly ⊆ SIZE(poly): Transformation from Cook’ s theorem, with advice string hardwired into circuit 11

  3. SIZE bounds 12

  4. SIZE bounds All languages (decidable or not) are in SIZE(T) for T=O(n2 n ) 12

  5. SIZE bounds All languages (decidable or not) are in SIZE(T) for T=O(n2 n ) Circuit encodes truth-table 12

  6. SIZE bounds All languages (decidable or not) are in SIZE(T) for T=O(n2 n ) Circuit encodes truth-table Most languages need circuits of size ! (2 n /n) 12

  7. SIZE bounds All languages (decidable or not) are in SIZE(T) for T=O(n2 n ) Circuit encodes truth-table Most languages need circuits of size ! (2 n /n) Number of circuits of size T is at most T 2T 12

  8. SIZE bounds All languages (decidable or not) are in SIZE(T) for T=O(n2 n ) Circuit encodes truth-table Most languages need circuits of size ! (2 n /n) Number of circuits of size T is at most T 2T If T = 2 n / 4n, say, T 2T < 2 (2^n)/2 12

  9. SIZE bounds All languages (decidable or not) are in SIZE(T) for T=O(n2 n ) Circuit encodes truth-table Most languages need circuits of size ! (2 n /n) Number of circuits of size T is at most T 2T If T = 2 n / 4n, say, T 2T < 2 (2^n)/2 Number of languages = 2 2^n 12

  10. SIZE hierarchy 13

  11. SIZE hierarchy SIZE(T’) ⊊ SIZE(T) if T= ! (t2 t ) and T’=O(2 t /t), for t(n) " n 13

  12. SIZE hierarchy SIZE(T’) ⊊ SIZE(T) if T= ! (t2 t ) and T’=O(2 t /t), for t(n) " n e.g., T(n) = n log n and T’(n) = n/log n 13

  13. SIZE hierarchy SIZE(T’) ⊊ SIZE(T) if T= ! (t2 t ) and T’=O(2 t /t), for t(n) " n e.g., T(n) = n log n and T’(n) = n/log n Consider functions on t bits (ignoring n-t bits) 13

  14. SIZE hierarchy SIZE(T’) ⊊ SIZE(T) if T= ! (t2 t ) and T’=O(2 t /t), for t(n) " n e.g., T(n) = n log n and T’(n) = n/log n Consider functions on t bits (ignoring n-t bits) All of them in SIZE(T), most not in SIZE(T’) 13

  15. Uniform Circuits 14

  16. Uniform Circuits Uniform circuit family: constructed by a TM 14

  17. Uniform Circuits Uniform circuit family: constructed by a TM Undecidable languages are undecidable for these circuits families 14

  18. Uniform Circuits Uniform circuit family: constructed by a TM Undecidable languages are undecidable for these circuits families Can relate their complexity classes to classes defined using TMs 14

  19. Uniform Circuits Uniform circuit family: constructed by a TM Undecidable languages are undecidable for these circuits families Can relate their complexity classes to classes defined using TMs Logspace-uniform: 14

  20. Uniform Circuits Uniform circuit family: constructed by a TM Undecidable languages are undecidable for these circuits families Can relate their complexity classes to classes defined using TMs Logspace-uniform: An O(log n) space TM can compute the circuit 14

  21. NC i and AC i 15

  22. NC i and AC i NC i : class of languages decided by bounded fan-in logspace-uniform circuits of polynomial size and depth O(log i n) 15

  23. NC i and AC i NC i : class of languages decided by bounded fan-in logspace-uniform circuits of polynomial size and depth O(log i n) AC i : Similar, but unbounded fan-in circuits 15

  24. NC i and AC i NC i : class of languages decided by bounded fan-in logspace-uniform circuits of polynomial size and depth O(log i n) AC i : Similar, but unbounded fan-in circuits NC 0 and AC 0 : constant depth circuits 15

  25. NC i and AC i NC i : class of languages decided by bounded fan-in logspace-uniform circuits of polynomial size and depth O(log i n) AC i : Similar, but unbounded fan-in circuits NC 0 and AC 0 : constant depth circuits NC 0 output depends on only a constant number of input bits 15

  26. NC i and AC i NC i : class of languages decided by bounded fan-in logspace-uniform circuits of polynomial size and depth O(log i n) AC i : Similar, but unbounded fan-in circuits NC 0 and AC 0 : constant depth circuits NC 0 output depends on only a constant number of input bits NC 0 ⊊ AC 0 : Consider L = {1,11,111,...} 15

  27. NC and AC 16

  28. NC and AC NC = ∪ i>0 NC i . Similarly AC. 16

  29. NC and AC NC = ∪ i>0 NC i . Similarly AC. NC i ⊆ AC i ⊆ NC i+1 16

  30. NC and AC NC = ∪ i>0 NC i . Similarly AC. NC i ⊆ AC i ⊆ NC i+1 Clearly NC i ⊆ AC i 16

  31. NC and AC NC = ∪ i>0 NC i . Similarly AC. NC i ⊆ AC i ⊆ NC i+1 Clearly NC i ⊆ AC i AC i ⊆ NC i+1 because polynomial fan-in can be reduced to constant fan-in by using a log depth tree 16

  32. NC and AC NC = ∪ i>0 NC i . Similarly AC. NC i ⊆ AC i ⊆ NC i+1 Clearly NC i ⊆ AC i AC i ⊆ NC i+1 because polynomial fan-in can be reduced to constant fan-in by using a log depth tree So NC = AC 16

  33. NC ⊆ P 17

  34. NC ⊆ P Generate circuit of the right input size and evaluate on input 17

  35. NC ⊆ P Generate circuit of the right input size and evaluate on input Generating the circuit 17

  36. NC ⊆ P Generate circuit of the right input size and evaluate on input Generating the circuit in logspace, so poly time; also circuit size is poly 17

  37. NC ⊆ P Generate circuit of the right input size and evaluate on input Generating the circuit in logspace, so poly time; also circuit size is poly Evaluating the gates 17

  38. NC ⊆ P Generate circuit of the right input size and evaluate on input Generating the circuit in logspace, so poly time; also circuit size is poly Evaluating the gates Poly(n) gates 17

  39. NC ⊆ P Generate circuit of the right input size and evaluate on input Generating the circuit in logspace, so poly time; also circuit size is poly Evaluating the gates Poly(n) gates Per gate takes O(1) time + time to look up output values of (already evaluated) gates 17

  40. NC ⊆ P Generate circuit of the right input size and evaluate on input Generating the circuit in logspace, so poly time; also circuit size is poly Evaluating the gates Poly(n) gates Per gate takes O(1) time + time to look up output values of (already evaluated) gates Open problem: Is NC = P? 17

  41. Motivation for NC 18

  42. Motivation for NC Fast parallel computation is (loosely) modeled as having poly many processors and taking poly-log time 18

  43. Motivation for NC Fast parallel computation is (loosely) modeled as having poly many processors and taking poly-log time Corresponds to NC (How?) 18

  44. Motivation for NC Fast parallel computation is (loosely) modeled as having poly many processors and taking poly-log time Corresponds to NC (How?) Depth translates to time 18

  45. Motivation for NC Fast parallel computation is (loosely) modeled as having poly many processors and taking poly-log time Corresponds to NC (How?) Depth translates to time Total “work” is size of the circuit 18

  46. Today 19

  47. Today Non-uniform complexity 19

  48. Today Non-uniform complexity P/1 ⊈ Decidable 19

  49. Today Non-uniform complexity P/1 ⊈ Decidable NP ⊆ P/log ⇒ NP = P 19

  50. Today Non-uniform complexity P/1 ⊈ Decidable NP ⊆ P/log ⇒ NP = P NP ⊆ P/poly ⇒ PH = Σ 2P 19

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