Tuesday, January 23, 2007

Also rejecting 1

At the end of class we considered running Håstad's test with δ=.75ε many times - O(1/ε2) to be precise - and then accepting iff the empirical fraction of passes was at least 1-.8ε. We saw that this gave a test for the class {χS:S1}. I asked how we could also reject functions close to the 1 function, but hurried over the explanation.

Aaron's suggestion was a very good one since we can do it making zero additional queries. Look at all the f(x)'s and f(y)'s we queried (not the f(z)'s) and reject also if the fraction of times the answer was 1 is at least 3/4. Note that all the x's and y's are independent random strings.

Now certainly dictators (which are half 1, half -1) will pass this extra test except with exponentially small probability in ε, so their acceptance probability, if it was at least 2/3 before, is at least .66 now (which is fine).

On the other hand, suppose f is ε-far from the set of dictators. Then it's also ε-far from the set {dictators} {1} (and so the Håstad tests will reject it with probability at least 2/3) unless it's ε-close to 1. But in this case, the additional test will reject except with exponentially small probability in ε, so we're again fine.


The alternate fix I suggested involved using local decodability of parity functions. After all the Håstad tests, if we still haven't rejected then (with probability at least 2/3) f is ε-close to either 1 or a dictator function - in particular, to a linear function. Now use 2 more queries to do local decoding on the string (-1,-1,...,-1), and reject if the answer is 1. Dictators will pass this with probability at least 1-2ε, so overall they pass with probability at least 2/3-2ε which is large enough (assuming ε<.01 now, say). And any function ε-close to being 1 will pass this with probability at most 2ε, so overall it will pass with probability at most 1/3+2ε, again fine.

Two good exercises for you:

1. Understand why it is without loss of generality to assume ε<.01.

2. In the local decoding of (-1,-1,...,-1) we are really doing the following 2-query test: Pick y at random, and accept iff f(y)f(-y). Express the probability that this test passes in terms of the Fourier coefficients of f.

No comments: