Outline Introduction 1 Fooling AC 0 circuits Dinesh (IITM) April - - PowerPoint PPT Presentation

outline
SMART_READER_LITE
LIVE PREVIEW

Outline Introduction 1 Fooling AC 0 circuits Dinesh (IITM) April - - PowerPoint PPT Presentation

Poly-logarithmic independence fools AC 0 K Dinesh CS11M019 IIT Madras April 18, 2012 Fooling AC 0 circuits Dinesh (IITM) April 18, 2012 1 / 14 Outline Introduction 1 Fooling AC 0 circuits Dinesh (IITM) April 18, 2012 2 / 14 Outline


slide-1
SLIDE 1

Poly-logarithmic independence fools AC0

K Dinesh CS11M019

IIT Madras

April 18, 2012

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 1 / 14

slide-2
SLIDE 2

Outline

1

Introduction

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 2 / 14

slide-3
SLIDE 3

Outline

1

Introduction

2

Main Theorem

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 2 / 14

slide-4
SLIDE 4

Outline

1

Introduction

2

Main Theorem Proof Outline

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 2 / 14

slide-5
SLIDE 5

Outline

1

Introduction

2

Main Theorem Proof Outline Construction of approximation polynomial

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 2 / 14

slide-6
SLIDE 6

Outline

1

Introduction

2

Main Theorem Proof Outline Construction of approximation polynomial

3

Proof of Theorem

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 2 / 14

slide-7
SLIDE 7

Outline

1

Introduction

2

Main Theorem Proof Outline Construction of approximation polynomial

3

Proof of Theorem

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 3 / 14

slide-8
SLIDE 8

Motivation

AC0 circuits have been identified to have limitations in computation ability. Natural question : Can we generate pseudorandom distributions that “looks random” ? In general : No answer !

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 3 / 14

slide-9
SLIDE 9

Motivation

AC0 circuits have been identified to have limitations in computation ability. Natural question : Can we generate pseudorandom distributions that “looks random” ? In general : No answer ! Let us focus on circuits and ask this question. Say a circuit uses a set of random bits (gets as input) for computation.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 3 / 14

slide-10
SLIDE 10

Motivation

AC0 circuits have been identified to have limitations in computation ability. Natural question : Can we generate pseudorandom distributions that “looks random” ? In general : No answer ! Let us focus on circuits and ask this question. Say a circuit uses a set of random bits (gets as input) for computation.

Question

Are there prob. distributions which circuit cannot distinguish, i.e. the circuit will compute the same value on expectation ?

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 3 / 14

slide-11
SLIDE 11

Definition and Notations

For a boolean function F : {0, 1}n → {0, 1}, distribution µ : {0, 1}n → R, we denote

Notations

Eµ[F] : Expected value of F when inputs are drawn according to µ. µ(X) : Probability of event X under µ. E[F] : Expected value of F when inputs are drawn uniformly. Pr(X) : Probability of event X under uniform distribution.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 4 / 14

slide-12
SLIDE 12

Definition and Notations

For a boolean function F : {0, 1}n → {0, 1}, distribution µ : {0, 1}n → R, we denote

Notations

Eµ[F] : Expected value of F when inputs are drawn according to µ. µ(X) : Probability of event X under µ. E[F] : Expected value of F when inputs are drawn uniformly. Pr(X) : Probability of event X under uniform distribution.

r-independence

A probability distribution µ defined on {0, 1}n is said to be r-independent for (r ≤ n) if, ∀I ⊆ [n], |I| = r, ij ∈ I, µ(xi1, xi2, . . . , xir ) = U(xi1, xi2, . . . , xir ) = 1 2r

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 4 / 14

slide-13
SLIDE 13

Definition

ǫ-fooling

A distribution µ is said to ǫ-fool a circuit C computing a boolean function F if, |Eµ(F) − E(F)| < ǫ

ℓ2 Norm

For a boolean function F : {0, 1}n → {0, 1} is defined as, ||F||2

2 = 1

2n

  • x∈{0,1}n

|F(x)|2

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 5 / 14

slide-14
SLIDE 14

Problem statement

Problem

Given a AC0 circuit of size m depth d computing F, for every r-independent distribution µ on {0, 1}n, can µ ǫ-fool C ?

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 6 / 14

slide-15
SLIDE 15

Problem statement

Problem

Given a AC0 circuit of size m depth d computing F, for every r-independent distribution µ on {0, 1}n, can µ ǫ-fool C ? How large r has to be ?

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 6 / 14

slide-16
SLIDE 16

Problem statement

Problem

Given a AC0 circuit of size m depth d computing F, for every r-independent distribution µ on {0, 1}n, can µ ǫ-fool C ? How large r has to be ? First asked by Linial and Nisan in 1990. Conjectured that polylogarithmic independence suffices. Shown to be possible for depth to AC0 circuits (of size m) by Louay Bazzi in 2007 where r = O(log2 m

ǫ ) for DNF formulas.

The conjucture has been finally proved

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 6 / 14

slide-17
SLIDE 17

Problem statement

Problem

Given a AC0 circuit of size m depth d computing F, for every r-independent distribution µ on {0, 1}n, can µ ǫ-fool C ? How large r has to be ? First asked by Linial and Nisan in 1990. Conjectured that polylogarithmic independence suffices. Shown to be possible for depth to AC0 circuits (of size m) by Louay Bazzi in 2007 where r = O(log2 m

ǫ ) for DNF formulas.

The conjucture has been finally proved in this paper !

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 6 / 14

slide-18
SLIDE 18

Outline

1

Introduction

2

Main Theorem Proof Outline Construction of approximation polynomial

3

Proof of Theorem

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 7 / 14

slide-19
SLIDE 19

Braverman’s Theorem

Theorem

For any AC0 circuit C of size m and depth d computing F, any r-independent circuit ǫ-fools C where. r =

  • log

m ǫ O(d2) Proof Techniques used : Razbarov-Smolensky method of approximation of boolean functions by low degree polynomial.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 7 / 14

slide-20
SLIDE 20

Braverman’s Theorem

Theorem

For any AC0 circuit C of size m and depth d computing F, any r-independent circuit ǫ-fools C where. r =

  • log

m ǫ O(d2) Proof Techniques used : Razbarov-Smolensky method of approximation of boolean functions by low degree polynomial. Linial-Mansoor-Nisan [LMN] result that gives low degree approximation for functions computable in AC0.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 7 / 14

slide-21
SLIDE 21

Braverman’s Theorem

Theorem

For any AC0 circuit C of size m and depth d computing F, any r-independent circuit ǫ-fools C where. r =

  • log

m ǫ O(d2) Proof Techniques used : Razbarov-Smolensky method of approximation of boolean functions by low degree polynomial. Linial-Mansoor-Nisan [LMN] result that gives low degree approximation for functions computable in AC0. Linear of Expectation.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 7 / 14

slide-22
SLIDE 22

Outline

1

Introduction

2

Main Theorem Proof Outline Construction of approximation polynomial

3

Proof of Theorem

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 7 / 14

slide-23
SLIDE 23

Proof Outline

Fix F to be the function computed by the circuit and f to be its approximation. Raz-Smol. method gives us an approximating polynomial that agree

  • n all but a small fraction of inputs.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 8 / 14

slide-24
SLIDE 24

Proof Outline

Fix F to be the function computed by the circuit and f to be its approximation. Raz-Smol. method gives us an approximating polynomial that agree

  • n all but a small fraction of inputs.

Does not guarentee anything about their expected values : can be highly varying on non-agreeing points.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 8 / 14

slide-25
SLIDE 25

Proof Outline

Fix F to be the function computed by the circuit and f to be its approximation. Raz-Smol. method gives us an approximating polynomial that agree

  • n all but a small fraction of inputs.

Does not guarentee anything about their expected values : can be highly varying on non-agreeing points. Key observation : The error indicator function E = 0 if F = f , 1 if F = f can be computed by an AC0 circuit.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 8 / 14

slide-26
SLIDE 26

Proof Outline

Fix F to be the function computed by the circuit and f to be its approximation. Raz-Smol. method gives us an approximating polynomial that agree

  • n all but a small fraction of inputs.

Does not guarentee anything about their expected values : can be highly varying on non-agreeing points. Key observation : The error indicator function E = 0 if F = f , 1 if F = f can be computed by an AC0 circuit. Now apply LMN, get an approximation ˜ E for E. Define f ′ = f (1 − ˜ E).

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 8 / 14

slide-27
SLIDE 27

Proof Outline

Fix F to be the function computed by the circuit and f to be its approximation. Raz-Smol. method gives us an approximating polynomial that agree

  • n all but a small fraction of inputs.

Does not guarentee anything about their expected values : can be highly varying on non-agreeing points. Key observation : The error indicator function E = 0 if F = f , 1 if F = f can be computed by an AC0 circuit. Now apply LMN, get an approximation ˜ E for E. Define f ′ = f (1 − ˜ E). Then argue that ||F − f ′||2

2 is small for both uniform distribution and

r-independent distribution µ.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 8 / 14

slide-28
SLIDE 28

Outline

1

Introduction

2

Main Theorem Proof Outline Construction of approximation polynomial

3

Proof of Theorem

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 8 / 14

slide-29
SLIDE 29

Construction of approximation polynomial

Lemma

Let µ be any probability distribution on {0, 1}n. Let F be a boolean function computed by a circuit of depth d and size m. Then for any parameter s,

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 9 / 14

slide-30
SLIDE 30

Construction of approximation polynomial

Lemma

Let µ be any probability distribution on {0, 1}n. Let F be a boolean function computed by a circuit of depth d and size m. Then for any parameter s, there is a degree r = (s · log m)d polynomial f .

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 9 / 14

slide-31
SLIDE 31

Construction of approximation polynomial

Lemma

Let µ be any probability distribution on {0, 1}n. Let F be a boolean function computed by a circuit of depth d and size m. Then for any parameter s, there is a degree r = (s · log m)d polynomial f . error function µ(E(x) = 1) < (0.82)sm E(x) = 0 = ⇒ f (x) = F(x).

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 9 / 14

slide-32
SLIDE 32

Construction of approximation polynomial

Lemma

Let µ be any probability distribution on {0, 1}n. Let F be a boolean function computed by a circuit of depth d and size m. Then for any parameter s, there is a degree r = (s · log m)d polynomial f . error function µ(E(x) = 1) < (0.82)sm E(x) = 0 = ⇒ f (x) = F(x). E can computed by a depth (d + 3) circuit.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 9 / 14

slide-33
SLIDE 33

Construction of approximation polynomial

Lemma

Let µ be any probability distribution on {0, 1}n. Let F be a boolean function computed by a circuit of depth d and size m. Then for any parameter s, there is a degree r = (s · log m)d polynomial f . error function µ(E(x) = 1) < (0.82)sm E(x) = 0 = ⇒ f (x) = F(x). E can computed by a depth (d + 3) circuit. Base case : xi → xi, xi → 1 − xi.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 9 / 14

slide-34
SLIDE 34

Construction of approximation polynomial

Lemma

Let µ be any probability distribution on {0, 1}n. Let F be a boolean function computed by a circuit of depth d and size m. Then for any parameter s, there is a degree r = (s · log m)d polynomial f . error function µ(E(x) = 1) < (0.82)sm E(x) = 0 = ⇒ f (x) = F(x). E can computed by a depth (d + 3) circuit. Base case : xi → xi, xi → 1 − xi. Induction case : (AND case, OR is symmetric) Let G = G1 ∧ G2 . . . ∧ Gk and their approximations g1, g2, . . . , gk for k < m.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 9 / 14

slide-35
SLIDE 35

Construction of approximation polynomial

Lemma

Let µ be any probability distribution on {0, 1}n. Let F be a boolean function computed by a circuit of depth d and size m. Then for any parameter s, there is a degree r = (s · log m)d polynomial f . error function µ(E(x) = 1) < (0.82)sm E(x) = 0 = ⇒ f (x) = F(x). E can computed by a depth (d + 3) circuit. Base case : xi → xi, xi → 1 − xi. Induction case : (AND case, OR is symmetric) Let G = G1 ∧ G2 . . . ∧ Gk and their approximations g1, g2, . . . , gk for k < m. Assume k = 2l. Pick l subsets from {1, 2, . . . , k}, ith set is picked with probability 2−i.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 9 / 14

slide-36
SLIDE 36

Construction of approximation polynomial (Cont...)

Repeat this s times (independently) to get t = sl = s log k subsets. The approximation polynomial for the AND gate is f =

t

  • i=1

 

j∈Si

gj − |Si| + 1   . Need to bound P[F = f ]. Fix G1(x), G2(x), . . . , Gk(x). What is error probability for a random choice of set Si ? G(x) = 1 = ⇒ No error since all Gj(x) = 1. G(x) = 0 = ⇒ At least one Gj(x) = 0.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 10 / 14

slide-37
SLIDE 37

Construction of approximation polynomial (Cont...)

Repeat this s times (independently) to get t = sl = s log k subsets. The approximation polynomial for the AND gate is f =

t

  • i=1

 

j∈Si

gj − |Si| + 1   . Need to bound P[F = f ]. Fix G1(x), G2(x), . . . , Gk(x). What is error probability for a random choice of set Si ? G(x) = 1 = ⇒ No error since all Gj(x) = 1. G(x) = 0 = ⇒ At least one Gj(x) = 0. We ask : when will

t

  • i=1

 

j∈Si

Gj(x) − |Si| + 1   = 0

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 10 / 14

slide-38
SLIDE 38

Construction of approximation polynomial (Cont...)

At least one set Si such that

  • j∈Si

Gj = |S| − 1

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 11 / 14

slide-39
SLIDE 39

Construction of approximation polynomial (Cont...)

At least one set Si such that

  • j∈Si

Gj = |S| − 1 Let there be 1 ≤ z ≤ k zeros in G1, . . . , Gk. Hence Si must be looking at exactly 1 zero.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 11 / 14

slide-40
SLIDE 40

Construction of approximation polynomial (Cont...)

At least one set Si such that

  • j∈Si

Gj = |S| − 1 Let there be 1 ≤ z ≤ k zeros in G1, . . . , Gk. Hence Si must be looking at exactly 1 zero. Let 2α ≤ z < 2α+1. Let S be a set picked with probability 2−α−1.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 11 / 14

slide-41
SLIDE 41

Construction of approximation polynomial (Cont...)

At least one set Si such that

  • j∈Si

Gj = |S| − 1 Let there be 1 ≤ z ≤ k zeros in G1, . . . , Gk. Hence Si must be looking at exactly 1 zero. Let 2α ≤ z < 2α+1. Let S be a set picked with probability 2−α−1. Prob[Exactly one zero] = z · p · (1 − p)z−1 ≥ 1

2 · (1 − p)1/p−1 > 0.18.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 11 / 14

slide-42
SLIDE 42

Construction of approximation polynomial (Cont...)

At least one set Si such that

  • j∈Si

Gj = |S| − 1 Let there be 1 ≤ z ≤ k zeros in G1, . . . , Gk. Hence Si must be looking at exactly 1 zero. Let 2α ≤ z < 2α+1. Let S be a set picked with probability 2−α−1. Prob[Exactly one zero] = z · p · (1 − p)z−1 ≥ 1

2 · (1 − p)1/p−1 > 0.18.

Prob[Making error in one iteration for an AND gate] ≤ 0.82. In s iterations - (0.82)s. Prob[Atleast one AND makes error] ≤ m(0.82)s.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 11 / 14

slide-43
SLIDE 43

Construction of approximation polynomial (Cont...)

At least one set Si such that

  • j∈Si

Gj = |S| − 1 Let there be 1 ≤ z ≤ k zeros in G1, . . . , Gk. Hence Si must be looking at exactly 1 zero. Let 2α ≤ z < 2α+1. Let S be a set picked with probability 2−α−1. Prob[Exactly one zero] = z · p · (1 − p)z−1 ≥ 1

2 · (1 − p)1/p−1 > 0.18.

Prob[Making error in one iteration for an AND gate] ≤ 0.82. In s iterations - (0.82)s. Prob[Atleast one AND makes error] ≤ m(0.82)s.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 11 / 14

slide-44
SLIDE 44

Circuit computing E

No error if the random sets picked have at least one set that looks at exactly one zero.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 12 / 14

slide-45
SLIDE 45

Circuit computing E

No error if the random sets picked have at least one set that looks at exactly one zero. Can decide F = f , by looking at ≤ ts sets and check if no sets contains exactly one zero.

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 12 / 14

slide-46
SLIDE 46

Circuit computing E

No error if the random sets picked have at least one set that looks at exactly one zero. Can decide F = f , by looking at ≤ ts sets and check if no sets contains exactly one zero. Resultant circuit has depth < (d + 3).

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 12 / 14

slide-47
SLIDE 47

Outline

1

Introduction

2

Main Theorem Proof Outline Construction of approximation polynomial

3

Proof of Theorem

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 13 / 14

slide-48
SLIDE 48

Results used

Proposition

For any f : Rn → R that is a degree r polynomial, let µ be an r-independent distribution. Then, f is completely fooled by µ. Eµ[f ] = E[f ]

LMN Theorem

Let F : {0, 1}n → {0, 1} be a boolean function computed by depth d circuit of size m, then for any t there is a degree t polynomial such that, ||F − ˜ f ||2

2 = 1

2n

  • x∈{0,1}n

|F(x) − ˜ f |2 ≤ 2m · 2−t1/d/20

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 13 / 14

slide-49
SLIDE 49

Thank You!

Dinesh (IITM) Fooling AC0 circuits April 18, 2012 14 / 14